Commit e60a32501c1872ebb2ed899fb5fe8309a155b6d6
1 parent
5914833d5c
Exists in
master
Измененения для раздела "Избранные кандидаты" + фиксы по задачам
Showing 13 changed files with 258 additions and 231 deletions Inline Diff
- app/Http/Controllers/WorkerController.php
- public/css/style_may2024.css
- resources/views/employers/favorite.blade.php
- resources/views/info_company_new.blade.php
- resources/views/modals/send_employer.blade.php
- resources/views/modals/send_worker.blade.php
- resources/views/modals/send_worker_new.blade.php
- resources/views/resume.blade.php
- resources/views/worker.blade.php
- resources/views/workers/form_additional_documents.blade.php
- resources/views/workers/form_basic_information.blade.php
- resources/views/workers/sertificate_add.blade.php
- routes/web.php
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\Dop_info; | 11 | use App\Models\Dop_info; |
12 | use App\Models\infobloks; | 12 | use App\Models\infobloks; |
13 | use App\Models\Job_title; | 13 | use App\Models\Job_title; |
14 | use App\Models\Like_vacancy; | 14 | use App\Models\Like_vacancy; |
15 | use App\Models\Message; | 15 | use App\Models\Message; |
16 | use App\Models\place_works; | 16 | use App\Models\place_works; |
17 | use App\Models\PrevCompany; | 17 | use App\Models\PrevCompany; |
18 | use App\Models\ResponseWork; | 18 | use App\Models\ResponseWork; |
19 | use App\Models\sertification; | 19 | use App\Models\sertification; |
20 | use App\Models\Static_worker; | 20 | use App\Models\Static_worker; |
21 | use App\Models\Title_worker; | 21 | use App\Models\Title_worker; |
22 | use App\Models\User; | 22 | use App\Models\User; |
23 | use App\Models\User as User_Model; | 23 | use App\Models\User as User_Model; |
24 | use App\Models\Worker; | 24 | use App\Models\Worker; |
25 | use Barryvdh\DomPDF\Facade\Pdf; | 25 | use Barryvdh\DomPDF\Facade\Pdf; |
26 | use Carbon\Carbon; | 26 | use Carbon\Carbon; |
27 | use Illuminate\Auth\Events\Registered; | 27 | use Illuminate\Auth\Events\Registered; |
28 | use Illuminate\Database\Eloquent\Builder; | 28 | use Illuminate\Database\Eloquent\Builder; |
29 | use Illuminate\Http\Request; | 29 | use Illuminate\Http\Request; |
30 | use Illuminate\Support\Facades\Auth; | 30 | use Illuminate\Support\Facades\Auth; |
31 | use Illuminate\Support\Facades\Hash; | 31 | use Illuminate\Support\Facades\Hash; |
32 | use Illuminate\Support\Facades\Storage; | 32 | use Illuminate\Support\Facades\Storage; |
33 | use Illuminate\Support\Facades\Validator; | 33 | use Illuminate\Support\Facades\Validator; |
34 | use PhpOffice\PhpSpreadsheet\Spreadsheet; | 34 | use PhpOffice\PhpSpreadsheet\Spreadsheet; |
35 | use PhpOffice\PhpSpreadsheet\Writer\Xlsx; | 35 | use PhpOffice\PhpSpreadsheet\Writer\Xlsx; |
36 | use Symfony\Component\HttpFoundation\StreamedResponse; | 36 | use Symfony\Component\HttpFoundation\StreamedResponse; |
37 | use App\Enums\DbExportColumns; | 37 | use App\Enums\DbExportColumns; |
38 | use DateTime; | 38 | use DateTime; |
39 | 39 | ||
40 | class WorkerController extends Controller | 40 | class WorkerController extends Controller |
41 | { | 41 | { |
42 | public $status_work = array(0 => 'Ищу работу', 1 => 'Не указано', 2 => 'Не ищу работу'); | 42 | public $status_work = array(0 => 'Ищу работу', 1 => 'Не указано', 2 => 'Не ищу работу'); |
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 = $this->status_work; | 84 | $status_work = $this->status_work; |
85 | $resumes = Worker::query()->with('users')->with('job_titles'); | 85 | $resumes = Worker::query()->with('users')->with('job_titles'); |
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 'name_up': | 106 | case 'name_up': |
107 | $resumes = $resumes->orderBy(User::select('surname') | 107 | $resumes = $resumes->orderBy(User::select('surname') |
108 | ->whereColumn('workers.user_id', 'users.id') | 108 | ->whereColumn('workers.user_id', 'users.id') |
109 | ); | 109 | ); |
110 | break; | 110 | break; |
111 | case 'name_down': | 111 | case 'name_down': |
112 | $resumes = $resumes->orderByDesc(User::select('surname') | 112 | $resumes = $resumes->orderByDesc(User::select('surname') |
113 | ->whereColumn('workers.user_id', 'users.id') | 113 | ->whereColumn('workers.user_id', 'users.id') |
114 | ); | 114 | ); |
115 | break; | 115 | break; |
116 | case 'created_at_up': | 116 | case 'created_at_up': |
117 | $resumes = $resumes->OrderBy('created_at')->orderBy('id'); | 117 | $resumes = $resumes->OrderBy('created_at')->orderBy('id'); |
118 | break; | 118 | break; |
119 | case 'created_at_down': | 119 | case 'created_at_down': |
120 | $resumes = $resumes->orderByDesc('created_at')->orderBy('id'); | 120 | $resumes = $resumes->orderByDesc('created_at')->orderBy('id'); |
121 | break; | 121 | break; |
122 | case 'default': | 122 | case 'default': |
123 | $resumes = $resumes->orderBy('id')->orderby('updated_at'); | 123 | $resumes = $resumes->orderBy('id')->orderby('updated_at'); |
124 | break; | 124 | break; |
125 | default: | 125 | default: |
126 | $resumes = $resumes->orderBy('id')->orderby('updated_at'); | 126 | $resumes = $resumes->orderBy('id')->orderby('updated_at'); |
127 | break; | 127 | break; |
128 | } | 128 | } |
129 | } | 129 | } |
130 | 130 | ||
131 | $res_count = $resumes->count(); | 131 | $res_count = $resumes->count(); |
132 | //$resumes = $resumes->get(); | 132 | //$resumes = $resumes->get(); |
133 | $resumes = $resumes->paginate(4); | 133 | $resumes = $resumes->paginate(4); |
134 | if ($request->ajax()) { | 134 | if ($request->ajax()) { |
135 | // Условия обставлены | 135 | // Условия обставлены |
136 | if ($request->has('block') && ($request->get('block') == 1)) { | 136 | if ($request->has('block') && ($request->get('block') == 1)) { |
137 | return view('ajax.resume_1', compact('resumes', 'status_work', 'res_count', 'idiot')); | 137 | return view('ajax.resume_1', compact('resumes', 'status_work', 'res_count', 'idiot')); |
138 | } | 138 | } |
139 | 139 | ||
140 | if ($request->has('block') && ($request->get('block') == 2)) { | 140 | if ($request->has('block') && ($request->get('block') == 2)) { |
141 | return view('ajax.resume_2', compact('resumes', 'status_work', 'res_count', 'idiot')); | 141 | return view('ajax.resume_2', compact('resumes', 'status_work', 'res_count', 'idiot')); |
142 | } | 142 | } |
143 | } else { | 143 | } else { |
144 | return view('resume', compact('resumes', 'status_work', 'res_count', 'idiot', 'Job_title')); | 144 | return view('resume', compact('resumes', 'status_work', 'res_count', 'idiot', 'Job_title')); |
145 | } | 145 | } |
146 | } else { | 146 | } else { |
147 | return redirect()->route('index')->withErrors(['errors' => ['Вы не можете просматривать базу резюме. Подробнее в меню: "Условия размещения"']]); | 147 | return redirect()->route('index')->withErrors(['errors' => ['Вы не можете просматривать базу резюме. Подробнее в меню: "Условия размещения"']]); |
148 | } | 148 | } |
149 | } | 149 | } |
150 | 150 | ||
151 | public function basic_information(){ | 151 | public function basic_information(){ |
152 | if (!isset(Auth()->user()->id)) { | 152 | if (!isset(Auth()->user()->id)) { |
153 | abort(404); | 153 | abort(404); |
154 | } | 154 | } |
155 | 155 | ||
156 | $user_id = Auth()->user()->id; | 156 | $user_id = Auth()->user()->id; |
157 | 157 | ||
158 | $user = User::query() | 158 | $user = User::query() |
159 | ->with('workers') | 159 | ->with('workers') |
160 | ->with(['jobtitles' => function ($query) { | 160 | ->with(['jobtitles' => function ($query) { |
161 | $query->select('job_titles.id'); | 161 | $query->select('job_titles.id'); |
162 | }]) | 162 | }]) |
163 | ->where('id', '=', $user_id) | 163 | ->where('id', '=', $user_id) |
164 | ->first(); | 164 | ->first(); |
165 | $user->workers[0]->job_titles = $user->workers[0]->job_titles->pluck('id')->toArray(); | 165 | $user->workers[0]->job_titles = $user->workers[0]->job_titles->pluck('id')->toArray(); |
166 | 166 | ||
167 | $job_titles = Job_title::all()->sortBy('name'); | 167 | $job_titles = Job_title::all()->sortBy('name'); |
168 | 168 | ||
169 | return view('workers.form_basic_information', compact('user', 'job_titles')); | 169 | return view('workers.form_basic_information', compact('user', 'job_titles')); |
170 | } | 170 | } |
171 | 171 | ||
172 | public function additional_documents(){ | 172 | public function additional_documents(){ |
173 | if (!isset(Auth()->user()->id)) { | 173 | if (!isset(Auth()->user()->id)) { |
174 | abort(404); | 174 | abort(404); |
175 | } | 175 | } |
176 | 176 | ||
177 | $user_id = Auth()->user()->id; | 177 | $user_id = Auth()->user()->id; |
178 | 178 | ||
179 | $info_blocks = infobloks::query()->OrderBy('name')->get(); | 179 | $info_blocks = infobloks::query()->OrderBy('name')->get(); |
180 | $additional_document_statuses = [0 => 'Не указано', 1 => 'В наличии', 2 => 'Отсутствует']; | 180 | $additional_document_statuses = [0 => 'Не указано', 1 => 'В наличии', 2 => 'Отсутствует']; |
181 | 181 | ||
182 | $worker = Worker::query() | 182 | $worker = Worker::query() |
183 | ->with('users') | 183 | ->with('users') |
184 | ->with('infobloks') | 184 | ->with('infobloks') |
185 | ->WhereHas('users', function (Builder $query) use ($user_id) { | 185 | ->WhereHas('users', function (Builder $query) use ($user_id) { |
186 | $query->Where('id', $user_id); | 186 | $query->Where('id', $user_id); |
187 | }) | 187 | }) |
188 | ->first(); | 188 | ->first(); |
189 | if ($worker->dop_info->count()){ | 189 | if ($worker->dop_info->count()){ |
190 | $worker->dop_info = $worker->dop_info->keyBy('infoblok_id')->toArray(); | 190 | $worker->dop_info = $worker->dop_info->keyBy('infoblok_id')->toArray(); |
191 | } | 191 | } |
192 | 192 | ||
193 | return view('workers.form_additional_documents', compact('worker', 'info_blocks', 'additional_document_statuses')); | 193 | return view('workers.form_additional_documents', compact('worker', 'info_blocks', 'additional_document_statuses')); |
194 | } | 194 | } |
195 | 195 | ||
196 | //Лайк резюме | 196 | //Лайк резюме |
197 | public function like_controller() { | 197 | public function like_controller() { |
198 | 198 | ||
199 | } | 199 | } |
200 | 200 | ||
201 | // анкета соискателя | 201 | // анкета соискателя |
202 | public function resume_profile(Worker $worker) | 202 | public function resume_profile(Worker $worker) |
203 | { | 203 | { |
204 | if (isset(Auth()->user()->id)) { | 204 | if (isset(Auth()->user()->id)) { |
205 | $idiot = Auth()->user()->id; | 205 | $idiot = Auth()->user()->id; |
206 | } else { | 206 | } else { |
207 | $idiot = 0; | 207 | $idiot = 0; |
208 | } | 208 | } |
209 | 209 | ||
210 | $status_work = $this->status_work; | 210 | $status_work = $this->status_work; |
211 | $Query = Worker::query()->with('users')->with('job_titles') | 211 | $Query = Worker::query()->with('users')->with('job_titles') |
212 | ->with('place_worker')->with('sertificate')->with('prev_company') | 212 | ->with('place_worker')->with('sertificate')->with('prev_company') |
213 | ->with('infobloks')->with('response'); | 213 | ->with('infobloks')->with('response'); |
214 | $Query = $Query->where('id', '=', $worker->id); | 214 | $Query = $Query->where('id', '=', $worker->id); |
215 | $Query = $Query->get(); | 215 | $Query = $Query->get(); |
216 | 216 | ||
217 | $get_date = date('Y.m'); | 217 | $get_date = date('Y.m'); |
218 | 218 | ||
219 | $infoblocks = infobloks::query()->get(); | 219 | $infoblocks = infobloks::query()->get(); |
220 | 220 | ||
221 | $c = Static_worker::query()->where('year_month', '=', $get_date) | 221 | $c = Static_worker::query()->where('year_month', '=', $get_date) |
222 | ->where('user_id', '=', $worker->user_id) | 222 | ->where('user_id', '=', $worker->user_id) |
223 | ->get(); | 223 | ->get(); |
224 | 224 | ||
225 | if ($c->count() > 0) { | 225 | if ($c->count() > 0) { |
226 | $upd = Static_worker::find($c[0]->id); | 226 | $upd = Static_worker::find($c[0]->id); |
227 | $upd->lookin = $upd->lookin + 1; | 227 | $upd->lookin = $upd->lookin + 1; |
228 | $upd->save(); | 228 | $upd->save(); |
229 | } else { | 229 | } else { |
230 | $crt = new Static_worker(); | 230 | $crt = new Static_worker(); |
231 | $crt->lookin = 1; | 231 | $crt->lookin = 1; |
232 | $crt->year_month = $get_date; | 232 | $crt->year_month = $get_date; |
233 | $crt->user_id = $worker->user_id; | 233 | $crt->user_id = $worker->user_id; |
234 | $status = $crt->save(); | 234 | $status = $crt->save(); |
235 | } | 235 | } |
236 | 236 | ||
237 | $stat = Static_worker::query()->where('year_month', '=', $get_date) | 237 | $stat = Static_worker::query()->where('year_month', '=', $get_date) |
238 | ->where('user_id', '=', $worker->user_id) | 238 | ->where('user_id', '=', $worker->user_id) |
239 | ->get(); | 239 | ->get(); |
240 | 240 | ||
241 | return view('worker', compact('Query', 'infoblocks', 'status_work', 'idiot', 'stat')); | 241 | return view('worker', compact('Query', 'infoblocks', 'status_work', 'idiot', 'stat')); |
242 | } | 242 | } |
243 | 243 | ||
244 | // скачать анкету соискателя | 244 | // скачать анкету соискателя |
245 | public function resume_download(Worker $worker) | 245 | public function resume_download(Worker $worker) |
246 | { | 246 | { |
247 | $status_work = $this->status_work; | 247 | $status_work = $this->status_work; |
248 | $Query = Worker::query()->with('users')->with('job_titles') | 248 | $Query = Worker::query()->with('users')->with('job_titles') |
249 | ->with('place_worker')->with('sertificate')->with('prev_company') | 249 | ->with('place_worker')->with('sertificate')->with('prev_company') |
250 | ->with('infobloks'); | 250 | ->with('infobloks'); |
251 | $Query = $Query->where('id', '=', $worker->id); | 251 | $Query = $Query->where('id', '=', $worker->id); |
252 | $Query = $Query->get()->toArray(); | 252 | $Query = $Query->get()->toArray(); |
253 | 253 | ||
254 | view()->share('Query',$Query); | 254 | view()->share('Query',$Query); |
255 | 255 | ||
256 | 256 | ||
257 | $pdf = PDF::loadView('layout.pdf', $Query); //->setPaper('a4', 'landscape'); | 257 | $pdf = PDF::loadView('layout.pdf', $Query); //->setPaper('a4', 'landscape'); |
258 | 258 | ||
259 | return $pdf->stream(); | 259 | return $pdf->stream(); |
260 | } | 260 | } |
261 | 261 | ||
262 | public function resume_download_all(Request $request) { | 262 | public function resume_download_all(Request $request) { |
263 | $spreadsheet = new Spreadsheet(); | 263 | $spreadsheet = new Spreadsheet(); |
264 | $sheet = $spreadsheet->getActiveSheet(); | 264 | $sheet = $spreadsheet->getActiveSheet(); |
265 | 265 | ||
266 | $columnMap = range('A', 'Z'); | 266 | $columnMap = range('A', 'Z'); |
267 | $columns = []; | 267 | $columns = []; |
268 | 268 | ||
269 | foreach (DbExportColumns::toArray() as $key => $value){ | 269 | foreach (DbExportColumns::toArray() as $key => $value){ |
270 | if ($request->input($key, 0)){ | 270 | if ($request->input($key, 0)){ |
271 | $sheet->setCellValue("{$columnMap[count($columns)]}1", ucfirst($value)); | 271 | $sheet->setCellValue("{$columnMap[count($columns)]}1", ucfirst($value)); |
272 | $columns[] = str_replace('__', '.', $key); | 272 | $columns[] = str_replace('__', '.', $key); |
273 | } | 273 | } |
274 | } | 274 | } |
275 | 275 | ||
276 | if (empty($columns)) { | 276 | if (empty($columns)) { |
277 | return redirect()->back()->with('error', 'Пожалуйста выберите хотя бы 1 колонку для экспорта.'); | 277 | return redirect()->back()->with('error', 'Пожалуйста выберите хотя бы 1 колонку для экспорта.'); |
278 | } | 278 | } |
279 | 279 | ||
280 | $query = User::select($columns) | 280 | $query = User::select($columns) |
281 | ->leftJoin('workers', 'users.id', '=', 'workers.user_id') | 281 | ->leftJoin('workers', 'users.id', '=', 'workers.user_id') |
282 | ->leftJoin('job_titles', 'workers.position_work', '=', 'job_titles.id') | 282 | ->leftJoin('job_titles', 'workers.position_work', '=', 'job_titles.id') |
283 | ->where('users.is_bd', '=', 1) | 283 | ->where('users.is_bd', '=', 1) |
284 | ; | 284 | ; |
285 | 285 | ||
286 | $job_title_list = $request->input('job_title_list', []); | 286 | $job_title_list = $request->input('job_title_list', []); |
287 | if (!empty($job_title_list)){ | 287 | if (!empty($job_title_list)){ |
288 | $query->whereIn('job_titles.id', $job_title_list); | 288 | $query->whereIn('job_titles.id', $job_title_list); |
289 | } | 289 | } |
290 | 290 | ||
291 | $users = $query->get(); | 291 | $users = $query->get(); |
292 | if ($users->count()){ | 292 | if ($users->count()){ |
293 | $i = 2; | 293 | $i = 2; |
294 | foreach ($users->toArray() as $user){ | 294 | foreach ($users->toArray() as $user){ |
295 | $j = 0; | 295 | $j = 0; |
296 | foreach ($user as $field){ | 296 | foreach ($user as $field){ |
297 | $sheet->setCellValue("{$columnMap[$j++]}$i", $field); | 297 | $sheet->setCellValue("{$columnMap[$j++]}$i", $field); |
298 | } | 298 | } |
299 | $i++; | 299 | $i++; |
300 | } | 300 | } |
301 | } | 301 | } |
302 | $writer = new Xlsx($spreadsheet); | 302 | $writer = new Xlsx($spreadsheet); |
303 | $fileName = 'DB.xlsx'; | 303 | $fileName = 'DB.xlsx'; |
304 | 304 | ||
305 | $response = new StreamedResponse(function() use ($writer) { | 305 | $response = new StreamedResponse(function() use ($writer) { |
306 | $writer->save('php://output'); | 306 | $writer->save('php://output'); |
307 | }); | 307 | }); |
308 | 308 | ||
309 | $response->headers->set('Content-Type', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'); | 309 | $response->headers->set('Content-Type', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'); |
310 | $response->headers->set('Content-Disposition', 'attachment;filename="' . $fileName . '"'); | 310 | $response->headers->set('Content-Disposition', 'attachment;filename="' . $fileName . '"'); |
311 | $response->headers->set('Cache-Control', 'max-age=0'); | 311 | $response->headers->set('Cache-Control', 'max-age=0'); |
312 | 312 | ||
313 | return $response; | 313 | return $response; |
314 | } | 314 | } |
315 | 315 | ||
316 | // Кабинет работника | 316 | // Кабинет работника |
317 | public function cabinet(Request $request) | 317 | public function cabinet(Request $request) |
318 | { | 318 | { |
319 | // дата год и месяц | 319 | // дата год и месяц |
320 | $get_date = date('Y.m'); | 320 | $get_date = date('Y.m'); |
321 | 321 | ||
322 | $id = Auth()->user()->id; | 322 | $id = Auth()->user()->id; |
323 | 323 | ||
324 | $Infobloks = infobloks::query()->get(); | 324 | $Infobloks = infobloks::query()->get(); |
325 | 325 | ||
326 | $Worker = Worker::query()->with('users')->with('sertificate')->with('prev_company')-> | 326 | $Worker = Worker::query()->with('users')->with('sertificate')->with('prev_company')-> |
327 | with('infobloks')->with('place_worker')-> | 327 | with('infobloks')->with('place_worker')-> |
328 | WhereHas('users', | 328 | WhereHas('users', |
329 | function (Builder $query) use ($id) {$query->Where('id', $id); | 329 | function (Builder $query) use ($id) {$query->Where('id', $id); |
330 | })->get(); | 330 | })->get(); |
331 | 331 | ||
332 | $Job_titles = Job_title::query()->where('is_remove', '=', '0')-> | 332 | $Job_titles = Job_title::query()->where('is_remove', '=', '0')-> |
333 | where('is_bd', '=' , '1')-> | 333 | where('is_bd', '=' , '1')-> |
334 | OrderByDesc('sort')->OrderBy('name')->get(); | 334 | OrderByDesc('sort')->OrderBy('name')->get(); |
335 | 335 | ||
336 | 336 | ||
337 | $stat = Static_worker::query()->where('year_month', '=', $get_date) | 337 | $stat = Static_worker::query()->where('year_month', '=', $get_date) |
338 | ->where('user_id', '=', $id) | 338 | ->where('user_id', '=', $id) |
339 | ->get(); | 339 | ->get(); |
340 | 340 | ||
341 | 341 | ||
342 | // 10% | 342 | // 10% |
343 | 343 | ||
344 | $persent = 10; | 344 | $persent = 10; |
345 | $persent1 = 0; | 345 | $persent1 = 0; |
346 | $persent2 = 0; | 346 | $persent2 = 0; |
347 | $persent3 = 0; | 347 | $persent3 = 0; |
348 | $persent4 = 0; | 348 | $persent4 = 0; |
349 | $persent5 = 0; | 349 | $persent5 = 0; |
350 | 350 | ||
351 | if ((!empty($Worker[0]->telephone)) && | 351 | if ((!empty($Worker[0]->telephone)) && |
352 | (!empty($Worker[0]->email)) && (!empty($Worker[0]->experience)) && | 352 | (!empty($Worker[0]->email)) && (!empty($Worker[0]->experience)) && |
353 | (!empty($Worker[0]->city)) && (!empty($Worker[0]->old_year))) { | 353 | (!empty($Worker[0]->city)) && (!empty($Worker[0]->old_year))) { |
354 | // 40% | 354 | // 40% |
355 | $persent = $persent + 40; | 355 | $persent = $persent + 40; |
356 | $persent1 = 40; | 356 | $persent1 = 40; |
357 | } | 357 | } |
358 | 358 | ||
359 | //dd($Worker[0]->status_work, $Worker[0]->telephone, $Worker[0]->email, $Worker[0]->experience, $Worker[0]->city, $Worker[0]->old_year); | 359 | //dd($Worker[0]->status_work, $Worker[0]->telephone, $Worker[0]->email, $Worker[0]->experience, $Worker[0]->city, $Worker[0]->old_year); |
360 | 360 | ||
361 | if ($Worker[0]->sertificate->count() > 0) { | 361 | if ($Worker[0]->sertificate->count() > 0) { |
362 | // 15% | 362 | // 15% |
363 | $persent = $persent + 15; | 363 | $persent = $persent + 15; |
364 | $persent2 = 15; | 364 | $persent2 = 15; |
365 | } | 365 | } |
366 | 366 | ||
367 | if ($Worker[0]->infobloks->count() > 0) { | 367 | if ($Worker[0]->infobloks->count() > 0) { |
368 | // 20% | 368 | // 20% |
369 | $persent = $persent + 20; | 369 | $persent = $persent + 20; |
370 | $persent3 = 20; | 370 | $persent3 = 20; |
371 | } | 371 | } |
372 | 372 | ||
373 | if ($Worker[0]->prev_company->count() > 0) { | 373 | if ($Worker[0]->prev_company->count() > 0) { |
374 | // 10% | 374 | // 10% |
375 | $persent = $persent + 10; | 375 | $persent = $persent + 10; |
376 | $persent4 = 10; | 376 | $persent4 = 10; |
377 | } | 377 | } |
378 | 378 | ||
379 | if (!empty($Worker[0]->photo)) { | 379 | if (!empty($Worker[0]->photo)) { |
380 | // 5% | 380 | // 5% |
381 | $persent = $persent + 5; | 381 | $persent = $persent + 5; |
382 | $persent5 = 5; | 382 | $persent5 = 5; |
383 | } | 383 | } |
384 | 384 | ||
385 | $status_work = $this->status_work; | 385 | $status_work = $this->status_work; |
386 | $additional_document_statuses = [0 => 'Не указано', 1 => 'В наличии', 2 => 'Отсутствует']; | 386 | $additional_document_statuses = [0 => 'Не указано', 1 => 'В наличии', 2 => 'Отсутствует']; |
387 | $info_blocks = infobloks::query()->OrderBy('name')->get(); | 387 | $info_blocks = infobloks::query()->OrderBy('name')->get(); |
388 | 388 | ||
389 | $worker = Worker::query() | 389 | $worker = Worker::query() |
390 | ->with('users') | 390 | ->with('users') |
391 | ->with('sertificate') | 391 | ->with('sertificate') |
392 | ->with('prev_company') | 392 | ->with('prev_company') |
393 | ->with('infobloks') | 393 | ->with('infobloks') |
394 | ->with('place_worker') | 394 | ->with('place_worker') |
395 | ->with('job_titles') | 395 | ->with('job_titles') |
396 | ->WhereHas('users', function (Builder $query) use ($id) { | 396 | ->WhereHas('users', function (Builder $query) use ($id) { |
397 | $query->Where('id', $id); | 397 | $query->Where('id', $id); |
398 | }) | 398 | }) |
399 | ->first(); | 399 | ->first(); |
400 | if ($worker->dop_info->count()){ | 400 | if ($worker->dop_info->count()){ |
401 | $worker->dop_info = $worker->dop_info->keyBy('infoblok_id')->toArray(); | 401 | $worker->dop_info = $worker->dop_info->keyBy('infoblok_id')->toArray(); |
402 | } | 402 | } |
403 | 403 | ||
404 | //dd($worker->dop_info); | 404 | //dd($worker->dop_info); |
405 | 405 | ||
406 | if ($request->has('print')) { | 406 | if ($request->has('print')) { |
407 | dd($Worker); | 407 | dd($Worker); |
408 | } else { | 408 | } else { |
409 | return view('workers.cabinet', compact( 'persent', 'Job_titles', 'stat', | 409 | return view('workers.cabinet', compact( 'persent', 'Job_titles', 'stat', |
410 | 'worker', 'info_blocks', 'status_work', 'additional_document_statuses' | 410 | 'worker', 'info_blocks', 'status_work', 'additional_document_statuses' |
411 | )); | 411 | )); |
412 | } | 412 | } |
413 | } | 413 | } |
414 | 414 | ||
415 | // Сохранение данных | 415 | // Сохранение данных |
416 | public function cabinet_save(Worker $worker, Request $request) | 416 | public function cabinet_save(Worker $worker, Request $request) |
417 | { | 417 | { |
418 | $id = $worker->id; | 418 | $id = $worker->id; |
419 | $params = $request->all(); | 419 | $params = $request->all(); |
420 | $job_title_id = $request->get('job_title_id'); | 420 | $job_title_id = $request->get('job_title_id'); |
421 | 421 | ||
422 | $rules = [ | 422 | $rules = [ |
423 | 'surname' => ['required', 'string', 'max:255'], | 423 | 'surname' => ['required', 'string', 'max:255'], |
424 | 'name_man' => ['required', 'string', 'max:255'], | 424 | 'name_man' => ['required', 'string', 'max:255'], |
425 | 'email' => ['required', 'string', 'email', 'max:255'], | 425 | 'email' => ['required', 'string', 'email', 'max:255'], |
426 | 426 | ||
427 | ]; | 427 | ]; |
428 | 428 | ||
429 | $messages = [ | 429 | $messages = [ |
430 | 'required' => 'Укажите обязательное поле', | 430 | 'required' => 'Укажите обязательное поле', |
431 | 'min' => [ | 431 | 'min' => [ |
432 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 432 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
433 | 'integer' => 'Поле «:attribute» должно быть :min или больше', | 433 | 'integer' => 'Поле «:attribute» должно быть :min или больше', |
434 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 434 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
435 | ], | 435 | ], |
436 | 'max' => [ | 436 | 'max' => [ |
437 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 437 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
438 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', | 438 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', |
439 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 439 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
440 | ] | 440 | ] |
441 | ]; | 441 | ]; |
442 | 442 | ||
443 | $validator = Validator::make($params, $rules, $messages); | 443 | $validator = Validator::make($params, $rules, $messages); |
444 | 444 | ||
445 | if ($validator->fails()) { | 445 | if ($validator->fails()) { |
446 | return redirect()->route('worker.cabinet')->withErrors($validator); | 446 | return redirect()->route('worker.cabinet')->withErrors($validator); |
447 | } else { | 447 | } else { |
448 | 448 | ||
449 | if ($request->has('photo')) { | 449 | if ($request->has('photo')) { |
450 | if (!empty($worker->photo)) { | 450 | if (!empty($worker->photo)) { |
451 | Storage::delete($worker->photo); | 451 | Storage::delete($worker->photo); |
452 | } | 452 | } |
453 | $params['photo'] = $request->file('photo')->store("worker/$id", 'public'); | 453 | $params['photo'] = $request->file('photo')->store("worker/$id", 'public'); |
454 | } | 454 | } |
455 | 455 | ||
456 | if ($request->has('file')) { | 456 | if ($request->has('file')) { |
457 | if (!empty($worker->file)) { | 457 | if (!empty($worker->file)) { |
458 | Storage::delete($worker->file); | 458 | Storage::delete($worker->file); |
459 | } | 459 | } |
460 | $params['file'] = $request->file('file')->store("worker/$id", 'public'); | 460 | $params['file'] = $request->file('file')->store("worker/$id", 'public'); |
461 | } | 461 | } |
462 | 462 | ||
463 | $worker->update($params); | 463 | $worker->update($params); |
464 | $use = User::find($worker->user_id); | 464 | $use = User::find($worker->user_id); |
465 | $use->surname = $request->get('surname'); | 465 | $use->surname = $request->get('surname'); |
466 | $use->name_man = $request->get('name_man'); | 466 | $use->name_man = $request->get('name_man'); |
467 | $use->surname2 = $request->get('surname2'); | 467 | $use->surname2 = $request->get('surname2'); |
468 | 468 | ||
469 | $use->save(); | 469 | $use->save(); |
470 | $worker->job_titles()->sync($job_title_id); | 470 | $worker->job_titles()->sync($job_title_id); |
471 | 471 | ||
472 | return redirect()->route('worker.basic_information')->with('success', 'Данные были успешно сохранены'); | 472 | return redirect()->route('worker.basic_information')->with('success', 'Данные были успешно сохранены'); |
473 | } | 473 | } |
474 | } | 474 | } |
475 | 475 | ||
476 | public function cabinet_save_foto(Worker $worker, Request $request){ | 476 | public function cabinet_save_foto(Worker $worker, Request $request){ |
477 | $params = ['photo' => null]; | 477 | $params = ['photo' => null]; |
478 | 478 | ||
479 | if ($request->has('photo')) { | 479 | if ($request->has('photo')) { |
480 | if (!empty($worker->photo)) { | 480 | if (!empty($worker->photo)) { |
481 | Storage::delete($worker->photo); | 481 | Storage::delete($worker->photo); |
482 | } | 482 | } |
483 | $params['photo'] = $request->file('photo')->store("worker/$worker->id", 'public'); | 483 | $params['photo'] = $request->file('photo')->store("worker/$worker->id", 'public'); |
484 | } | 484 | } |
485 | 485 | ||
486 | if ($request->has('file')) { | 486 | if ($request->has('file')) { |
487 | if (!empty($worker->file)) { | 487 | if (!empty($worker->file)) { |
488 | Storage::delete($worker->file); | 488 | Storage::delete($worker->file); |
489 | } | 489 | } |
490 | $params['file'] = $request->file('file')->store("worker/$worker->id", 'public'); | 490 | $params['file'] = $request->file('file')->store("worker/$worker->id", 'public'); |
491 | } | 491 | } |
492 | 492 | ||
493 | $worker->update($params); | 493 | $worker->update($params); |
494 | 494 | ||
495 | return redirect()->route('worker.cabinet'); | 495 | return redirect()->route('worker.cabinet'); |
496 | } | 496 | } |
497 | 497 | ||
498 | // Сообщения данные | 498 | // Сообщения данные |
499 | public function messages($type_message) | 499 | public function messages($type_message) |
500 | { | 500 | { |
501 | $user_id = Auth()->user()->id; | 501 | $user_id = Auth()->user()->id; |
502 | 502 | ||
503 | $messages_input = Message::query()->with('vacancies')->with('user_from')-> | 503 | $messages_input = Message::query()->with('vacancies')->with('user_from')-> |
504 | Where('to_user_id', $user_id)->OrderByDesc('created_at'); | 504 | Where('to_user_id', $user_id)->OrderByDesc('created_at'); |
505 | 505 | ||
506 | $messages_output = Message::query()->with('vacancies')-> | 506 | $messages_output = Message::query()->with('vacancies')-> |
507 | with('user_to')->where('user_id', $user_id)-> | 507 | with('user_to')->where('user_id', $user_id)-> |
508 | OrderByDesc('created_at'); | 508 | OrderByDesc('created_at'); |
509 | 509 | ||
510 | $count_input = $messages_input->count(); | 510 | $count_input = $messages_input->count(); |
511 | $count_output = $messages_output->count(); | 511 | $count_output = $messages_output->count(); |
512 | 512 | ||
513 | if ($type_message == 'input') { | 513 | if ($type_message == 'input') { |
514 | $messages = $messages_input->paginate(5); | 514 | $messages = $messages_input->paginate(5); |
515 | } | 515 | } |
516 | 516 | ||
517 | if ($type_message == 'output') { | 517 | if ($type_message == 'output') { |
518 | $messages = $messages_output->paginate(5); | 518 | $messages = $messages_output->paginate(5); |
519 | } | 519 | } |
520 | 520 | ||
521 | //dd($messages); | 521 | //dd($messages); |
522 | // Вернуть все 100% | 522 | // Вернуть все 100% |
523 | return view('workers.messages', compact('messages', 'count_input', 'count_output', 'type_message', 'user_id')); | 523 | return view('workers.messages', compact('messages', 'count_input', 'count_output', 'type_message', 'user_id')); |
524 | } | 524 | } |
525 | 525 | ||
526 | // Избранный | 526 | // Избранный |
527 | public function favorite() | 527 | public function favorite() |
528 | { | 528 | { |
529 | return view('workers.favorite'); | 529 | return view('workers.favorite'); |
530 | } | 530 | } |
531 | 531 | ||
532 | // Сменить пароль | 532 | // Сменить пароль |
533 | public function new_password() | 533 | public function new_password() |
534 | { | 534 | { |
535 | $email = Auth()->user()->email; | 535 | $email = Auth()->user()->email; |
536 | return view('workers.new_password', compact('email')); | 536 | return view('workers.new_password', compact('email')); |
537 | } | 537 | } |
538 | 538 | ||
539 | // Обновление пароля | 539 | // Обновление пароля |
540 | public function save_new_password(Request $request) { | 540 | public function save_new_password(Request $request) { |
541 | $use = Auth()->user(); | 541 | $use = Auth()->user(); |
542 | $request->validate([ | 542 | $request->validate([ |
543 | 'password' => 'required|string', | 543 | 'password' => 'required|string', |
544 | 'new_password' => 'required|string', | 544 | 'new_password' => 'required|string', |
545 | 'new_password2' => 'required|string' | 545 | 'new_password2' => 'required|string' |
546 | ]); | 546 | ]); |
547 | 547 | ||
548 | if ($request->get('new_password') == $request->get('new_password2')) | 548 | if ($request->get('new_password') == $request->get('new_password2')) |
549 | if ($request->get('password') !== $request->get('new_password')) { | 549 | if ($request->get('password') !== $request->get('new_password')) { |
550 | $credentials = $request->only('email', 'password'); | 550 | $credentials = $request->only('email', 'password'); |
551 | if (Auth::attempt($credentials, $request->has('save_me'))) { | 551 | if (Auth::attempt($credentials, $request->has('save_me'))) { |
552 | 552 | ||
553 | if (!is_null($use->email_verified_at)){ | 553 | if (!is_null($use->email_verified_at)){ |
554 | 554 | ||
555 | $user_data = User_Model::find($use->id); | 555 | $user_data = User_Model::find($use->id); |
556 | $user_data->update([ | 556 | $user_data->update([ |
557 | 'password' => Hash::make($request->get('new_password')), | 557 | 'password' => Hash::make($request->get('new_password')), |
558 | 'pubpassword' => base64_encode($request->get('new_password')), | 558 | 'pubpassword' => base64_encode($request->get('new_password')), |
559 | ]); | 559 | ]); |
560 | return redirect() | 560 | return redirect() |
561 | ->route('worker.new_password') | 561 | ->route('worker.new_password') |
562 | ->with('success', 'Поздравляю! Вы обновили свой пароль!'); | 562 | ->with('success', 'Поздравляю! Вы обновили свой пароль!'); |
563 | } | 563 | } |
564 | 564 | ||
565 | return redirect() | 565 | return redirect() |
566 | ->route('worker.new_password') | 566 | ->route('worker.new_password') |
567 | ->withError('Данная учетная запись не было верифицированна!'); | 567 | ->withError('Данная учетная запись не было верифицированна!'); |
568 | } | 568 | } |
569 | } | 569 | } |
570 | 570 | ||
571 | return redirect() | 571 | return redirect() |
572 | ->route('worker.new_password') | 572 | ->route('worker.new_password') |
573 | ->withErrors('Не совпадение данных, обновите пароли!'); | 573 | ->withErrors('Не совпадение данных, обновите пароли!'); |
574 | } | 574 | } |
575 | 575 | ||
576 | // Удаление профиля форма | 576 | // Удаление профиля форма |
577 | public function delete_profile() | 577 | public function delete_profile() |
578 | { | 578 | { |
579 | $login = Auth()->user()->email; | 579 | $login = Auth()->user()->email; |
580 | return view('workers.delete_profile', compact('login')); | 580 | return view('workers.delete_profile', compact('login')); |
581 | } | 581 | } |
582 | 582 | ||
583 | // Удаление профиля код | 583 | // Удаление профиля код |
584 | public function delete_profile_result(Request $request) { | 584 | public function delete_profile_result(Request $request) { |
585 | $Answer = $request->all(); | 585 | $Answer = $request->all(); |
586 | $user_id = Auth()->user()->id; | 586 | $user_id = Auth()->user()->id; |
587 | $request->validate([ | 587 | $request->validate([ |
588 | 'password' => 'required|string', | 588 | 'password' => 'required|string', |
589 | ]); | 589 | ]); |
590 | 590 | ||
591 | $credentials = $request->only('email', 'password'); | 591 | $credentials = $request->only('email', 'password'); |
592 | if (Auth::attempt($credentials)) { | 592 | if (Auth::attempt($credentials)) { |
593 | Auth::logout(); | 593 | Auth::logout(); |
594 | $it = User_Model::find($user_id); | 594 | $it = User_Model::find($user_id); |
595 | $it->delete(); | 595 | $it->delete(); |
596 | return redirect()->route('index')->with('success', 'Вы успешно удалили свой аккаунт'); | 596 | return redirect()->route('index')->with('success', 'Вы успешно удалили свой аккаунт'); |
597 | } else { | 597 | } else { |
598 | return redirect()->route('worker.delete_profile') | 598 | return redirect()->route('worker.delete_profile') |
599 | ->withErrors( 'Неверный пароль! Нужен корректный пароль'); | 599 | ->withErrors( 'Неверный пароль! Нужен корректный пароль'); |
600 | } | 600 | } |
601 | } | 601 | } |
602 | 602 | ||
603 | // Регистрация соискателя | 603 | // Регистрация соискателя |
604 | public function register_worker(Request $request) | 604 | public function register_worker(Request $request) |
605 | { | 605 | { |
606 | $params = $request->all(); | 606 | $params = $request->all(); |
607 | $params['is_worker'] = 1; | 607 | $params['is_worker'] = 1; |
608 | 608 | ||
609 | $rules = [ | 609 | $rules = [ |
610 | 'surname' => ['required', 'string', 'max:255'], | 610 | 'surname' => ['required', 'string', 'max:255'], |
611 | 'name_man' => ['required', 'string', 'max:255'], | 611 | 'name_man' => ['required', 'string', 'max:255'], |
612 | 'email' => ['required', 'email', 'max:255', 'unique:users'], | 612 | 'email' => ['required', 'email', 'max:255', 'unique:users'], |
613 | 'password' => ['required', 'string', 'min:6'] | 613 | 'password' => ['required', 'string', 'min:6'] |
614 | ]; | 614 | ]; |
615 | 615 | ||
616 | $messages = [ | 616 | $messages = [ |
617 | 'required' => 'Укажите обязательное поле', | 617 | 'required' => 'Укажите обязательное поле', |
618 | 'min' => [ | 618 | 'min' => [ |
619 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 619 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
620 | 'integer' => 'Поле «:attribute» должно быть :min или больше', | 620 | 'integer' => 'Поле «:attribute» должно быть :min или больше', |
621 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 621 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
622 | ], | 622 | ], |
623 | 'max' => [ | 623 | 'max' => [ |
624 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 624 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
625 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', | 625 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', |
626 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 626 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
627 | ] | 627 | ] |
628 | ]; | 628 | ]; |
629 | 629 | ||
630 | $email = $request->get('email'); | 630 | $email = $request->get('email'); |
631 | if (!preg_match("/^[a-zA-Z0-9_\-.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-.]+$/", $email)) { | 631 | if (!preg_match("/^[a-zA-Z0-9_\-.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-.]+$/", $email)) { |
632 | return json_encode(Array("ERROR" => "Error: Отсутствует емайл или некорректный емайл")); | 632 | return json_encode(Array("ERROR" => "Error: Отсутствует емайл или некорректный емайл")); |
633 | } | 633 | } |
634 | 634 | ||
635 | if ($request->get('password') !== $request->get('confirmed')){ | 635 | if ($request->get('password') !== $request->get('confirmed')){ |
636 | return json_encode(Array("ERROR" => "Error: Не совпадают пароль и подтверждение пароля")); | 636 | return json_encode(Array("ERROR" => "Error: Не совпадают пароль и подтверждение пароля")); |
637 | } | 637 | } |
638 | 638 | ||
639 | if (strlen($request->get('password')) < 6) { | 639 | if (strlen($request->get('password')) < 6) { |
640 | return json_encode(Array("ERROR" => "Error: Недостаточная длина пароля! Увеличьте себе длину пароля!")); | 640 | return json_encode(Array("ERROR" => "Error: Недостаточная длина пароля! Увеличьте себе длину пароля!")); |
641 | } | 641 | } |
642 | 642 | ||
643 | /*$haystack = $request->get('password'); | 643 | /*$haystack = $request->get('password'); |
644 | 644 | ||
645 | $specsumbol = Array('!','~', '#', '$', '%', '^', '&', '*', '(', ')', '-', '=', ';', ':', '<', '>', '?'); | 645 | $specsumbol = Array('!','~', '#', '$', '%', '^', '&', '*', '(', ')', '-', '=', ';', ':', '<', '>', '?'); |
646 | $alpha = Array('Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', 'O', 'P', 'A', 'S', 'D', 'F', 'G', 'H', 'J', 'K', 'L', 'Z', | 646 | $alpha = Array('Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', 'O', 'P', 'A', 'S', 'D', 'F', 'G', 'H', 'J', 'K', 'L', 'Z', |
647 | 'X', 'C', 'V', 'B', 'N', 'M'); | 647 | 'X', 'C', 'V', 'B', 'N', 'M'); |
648 | $lenpwd_bool = true; | 648 | $lenpwd_bool = true; |
649 | $spec_bool = false; | 649 | $spec_bool = false; |
650 | $alpha_bool = false; | 650 | $alpha_bool = false; |
651 | 651 | ||
652 | if (strlen($haystack) < 8) $lenpwd_bool = false; | 652 | if (strlen($haystack) < 8) $lenpwd_bool = false; |
653 | 653 | ||
654 | foreach ($specsumbol as $it) { | 654 | foreach ($specsumbol as $it) { |
655 | if (strpos($haystack, $it) !== false) { | 655 | if (strpos($haystack, $it) !== false) { |
656 | $spec_bool = true; | 656 | $spec_bool = true; |
657 | } | 657 | } |
658 | } | 658 | } |
659 | 659 | ||
660 | foreach ($alpha as $it) { | 660 | foreach ($alpha as $it) { |
661 | if (strpos($haystack, $it) !== false) { | 661 | if (strpos($haystack, $it) !== false) { |
662 | $alpha_bool = true; | 662 | $alpha_bool = true; |
663 | } | 663 | } |
664 | } | 664 | } |
665 | 665 | ||
666 | if ((!$spec_bool) || (!$alpha_bool)) { | 666 | if ((!$spec_bool) || (!$alpha_bool)) { |
667 | return json_encode(Array("ERROR" => "Error: Нет спецсимволов в пароле, латинские буквы заглавные, а также один из символов: !~#$%^&*()-=;,:<>?")); | 667 | return json_encode(Array("ERROR" => "Error: Нет спецсимволов в пароле, латинские буквы заглавные, а также один из символов: !~#$%^&*()-=;,:<>?")); |
668 | }*/ | 668 | }*/ |
669 | 669 | ||
670 | if (($request->has('politik')) && ($request->get('politik') == 1)) { | 670 | if (($request->has('politik')) && ($request->get('politik') == 1)) { |
671 | $validator = Validator::make($params, $rules, $messages); | 671 | $validator = Validator::make($params, $rules, $messages); |
672 | 672 | ||
673 | if ($validator->fails()) { | 673 | if ($validator->fails()) { |
674 | return json_encode(array("ERROR" => "Error1: Регистрация оборвалась ошибкой! Не все обязательные поля заполнены. Либо вы уже были зарегистрированы в системе.")); | 674 | return json_encode(array("ERROR" => "Error1: Регистрация оборвалась ошибкой! Не все обязательные поля заполнены. Либо вы уже были зарегистрированы в системе.")); |
675 | } else { | 675 | } else { |
676 | //dd($params); | 676 | //dd($params); |
677 | $user = $this->create($params); | 677 | $user = $this->create($params); |
678 | event(new Registered($user)); | 678 | event(new Registered($user)); |
679 | Auth::guard()->login($user); | 679 | Auth::guard()->login($user); |
680 | } | 680 | } |
681 | if ($user) { | 681 | if ($user) { |
682 | return json_encode(Array("REDIRECT" => redirect()->route('worker.cabinet')->getTargetUrl()));; | 682 | return json_encode(Array("REDIRECT" => redirect()->route('worker.cabinet')->getTargetUrl()));; |
683 | } else { | 683 | } else { |
684 | return json_encode(Array("ERROR" => "Error2: Данные были утеряны!")); | 684 | return json_encode(Array("ERROR" => "Error2: Данные были утеряны!")); |
685 | } | 685 | } |
686 | 686 | ||
687 | } else { | 687 | } else { |
688 | return json_encode(Array("ERROR" => "Error3: Вы не согласились с политикой конфидициальности!")); | 688 | return json_encode(Array("ERROR" => "Error3: Вы не согласились с политикой конфидициальности!")); |
689 | } | 689 | } |
690 | } | 690 | } |
691 | 691 | ||
692 | // Звездная оценка и ответ | 692 | // Звездная оценка и ответ |
693 | public function stars_answer(Request $request) { | 693 | public function stars_answer(Request $request) { |
694 | $params = $request->all(); | 694 | $params = $request->all(); |
695 | $rules = [ | 695 | $rules = [ |
696 | 'message' => ['required', 'string', 'max:255'], | 696 | 'message' => ['required', 'string', 'max:255'], |
697 | ]; | 697 | ]; |
698 | 698 | ||
699 | $messages = [ | 699 | $messages = [ |
700 | 'required' => 'Укажите обязательное поле', | 700 | 'required' => 'Укажите обязательное поле', |
701 | 'min' => [ | 701 | 'min' => [ |
702 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 702 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
703 | 'integer' => 'Поле «:attribute» должно быть :min или больше', | 703 | 'integer' => 'Поле «:attribute» должно быть :min или больше', |
704 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 704 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
705 | ], | 705 | ], |
706 | 'max' => [ | 706 | 'max' => [ |
707 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 707 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
708 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', | 708 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', |
709 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 709 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
710 | ] | 710 | ] |
711 | ]; | 711 | ]; |
712 | $response_worker = ResponseWork::create($params); | 712 | $response_worker = ResponseWork::create($params); |
713 | return redirect()->route('resume_profile', ['worker' => $request->get('worker_id')])->with('success', 'Ваше сообщение было отправлено!'); | 713 | return redirect()->route('resume_profile', ['worker' => $request->get('worker_id')])->with('success', 'Ваше сообщение было отправлено!'); |
714 | } | 714 | } |
715 | 715 | ||
716 | public function TestWorker() | 716 | public function TestWorker() |
717 | { | 717 | { |
718 | $Use = new User(); | 718 | $Use = new User(); |
719 | 719 | ||
720 | $Code_user = $Use->create([ | 720 | $Code_user = $Use->create([ |
721 | 'name' => 'surname name_man', | 721 | 'name' => 'surname name_man', |
722 | 'name_man' => 'name_man', | 722 | 'name_man' => 'name_man', |
723 | 'surname' => 'surname', | 723 | 'surname' => 'surname', |
724 | 'surname2' => 'surname2', | 724 | 'surname2' => 'surname2', |
725 | 'subscribe_email' => '1', | 725 | 'subscribe_email' => '1', |
726 | 'email' => 'email@mail.com', | 726 | 'email' => 'email@mail.com', |
727 | 'telephone' => '1234567890', | 727 | 'telephone' => '1234567890', |
728 | 'password' => Hash::make('password'), | 728 | 'password' => Hash::make('password'), |
729 | 'pubpassword' => base64_encode('password'), | 729 | 'pubpassword' => base64_encode('password'), |
730 | 'email_verified_at' => Carbon::now(), | 730 | 'email_verified_at' => Carbon::now(), |
731 | 'is_worker' => 1, | 731 | 'is_worker' => 1, |
732 | ]); | 732 | ]); |
733 | 733 | ||
734 | if ($Code_user->id > 0) { | 734 | if ($Code_user->id > 0) { |
735 | $Worker = new Worker(); | 735 | $Worker = new Worker(); |
736 | $Worker->user_id = $Code_user->id; | 736 | $Worker->user_id = $Code_user->id; |
737 | $Worker->position_work = 1; //'job_titles'; | 737 | $Worker->position_work = 1; //'job_titles'; |
738 | $Worker->email = 'email@email.com'; | 738 | $Worker->email = 'email@email.com'; |
739 | $Worker->telephone = '1234567890'; | 739 | $Worker->telephone = '1234567890'; |
740 | $status = $Worker->save(); | 740 | $status = $Worker->save(); |
741 | 741 | ||
742 | $Title_Worker = new Title_worker(); | 742 | $Title_Worker = new Title_worker(); |
743 | $Title_Worker->worker_id = $Worker->id; | 743 | $Title_Worker->worker_id = $Worker->id; |
744 | $Title_Worker->job_title_id = 1; | 744 | $Title_Worker->job_title_id = 1; |
745 | $Title_Worker->save(); | 745 | $Title_Worker->save(); |
746 | } | 746 | } |
747 | } | 747 | } |
748 | 748 | ||
749 | // Создание пользователя | 749 | // Создание пользователя |
750 | protected function create(array $data) | 750 | protected function create(array $data) |
751 | { | 751 | { |
752 | $Use = new User(); | 752 | $Use = new User(); |
753 | 753 | ||
754 | $Code_user = $Use->create([ | 754 | $Code_user = $Use->create([ |
755 | 'name' => $data['surname']." ".$data['name_man'], | 755 | 'name' => $data['surname']." ".$data['name_man'], |
756 | 'name_man' => $data['name_man'], | 756 | 'name_man' => $data['name_man'], |
757 | 'surname' => $data['surname'], | 757 | 'surname' => $data['surname'], |
758 | 'surname2' => $data['surname2'], | 758 | 'surname2' => $data['surname2'], |
759 | 'subscribe_email' => $data['email'], | 759 | 'subscribe_email' => $data['email'], |
760 | 'email' => $data['email'], | 760 | 'email' => $data['email'], |
761 | 'telephone' => $data['telephone'], | 761 | 'telephone' => $data['telephone'], |
762 | 'password' => Hash::make($data['password']), | 762 | 'password' => Hash::make($data['password']), |
763 | 'pubpassword' => base64_encode($data['password']), | 763 | 'pubpassword' => base64_encode($data['password']), |
764 | 'email_verified_at' => Carbon::now(), | 764 | 'email_verified_at' => Carbon::now(), |
765 | 'is_worker' => $data['is_worker'], | 765 | 'is_worker' => $data['is_worker'], |
766 | ]); | 766 | ]); |
767 | 767 | ||
768 | if ($Code_user->id > 0) { | 768 | if ($Code_user->id > 0) { |
769 | $Worker = new Worker(); | 769 | $Worker = new Worker(); |
770 | $Worker->user_id = $Code_user->id; | 770 | $Worker->user_id = $Code_user->id; |
771 | $Worker->position_work = $data['job_titles']; | 771 | $Worker->position_work = $data['job_titles']; |
772 | $Worker->email = $data['email']; | 772 | $Worker->email = $data['email']; |
773 | $Worker->telephone = $data['telephone']; | 773 | $Worker->telephone = $data['telephone']; |
774 | $Worker->save(); | 774 | $Worker->save(); |
775 | 775 | ||
776 | if (isset($Worker->id)) { | 776 | if (isset($Worker->id)) { |
777 | $Title_Worker = new Title_worker(); | 777 | $Title_Worker = new Title_worker(); |
778 | $Title_Worker->worker_id = $Worker->id; | 778 | $Title_Worker->worker_id = $Worker->id; |
779 | $Title_Worker->job_title_id = $data['job_titles']; | 779 | $Title_Worker->job_title_id = $data['job_titles']; |
780 | $Title_Worker->save(); | 780 | $Title_Worker->save(); |
781 | } | 781 | } |
782 | 782 | ||
783 | return $Code_user; | 783 | return $Code_user; |
784 | } | 784 | } |
785 | } | 785 | } |
786 | 786 | ||
787 | // Вакансии избранные | 787 | // Вакансии избранные |
788 | public function colorado(Request $request) { | 788 | public function colorado(Request $request) { |
789 | $IP_address = RusDate::ip_addr_client(); | 789 | $IP_address = RusDate::ip_addr_client(); |
790 | $Arr = Like_vacancy::Query()->select('code_record')->where('ip_address', '=', $IP_address)->get(); | 790 | $Arr = Like_vacancy::Query()->select('code_record')->where('ip_address', '=', $IP_address)->get(); |
791 | 791 | ||
792 | if ($Arr->count()) { | 792 | if ($Arr->count()) { |
793 | $A = Array(); | 793 | $A = Array(); |
794 | foreach ($Arr as $it) { | 794 | foreach ($Arr as $it) { |
795 | $A[] = $it->code_record; | 795 | $A[] = $it->code_record; |
796 | } | 796 | } |
797 | 797 | ||
798 | $Query = Ad_employer::query()->whereIn('id', $A); | 798 | $Query = Ad_employer::query()->whereIn('id', $A); |
799 | } else { | 799 | } else { |
800 | $Query = Ad_employer::query()->where('id', '=', '0'); | 800 | $Query = Ad_employer::query()->where('id', '=', '0'); |
801 | } | 801 | } |
802 | 802 | ||
803 | $Query = $Query->with('jobs')-> | 803 | $Query = $Query->with('jobs')-> |
804 | with('cat')-> | 804 | with('cat')-> |
805 | with('employer')-> | 805 | with('employer')-> |
806 | whereHas('jobs_code', function ($query) use ($request) { | 806 | whereHas('jobs_code', function ($query) use ($request) { |
807 | if ($request->ajax()) { | 807 | if ($request->ajax()) { |
808 | if (null !== ($request->get('job'))) { | 808 | if (null !== ($request->get('job'))) { |
809 | $query->where('job_title_id', $request->get('job')); | 809 | $query->where('job_title_id', $request->get('job')); |
810 | } | 810 | } |
811 | } | 811 | } |
812 | })->select('ad_employers.*'); | 812 | })->select('ad_employers.*'); |
813 | 813 | ||
814 | $Job_title = Job_title::query()->OrderBy('name')->get(); | 814 | $Job_title = Job_title::query()->OrderBy('name')->get(); |
815 | 815 | ||
816 | $Query_count = $Query->count(); | 816 | $Query_count = $Query->count(); |
817 | 817 | ||
818 | $Query = $Query->OrderBy('updated_at')->paginate(3); | 818 | $Query = $Query->OrderBy('updated_at')->paginate(3); |
819 | 819 | ||
820 | 820 | ||
821 | return view('workers.favorite', compact('Query', | 821 | return view('workers.favorite', compact('Query', |
822 | 'Query_count', | 822 | 'Query_count', |
823 | 'Job_title')); | 823 | 'Job_title')); |
824 | 824 | ||
825 | } | 825 | } |
826 | 826 | ||
827 | //Переписка | 827 | //Переписка |
828 | public function dialog(User_Model $user1, User_Model $user2, Request $request) { | 828 | public function dialog(User_Model $user1, User_Model $user2, Request $request) { |
829 | // Получение параметров. | 829 | // Получение параметров. |
830 | if ($request->has('ad_employer')){ | 830 | if ($request->has('ad_employer')){ |
831 | $ad_employer = $request->get('ad_employer'); | 831 | $ad_employer = $request->get('ad_employer'); |
832 | } else { | 832 | } else { |
833 | $ad_employer = 0; | 833 | $ad_employer = 0; |
834 | } | 834 | } |
835 | 835 | ||
836 | if (isset($user1->id)) { | 836 | if (isset($user1->id)) { |
837 | $sender = User_Model::query()->with('workers')-> | 837 | $sender = User_Model::query()->with('workers')-> |
838 | with('employers')-> | 838 | with('employers')-> |
839 | where('id', $user1->id)->first(); | 839 | where('id', $user1->id)->first(); |
840 | } | 840 | } |
841 | 841 | ||
842 | if (isset($user2->id)) { | 842 | if (isset($user2->id)) { |
843 | $companion = User_Model::query()->with('workers')-> | 843 | $companion = User_Model::query()->with('workers')-> |
844 | with('employers')-> | 844 | with('employers')-> |
845 | where('id', $user2->id)->first(); | 845 | where('id', $user2->id)->first(); |
846 | } | 846 | } |
847 | 847 | ||
848 | $Messages = Message::query()-> | 848 | $Messages = Message::query()-> |
849 | //with('response')-> | 849 | //with('response')-> |
850 | where(function($query) use ($user1, $user2) { | 850 | where(function($query) use ($user1, $user2) { |
851 | $query->where('user_id', $user1->id)->where('to_user_id', $user2->id); | 851 | $query->where('user_id', $user1->id)->where('to_user_id', $user2->id); |
852 | })->orWhere(function($query) use ($user1, $user2) { | 852 | })->orWhere(function($query) use ($user1, $user2) { |
853 | $query->where('user_id', $user2->id)->where('to_user_id', $user1->id); | 853 | $query->where('user_id', $user2->id)->where('to_user_id', $user1->id); |
854 | })->OrderBy('created_at')->get(); | 854 | })->OrderBy('created_at')->get(); |
855 | 855 | ||
856 | $id_vac = null; | 856 | $id_vac = null; |
857 | /*foreach ($Messages as $it) { | 857 | /*foreach ($Messages as $it) { |
858 | if (isset($it->response)) { | 858 | if (isset($it->response)) { |
859 | foreach ($it->response as $r) { | 859 | foreach ($it->response as $r) { |
860 | if (isset($r->ad_employer_id)) { | 860 | if (isset($r->ad_employer_id)) { |
861 | $id_vac = $r->ad_employer_id; | 861 | $id_vac = $r->ad_employer_id; |
862 | break; | 862 | break; |
863 | } | 863 | } |
864 | } | 864 | } |
865 | } | 865 | } |
866 | if (!is_null($id_vac)) break; | 866 | if (!is_null($id_vac)) break; |
867 | }*/ | 867 | }*/ |
868 | 868 | ||
869 | //$ad_employer = null; | 869 | //$ad_employer = null; |
870 | //if (!is_null($id_vac)) $ad_employer = Ad_employer::query()->where('id', $id_vac)->first(); | 870 | //if (!is_null($id_vac)) $ad_employer = Ad_employer::query()->where('id', $id_vac)->first(); |
871 | 871 | ||
872 | return view('workers.dialog', compact('companion', 'sender', 'Messages', 'ad_employer')); | 872 | return view('workers.dialog', compact('companion', 'sender', 'Messages', 'ad_employer')); |
873 | } | 873 | } |
874 | 874 | ||
875 | // Даунылоады | 875 | // Даунылоады |
876 | public function download(Worker $worker) { | 876 | public function download(Worker $worker) { |
877 | $arr_house = ['0' => 'Проверка, проверка, проверка, проверка, проверка...']; | 877 | $arr_house = ['0' => 'Проверка, проверка, проверка, проверка, проверка...']; |
878 | view()->share('house',$arr_house); | 878 | view()->share('house',$arr_house); |
879 | $pdf = PDF::loadView('layout.pdf', $arr_house)->setPaper('a4', 'landscape'); | 879 | $pdf = PDF::loadView('layout.pdf', $arr_house)->setPaper('a4', 'landscape'); |
880 | return $pdf->stream(); | 880 | return $pdf->stream(); |
881 | } | 881 | } |
882 | 882 | ||
883 | // Поднятие анкеты | 883 | // Поднятие анкеты |
884 | public function up(Worker $worker) { | 884 | public function up(Worker $worker) { |
885 | $worker->updated_at = Carbon::now(); | 885 | $worker->updated_at = Carbon::now(); |
886 | $worker->save(); | 886 | $worker->save(); |
887 | // 0 | 887 | // 0 |
888 | return redirect()->route('worker.cabinet')->with('success', 'Ваша анкета была поднята выше остальных'); | 888 | return redirect()->route('worker.cabinet')->with('success', 'Ваша анкета была поднята выше остальных'); |
889 | } | 889 | } |
890 | 890 | ||
891 | // Форма сертификате | 891 | // Форма сертификате |
892 | public function new_sertificate(Worker $worker) { | 892 | public function new_sertificate(Worker $worker) { |
893 | return view('workers.sertificate_add', compact('worker')); | 893 | return view('workers.sertificate_add', compact('worker')); |
894 | } | 894 | } |
895 | 895 | ||
896 | // Добавление сертификата | 896 | // Добавление сертификата |
897 | public function add_serificate(SertificationRequest $request) { | 897 | public function add_serificate(SertificationRequest $request) { |
898 | $request->validate([ | 898 | $request->validate([ |
899 | 'name' => 'required|string|max:255', | 899 | 'name' => 'required|string|max:255', |
900 | 'end_begin' => 'required|date|date_format:d.m.Y' | 900 | 'end_begin' => 'required|date|date_format:d.m.Y' |
901 | ], | 901 | ], |
902 | [ | 902 | [ |
903 | 'name' => 'Навание сертификата обязательно для заполнения.', | 903 | 'name' => 'Навание сертификата обязательно для заполнения.', |
904 | 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг' | 904 | 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг' |
905 | ]); | 905 | ]); |
906 | 906 | ||
907 | $params = $request->all(); | 907 | $params = $request->all(); |
908 | 908 | ||
909 | $end_begin = DateTime::createFromFormat('d.m.Y', $params['end_begin']); | 909 | $end_begin = DateTime::createFromFormat('d.m.Y', $params['end_begin']); |
910 | $params['end_begin'] = $end_begin->format('Y-m-d'); | 910 | $params['end_begin'] = $end_begin->format('Y-m-d'); |
911 | 911 | ||
912 | $Sertificate = new sertification(); | 912 | $Sertificate = new sertification(); |
913 | $Sertificate->create($params); | 913 | $Sertificate->create($params); |
914 | $Docs = sertification::query()->where('worker_id', $request->get('worker_id'))->get(); | 914 | $Docs = sertification::query()->where('worker_id', $request->get('worker_id'))->get(); |
915 | return redirect()->route('worker.cabinet'); | 915 | return redirect()->route('worker.cabinet'); |
916 | //return view('ajax.documents', compact('Docs')); | 916 | //return view('ajax.documents', compact('Docs')); |
917 | } | 917 | } |
918 | 918 | ||
919 | // Удалить сертификат | 919 | // Удалить сертификат |
920 | public function delete_sertificate(sertification $doc) { | 920 | public function delete_sertificate(sertification $doc) { |
921 | $doc->delete(); | 921 | $doc->delete(); |
922 | 922 | ||
923 | return redirect()->route('worker.cabinet'); | 923 | return redirect()->route('worker.cabinet'); |
924 | } | 924 | } |
925 | 925 | ||
926 | // Редактирование сертификата | 926 | // Редактирование сертификата |
927 | public function edit_sertificate(Worker $worker, sertification $doc) { | 927 | public function edit_sertificate(Worker $worker, sertification $doc) { |
928 | return view('workers.sertificate_edit', compact('doc', 'worker')); | 928 | return view('workers.sertificate_edit', compact('doc', 'worker')); |
929 | } | 929 | } |
930 | 930 | ||
931 | // Редактирование обновление сертификата | 931 | // Редактирование обновление сертификата |
932 | public function update_serificate(SertificationRequest $request, sertification $doc) { | 932 | public function update_serificate(SertificationRequest $request, sertification $doc) { |
933 | $request->validate([ | 933 | $request->validate([ |
934 | 'name' => 'required|string|max:255', | 934 | 'name' => 'required|string|max:255', |
935 | 'end_begin' => 'required|date|date_format:d.m.Y' | 935 | 'end_begin' => 'required|date|date_format:d.m.Y' |
936 | ], | 936 | ], |
937 | [ | 937 | [ |
938 | 'name' => 'Навание сертификата обязательно для заполнения.', | 938 | 'name' => 'Навание сертификата обязательно для заполнения.', |
939 | 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг' | 939 | 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг' |
940 | ]); | 940 | ]); |
941 | 941 | ||
942 | $all = $request->all(); | 942 | $all = $request->all(); |
943 | 943 | ||
944 | $end_begin = DateTime::createFromFormat('d.m.Y', $all['end_begin']); | 944 | $end_begin = DateTime::createFromFormat('d.m.Y', $all['end_begin']); |
945 | $all['end_begin'] = $end_begin->format('Y-m-d'); | 945 | $all['end_begin'] = $end_begin->format('Y-m-d'); |
946 | 946 | ||
947 | $doc->worker_id = $all['worker_id']; | 947 | $doc->worker_id = $all['worker_id']; |
948 | $doc->name = $all['name']; | 948 | $doc->name = $all['name']; |
949 | $doc->end_begin = $all['end_begin']; | 949 | $doc->end_begin = $all['end_begin']; |
950 | $doc->save(); | 950 | $doc->save(); |
951 | 951 | ||
952 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!'); | 952 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!'); |
953 | } | 953 | } |
954 | 954 | ||
955 | public function edit_diploms(Request $request, Worker $worker) { | ||
956 | $dop_info_data = $request->input('diploms'); | ||
957 | |||
958 | if (empty($dop_info_data)) { | ||
959 | return redirect()->route('worker.additional_documents')->with('error', 'Данные не предоставлены!'); | ||
960 | } | ||
961 | |||
962 | foreach ($dop_info_data as $infoblok_id => $status) { | ||
963 | Dop_info::updateOrCreate( | ||
964 | ['worker_id' => $worker->id, 'infoblok_id' => $infoblok_id], | ||
965 | ['status' => $status] | ||
966 | ); | ||
967 | } | ||
968 | |||
969 | return redirect()->route('worker.additional_documents')->with('success', 'Успешно сохранено!'); | ||
970 | } | ||
971 | |||
955 | public function delete_add_diplom(Request $request, Worker $worker) { | 972 | public function delete_add_diplom(Request $request, Worker $worker) { |
956 | $infoblok_id = $request->get('infoblok_id'); | 973 | $infoblok_id = $request->get('infoblok_id'); |
957 | 974 | ||
958 | if (Dop_info::query()->where('worker_id', $worker->id)->where('infoblok_id', $infoblok_id)->count() > 0) | 975 | if (Dop_info::query()->where('worker_id', $worker->id)->where('infoblok_id', $infoblok_id)->count() > 0) |
959 | $id = Dop_info::query()->where('worker_id', $worker->id)->where('infoblok_id', $infoblok_id)->delete(); | 976 | $id = Dop_info::query()->where('worker_id', $worker->id)->where('infoblok_id', $infoblok_id)->delete(); |
960 | else { | 977 | else { |
961 | $params['infoblok_id'] = $infoblok_id; | 978 | $params['infoblok_id'] = $infoblok_id; |
962 | $params['worker_id'] = $worker->id; | 979 | $params['worker_id'] = $worker->id; |
963 | $params['status'] = $request->get('val'); | 980 | $params['status'] = $request->get('val'); |
964 | $id = Dop_info::create($params); | 981 | $id = Dop_info::create($params); |
965 | //$id = $worker->infobloks()->sync([$infoblok_id]); | 982 | //$id = $worker->infobloks()->sync([$infoblok_id]); |
966 | } | 983 | } |
967 | 984 | ||
968 | //$Infoblocks = infobloks::query()->get(); | 985 | //$Infoblocks = infobloks::query()->get(); |
969 | return $id; //redirect()->route('worker.cabinet')->getTargetUrl(); //view('workers.ajax.diploms_dop', compact('worker', 'Infoblocks')); | 986 | return $id; //redirect()->route('worker.cabinet')->getTargetUrl(); //view('workers.ajax.diploms_dop', compact('worker', 'Infoblocks')); |
970 | } | 987 | } |
971 | 988 | ||
972 | 989 | ||
973 | 990 | ||
974 | // Добавление диплома | 991 | // Добавление диплома |
975 | public function add_diplom_ajax(Request $request) { | 992 | public function add_diplom_ajax(Request $request) { |
976 | // конец | 993 | // конец |
977 | $params = $request->all(); | 994 | $params = $request->all(); |
978 | $count = Dop_info::query()->where('worker_id', $request->get('worker_id'))->where('infoblok_id', $request->get('infoblok_id'))->count(); | 995 | $count = Dop_info::query()->where('worker_id', $request->get('worker_id'))->where('infoblok_id', $request->get('infoblok_id'))->count(); |
979 | 996 | ||
980 | if ($count == 0) $dop_info = Dop_info::create($params); | 997 | if ($count == 0) $dop_info = Dop_info::create($params); |
981 | $Infoblocks = infobloks::query()->get(); | 998 | $Infoblocks = infobloks::query()->get(); |
982 | $Worker = Worker::query()->where('id', $request->get('worker_id'))->get(); | 999 | $Worker = Worker::query()->where('id', $request->get('worker_id'))->get(); |
983 | $data = Dop_info::query()->where('worker_id', $request->has('worker_id')); | 1000 | $data = Dop_info::query()->where('worker_id', $request->has('worker_id')); |
984 | return view('ajax.dop_info', compact('data', 'Infoblocks', 'Worker')); | 1001 | return view('ajax.dop_info', compact('data', 'Infoblocks', 'Worker')); |
985 | } | 1002 | } |
986 | 1003 | ||
987 | // Добавление диплома без ajax | 1004 | // Добавление диплома без ajax |
988 | public function add_diplom(Worker $worker) { | 1005 | public function add_diplom(Worker $worker) { |
989 | $worker_id = $worker->id; | 1006 | $worker_id = $worker->id; |
990 | $Infoblocks = infobloks::query()->get(); | 1007 | $Infoblocks = infobloks::query()->get(); |
991 | return view('workers.dop_info', compact('worker_id', 'worker', 'Infoblocks')); | 1008 | return view('workers.dop_info', compact('worker_id', 'worker', 'Infoblocks')); |
992 | } | 1009 | } |
993 | // Сохранить | 1010 | // Сохранить |
994 | // Сохраняю диплом | 1011 | // Сохраняю диплом |
995 | public function add_diplom_save(Request $request) { | 1012 | public function add_diplom_save(Request $request) { |
996 | $params = $request->all(); | 1013 | $params = $request->all(); |
997 | $count = Dop_info::query()->where('worker_id', $request->get('worker_id'))->where('infoblok_id', $request->get('infoblok_id'))->count(); | 1014 | $count = Dop_info::query()->where('worker_id', $request->get('worker_id'))->where('infoblok_id', $request->get('infoblok_id'))->count(); |
998 | if ($count == 0) $dop_info = Dop_info::create($params); | 1015 | if ($count == 0) $dop_info = Dop_info::create($params); |
999 | return redirect()->route('worker.cabinet'); | 1016 | return redirect()->route('worker.cabinet'); |
1000 | } | 1017 | } |
1001 | 1018 | ||
1002 | // Добавление стандартного документа | 1019 | // Добавление стандартного документа |
1003 | public function add_document(Worker $worker) { | 1020 | public function add_document(Worker $worker) { |
1004 | return view('workers.docs', compact('worker')); | 1021 | return view('workers.docs', compact('worker')); |
1005 | } | 1022 | } |
1006 | 1023 | ||
1007 | //Сохранение стандартого документа | 1024 | //Сохранение стандартого документа |
1008 | public function add_document_save(DocumentsRequest $request) { | 1025 | public function add_document_save(DocumentsRequest $request) { |
1009 | $params = $request->all(); | 1026 | $params = $request->all(); |
1010 | $place_work = place_works::create($params); | 1027 | $place_work = place_works::create($params); |
1011 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно добавили запись!'); | 1028 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно добавили запись!'); |
1012 | } | 1029 | } |
1013 | 1030 | ||
1014 | // Редактирование документа | 1031 | // Редактирование документа |
1015 | public function edit_document(place_works $doc, Worker $worker) { | 1032 | public function edit_document(place_works $doc, Worker $worker) { |
1016 | return view('workers.docs-edit', compact('doc', 'worker')); | 1033 | return view('workers.docs-edit', compact('doc', 'worker')); |
1017 | } | 1034 | } |
1018 | 1035 | ||
1019 | //Сохранение отредактированного документа | 1036 | //Сохранение отредактированного документа |
1020 | public function edit_document_save(DocumentsRequest $request, place_works $doc) { | 1037 | public function edit_document_save(DocumentsRequest $request, place_works $doc) { |
1021 | $params = $request->all(); | 1038 | $params = $request->all(); |
1022 | $doc->update($params); | 1039 | $doc->update($params); |
1023 | 1040 | ||
1024 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!'); | 1041 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!'); |
1025 | } | 1042 | } |
1026 | 1043 | ||
1027 | // Удаление документа | 1044 | // Удаление документа |
1028 | public function delete_document(place_works $doc) { | 1045 | public function delete_document(place_works $doc) { |
1029 | $doc->delete(); | 1046 | $doc->delete(); |
1030 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!'); | 1047 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!'); |
1031 | } | 1048 | } |
1032 | 1049 | ||
1033 | //Отправка нового сообщения | 1050 | //Отправка нового сообщения |
1034 | public function new_message(Request $request) { | 1051 | public function new_message(Request $request) { |
1035 | $params = $request->all(); | 1052 | $params = $request->all(); |
1036 | 1053 | ||
1037 | $id = $params['send_user_id']; | 1054 | $id = $params['send_user_id']; |
1038 | $message = new Message(); | 1055 | $message = new Message(); |
1039 | $message->user_id = $params['send_user_id']; | 1056 | $message->user_id = $params['send_user_id']; |
1040 | $message->to_user_id = $params['send_to_user_id']; | 1057 | $message->to_user_id = $params['send_to_user_id']; |
1041 | $message->title = $params['send_title']; | 1058 | $message->title = $params['send_title']; |
1042 | $message->text = $params['send_text']; | 1059 | $message->text = $params['send_text']; |
1043 | $message->ad_employer_id = $params['send_vacancy']; | 1060 | $message->ad_employer_id = $params['send_vacancy']; |
1044 | if ($request->has('send_file')) { | 1061 | if ($request->has('send_file')) { |
1045 | $message->file = $request->file('send_file')->store("worker/$id", 'public'); | 1062 | $message->file = $request->file('send_file')->store("worker/$id", 'public'); |
1046 | } | 1063 | } |
1047 | $message->flag_new = 1; | 1064 | $message->flag_new = 1; |
1048 | $id_message = $message->save(); | 1065 | $id_message = $message->save(); |
1049 | 1066 | ||
1050 | $data['message_id'] = $id_message; | 1067 | $data['message_id'] = $id_message; |
1051 | $data['ad_employer_id'] = $params['send_vacancy']; | 1068 | $data['ad_employer_id'] = $params['send_vacancy']; |
1052 | $data['job_title_id'] = $params['send_job_title_id']; | 1069 | $data['job_title_id'] = $params['send_job_title_id']; |
1053 | $data['flag'] = 1; | 1070 | $data['flag'] = 1; |
1054 | $ad_responce = ad_response::create($data); | 1071 | $ad_responce = ad_response::create($data); |
1055 | return redirect()->route('worker.messages', ['type_message' => 'output']); | 1072 | return redirect()->route('worker.messages', ['type_message' => 'output']); |
1056 | } | 1073 | } |
1057 | 1074 | ||
1058 | 1075 | ||
1059 | public function test123(Request $request) { | 1076 | public function test123(Request $request) { |
1060 | $params = $request->all(); | 1077 | $params = $request->all(); |
1061 | $user1 = $params['user_id']; | 1078 | $user1 = $params['user_id']; |
1062 | $user2 = $params['to_user_id']; | 1079 | $user2 = $params['to_user_id']; |
1063 | $id_vacancy = $params['ad_employer_id']; | 1080 | $id_vacancy = $params['ad_employer_id']; |
1064 | $ad_name = $params['ad_name']; | 1081 | $ad_name = $params['ad_name']; |
1065 | 1082 | ||
1066 | $rules = [ | 1083 | $rules = [ |
1067 | 'text' => 'required|min:1|max:150000', | 1084 | 'text' => 'required|min:1|max:150000', |
1068 | 'file' => 'file|mimes:doc,docx,xlsx,csv,txt,xlx,xls,pdf|max:150000' | 1085 | 'file' => 'file|mimes:doc,docx,xlsx,csv,txt,xlx,xls,pdf|max:150000' |
1069 | ]; | 1086 | ]; |
1070 | $messages = [ | 1087 | $messages = [ |
1071 | 'required' => 'Укажите обязательное поле', | 1088 | 'required' => 'Укажите обязательное поле', |
1072 | 'min' => [ | 1089 | 'min' => [ |
1073 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 1090 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
1074 | 'integer' => 'Поле «:attribute» должно быть :min или больше', | 1091 | 'integer' => 'Поле «:attribute» должно быть :min или больше', |
1075 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 1092 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
1076 | ], | 1093 | ], |
1077 | 'max' => [ | 1094 | 'max' => [ |
1078 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 1095 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
1079 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', | 1096 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', |
1080 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 1097 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
1081 | ] | 1098 | ] |
1082 | ]; | 1099 | ]; |
1083 | 1100 | ||
1084 | $validator = Validator::make($request->all(), $rules, $messages); | 1101 | $validator = Validator::make($request->all(), $rules, $messages); |
1085 | 1102 | ||
1086 | if ($validator->fails()) { | 1103 | if ($validator->fails()) { |
1087 | return redirect()->route('worker.dialog', ['user1' => $user1, 'user2' => $user2, 'ad_employer' => $id_vacancy, 'ad_name' => $ad_name]) | 1104 | return redirect()->route('worker.dialog', ['user1' => $user1, 'user2' => $user2, 'ad_employer' => $id_vacancy, 'ad_name' => $ad_name]) |
1088 | ->withErrors($validator); | 1105 | ->withErrors($validator); |
1089 | } else { | 1106 | } else { |
1090 | if ($request->has('file')) { | 1107 | if ($request->has('file')) { |
1091 | $params['file'] = $request->file('file')->store("messages", 'public'); | 1108 | $params['file'] = $request->file('file')->store("messages", 'public'); |
1092 | } | 1109 | } |
1093 | Message::create($params); | 1110 | Message::create($params); |
1094 | //return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]); | 1111 | //return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]); |
1095 | return redirect()->route('worker.dialog', | 1112 | return redirect()->route('worker.dialog', |
1096 | ['user1' => $user1, 'user2' => $user2, 'ad_employer' => $id_vacancy, 'ad_name' => $ad_name]); | 1113 | ['user1' => $user1, 'user2' => $user2, 'ad_employer' => $id_vacancy, 'ad_name' => $ad_name]); |
1097 | 1114 | ||
1098 | } | 1115 | } |
1099 | } | 1116 | } |
1100 | 1117 | ||
1101 | // Информация о предыдущих компаниях | 1118 | // Информация о предыдущих компаниях |
1102 | public function new_prev_company(Worker $worker) { | 1119 | public function new_prev_company(Worker $worker) { |
1103 | return view('workers.prev_company_form', compact('worker')); | 1120 | return view('workers.prev_company_form', compact('worker')); |
1104 | } | 1121 | } |
1105 | 1122 | ||
1106 | // Добавление контакта компании | 1123 | // Добавление контакта компании |
1107 | public function add_prev_company(PrevCompanyRequest $request) { | 1124 | public function add_prev_company(PrevCompanyRequest $request) { |
1108 | // Возвращение параметров | 1125 | // Возвращение параметров |
1109 | $all = $request->all(); | 1126 | $all = $request->all(); |
1110 | $PrevCompany = PrevCompany::create($all); | 1127 | $PrevCompany = PrevCompany::create($all); |
1111 | 1128 | ||
1112 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись'); | 1129 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись'); |
1113 | } | 1130 | } |
1114 | 1131 | ||
1115 | // Редактирование контакта компании | 1132 | // Редактирование контакта компании |
1116 | public function edit_prev_company(PrevCompany $doc, Worker $worker) { | 1133 | public function edit_prev_company(PrevCompany $doc, Worker $worker) { |
1117 | return view('workers.prev_company_edit_form', compact('doc', 'worker')); | 1134 | return view('workers.prev_company_edit_form', compact('doc', 'worker')); |
1118 | } | 1135 | } |
1119 | 1136 | ||
1120 | //Сохранение редактирования контакта компании | 1137 | //Сохранение редактирования контакта компании |
1121 | public function update_prev_company(PrevCompany $doc, Request $request){ | 1138 | public function update_prev_company(PrevCompany $doc, Request $request){ |
1122 | $all = $request->all(); | 1139 | $all = $request->all(); |
1123 | $doc->update($all); | 1140 | $doc->update($all); |
1124 | 1141 | ||
1125 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись'); | 1142 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись'); |
1126 | } | 1143 | } |
1127 | 1144 | ||
1128 | // Удаление контакта предыдущей компании | 1145 | // Удаление контакта предыдущей компании |
1129 | public function delete_prev_company(PrevCompany $doc) { | 1146 | public function delete_prev_company(PrevCompany $doc) { |
1130 | $doc->delete(); | 1147 | $doc->delete(); |
1131 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!'); | 1148 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!'); |
1132 | } | 1149 | } |
1133 | } | 1150 | } |
1134 | 1151 | ||
1135 | 1152 |
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{ | ||
4369 | background: #fff; | ||
4370 | color: #eb5757; | ||
4371 | } | ||
4372 | .main__resume-profile-about-buttons .like .in-favorites{ | ||
4373 | display: none; | ||
4374 | } | ||
4375 | .main__resume-profile-about-buttons .like.active .in-favorites{ | ||
4376 | display: block; | ||
4377 | color: #eb5757; | ||
4378 | } | ||
4379 | .main__resume-profile-about-buttons .like.active .to-favorites{ | ||
4380 | display: none; | ||
4381 | } | ||
4368 | .main__resume-profile-about-text { | 4382 | .main__resume-profile-about-text { |
4369 | position: relative; | 4383 | position: relative; |
4370 | z-index: 2; | 4384 | z-index: 2; |
4371 | } | 4385 | } |
4372 | .main__resume-profile-info { | 4386 | .main__resume-profile-info { |
4373 | display: -webkit-box; | 4387 | display: -webkit-box; |
4374 | display: -ms-flexbox; | 4388 | display: -ms-flexbox; |
4375 | display: flex; | 4389 | display: flex; |
4376 | -webkit-box-orient: vertical; | 4390 | -webkit-box-orient: vertical; |
4377 | -webkit-box-direction: normal; | 4391 | -webkit-box-direction: normal; |
4378 | -ms-flex-direction: column; | 4392 | -ms-flex-direction: column; |
4379 | flex-direction: column; | 4393 | flex-direction: column; |
4380 | gap: 20px; | 4394 | gap: 20px; |
4381 | margin-top: 30px; | 4395 | margin-top: 30px; |
4382 | } | 4396 | } |
4383 | @media (min-width: 992px) { | 4397 | @media (min-width: 992px) { |
4384 | .main__resume-profile-info { | 4398 | .main__resume-profile-info { |
4385 | margin-top: 50px; | 4399 | margin-top: 50px; |
4386 | gap: 30px; | 4400 | gap: 30px; |
4387 | } | 4401 | } |
4388 | } | 4402 | } |
4389 | .main__resume-profile-info-title { | 4403 | .main__resume-profile-info-title { |
4390 | color: #000; | 4404 | color: #000; |
4391 | } | 4405 | } |
4392 | .main__resume-profile-info-body { | 4406 | .main__resume-profile-info-body { |
4393 | display: -webkit-box; | 4407 | display: -webkit-box; |
4394 | display: -ms-flexbox; | 4408 | display: -ms-flexbox; |
4395 | display: flex; | 4409 | display: flex; |
4396 | -webkit-box-orient: vertical; | 4410 | -webkit-box-orient: vertical; |
4397 | -webkit-box-direction: normal; | 4411 | -webkit-box-direction: normal; |
4398 | -ms-flex-direction: column; | 4412 | -ms-flex-direction: column; |
4399 | flex-direction: column; | 4413 | flex-direction: column; |
4400 | gap: 20px; | 4414 | gap: 20px; |
4401 | } | 4415 | } |
4402 | @media (min-width: 992px) { | 4416 | @media (min-width: 992px) { |
4403 | .main__resume-profile-info-body { | 4417 | .main__resume-profile-info-body { |
4404 | gap: 30px; | 4418 | gap: 30px; |
4405 | } | 4419 | } |
4406 | } | 4420 | } |
4407 | .main__resume-profile-info-body-item { | 4421 | .main__resume-profile-info-body-item { |
4408 | display: -webkit-box; | 4422 | display: -webkit-box; |
4409 | display: -ms-flexbox; | 4423 | display: -ms-flexbox; |
4410 | display: flex; | 4424 | display: flex; |
4411 | -webkit-box-orient: vertical; | 4425 | -webkit-box-orient: vertical; |
4412 | -webkit-box-direction: normal; | 4426 | -webkit-box-direction: normal; |
4413 | -ms-flex-direction: column; | 4427 | -ms-flex-direction: column; |
4414 | flex-direction: column; | 4428 | flex-direction: column; |
4415 | gap: 10px; | 4429 | gap: 10px; |
4416 | } | 4430 | } |
4417 | @media (min-width: 768px) { | 4431 | @media (min-width: 768px) { |
4418 | .main__resume-profile-info-body-item { | 4432 | .main__resume-profile-info-body-item { |
4419 | gap: 20px; | 4433 | gap: 20px; |
4420 | } | 4434 | } |
4421 | } | 4435 | } |
4422 | .main__resume-profile-info-body-subtitle { | 4436 | .main__resume-profile-info-body-subtitle { |
4423 | color: #4d88d9; | 4437 | color: #4d88d9; |
4424 | } | 4438 | } |
4425 | .main__resume-profile-info-body-inner { | 4439 | .main__resume-profile-info-body-inner { |
4426 | display: -webkit-box; | 4440 | display: -webkit-box; |
4427 | display: -ms-flexbox; | 4441 | display: -ms-flexbox; |
4428 | display: flex; | 4442 | display: flex; |
4429 | -webkit-box-orient: vertical; | 4443 | -webkit-box-orient: vertical; |
4430 | -webkit-box-direction: normal; | 4444 | -webkit-box-direction: normal; |
4431 | -ms-flex-direction: column; | 4445 | -ms-flex-direction: column; |
4432 | flex-direction: column; | 4446 | flex-direction: column; |
4433 | gap: 20px; | 4447 | gap: 20px; |
4434 | margin: 0; | 4448 | margin: 0; |
4435 | padding: 0; | 4449 | padding: 0; |
4436 | font-size: 12px; | 4450 | font-size: 12px; |
4437 | } | 4451 | } |
4438 | @media (min-width: 768px) { | 4452 | @media (min-width: 768px) { |
4439 | .main__resume-profile-info-body-inner { | 4453 | .main__resume-profile-info-body-inner { |
4440 | display: grid; | 4454 | display: grid; |
4441 | grid-template-columns: repeat(2, 1fr); | 4455 | grid-template-columns: repeat(2, 1fr); |
4442 | } | 4456 | } |
4443 | } | 4457 | } |
4444 | @media (min-width: 992px) { | 4458 | @media (min-width: 992px) { |
4445 | .main__resume-profile-info-body-inner { | 4459 | .main__resume-profile-info-body-inner { |
4446 | grid-template-columns: repeat(3, 1fr); | 4460 | grid-template-columns: repeat(3, 1fr); |
4447 | font-size: 16px; | 4461 | font-size: 16px; |
4448 | } | 4462 | } |
4449 | } | 4463 | } |
4450 | .main__resume-profile-info-body-inner li { | 4464 | .main__resume-profile-info-body-inner li { |
4451 | display: -webkit-box; | 4465 | display: -webkit-box; |
4452 | display: -ms-flexbox; | 4466 | display: -ms-flexbox; |
4453 | display: flex; | 4467 | display: flex; |
4454 | -webkit-box-orient: vertical; | 4468 | -webkit-box-orient: vertical; |
4455 | -webkit-box-direction: normal; | 4469 | -webkit-box-direction: normal; |
4456 | -ms-flex-direction: column; | 4470 | -ms-flex-direction: column; |
4457 | flex-direction: column; | 4471 | flex-direction: column; |
4458 | gap: 6px; | 4472 | gap: 6px; |
4459 | } | 4473 | } |
4460 | @media (min-width: 992px) { | 4474 | @media (min-width: 992px) { |
4461 | .main__resume-profile-info-body-inner li { | 4475 | .main__resume-profile-info-body-inner li { |
4462 | gap: 8px; | 4476 | gap: 8px; |
4463 | } | 4477 | } |
4464 | } | 4478 | } |
4465 | .main__resume-profile-info-body-inner b { | 4479 | .main__resume-profile-info-body-inner b { |
4466 | color: #377d87; | 4480 | color: #377d87; |
4467 | font-size: 14px; | 4481 | font-size: 14px; |
4468 | } | 4482 | } |
4469 | @media (min-width: 992px) { | 4483 | @media (min-width: 992px) { |
4470 | .main__resume-profile-info-body-inner b { | 4484 | .main__resume-profile-info-body-inner b { |
4471 | font-size: 18px; | 4485 | font-size: 18px; |
4472 | } | 4486 | } |
4473 | } | 4487 | } |
4474 | .main__resume-profile-info-body-inner span { | 4488 | .main__resume-profile-info-body-inner span { |
4475 | display: -webkit-box; | 4489 | display: -webkit-box; |
4476 | display: -ms-flexbox; | 4490 | display: -ms-flexbox; |
4477 | display: flex; | 4491 | display: flex; |
4478 | -webkit-box-orient: vertical; | 4492 | -webkit-box-orient: vertical; |
4479 | -webkit-box-direction: normal; | 4493 | -webkit-box-direction: normal; |
4480 | -ms-flex-direction: column; | 4494 | -ms-flex-direction: column; |
4481 | flex-direction: column; | 4495 | flex-direction: column; |
4482 | gap: 4px; | 4496 | gap: 4px; |
4483 | } | 4497 | } |
4484 | @media (min-width: 992px) { | 4498 | @media (min-width: 992px) { |
4485 | .main__resume-profile-info-body-inner span { | 4499 | .main__resume-profile-info-body-inner span { |
4486 | gap: 6px; | 4500 | gap: 6px; |
4487 | } | 4501 | } |
4488 | } | 4502 | } |
4489 | .main__resume-profile-review { | 4503 | .main__resume-profile-review { |
4490 | display: -webkit-box; | 4504 | display: -webkit-box; |
4491 | display: -ms-flexbox; | 4505 | display: -ms-flexbox; |
4492 | display: flex; | 4506 | display: flex; |
4493 | -webkit-box-orient: vertical; | 4507 | -webkit-box-orient: vertical; |
4494 | -webkit-box-direction: normal; | 4508 | -webkit-box-direction: normal; |
4495 | -ms-flex-direction: column; | 4509 | -ms-flex-direction: column; |
4496 | flex-direction: column; | 4510 | flex-direction: column; |
4497 | gap: 20px; | 4511 | gap: 20px; |
4498 | padding: 20px 10px; | 4512 | padding: 20px 10px; |
4499 | margin-top: 30px; | 4513 | margin-top: 30px; |
4500 | border-radius: 16px; | 4514 | border-radius: 16px; |
4501 | border: 1px solid #cecece; | 4515 | border: 1px solid #cecece; |
4502 | background: #fff; | 4516 | background: #fff; |
4503 | -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); |
4504 | 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); |
4505 | } | 4519 | } |
4506 | @media (min-width: 992px) { | 4520 | @media (min-width: 992px) { |
4507 | .main__resume-profile-review { | 4521 | .main__resume-profile-review { |
4508 | margin-top: 50px; | 4522 | margin-top: 50px; |
4509 | padding: 50px 40px; | 4523 | padding: 50px 40px; |
4510 | gap: 30px; | 4524 | gap: 30px; |
4511 | } | 4525 | } |
4512 | } | 4526 | } |
4513 | .main__resume-profile-review-title { | 4527 | .main__resume-profile-review-title { |
4514 | color: #000; | 4528 | color: #000; |
4515 | } | 4529 | } |
4516 | .main__resume-profile-review-body { | 4530 | .main__resume-profile-review-body { |
4517 | display: -webkit-box; | 4531 | display: -webkit-box; |
4518 | display: -ms-flexbox; | 4532 | display: -ms-flexbox; |
4519 | display: flex; | 4533 | display: flex; |
4520 | -webkit-box-orient: vertical; | 4534 | -webkit-box-orient: vertical; |
4521 | -webkit-box-direction: normal; | 4535 | -webkit-box-direction: normal; |
4522 | -ms-flex-direction: column; | 4536 | -ms-flex-direction: column; |
4523 | flex-direction: column; | 4537 | flex-direction: column; |
4524 | -webkit-box-align: start; | 4538 | -webkit-box-align: start; |
4525 | -ms-flex-align: start; | 4539 | -ms-flex-align: start; |
4526 | align-items: flex-start; | 4540 | align-items: flex-start; |
4527 | gap: 10px; | 4541 | gap: 10px; |
4528 | } | 4542 | } |
4529 | .main__resume-profile-review-body .textarea { | 4543 | .main__resume-profile-review-body .textarea { |
4530 | width: 100%; | 4544 | width: 100%; |
4531 | } | 4545 | } |
4532 | .main__resume-profile-review-body .button { | 4546 | .main__resume-profile-review-body .button { |
4533 | margin-top: 10px; | 4547 | margin-top: 10px; |
4534 | } | 4548 | } |
4535 | .main__vacancies { | 4549 | .main__vacancies { |
4536 | display: -webkit-box; | 4550 | display: -webkit-box; |
4537 | display: -ms-flexbox; | 4551 | display: -ms-flexbox; |
4538 | display: flex; | 4552 | display: flex; |
4539 | -webkit-box-orient: vertical; | 4553 | -webkit-box-orient: vertical; |
4540 | -webkit-box-direction: normal; | 4554 | -webkit-box-direction: normal; |
4541 | -ms-flex-direction: column; | 4555 | -ms-flex-direction: column; |
4542 | flex-direction: column; | 4556 | flex-direction: column; |
4543 | -webkit-box-align: center; | 4557 | -webkit-box-align: center; |
4544 | -ms-flex-align: center; | 4558 | -ms-flex-align: center; |
4545 | align-items: center; | 4559 | align-items: center; |
4546 | gap: 20px; | 4560 | gap: 20px; |
4547 | } | 4561 | } |
4548 | @media (min-width: 768px) { | 4562 | @media (min-width: 768px) { |
4549 | .main__vacancies { | 4563 | .main__vacancies { |
4550 | gap: 30px; | 4564 | gap: 30px; |
4551 | } | 4565 | } |
4552 | } | 4566 | } |
4553 | .main__vacancies-title { | 4567 | .main__vacancies-title { |
4554 | color: #000; | 4568 | color: #000; |
4555 | width: 100%; | 4569 | width: 100%; |
4556 | } | 4570 | } |
4557 | .main__vacancies-filters { | 4571 | .main__vacancies-filters { |
4558 | width: 100%; | 4572 | width: 100%; |
4559 | } | 4573 | } |
4560 | .main__vacancies-item { | 4574 | .main__vacancies-item { |
4561 | width: 100%; | 4575 | width: 100%; |
4562 | background: none; | 4576 | background: none; |
4563 | -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); |
4564 | 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); |
4565 | } | 4579 | } |
4566 | .main__vacancies-item-page { | 4580 | .main__vacancies-item-page { |
4567 | border: none; | 4581 | border: none; |
4568 | -webkit-box-shadow: none; | 4582 | -webkit-box-shadow: none; |
4569 | box-shadow: none; | 4583 | box-shadow: none; |
4570 | background: none; | 4584 | background: none; |
4571 | margin: 0 -10px; | 4585 | margin: 0 -10px; |
4572 | } | 4586 | } |
4573 | @media (min-width: 768px) { | 4587 | @media (min-width: 768px) { |
4574 | .main__vacancies-item-page { | 4588 | .main__vacancies-item-page { |
4575 | margin: 0 -20px; | 4589 | margin: 0 -20px; |
4576 | } | 4590 | } |
4577 | } | 4591 | } |
4578 | .main__vacancies-thing { | 4592 | .main__vacancies-thing { |
4579 | width: 100%; | 4593 | width: 100%; |
4580 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 4594 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
4581 | padding: 20px 10px; | 4595 | padding: 20px 10px; |
4582 | padding-bottom: 30px; | 4596 | padding-bottom: 30px; |
4583 | display: -webkit-box; | 4597 | display: -webkit-box; |
4584 | display: -ms-flexbox; | 4598 | display: -ms-flexbox; |
4585 | display: flex; | 4599 | display: flex; |
4586 | -webkit-box-orient: vertical; | 4600 | -webkit-box-orient: vertical; |
4587 | -webkit-box-direction: normal; | 4601 | -webkit-box-direction: normal; |
4588 | -ms-flex-direction: column; | 4602 | -ms-flex-direction: column; |
4589 | flex-direction: column; | 4603 | flex-direction: column; |
4590 | gap: 24px; | 4604 | gap: 24px; |
4591 | border-radius: 12px; | 4605 | border-radius: 12px; |
4592 | -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); |
4593 | 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); |
4594 | } | 4608 | } |
4595 | @media (min-width: 992px) { | 4609 | @media (min-width: 992px) { |
4596 | .main__vacancies-thing { | 4610 | .main__vacancies-thing { |
4597 | padding: 30px 20px; | 4611 | padding: 30px 20px; |
4598 | -webkit-box-orient: horizontal; | 4612 | -webkit-box-orient: horizontal; |
4599 | -webkit-box-direction: normal; | 4613 | -webkit-box-direction: normal; |
4600 | -ms-flex-direction: row; | 4614 | -ms-flex-direction: row; |
4601 | flex-direction: row; | 4615 | flex-direction: row; |
4602 | -webkit-box-align: start; | 4616 | -webkit-box-align: start; |
4603 | -ms-flex-align: start; | 4617 | -ms-flex-align: start; |
4604 | align-items: flex-start; | 4618 | align-items: flex-start; |
4605 | gap: 0; | 4619 | gap: 0; |
4606 | } | 4620 | } |
4607 | } | 4621 | } |
4608 | @media (min-width: 1280px) { | 4622 | @media (min-width: 1280px) { |
4609 | .main__vacancies-thing { | 4623 | .main__vacancies-thing { |
4610 | padding: 50px 20px; | 4624 | padding: 50px 20px; |
4611 | } | 4625 | } |
4612 | } | 4626 | } |
4613 | .main__vacancies-thing-pic { | 4627 | .main__vacancies-thing-pic { |
4614 | position: relative; | 4628 | position: relative; |
4615 | z-index: 2; | 4629 | z-index: 2; |
4616 | width: 100%; | 4630 | width: 100%; |
4617 | aspect-ratio: 42/34; | 4631 | aspect-ratio: 42/34; |
4618 | -o-object-fit: cover; | 4632 | -o-object-fit: cover; |
4619 | object-fit: cover; | 4633 | object-fit: cover; |
4620 | border-radius: 8px; | 4634 | border-radius: 8px; |
4621 | max-height: 340px; | 4635 | max-height: 340px; |
4622 | } | 4636 | } |
4623 | @media (min-width: 992px) { | 4637 | @media (min-width: 992px) { |
4624 | .main__vacancies-thing-pic { | 4638 | .main__vacancies-thing-pic { |
4625 | width: 380px; | 4639 | width: 380px; |
4626 | } | 4640 | } |
4627 | } | 4641 | } |
4628 | @media (min-width: 1280px) { | 4642 | @media (min-width: 1280px) { |
4629 | .main__vacancies-thing-pic { | 4643 | .main__vacancies-thing-pic { |
4630 | width: 420px; | 4644 | width: 420px; |
4631 | } | 4645 | } |
4632 | } | 4646 | } |
4633 | .main__vacancies-thing-body { | 4647 | .main__vacancies-thing-body { |
4634 | display: -webkit-box; | 4648 | display: -webkit-box; |
4635 | display: -ms-flexbox; | 4649 | display: -ms-flexbox; |
4636 | display: flex; | 4650 | display: flex; |
4637 | -webkit-box-orient: vertical; | 4651 | -webkit-box-orient: vertical; |
4638 | -webkit-box-direction: normal; | 4652 | -webkit-box-direction: normal; |
4639 | -ms-flex-direction: column; | 4653 | -ms-flex-direction: column; |
4640 | flex-direction: column; | 4654 | flex-direction: column; |
4641 | -webkit-box-align: start; | 4655 | -webkit-box-align: start; |
4642 | -ms-flex-align: start; | 4656 | -ms-flex-align: start; |
4643 | align-items: flex-start; | 4657 | align-items: flex-start; |
4644 | gap: 16px; | 4658 | gap: 16px; |
4645 | color: #000; | 4659 | color: #000; |
4646 | } | 4660 | } |
4647 | @media (min-width: 992px) { | 4661 | @media (min-width: 992px) { |
4648 | .main__vacancies-thing-body { | 4662 | .main__vacancies-thing-body { |
4649 | width: calc(100% - 380px); | 4663 | width: calc(100% - 380px); |
4650 | padding-left: 20px; | 4664 | padding-left: 20px; |
4651 | } | 4665 | } |
4652 | } | 4666 | } |
4653 | @media (min-width: 1280px) { | 4667 | @media (min-width: 1280px) { |
4654 | .main__vacancies-thing-body { | 4668 | .main__vacancies-thing-body { |
4655 | width: calc(100% - 420px); | 4669 | width: calc(100% - 420px); |
4656 | gap: 20px; | 4670 | gap: 20px; |
4657 | } | 4671 | } |
4658 | } | 4672 | } |
4659 | .main__vacancies-thing-body > * { | 4673 | .main__vacancies-thing-body > * { |
4660 | width: 100%; | 4674 | width: 100%; |
4661 | } | 4675 | } |
4662 | .main__vacancies-thing-body .button { | 4676 | .main__vacancies-thing-body .button { |
4663 | width: auto; | 4677 | width: auto; |
4664 | } | 4678 | } |
4665 | @media (min-width: 768px) { | 4679 | @media (min-width: 768px) { |
4666 | .main__vacancies-thing-body .button { | 4680 | .main__vacancies-thing-body .button { |
4667 | min-width: 200px; | 4681 | min-width: 200px; |
4668 | } | 4682 | } |
4669 | } | 4683 | } |
4670 | .main__vacancies-thing-scroll { | 4684 | .main__vacancies-thing-scroll { |
4671 | display: -webkit-box; | 4685 | display: -webkit-box; |
4672 | display: -ms-flexbox; | 4686 | display: -ms-flexbox; |
4673 | display: flex; | 4687 | display: flex; |
4674 | -webkit-box-orient: vertical; | 4688 | -webkit-box-orient: vertical; |
4675 | -webkit-box-direction: normal; | 4689 | -webkit-box-direction: normal; |
4676 | -ms-flex-direction: column; | 4690 | -ms-flex-direction: column; |
4677 | flex-direction: column; | 4691 | flex-direction: column; |
4678 | -webkit-box-align: start; | 4692 | -webkit-box-align: start; |
4679 | -ms-flex-align: start; | 4693 | -ms-flex-align: start; |
4680 | align-items: flex-start; | 4694 | align-items: flex-start; |
4681 | gap: 16px; | 4695 | gap: 16px; |
4682 | overflow: hidden; | 4696 | overflow: hidden; |
4683 | overflow-y: auto; | 4697 | overflow-y: auto; |
4684 | max-height: 180px; | 4698 | max-height: 180px; |
4685 | padding-right: 10px; | 4699 | padding-right: 10px; |
4686 | } | 4700 | } |
4687 | @media (min-width: 768px) { | 4701 | @media (min-width: 768px) { |
4688 | .main__vacancies-thing-scroll { | 4702 | .main__vacancies-thing-scroll { |
4689 | max-height: 210px; | 4703 | max-height: 210px; |
4690 | padding-right: 20px; | 4704 | padding-right: 20px; |
4691 | } | 4705 | } |
4692 | } | 4706 | } |
4693 | @media (min-width: 992px) { | 4707 | @media (min-width: 992px) { |
4694 | .main__vacancies-thing-scroll { | 4708 | .main__vacancies-thing-scroll { |
4695 | max-height: 175px; | 4709 | max-height: 175px; |
4696 | } | 4710 | } |
4697 | } | 4711 | } |
4698 | @media (min-width: 1280px) { | 4712 | @media (min-width: 1280px) { |
4699 | .main__vacancies-thing-scroll { | 4713 | .main__vacancies-thing-scroll { |
4700 | max-height: 200px; | 4714 | max-height: 200px; |
4701 | gap: 20px; | 4715 | gap: 20px; |
4702 | } | 4716 | } |
4703 | } | 4717 | } |
4704 | .main__cond { | 4718 | .main__cond { |
4705 | display: -webkit-box; | 4719 | display: -webkit-box; |
4706 | display: -ms-flexbox; | 4720 | display: -ms-flexbox; |
4707 | display: flex; | 4721 | display: flex; |
4708 | -webkit-box-orient: vertical; | 4722 | -webkit-box-orient: vertical; |
4709 | -webkit-box-direction: normal; | 4723 | -webkit-box-direction: normal; |
4710 | -ms-flex-direction: column; | 4724 | -ms-flex-direction: column; |
4711 | flex-direction: column; | 4725 | flex-direction: column; |
4712 | gap: 50px; | 4726 | gap: 50px; |
4713 | } | 4727 | } |
4714 | .main__cond > div { | 4728 | .main__cond > div { |
4715 | display: -webkit-box; | 4729 | display: -webkit-box; |
4716 | display: -ms-flexbox; | 4730 | display: -ms-flexbox; |
4717 | display: flex; | 4731 | display: flex; |
4718 | -webkit-box-orient: vertical; | 4732 | -webkit-box-orient: vertical; |
4719 | -webkit-box-direction: normal; | 4733 | -webkit-box-direction: normal; |
4720 | -ms-flex-direction: column; | 4734 | -ms-flex-direction: column; |
4721 | flex-direction: column; | 4735 | flex-direction: column; |
4722 | gap: 10px; | 4736 | gap: 10px; |
4723 | } | 4737 | } |
4724 | .main__cond-label { | 4738 | .main__cond-label { |
4725 | border-radius: 16px; | 4739 | border-radius: 16px; |
4726 | border: 1px solid #cecece; | 4740 | border: 1px solid #cecece; |
4727 | -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); |
4728 | 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); |
4729 | padding: 30px 20px; | 4743 | padding: 30px 20px; |
4730 | font-weight: 700; | 4744 | font-weight: 700; |
4731 | color: #000; | 4745 | color: #000; |
4732 | line-height: 2; | 4746 | line-height: 2; |
4733 | text-align: center; | 4747 | text-align: center; |
4734 | } | 4748 | } |
4735 | @media (min-width: 992px) { | 4749 | @media (min-width: 992px) { |
4736 | .main__cond-label { | 4750 | .main__cond-label { |
4737 | font-size: 30px; | 4751 | font-size: 30px; |
4738 | } | 4752 | } |
4739 | } | 4753 | } |
4740 | .main__cond-icons { | 4754 | .main__cond-icons { |
4741 | padding: 0; | 4755 | padding: 0; |
4742 | margin: 0; | 4756 | margin: 0; |
4743 | display: -webkit-box; | 4757 | display: -webkit-box; |
4744 | display: -ms-flexbox; | 4758 | display: -ms-flexbox; |
4745 | display: flex; | 4759 | display: flex; |
4746 | -webkit-box-orient: vertical; | 4760 | -webkit-box-orient: vertical; |
4747 | -webkit-box-direction: normal; | 4761 | -webkit-box-direction: normal; |
4748 | -ms-flex-direction: column; | 4762 | -ms-flex-direction: column; |
4749 | flex-direction: column; | 4763 | flex-direction: column; |
4750 | gap: 25px; | 4764 | gap: 25px; |
4751 | margin-top: 10px; | 4765 | margin-top: 10px; |
4752 | } | 4766 | } |
4753 | @media (min-width: 768px) { | 4767 | @media (min-width: 768px) { |
4754 | .main__cond-icons { | 4768 | .main__cond-icons { |
4755 | display: grid; | 4769 | display: grid; |
4756 | grid-template-columns: repeat(2, 1fr); | 4770 | grid-template-columns: repeat(2, 1fr); |
4757 | gap: 60px; | 4771 | gap: 60px; |
4758 | margin-top: 20px; | 4772 | margin-top: 20px; |
4759 | } | 4773 | } |
4760 | } | 4774 | } |
4761 | @media (min-width: 1280px) { | 4775 | @media (min-width: 1280px) { |
4762 | .main__cond-icons { | 4776 | .main__cond-icons { |
4763 | grid-template-columns: repeat(3, 1fr); | 4777 | grid-template-columns: repeat(3, 1fr); |
4764 | } | 4778 | } |
4765 | } | 4779 | } |
4766 | .main__cond-icons li { | 4780 | .main__cond-icons li { |
4767 | display: -webkit-box; | 4781 | display: -webkit-box; |
4768 | display: -ms-flexbox; | 4782 | display: -ms-flexbox; |
4769 | display: flex; | 4783 | display: flex; |
4770 | -webkit-box-orient: vertical; | 4784 | -webkit-box-orient: vertical; |
4771 | -webkit-box-direction: normal; | 4785 | -webkit-box-direction: normal; |
4772 | -ms-flex-direction: column; | 4786 | -ms-flex-direction: column; |
4773 | flex-direction: column; | 4787 | flex-direction: column; |
4774 | -webkit-box-align: start; | 4788 | -webkit-box-align: start; |
4775 | -ms-flex-align: start; | 4789 | -ms-flex-align: start; |
4776 | align-items: flex-start; | 4790 | align-items: flex-start; |
4777 | gap: 20px; | 4791 | gap: 20px; |
4778 | font-size: 12px; | 4792 | font-size: 12px; |
4779 | line-height: 1.4; | 4793 | line-height: 1.4; |
4780 | color: #000; | 4794 | color: #000; |
4781 | } | 4795 | } |
4782 | @media (min-width: 768px) { | 4796 | @media (min-width: 768px) { |
4783 | .main__cond-icons li { | 4797 | .main__cond-icons li { |
4784 | font-size: 14px; | 4798 | font-size: 14px; |
4785 | } | 4799 | } |
4786 | } | 4800 | } |
4787 | @media (min-width: 992px) { | 4801 | @media (min-width: 992px) { |
4788 | .main__cond-icons li { | 4802 | .main__cond-icons li { |
4789 | font-size: 16px; | 4803 | font-size: 16px; |
4790 | line-height: 1.6; | 4804 | line-height: 1.6; |
4791 | } | 4805 | } |
4792 | } | 4806 | } |
4793 | @media (min-width: 1280px) { | 4807 | @media (min-width: 1280px) { |
4794 | .main__cond-icons li { | 4808 | .main__cond-icons li { |
4795 | font-size: 18px; | 4809 | font-size: 18px; |
4796 | } | 4810 | } |
4797 | } | 4811 | } |
4798 | .main__cond-icons li span { | 4812 | .main__cond-icons li span { |
4799 | width: 48px; | 4813 | width: 48px; |
4800 | height: 48px; | 4814 | height: 48px; |
4801 | display: -webkit-box; | 4815 | display: -webkit-box; |
4802 | display: -ms-flexbox; | 4816 | display: -ms-flexbox; |
4803 | display: flex; | 4817 | display: flex; |
4804 | -webkit-box-align: center; | 4818 | -webkit-box-align: center; |
4805 | -ms-flex-align: center; | 4819 | -ms-flex-align: center; |
4806 | align-items: center; | 4820 | align-items: center; |
4807 | } | 4821 | } |
4808 | .main__cond-icons li span img { | 4822 | .main__cond-icons li span img { |
4809 | max-width: 48px; | 4823 | max-width: 48px; |
4810 | } | 4824 | } |
4811 | .main__cond-callback { | 4825 | .main__cond-callback { |
4812 | margin-top: 10px; | 4826 | margin-top: 10px; |
4813 | } | 4827 | } |
4814 | .main__ads { | 4828 | .main__ads { |
4815 | display: -webkit-box; | 4829 | display: -webkit-box; |
4816 | display: -ms-flexbox; | 4830 | display: -ms-flexbox; |
4817 | display: flex; | 4831 | display: flex; |
4818 | -webkit-box-orient: vertical; | 4832 | -webkit-box-orient: vertical; |
4819 | -webkit-box-direction: normal; | 4833 | -webkit-box-direction: normal; |
4820 | -ms-flex-direction: column; | 4834 | -ms-flex-direction: column; |
4821 | flex-direction: column; | 4835 | flex-direction: column; |
4822 | gap: 30px; | 4836 | gap: 30px; |
4823 | margin: 30px 0; | 4837 | margin: 30px 0; |
4824 | } | 4838 | } |
4825 | @media (min-width: 992px) { | 4839 | @media (min-width: 992px) { |
4826 | .main__ads { | 4840 | .main__ads { |
4827 | margin: 60px 0; | 4841 | margin: 60px 0; |
4828 | } | 4842 | } |
4829 | } | 4843 | } |
4830 | .main__ads-item { | 4844 | .main__ads-item { |
4831 | display: -webkit-box; | 4845 | display: -webkit-box; |
4832 | display: -ms-flexbox; | 4846 | display: -ms-flexbox; |
4833 | display: flex; | 4847 | display: flex; |
4834 | -webkit-box-orient: vertical; | 4848 | -webkit-box-orient: vertical; |
4835 | -webkit-box-direction: normal; | 4849 | -webkit-box-direction: normal; |
4836 | -ms-flex-direction: column; | 4850 | -ms-flex-direction: column; |
4837 | flex-direction: column; | 4851 | flex-direction: column; |
4838 | gap: 16px; | 4852 | gap: 16px; |
4839 | } | 4853 | } |
4840 | @media (min-width: 992px) { | 4854 | @media (min-width: 992px) { |
4841 | .main__ads-item { | 4855 | .main__ads-item { |
4842 | -webkit-box-orient: horizontal; | 4856 | -webkit-box-orient: horizontal; |
4843 | -webkit-box-direction: normal; | 4857 | -webkit-box-direction: normal; |
4844 | -ms-flex-direction: row; | 4858 | -ms-flex-direction: row; |
4845 | flex-direction: row; | 4859 | flex-direction: row; |
4846 | gap: 0; | 4860 | gap: 0; |
4847 | } | 4861 | } |
4848 | } | 4862 | } |
4849 | .main__ads-item-pic { | 4863 | .main__ads-item-pic { |
4850 | width: 100%; | 4864 | width: 100%; |
4851 | max-width: 440px; | 4865 | max-width: 440px; |
4852 | max-height: 200px; | 4866 | max-height: 200px; |
4853 | aspect-ratio: 3/2; | 4867 | aspect-ratio: 3/2; |
4854 | position: relative; | 4868 | position: relative; |
4855 | overflow: hidden; | 4869 | overflow: hidden; |
4856 | border-radius: 12px; | 4870 | border-radius: 12px; |
4857 | } | 4871 | } |
4858 | @media (min-width: 992px) { | 4872 | @media (min-width: 992px) { |
4859 | .main__ads-item-pic { | 4873 | .main__ads-item-pic { |
4860 | width: 200px; | 4874 | width: 200px; |
4861 | aspect-ratio: 1/1; | 4875 | aspect-ratio: 1/1; |
4862 | } | 4876 | } |
4863 | } | 4877 | } |
4864 | .main__ads-item-pic img { | 4878 | .main__ads-item-pic img { |
4865 | z-index: 1; | 4879 | z-index: 1; |
4866 | position: absolute; | 4880 | position: absolute; |
4867 | top: 0; | 4881 | top: 0; |
4868 | left: 0; | 4882 | left: 0; |
4869 | width: 100%; | 4883 | width: 100%; |
4870 | height: 100%; | 4884 | height: 100%; |
4871 | -o-object-fit: cover; | 4885 | -o-object-fit: cover; |
4872 | object-fit: cover; | 4886 | object-fit: cover; |
4873 | } | 4887 | } |
4874 | .main__ads-item-pic span { | 4888 | .main__ads-item-pic span { |
4875 | z-index: 2; | 4889 | z-index: 2; |
4876 | width: 30px; | 4890 | width: 30px; |
4877 | height: 30px; | 4891 | height: 30px; |
4878 | border-radius: 6px; | 4892 | border-radius: 6px; |
4879 | background: #4d88d9; | 4893 | background: #4d88d9; |
4880 | display: -webkit-box; | 4894 | display: -webkit-box; |
4881 | display: -ms-flexbox; | 4895 | display: -ms-flexbox; |
4882 | display: flex; | 4896 | display: flex; |
4883 | -webkit-box-pack: center; | 4897 | -webkit-box-pack: center; |
4884 | -ms-flex-pack: center; | 4898 | -ms-flex-pack: center; |
4885 | justify-content: center; | 4899 | justify-content: center; |
4886 | -webkit-box-align: center; | 4900 | -webkit-box-align: center; |
4887 | -ms-flex-align: center; | 4901 | -ms-flex-align: center; |
4888 | align-items: center; | 4902 | align-items: center; |
4889 | position: absolute; | 4903 | position: absolute; |
4890 | top: 10px; | 4904 | top: 10px; |
4891 | left: 10px; | 4905 | left: 10px; |
4892 | color: #fff; | 4906 | color: #fff; |
4893 | } | 4907 | } |
4894 | @media (min-width: 992px) { | 4908 | @media (min-width: 992px) { |
4895 | .main__ads-item-pic span { | 4909 | .main__ads-item-pic span { |
4896 | width: 42px; | 4910 | width: 42px; |
4897 | height: 42px; | 4911 | height: 42px; |
4898 | } | 4912 | } |
4899 | } | 4913 | } |
4900 | .main__ads-item-pic span svg { | 4914 | .main__ads-item-pic span svg { |
4901 | width: 12px; | 4915 | width: 12px; |
4902 | height: 12px; | 4916 | height: 12px; |
4903 | } | 4917 | } |
4904 | @media (min-width: 992px) { | 4918 | @media (min-width: 992px) { |
4905 | .main__ads-item-pic span svg { | 4919 | .main__ads-item-pic span svg { |
4906 | width: 20px; | 4920 | width: 20px; |
4907 | height: 20px; | 4921 | height: 20px; |
4908 | } | 4922 | } |
4909 | } | 4923 | } |
4910 | .main__ads-item-body { | 4924 | .main__ads-item-body { |
4911 | display: -webkit-box; | 4925 | display: -webkit-box; |
4912 | display: -ms-flexbox; | 4926 | display: -ms-flexbox; |
4913 | display: flex; | 4927 | display: flex; |
4914 | -webkit-box-orient: vertical; | 4928 | -webkit-box-orient: vertical; |
4915 | -webkit-box-direction: normal; | 4929 | -webkit-box-direction: normal; |
4916 | -ms-flex-direction: column; | 4930 | -ms-flex-direction: column; |
4917 | flex-direction: column; | 4931 | flex-direction: column; |
4918 | -webkit-box-align: start; | 4932 | -webkit-box-align: start; |
4919 | -ms-flex-align: start; | 4933 | -ms-flex-align: start; |
4920 | align-items: flex-start; | 4934 | align-items: flex-start; |
4921 | gap: 10px; | 4935 | gap: 10px; |
4922 | font-size: 12px; | 4936 | font-size: 12px; |
4923 | } | 4937 | } |
4924 | @media (min-width: 992px) { | 4938 | @media (min-width: 992px) { |
4925 | .main__ads-item-body { | 4939 | .main__ads-item-body { |
4926 | width: calc(100% - 200px); | 4940 | width: calc(100% - 200px); |
4927 | padding-left: 40px; | 4941 | padding-left: 40px; |
4928 | -webkit-box-pack: center; | 4942 | -webkit-box-pack: center; |
4929 | -ms-flex-pack: center; | 4943 | -ms-flex-pack: center; |
4930 | justify-content: center; | 4944 | justify-content: center; |
4931 | font-size: 16px; | 4945 | font-size: 16px; |
4932 | gap: 20px; | 4946 | gap: 20px; |
4933 | } | 4947 | } |
4934 | } | 4948 | } |
4935 | .main__ads-item-body b { | 4949 | .main__ads-item-body b { |
4936 | width: 100%; | 4950 | width: 100%; |
4937 | font-weight: 700; | 4951 | font-weight: 700; |
4938 | font-size: 14px; | 4952 | font-size: 14px; |
4939 | } | 4953 | } |
4940 | @media (min-width: 992px) { | 4954 | @media (min-width: 992px) { |
4941 | .main__ads-item-body b { | 4955 | .main__ads-item-body b { |
4942 | font-size: 20px; | 4956 | font-size: 20px; |
4943 | } | 4957 | } |
4944 | } | 4958 | } |
4945 | .main__ads-item-body span { | 4959 | .main__ads-item-body span { |
4946 | width: 100%; | 4960 | width: 100%; |
4947 | } | 4961 | } |
4948 | 4962 | ||
4949 | .work { | 4963 | .work { |
4950 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 4964 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
4951 | color: #000; | 4965 | color: #000; |
4952 | padding-top: 70px; | 4966 | padding-top: 70px; |
4953 | padding-bottom: 10px; | 4967 | padding-bottom: 10px; |
4954 | position: relative; | 4968 | position: relative; |
4955 | overflow: hidden; | 4969 | overflow: hidden; |
4956 | } | 4970 | } |
4957 | @media (min-width: 768px) { | 4971 | @media (min-width: 768px) { |
4958 | .work { | 4972 | .work { |
4959 | padding-bottom: 25px; | 4973 | padding-bottom: 25px; |
4960 | } | 4974 | } |
4961 | } | 4975 | } |
4962 | @media (min-width: 1280px) { | 4976 | @media (min-width: 1280px) { |
4963 | .work { | 4977 | .work { |
4964 | padding-top: 80px; | 4978 | padding-top: 80px; |
4965 | padding-bottom: 25px; | 4979 | padding-bottom: 25px; |
4966 | } | 4980 | } |
4967 | } | 4981 | } |
4968 | .work__pic { | 4982 | .work__pic { |
4969 | position: absolute; | 4983 | position: absolute; |
4970 | height: calc(100% - 40px); | 4984 | height: calc(100% - 40px); |
4971 | z-index: 1; | 4985 | z-index: 1; |
4972 | display: none; | 4986 | display: none; |
4973 | bottom: 0; | 4987 | bottom: 0; |
4974 | left: 50%; | 4988 | left: 50%; |
4975 | margin-left: 40px; | 4989 | margin-left: 40px; |
4976 | } | 4990 | } |
4977 | @media (min-width: 992px) { | 4991 | @media (min-width: 992px) { |
4978 | .work__pic { | 4992 | .work__pic { |
4979 | display: block; | 4993 | display: block; |
4980 | } | 4994 | } |
4981 | } | 4995 | } |
4982 | @media (min-width: 1280px) { | 4996 | @media (min-width: 1280px) { |
4983 | .work__pic { | 4997 | .work__pic { |
4984 | margin-left: 80px; | 4998 | margin-left: 80px; |
4985 | } | 4999 | } |
4986 | } | 5000 | } |
4987 | .work__body { | 5001 | .work__body { |
4988 | position: relative; | 5002 | position: relative; |
4989 | z-index: 2; | 5003 | z-index: 2; |
4990 | display: -webkit-box; | 5004 | display: -webkit-box; |
4991 | display: -ms-flexbox; | 5005 | display: -ms-flexbox; |
4992 | display: flex; | 5006 | display: flex; |
4993 | -webkit-box-orient: vertical; | 5007 | -webkit-box-orient: vertical; |
4994 | -webkit-box-direction: normal; | 5008 | -webkit-box-direction: normal; |
4995 | -ms-flex-direction: column; | 5009 | -ms-flex-direction: column; |
4996 | flex-direction: column; | 5010 | flex-direction: column; |
4997 | -webkit-box-align: center; | 5011 | -webkit-box-align: center; |
4998 | -ms-flex-align: center; | 5012 | -ms-flex-align: center; |
4999 | align-items: center; | 5013 | align-items: center; |
5000 | } | 5014 | } |
5001 | @media (min-width: 768px) { | 5015 | @media (min-width: 768px) { |
5002 | .work__body { | 5016 | .work__body { |
5003 | -webkit-box-align: start; | 5017 | -webkit-box-align: start; |
5004 | -ms-flex-align: start; | 5018 | -ms-flex-align: start; |
5005 | align-items: flex-start; | 5019 | align-items: flex-start; |
5006 | } | 5020 | } |
5007 | } | 5021 | } |
5008 | @media (min-width: 992px) { | 5022 | @media (min-width: 992px) { |
5009 | .work__body { | 5023 | .work__body { |
5010 | max-width: 600px; | 5024 | max-width: 600px; |
5011 | } | 5025 | } |
5012 | } | 5026 | } |
5013 | .work__title { | 5027 | .work__title { |
5014 | width: 100%; | 5028 | width: 100%; |
5015 | font-size: 40px; | 5029 | font-size: 40px; |
5016 | font-weight: 700; | 5030 | font-weight: 700; |
5017 | line-height: 1; | 5031 | line-height: 1; |
5018 | } | 5032 | } |
5019 | @media (min-width: 768px) { | 5033 | @media (min-width: 768px) { |
5020 | .work__title { | 5034 | .work__title { |
5021 | font-size: 64px; | 5035 | font-size: 64px; |
5022 | line-height: 94px; | 5036 | line-height: 94px; |
5023 | } | 5037 | } |
5024 | } | 5038 | } |
5025 | .work__text { | 5039 | .work__text { |
5026 | width: 100%; | 5040 | width: 100%; |
5027 | font-size: 12px; | 5041 | font-size: 12px; |
5028 | margin-top: 10px; | 5042 | margin-top: 10px; |
5029 | } | 5043 | } |
5030 | @media (min-width: 768px) { | 5044 | @media (min-width: 768px) { |
5031 | .work__text { | 5045 | .work__text { |
5032 | font-size: 18px; | 5046 | font-size: 18px; |
5033 | margin-top: 20px; | 5047 | margin-top: 20px; |
5034 | line-height: 1.4; | 5048 | line-height: 1.4; |
5035 | } | 5049 | } |
5036 | } | 5050 | } |
5037 | .work__list { | 5051 | .work__list { |
5038 | width: 100%; | 5052 | width: 100%; |
5039 | display: -webkit-box; | 5053 | display: -webkit-box; |
5040 | display: -ms-flexbox; | 5054 | display: -ms-flexbox; |
5041 | display: flex; | 5055 | display: flex; |
5042 | -webkit-box-orient: vertical; | 5056 | -webkit-box-orient: vertical; |
5043 | -webkit-box-direction: normal; | 5057 | -webkit-box-direction: normal; |
5044 | -ms-flex-direction: column; | 5058 | -ms-flex-direction: column; |
5045 | flex-direction: column; | 5059 | flex-direction: column; |
5046 | gap: 5px; | 5060 | gap: 5px; |
5047 | font-size: 14px; | 5061 | font-size: 14px; |
5048 | font-weight: 700; | 5062 | font-weight: 700; |
5049 | margin-top: 15px; | 5063 | margin-top: 15px; |
5050 | } | 5064 | } |
5051 | @media (min-width: 768px) { | 5065 | @media (min-width: 768px) { |
5052 | .work__list { | 5066 | .work__list { |
5053 | font-size: 18px; | 5067 | font-size: 18px; |
5054 | gap: 8px; | 5068 | gap: 8px; |
5055 | margin-top: 30px; | 5069 | margin-top: 30px; |
5056 | } | 5070 | } |
5057 | } | 5071 | } |
5058 | .work__list div { | 5072 | .work__list div { |
5059 | position: relative; | 5073 | position: relative; |
5060 | padding-left: 10px; | 5074 | padding-left: 10px; |
5061 | } | 5075 | } |
5062 | @media (min-width: 768px) { | 5076 | @media (min-width: 768px) { |
5063 | .work__list div { | 5077 | .work__list div { |
5064 | padding-left: 16px; | 5078 | padding-left: 16px; |
5065 | } | 5079 | } |
5066 | } | 5080 | } |
5067 | .work__list div:before { | 5081 | .work__list div:before { |
5068 | content: ""; | 5082 | content: ""; |
5069 | width: 4px; | 5083 | width: 4px; |
5070 | height: 4px; | 5084 | height: 4px; |
5071 | background: #000; | 5085 | background: #000; |
5072 | border-radius: 999px; | 5086 | border-radius: 999px; |
5073 | position: absolute; | 5087 | position: absolute; |
5074 | top: 5px; | 5088 | top: 5px; |
5075 | left: 0; | 5089 | left: 0; |
5076 | } | 5090 | } |
5077 | @media (min-width: 768px) { | 5091 | @media (min-width: 768px) { |
5078 | .work__list div:before { | 5092 | .work__list div:before { |
5079 | top: 8px; | 5093 | top: 8px; |
5080 | } | 5094 | } |
5081 | } | 5095 | } |
5082 | .work__form { | 5096 | .work__form { |
5083 | margin-top: 20px; | 5097 | margin-top: 20px; |
5084 | } | 5098 | } |
5085 | @media (min-width: 768px) { | 5099 | @media (min-width: 768px) { |
5086 | .work__form { | 5100 | .work__form { |
5087 | margin-top: 30px; | 5101 | margin-top: 30px; |
5088 | } | 5102 | } |
5089 | } | 5103 | } |
5090 | .work__search { | 5104 | .work__search { |
5091 | width: 100%; | 5105 | width: 100%; |
5092 | max-width: 180px; | 5106 | max-width: 180px; |
5093 | margin-top: 20px; | 5107 | margin-top: 20px; |
5094 | } | 5108 | } |
5095 | @media (min-width: 768px) { | 5109 | @media (min-width: 768px) { |
5096 | .work__search { | 5110 | .work__search { |
5097 | max-width: 270px; | 5111 | max-width: 270px; |
5098 | margin-top: 50px; | 5112 | margin-top: 50px; |
5099 | } | 5113 | } |
5100 | } | 5114 | } |
5101 | .work__get { | 5115 | .work__get { |
5102 | width: 100%; | 5116 | width: 100%; |
5103 | display: -webkit-box; | 5117 | display: -webkit-box; |
5104 | display: -ms-flexbox; | 5118 | display: -ms-flexbox; |
5105 | display: flex; | 5119 | display: flex; |
5106 | -webkit-box-align: start; | 5120 | -webkit-box-align: start; |
5107 | -ms-flex-align: start; | 5121 | -ms-flex-align: start; |
5108 | align-items: flex-start; | 5122 | align-items: flex-start; |
5109 | -ms-flex-wrap: wrap; | 5123 | -ms-flex-wrap: wrap; |
5110 | flex-wrap: wrap; | 5124 | flex-wrap: wrap; |
5111 | margin-top: 48px; | 5125 | margin-top: 48px; |
5112 | } | 5126 | } |
5113 | .work__get b { | 5127 | .work__get b { |
5114 | width: 100%; | 5128 | width: 100%; |
5115 | margin-bottom: 10px; | 5129 | margin-bottom: 10px; |
5116 | font-size: 14px; | 5130 | font-size: 14px; |
5117 | } | 5131 | } |
5118 | @media (min-width: 768px) { | 5132 | @media (min-width: 768px) { |
5119 | .work__get b { | 5133 | .work__get b { |
5120 | font-size: 18px; | 5134 | font-size: 18px; |
5121 | } | 5135 | } |
5122 | } | 5136 | } |
5123 | .work__get a { | 5137 | .work__get a { |
5124 | display: -webkit-box; | 5138 | display: -webkit-box; |
5125 | display: -ms-flexbox; | 5139 | display: -ms-flexbox; |
5126 | display: flex; | 5140 | display: flex; |
5127 | -webkit-box-align: center; | 5141 | -webkit-box-align: center; |
5128 | -ms-flex-align: center; | 5142 | -ms-flex-align: center; |
5129 | align-items: center; | 5143 | align-items: center; |
5130 | -webkit-box-pack: center; | 5144 | -webkit-box-pack: center; |
5131 | -ms-flex-pack: center; | 5145 | -ms-flex-pack: center; |
5132 | justify-content: center; | 5146 | justify-content: center; |
5133 | margin-right: 20px; | 5147 | margin-right: 20px; |
5134 | } | 5148 | } |
5135 | .work__get a img { | 5149 | .work__get a img { |
5136 | -webkit-transition: 0.3s; | 5150 | -webkit-transition: 0.3s; |
5137 | transition: 0.3s; | 5151 | transition: 0.3s; |
5138 | width: 111px; | 5152 | width: 111px; |
5139 | } | 5153 | } |
5140 | @media (min-width: 768px) { | 5154 | @media (min-width: 768px) { |
5141 | .work__get a img { | 5155 | .work__get a img { |
5142 | width: 131px; | 5156 | width: 131px; |
5143 | } | 5157 | } |
5144 | } | 5158 | } |
5145 | .work__get a:hover img { | 5159 | .work__get a:hover img { |
5146 | -webkit-transform: scale(1.1); | 5160 | -webkit-transform: scale(1.1); |
5147 | -ms-transform: scale(1.1); | 5161 | -ms-transform: scale(1.1); |
5148 | transform: scale(1.1); | 5162 | transform: scale(1.1); |
5149 | } | 5163 | } |
5150 | .work__get a + a { | 5164 | .work__get a + a { |
5151 | margin-right: 0; | 5165 | margin-right: 0; |
5152 | } | 5166 | } |
5153 | 5167 | ||
5154 | .numbers { | 5168 | .numbers { |
5155 | padding: 30px 0; | 5169 | padding: 30px 0; |
5156 | 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); |
5157 | color: #fff; | 5171 | color: #fff; |
5158 | } | 5172 | } |
5159 | @media (min-width: 1280px) { | 5173 | @media (min-width: 1280px) { |
5160 | .numbers { | 5174 | .numbers { |
5161 | padding: 100px 0; | 5175 | padding: 100px 0; |
5162 | background-position: 100% 100%; | 5176 | background-position: 100% 100%; |
5163 | background-size: auto 500px; | 5177 | background-size: auto 500px; |
5164 | } | 5178 | } |
5165 | } | 5179 | } |
5166 | .numbers__body { | 5180 | .numbers__body { |
5167 | display: -webkit-box; | 5181 | display: -webkit-box; |
5168 | display: -ms-flexbox; | 5182 | display: -ms-flexbox; |
5169 | display: flex; | 5183 | display: flex; |
5170 | -webkit-box-orient: vertical; | 5184 | -webkit-box-orient: vertical; |
5171 | -webkit-box-direction: normal; | 5185 | -webkit-box-direction: normal; |
5172 | -ms-flex-direction: column; | 5186 | -ms-flex-direction: column; |
5173 | flex-direction: column; | 5187 | flex-direction: column; |
5174 | gap: 30px; | 5188 | gap: 30px; |
5175 | } | 5189 | } |
5176 | @media (min-width: 768px) { | 5190 | @media (min-width: 768px) { |
5177 | .numbers__body { | 5191 | .numbers__body { |
5178 | display: grid; | 5192 | display: grid; |
5179 | grid-template-columns: 1fr 1fr 1fr; | 5193 | grid-template-columns: 1fr 1fr 1fr; |
5180 | } | 5194 | } |
5181 | } | 5195 | } |
5182 | .numbers__item { | 5196 | .numbers__item { |
5183 | font-size: 12px; | 5197 | font-size: 12px; |
5184 | display: -webkit-box; | 5198 | display: -webkit-box; |
5185 | display: -ms-flexbox; | 5199 | display: -ms-flexbox; |
5186 | display: flex; | 5200 | display: flex; |
5187 | -webkit-box-orient: vertical; | 5201 | -webkit-box-orient: vertical; |
5188 | -webkit-box-direction: normal; | 5202 | -webkit-box-direction: normal; |
5189 | -ms-flex-direction: column; | 5203 | -ms-flex-direction: column; |
5190 | flex-direction: column; | 5204 | flex-direction: column; |
5191 | line-height: 1.4; | 5205 | line-height: 1.4; |
5192 | } | 5206 | } |
5193 | @media (min-width: 1280px) { | 5207 | @media (min-width: 1280px) { |
5194 | .numbers__item { | 5208 | .numbers__item { |
5195 | font-size: 16px; | 5209 | font-size: 16px; |
5196 | line-height: 20px; | 5210 | line-height: 20px; |
5197 | } | 5211 | } |
5198 | } | 5212 | } |
5199 | .numbers__item b { | 5213 | .numbers__item b { |
5200 | font-size: 40px; | 5214 | font-size: 40px; |
5201 | font-weight: 700; | 5215 | font-weight: 700; |
5202 | border-bottom: 1px solid #fff; | 5216 | border-bottom: 1px solid #fff; |
5203 | line-height: 1; | 5217 | line-height: 1; |
5204 | } | 5218 | } |
5205 | @media (min-width: 1280px) { | 5219 | @media (min-width: 1280px) { |
5206 | .numbers__item b { | 5220 | .numbers__item b { |
5207 | font-size: 100px; | 5221 | font-size: 100px; |
5208 | line-height: 147px; | 5222 | line-height: 147px; |
5209 | } | 5223 | } |
5210 | } | 5224 | } |
5211 | .numbers__item span { | 5225 | .numbers__item span { |
5212 | font-weight: 700; | 5226 | font-weight: 700; |
5213 | font-size: 14px; | 5227 | font-size: 14px; |
5214 | margin: 10px 0; | 5228 | margin: 10px 0; |
5215 | line-height: 1; | 5229 | line-height: 1; |
5216 | } | 5230 | } |
5217 | @media (min-width: 1280px) { | 5231 | @media (min-width: 1280px) { |
5218 | .numbers__item span { | 5232 | .numbers__item span { |
5219 | font-size: 24px; | 5233 | font-size: 24px; |
5220 | margin-top: 30px; | 5234 | margin-top: 30px; |
5221 | } | 5235 | } |
5222 | } | 5236 | } |
5223 | 5237 | ||
5224 | .vacancies { | 5238 | .vacancies { |
5225 | padding: 50px 0; | 5239 | padding: 50px 0; |
5226 | } | 5240 | } |
5227 | @media (min-width: 1280px) { | 5241 | @media (min-width: 1280px) { |
5228 | .vacancies { | 5242 | .vacancies { |
5229 | padding: 100px 0; | 5243 | padding: 100px 0; |
5230 | } | 5244 | } |
5231 | } | 5245 | } |
5232 | .vacancies__body { | 5246 | .vacancies__body { |
5233 | display: -webkit-box; | 5247 | display: -webkit-box; |
5234 | display: -ms-flexbox; | 5248 | display: -ms-flexbox; |
5235 | display: flex; | 5249 | display: flex; |
5236 | -webkit-box-orient: vertical; | 5250 | -webkit-box-orient: vertical; |
5237 | -webkit-box-direction: reverse; | 5251 | -webkit-box-direction: reverse; |
5238 | -ms-flex-direction: column-reverse; | 5252 | -ms-flex-direction: column-reverse; |
5239 | flex-direction: column-reverse; | 5253 | flex-direction: column-reverse; |
5240 | gap: 20px; | 5254 | gap: 20px; |
5241 | width: 100%; | 5255 | width: 100%; |
5242 | margin-top: 20px; | 5256 | margin-top: 20px; |
5243 | } | 5257 | } |
5244 | @media (min-width: 992px) { | 5258 | @media (min-width: 992px) { |
5245 | .vacancies__body { | 5259 | .vacancies__body { |
5246 | margin-top: 30px; | 5260 | margin-top: 30px; |
5247 | gap: 30px; | 5261 | gap: 30px; |
5248 | } | 5262 | } |
5249 | } | 5263 | } |
5250 | .vacancies__more { | 5264 | .vacancies__more { |
5251 | width: 100%; | 5265 | width: 100%; |
5252 | } | 5266 | } |
5253 | @media (min-width: 768px) { | 5267 | @media (min-width: 768px) { |
5254 | .vacancies__more { | 5268 | .vacancies__more { |
5255 | width: auto; | 5269 | width: auto; |
5256 | margin: 0 auto; | 5270 | margin: 0 auto; |
5257 | } | 5271 | } |
5258 | } | 5272 | } |
5259 | .vacancies__list { | 5273 | .vacancies__list { |
5260 | display: -webkit-box; | 5274 | display: -webkit-box; |
5261 | display: -ms-flexbox; | 5275 | display: -ms-flexbox; |
5262 | display: flex; | 5276 | display: flex; |
5263 | -webkit-box-orient: vertical; | 5277 | -webkit-box-orient: vertical; |
5264 | -webkit-box-direction: normal; | 5278 | -webkit-box-direction: normal; |
5265 | -ms-flex-direction: column; | 5279 | -ms-flex-direction: column; |
5266 | flex-direction: column; | 5280 | flex-direction: column; |
5267 | gap: 15px; | 5281 | gap: 15px; |
5268 | } | 5282 | } |
5269 | @media (min-width: 768px) { | 5283 | @media (min-width: 768px) { |
5270 | .vacancies__list { | 5284 | .vacancies__list { |
5271 | display: grid; | 5285 | display: grid; |
5272 | grid-template-columns: repeat(2, 1fr); | 5286 | grid-template-columns: repeat(2, 1fr); |
5273 | } | 5287 | } |
5274 | } | 5288 | } |
5275 | @media (min-width: 992px) { | 5289 | @media (min-width: 992px) { |
5276 | .vacancies__list { | 5290 | .vacancies__list { |
5277 | display: grid; | 5291 | display: grid; |
5278 | grid-template-columns: repeat(3, 1fr); | 5292 | grid-template-columns: repeat(3, 1fr); |
5279 | gap: 20px; | 5293 | gap: 20px; |
5280 | } | 5294 | } |
5281 | } | 5295 | } |
5282 | @media (min-width: 1280px) { | 5296 | @media (min-width: 1280px) { |
5283 | .vacancies__list { | 5297 | .vacancies__list { |
5284 | grid-template-columns: repeat(4, 1fr); | 5298 | grid-template-columns: repeat(4, 1fr); |
5285 | } | 5299 | } |
5286 | } | 5300 | } |
5287 | .vacancies__list-label { | 5301 | .vacancies__list-label { |
5288 | font-weight: 700; | 5302 | font-weight: 700; |
5289 | font-size: 22px; | 5303 | font-size: 22px; |
5290 | } | 5304 | } |
5291 | .vacancies__list-col { | 5305 | .vacancies__list-col { |
5292 | display: -webkit-box; | 5306 | display: -webkit-box; |
5293 | display: -ms-flexbox; | 5307 | display: -ms-flexbox; |
5294 | display: flex; | 5308 | display: flex; |
5295 | -webkit-box-orient: vertical; | 5309 | -webkit-box-orient: vertical; |
5296 | -webkit-box-direction: normal; | 5310 | -webkit-box-direction: normal; |
5297 | -ms-flex-direction: column; | 5311 | -ms-flex-direction: column; |
5298 | flex-direction: column; | 5312 | flex-direction: column; |
5299 | gap: 15px; | 5313 | gap: 15px; |
5300 | margin-top: 15px; | 5314 | margin-top: 15px; |
5301 | margin-bottom: 30px; | 5315 | margin-bottom: 30px; |
5302 | } | 5316 | } |
5303 | @media (min-width: 768px) { | 5317 | @media (min-width: 768px) { |
5304 | .vacancies__list-col { | 5318 | .vacancies__list-col { |
5305 | margin-top: 0; | 5319 | margin-top: 0; |
5306 | } | 5320 | } |
5307 | } | 5321 | } |
5308 | .vacancies__list-col:first-child { | 5322 | .vacancies__list-col:first-child { |
5309 | margin-top: 0; | 5323 | margin-top: 0; |
5310 | } | 5324 | } |
5311 | .vacancies__item { | 5325 | .vacancies__item { |
5312 | display: none; | 5326 | display: none; |
5313 | -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); |
5314 | 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); |
5315 | border-radius: 12px; | 5329 | border-radius: 12px; |
5316 | background: #fff; | 5330 | background: #fff; |
5317 | border: 1px solid #e6e7e7; | 5331 | border: 1px solid #e6e7e7; |
5318 | overflow: hidden; | 5332 | overflow: hidden; |
5319 | } | 5333 | } |
5320 | .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) { |
5321 | display: -webkit-box; | 5335 | display: -webkit-box; |
5322 | display: -ms-flexbox; | 5336 | display: -ms-flexbox; |
5323 | display: flex; | 5337 | display: flex; |
5324 | } | 5338 | } |
5325 | .vacancies__item > span { | 5339 | .vacancies__item > span { |
5326 | border-left: 10px solid #377d87; | 5340 | border-left: 10px solid #377d87; |
5327 | padding: 20px 14px; | 5341 | padding: 20px 14px; |
5328 | display: -webkit-box; | 5342 | display: -webkit-box; |
5329 | display: -ms-flexbox; | 5343 | display: -ms-flexbox; |
5330 | display: flex; | 5344 | display: flex; |
5331 | -webkit-box-orient: vertical; | 5345 | -webkit-box-orient: vertical; |
5332 | -webkit-box-direction: normal; | 5346 | -webkit-box-direction: normal; |
5333 | -ms-flex-direction: column; | 5347 | -ms-flex-direction: column; |
5334 | flex-direction: column; | 5348 | flex-direction: column; |
5335 | -webkit-box-align: start; | 5349 | -webkit-box-align: start; |
5336 | -ms-flex-align: start; | 5350 | -ms-flex-align: start; |
5337 | align-items: flex-start; | 5351 | align-items: flex-start; |
5338 | gap: 5px; | 5352 | gap: 5px; |
5339 | -webkit-box-pack: justify; | 5353 | -webkit-box-pack: justify; |
5340 | -ms-flex-pack: justify; | 5354 | -ms-flex-pack: justify; |
5341 | justify-content: space-between; | 5355 | justify-content: space-between; |
5342 | } | 5356 | } |
5343 | @media (min-width: 992px) { | 5357 | @media (min-width: 992px) { |
5344 | .vacancies__item > span { | 5358 | .vacancies__item > span { |
5345 | gap: 10px; | 5359 | gap: 10px; |
5346 | } | 5360 | } |
5347 | } | 5361 | } |
5348 | .vacancies__item b { | 5362 | .vacancies__item b { |
5349 | font-weight: 700; | 5363 | font-weight: 700; |
5350 | font-size: 14px; | 5364 | font-size: 14px; |
5351 | } | 5365 | } |
5352 | @media (min-width: 992px) { | 5366 | @media (min-width: 992px) { |
5353 | .vacancies__item b { | 5367 | .vacancies__item b { |
5354 | font-size: 20px; | 5368 | font-size: 20px; |
5355 | } | 5369 | } |
5356 | } | 5370 | } |
5357 | .vacancies__item:hover b { | 5371 | .vacancies__item:hover b { |
5358 | color: #377d87; | 5372 | color: #377d87; |
5359 | } | 5373 | } |
5360 | .vacancies__item u { | 5374 | .vacancies__item u { |
5361 | text-decoration: none; | 5375 | text-decoration: none; |
5362 | font-size: 14px; | 5376 | font-size: 14px; |
5363 | } | 5377 | } |
5364 | @media (min-width: 992px) { | 5378 | @media (min-width: 992px) { |
5365 | .vacancies__item u { | 5379 | .vacancies__item u { |
5366 | font-size: 18px; | 5380 | font-size: 18px; |
5367 | } | 5381 | } |
5368 | } | 5382 | } |
5369 | .vacancies__item i { | 5383 | .vacancies__item i { |
5370 | font-size: 12px; | 5384 | font-size: 12px; |
5371 | font-style: normal; | 5385 | font-style: normal; |
5372 | border-bottom: 1px dashed #377d87; | 5386 | border-bottom: 1px dashed #377d87; |
5373 | } | 5387 | } |
5374 | @media (min-width: 992px) { | 5388 | @media (min-width: 992px) { |
5375 | .vacancies__item i { | 5389 | .vacancies__item i { |
5376 | font-size: 16px; | 5390 | font-size: 16px; |
5377 | } | 5391 | } |
5378 | } | 5392 | } |
5379 | .vacancies__item i span { | 5393 | .vacancies__item i span { |
5380 | font-weight: 700; | 5394 | font-weight: 700; |
5381 | color: #377d87; | 5395 | color: #377d87; |
5382 | } | 5396 | } |
5383 | .vacancies__body.active .vacancies__list .vacancies__item { | 5397 | .vacancies__body.active .vacancies__list .vacancies__item { |
5384 | display: -webkit-box; | 5398 | display: -webkit-box; |
5385 | display: -ms-flexbox; | 5399 | display: -ms-flexbox; |
5386 | display: flex; | 5400 | display: flex; |
5387 | } | 5401 | } |
5388 | 5402 | ||
5389 | .employer { | 5403 | .employer { |
5390 | padding-bottom: 50px; | 5404 | padding-bottom: 50px; |
5391 | } | 5405 | } |
5392 | @media (min-width: 768px) { | 5406 | @media (min-width: 768px) { |
5393 | .employer { | 5407 | .employer { |
5394 | padding-bottom: 100px; | 5408 | padding-bottom: 100px; |
5395 | } | 5409 | } |
5396 | } | 5410 | } |
5397 | .employer .swiper { | 5411 | .employer .swiper { |
5398 | margin: 20px 0; | 5412 | margin: 20px 0; |
5399 | } | 5413 | } |
5400 | @media (min-width: 768px) { | 5414 | @media (min-width: 768px) { |
5401 | .employer .swiper { | 5415 | .employer .swiper { |
5402 | display: none; | 5416 | display: none; |
5403 | } | 5417 | } |
5404 | } | 5418 | } |
5405 | .employer__item { | 5419 | .employer__item { |
5406 | display: -webkit-box; | 5420 | display: -webkit-box; |
5407 | display: -ms-flexbox; | 5421 | display: -ms-flexbox; |
5408 | display: flex; | 5422 | display: flex; |
5409 | -webkit-box-orient: vertical; | 5423 | -webkit-box-orient: vertical; |
5410 | -webkit-box-direction: normal; | 5424 | -webkit-box-direction: normal; |
5411 | -ms-flex-direction: column; | 5425 | -ms-flex-direction: column; |
5412 | flex-direction: column; | 5426 | flex-direction: column; |
5413 | gap: 30px; | 5427 | gap: 30px; |
5414 | } | 5428 | } |
5415 | .employer__item a { | 5429 | .employer__item a { |
5416 | display: -webkit-box; | 5430 | display: -webkit-box; |
5417 | display: -ms-flexbox; | 5431 | display: -ms-flexbox; |
5418 | display: flex; | 5432 | display: flex; |
5419 | -webkit-box-orient: vertical; | 5433 | -webkit-box-orient: vertical; |
5420 | -webkit-box-direction: normal; | 5434 | -webkit-box-direction: normal; |
5421 | -ms-flex-direction: column; | 5435 | -ms-flex-direction: column; |
5422 | flex-direction: column; | 5436 | flex-direction: column; |
5423 | -webkit-box-align: center; | 5437 | -webkit-box-align: center; |
5424 | -ms-flex-align: center; | 5438 | -ms-flex-align: center; |
5425 | align-items: center; | 5439 | align-items: center; |
5426 | } | 5440 | } |
5427 | .employer__item img { | 5441 | .employer__item img { |
5428 | width: 100%; | 5442 | width: 100%; |
5429 | aspect-ratio: 295/98; | 5443 | aspect-ratio: 295/98; |
5430 | -o-object-fit: contain; | 5444 | -o-object-fit: contain; |
5431 | object-fit: contain; | 5445 | object-fit: contain; |
5432 | } | 5446 | } |
5433 | .employer__body { | 5447 | .employer__body { |
5434 | display: none; | 5448 | display: none; |
5435 | grid-template-columns: 1fr 1fr; | 5449 | grid-template-columns: 1fr 1fr; |
5436 | gap: 30px; | 5450 | gap: 30px; |
5437 | margin-top: 30px; | 5451 | margin-top: 30px; |
5438 | margin-bottom: 40px; | 5452 | margin-bottom: 40px; |
5439 | } | 5453 | } |
5440 | @media (min-width: 768px) { | 5454 | @media (min-width: 768px) { |
5441 | .employer__body { | 5455 | .employer__body { |
5442 | display: grid; | 5456 | display: grid; |
5443 | } | 5457 | } |
5444 | } | 5458 | } |
5445 | @media (min-width: 992px) { | 5459 | @media (min-width: 992px) { |
5446 | .employer__body { | 5460 | .employer__body { |
5447 | grid-template-columns: 1fr 1fr 1fr; | 5461 | grid-template-columns: 1fr 1fr 1fr; |
5448 | } | 5462 | } |
5449 | } | 5463 | } |
5450 | @media (min-width: 1280px) { | 5464 | @media (min-width: 1280px) { |
5451 | .employer__body { | 5465 | .employer__body { |
5452 | grid-template-columns: 1fr 1fr 1fr 1fr; | 5466 | grid-template-columns: 1fr 1fr 1fr 1fr; |
5453 | } | 5467 | } |
5454 | } | 5468 | } |
5455 | .employer__body a { | 5469 | .employer__body a { |
5456 | display: -webkit-box; | 5470 | display: -webkit-box; |
5457 | display: -ms-flexbox; | 5471 | display: -ms-flexbox; |
5458 | display: flex; | 5472 | display: flex; |
5459 | -webkit-box-pack: center; | 5473 | -webkit-box-pack: center; |
5460 | -ms-flex-pack: center; | 5474 | -ms-flex-pack: center; |
5461 | justify-content: center; | 5475 | justify-content: center; |
5462 | -webkit-box-align: center; | 5476 | -webkit-box-align: center; |
5463 | -ms-flex-align: center; | 5477 | -ms-flex-align: center; |
5464 | align-items: center; | 5478 | align-items: center; |
5465 | height: 98px; | 5479 | height: 98px; |
5466 | } | 5480 | } |
5467 | .employer__body img { | 5481 | .employer__body img { |
5468 | max-width: 100%; | 5482 | max-width: 100%; |
5469 | max-height: 98px; | 5483 | max-height: 98px; |
5470 | -o-object-fit: contain; | 5484 | -o-object-fit: contain; |
5471 | object-fit: contain; | 5485 | object-fit: contain; |
5472 | } | 5486 | } |
5473 | .employer__more { | 5487 | .employer__more { |
5474 | height: 38px; | 5488 | height: 38px; |
5475 | } | 5489 | } |
5476 | @media (min-width: 768px) { | 5490 | @media (min-width: 768px) { |
5477 | .employer__more { | 5491 | .employer__more { |
5478 | width: 250px; | 5492 | width: 250px; |
5479 | margin: 0 auto; | 5493 | margin: 0 auto; |
5480 | height: 44px; | 5494 | height: 44px; |
5481 | } | 5495 | } |
5482 | } | 5496 | } |
5483 | 5497 | ||
5484 | .about { | 5498 | .about { |
5485 | background: #acc0e6 url("../images/space.svg") no-repeat 0 0; | 5499 | background: #acc0e6 url("../images/space.svg") no-repeat 0 0; |
5486 | background-size: cover; | 5500 | background-size: cover; |
5487 | padding: 30px 0; | 5501 | padding: 30px 0; |
5488 | padding-bottom: 70px; | 5502 | padding-bottom: 70px; |
5489 | } | 5503 | } |
5490 | @media (min-width: 768px) { | 5504 | @media (min-width: 768px) { |
5491 | .about { | 5505 | .about { |
5492 | padding-top: 40px; | 5506 | padding-top: 40px; |
5493 | background-size: auto calc(100% - 10px); | 5507 | background-size: auto calc(100% - 10px); |
5494 | } | 5508 | } |
5495 | } | 5509 | } |
5496 | @media (min-width: 1280px) { | 5510 | @media (min-width: 1280px) { |
5497 | .about { | 5511 | .about { |
5498 | padding: 100px 0; | 5512 | padding: 100px 0; |
5499 | } | 5513 | } |
5500 | } | 5514 | } |
5501 | .about__wrapper { | 5515 | .about__wrapper { |
5502 | display: -webkit-box; | 5516 | display: -webkit-box; |
5503 | display: -ms-flexbox; | 5517 | display: -ms-flexbox; |
5504 | display: flex; | 5518 | display: flex; |
5505 | -webkit-box-orient: vertical; | 5519 | -webkit-box-orient: vertical; |
5506 | -webkit-box-direction: normal; | 5520 | -webkit-box-direction: normal; |
5507 | -ms-flex-direction: column; | 5521 | -ms-flex-direction: column; |
5508 | flex-direction: column; | 5522 | flex-direction: column; |
5509 | position: relative; | 5523 | position: relative; |
5510 | } | 5524 | } |
5511 | .about__title { | 5525 | .about__title { |
5512 | color: #fff; | 5526 | color: #fff; |
5513 | line-height: 1.2; | 5527 | line-height: 1.2; |
5514 | } | 5528 | } |
5515 | @media (min-width: 1280px) { | 5529 | @media (min-width: 1280px) { |
5516 | .about__title { | 5530 | .about__title { |
5517 | position: absolute; | 5531 | position: absolute; |
5518 | top: -45px; | 5532 | top: -45px; |
5519 | left: 0; | 5533 | left: 0; |
5520 | } | 5534 | } |
5521 | } | 5535 | } |
5522 | .about__body { | 5536 | .about__body { |
5523 | display: -webkit-box; | 5537 | display: -webkit-box; |
5524 | display: -ms-flexbox; | 5538 | display: -ms-flexbox; |
5525 | display: flex; | 5539 | display: flex; |
5526 | -webkit-box-orient: vertical; | 5540 | -webkit-box-orient: vertical; |
5527 | -webkit-box-direction: normal; | 5541 | -webkit-box-direction: normal; |
5528 | -ms-flex-direction: column; | 5542 | -ms-flex-direction: column; |
5529 | flex-direction: column; | 5543 | flex-direction: column; |
5530 | } | 5544 | } |
5531 | @media (min-width: 1280px) { | 5545 | @media (min-width: 1280px) { |
5532 | .about__body { | 5546 | .about__body { |
5533 | padding-left: 495px; | 5547 | padding-left: 495px; |
5534 | } | 5548 | } |
5535 | } | 5549 | } |
5536 | .about__line { | 5550 | .about__line { |
5537 | background: #fff; | 5551 | background: #fff; |
5538 | width: 100%; | 5552 | width: 100%; |
5539 | height: 1px; | 5553 | height: 1px; |
5540 | max-width: 400px; | 5554 | max-width: 400px; |
5541 | margin-top: 10px; | 5555 | margin-top: 10px; |
5542 | } | 5556 | } |
5543 | .about__item { | 5557 | .about__item { |
5544 | display: -webkit-box; | 5558 | display: -webkit-box; |
5545 | display: -ms-flexbox; | 5559 | display: -ms-flexbox; |
5546 | display: flex; | 5560 | display: flex; |
5547 | -webkit-box-orient: vertical; | 5561 | -webkit-box-orient: vertical; |
5548 | -webkit-box-direction: normal; | 5562 | -webkit-box-direction: normal; |
5549 | -ms-flex-direction: column; | 5563 | -ms-flex-direction: column; |
5550 | flex-direction: column; | 5564 | flex-direction: column; |
5551 | margin-top: 10px; | 5565 | margin-top: 10px; |
5552 | max-width: 600px; | 5566 | max-width: 600px; |
5553 | } | 5567 | } |
5554 | @media (min-width: 768px) { | 5568 | @media (min-width: 768px) { |
5555 | .about__item { | 5569 | .about__item { |
5556 | margin-top: 20px; | 5570 | margin-top: 20px; |
5557 | } | 5571 | } |
5558 | } | 5572 | } |
5559 | @media (min-width: 1280px) { | 5573 | @media (min-width: 1280px) { |
5560 | .about__item { | 5574 | .about__item { |
5561 | margin-top: 30px; | 5575 | margin-top: 30px; |
5562 | } | 5576 | } |
5563 | } | 5577 | } |
5564 | .about__item b { | 5578 | .about__item b { |
5565 | font-size: 20px; | 5579 | font-size: 20px; |
5566 | font-weight: 700; | 5580 | font-weight: 700; |
5567 | } | 5581 | } |
5568 | .about__item span { | 5582 | .about__item span { |
5569 | font-size: 13px; | 5583 | font-size: 13px; |
5570 | line-height: 1.4; | 5584 | line-height: 1.4; |
5571 | margin-top: 6px; | 5585 | margin-top: 6px; |
5572 | } | 5586 | } |
5573 | @media (min-width: 1280px) { | 5587 | @media (min-width: 1280px) { |
5574 | .about__item span { | 5588 | .about__item span { |
5575 | font-size: 16px; | 5589 | font-size: 16px; |
5576 | margin-top: 12px; | 5590 | margin-top: 12px; |
5577 | } | 5591 | } |
5578 | } | 5592 | } |
5579 | .about__item a { | 5593 | .about__item a { |
5580 | text-decoration: underline; | 5594 | text-decoration: underline; |
5581 | } | 5595 | } |
5582 | .about__item + .about__item { | 5596 | .about__item + .about__item { |
5583 | margin-top: 30px; | 5597 | margin-top: 30px; |
5584 | } | 5598 | } |
5585 | @media (min-width: 992px) { | 5599 | @media (min-width: 992px) { |
5586 | .about__item + .about__item { | 5600 | .about__item + .about__item { |
5587 | margin-top: 40px; | 5601 | margin-top: 40px; |
5588 | } | 5602 | } |
5589 | } | 5603 | } |
5590 | .about__button { | 5604 | .about__button { |
5591 | margin-top: 20px; | 5605 | margin-top: 20px; |
5592 | height: 38px; | 5606 | height: 38px; |
5593 | padding: 0; | 5607 | padding: 0; |
5594 | } | 5608 | } |
5595 | @media (min-width: 768px) { | 5609 | @media (min-width: 768px) { |
5596 | .about__button { | 5610 | .about__button { |
5597 | max-width: 200px; | 5611 | max-width: 200px; |
5598 | height: 42px; | 5612 | height: 42px; |
5599 | margin-top: 30px; | 5613 | margin-top: 30px; |
5600 | } | 5614 | } |
5601 | } | 5615 | } |
5602 | 5616 | ||
5603 | .news { | 5617 | .news { |
5604 | padding: 50px 0; | 5618 | padding: 50px 0; |
5605 | overflow: hidden; | 5619 | overflow: hidden; |
5606 | } | 5620 | } |
5607 | @media (min-width: 1280px) { | 5621 | @media (min-width: 1280px) { |
5608 | .news { | 5622 | .news { |
5609 | padding: 100px 0; | 5623 | padding: 100px 0; |
5610 | padding-bottom: 0; | 5624 | padding-bottom: 0; |
5611 | } | 5625 | } |
5612 | } | 5626 | } |
5613 | .news__toper { | 5627 | .news__toper { |
5614 | display: -webkit-box; | 5628 | display: -webkit-box; |
5615 | display: -ms-flexbox; | 5629 | display: -ms-flexbox; |
5616 | display: flex; | 5630 | display: flex; |
5617 | -webkit-box-pack: justify; | 5631 | -webkit-box-pack: justify; |
5618 | -ms-flex-pack: justify; | 5632 | -ms-flex-pack: justify; |
5619 | justify-content: space-between; | 5633 | justify-content: space-between; |
5620 | -webkit-box-align: center; | 5634 | -webkit-box-align: center; |
5621 | -ms-flex-align: center; | 5635 | -ms-flex-align: center; |
5622 | align-items: center; | 5636 | align-items: center; |
5623 | } | 5637 | } |
5624 | @media (min-width: 1280px) { | 5638 | @media (min-width: 1280px) { |
5625 | .news__toper .title { | 5639 | .news__toper .title { |
5626 | width: calc(100% - 160px); | 5640 | width: calc(100% - 160px); |
5627 | } | 5641 | } |
5628 | } | 5642 | } |
5629 | .news__toper .navs { | 5643 | .news__toper .navs { |
5630 | display: none; | 5644 | display: none; |
5631 | } | 5645 | } |
5632 | @media (min-width: 1280px) { | 5646 | @media (min-width: 1280px) { |
5633 | .news__toper .navs { | 5647 | .news__toper .navs { |
5634 | display: -webkit-box; | 5648 | display: -webkit-box; |
5635 | display: -ms-flexbox; | 5649 | display: -ms-flexbox; |
5636 | display: flex; | 5650 | display: flex; |
5637 | } | 5651 | } |
5638 | } | 5652 | } |
5639 | .news .swiper { | 5653 | .news .swiper { |
5640 | margin-top: 20px; | 5654 | margin-top: 20px; |
5641 | } | 5655 | } |
5642 | @media (min-width: 768px) { | 5656 | @media (min-width: 768px) { |
5643 | .news .swiper { | 5657 | .news .swiper { |
5644 | overflow: visible; | 5658 | overflow: visible; |
5645 | } | 5659 | } |
5646 | } | 5660 | } |
5647 | @media (min-width: 992px) { | 5661 | @media (min-width: 992px) { |
5648 | .news .swiper { | 5662 | .news .swiper { |
5649 | margin-top: 40px; | 5663 | margin-top: 40px; |
5650 | } | 5664 | } |
5651 | } | 5665 | } |
5652 | .news__item { | 5666 | .news__item { |
5653 | display: -webkit-box; | 5667 | display: -webkit-box; |
5654 | display: -ms-flexbox; | 5668 | display: -ms-flexbox; |
5655 | display: flex; | 5669 | display: flex; |
5656 | -webkit-box-orient: vertical; | 5670 | -webkit-box-orient: vertical; |
5657 | -webkit-box-direction: normal; | 5671 | -webkit-box-direction: normal; |
5658 | -ms-flex-direction: column; | 5672 | -ms-flex-direction: column; |
5659 | flex-direction: column; | 5673 | flex-direction: column; |
5660 | line-height: 1.4; | 5674 | line-height: 1.4; |
5661 | } | 5675 | } |
5662 | .news__item-pic { | 5676 | .news__item-pic { |
5663 | width: 100%; | 5677 | width: 100%; |
5664 | aspect-ratio: 3/2; | 5678 | aspect-ratio: 3/2; |
5665 | border-radius: 12px; | 5679 | border-radius: 12px; |
5666 | border: 1px solid #e6e7e7; | 5680 | border: 1px solid #e6e7e7; |
5667 | -o-object-fit: cover; | 5681 | -o-object-fit: cover; |
5668 | object-fit: cover; | 5682 | object-fit: cover; |
5669 | min-height: 200px; | 5683 | min-height: 200px; |
5670 | } | 5684 | } |
5671 | @media (min-width: 1280px) { | 5685 | @media (min-width: 1280px) { |
5672 | .news__item-pic { | 5686 | .news__item-pic { |
5673 | aspect-ratio: 4/2; | 5687 | aspect-ratio: 4/2; |
5674 | } | 5688 | } |
5675 | } | 5689 | } |
5676 | .news__item-body { | 5690 | .news__item-body { |
5677 | display: -webkit-box; | 5691 | display: -webkit-box; |
5678 | display: -ms-flexbox; | 5692 | display: -ms-flexbox; |
5679 | display: flex; | 5693 | display: flex; |
5680 | -webkit-box-orient: vertical; | 5694 | -webkit-box-orient: vertical; |
5681 | -webkit-box-direction: normal; | 5695 | -webkit-box-direction: normal; |
5682 | -ms-flex-direction: column; | 5696 | -ms-flex-direction: column; |
5683 | flex-direction: column; | 5697 | flex-direction: column; |
5684 | padding-top: 15px; | 5698 | padding-top: 15px; |
5685 | } | 5699 | } |
5686 | @media (min-width: 768px) { | 5700 | @media (min-width: 768px) { |
5687 | .news__item-body { | 5701 | .news__item-body { |
5688 | padding: 20px; | 5702 | padding: 20px; |
5689 | padding-top: 30px; | 5703 | padding-top: 30px; |
5690 | margin-top: -15px; | 5704 | margin-top: -15px; |
5691 | border-radius: 0 0 12px 12px; | 5705 | border-radius: 0 0 12px 12px; |
5692 | -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); |
5693 | 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); |
5694 | } | 5708 | } |
5695 | } | 5709 | } |
5696 | .news__item-date { | 5710 | .news__item-date { |
5697 | font-size: 14px; | 5711 | font-size: 14px; |
5698 | font-weight: 700; | 5712 | font-weight: 700; |
5699 | color: #377d87; | 5713 | color: #377d87; |
5700 | } | 5714 | } |
5701 | .news__item-title { | 5715 | .news__item-title { |
5702 | font-size: 20px; | 5716 | font-size: 20px; |
5703 | font-weight: 700; | 5717 | font-weight: 700; |
5704 | line-height: 1.2; | 5718 | line-height: 1.2; |
5705 | margin-top: 5px; | 5719 | margin-top: 5px; |
5706 | } | 5720 | } |
5707 | .news__item-text { | 5721 | .news__item-text { |
5708 | color: #000; | 5722 | color: #000; |
5709 | font-size: 13px; | 5723 | font-size: 13px; |
5710 | margin-top: 10px; | 5724 | margin-top: 10px; |
5711 | overflow: hidden; | 5725 | overflow: hidden; |
5712 | display: -webkit-box; | 5726 | display: -webkit-box; |
5713 | -webkit-box-orient: vertical; | 5727 | -webkit-box-orient: vertical; |
5714 | -webkit-line-clamp: 4; | 5728 | -webkit-line-clamp: 4; |
5715 | } | 5729 | } |
5716 | @media (min-width: 1280px) { | 5730 | @media (min-width: 1280px) { |
5717 | .news__item-text { | 5731 | .news__item-text { |
5718 | font-size: 16px; | 5732 | font-size: 16px; |
5719 | } | 5733 | } |
5720 | } | 5734 | } |
5721 | .news__item-more { | 5735 | .news__item-more { |
5722 | height: 42px; | 5736 | height: 42px; |
5723 | margin-top: 20px; | 5737 | margin-top: 20px; |
5724 | } | 5738 | } |
5725 | @media (min-width: 1280px) { | 5739 | @media (min-width: 1280px) { |
5726 | .news__item-more { | 5740 | .news__item-more { |
5727 | height: 44px; | 5741 | height: 44px; |
5728 | max-width: 190px; | 5742 | max-width: 190px; |
5729 | } | 5743 | } |
5730 | } | 5744 | } |
5731 | .news__all { | 5745 | .news__all { |
5732 | height: 42px; | 5746 | height: 42px; |
5733 | margin: 0 auto; | 5747 | margin: 0 auto; |
5734 | margin-top: 20px; | 5748 | margin-top: 20px; |
5735 | padding: 0; | 5749 | padding: 0; |
5736 | display: none; | 5750 | display: none; |
5737 | } | 5751 | } |
5738 | @media (min-width: 768px) { | 5752 | @media (min-width: 768px) { |
5739 | .news__all { | 5753 | .news__all { |
5740 | max-width: 170px; | 5754 | max-width: 170px; |
5741 | margin-top: 30px; | 5755 | margin-top: 30px; |
5742 | display: -webkit-box; | 5756 | display: -webkit-box; |
5743 | display: -ms-flexbox; | 5757 | display: -ms-flexbox; |
5744 | display: flex; | 5758 | display: flex; |
5745 | } | 5759 | } |
5746 | } | 5760 | } |
5747 | @media (min-width: 1280px) { | 5761 | @media (min-width: 1280px) { |
5748 | .news__all { | 5762 | .news__all { |
5749 | height: 44px; | 5763 | height: 44px; |
5750 | } | 5764 | } |
5751 | } | 5765 | } |
5752 | .news__items { | 5766 | .news__items { |
5753 | display: grid; | 5767 | display: grid; |
5754 | gap: 20px; | 5768 | gap: 20px; |
5755 | margin-bottom: 10px; | 5769 | margin-bottom: 10px; |
5756 | } | 5770 | } |
5757 | @media (min-width: 768px) { | 5771 | @media (min-width: 768px) { |
5758 | .news__items { | 5772 | .news__items { |
5759 | grid-template-columns: 1fr 1fr; | 5773 | grid-template-columns: 1fr 1fr; |
5760 | } | 5774 | } |
5761 | } | 5775 | } |
5762 | @media (min-width: 992px) { | 5776 | @media (min-width: 992px) { |
5763 | .news__items { | 5777 | .news__items { |
5764 | grid-template-columns: 1fr 1fr 1fr; | 5778 | grid-template-columns: 1fr 1fr 1fr; |
5765 | } | 5779 | } |
5766 | } | 5780 | } |
5767 | 5781 | ||
5768 | main + .news { | 5782 | main + .news { |
5769 | padding: 0; | 5783 | padding: 0; |
5770 | } | 5784 | } |
5771 | 5785 | ||
5772 | .info { | 5786 | .info { |
5773 | position: relative; | 5787 | position: relative; |
5774 | overflow: hidden; | 5788 | overflow: hidden; |
5775 | } | 5789 | } |
5776 | @media (min-width: 1280px) { | 5790 | @media (min-width: 1280px) { |
5777 | .info { | 5791 | .info { |
5778 | margin-bottom: -25px; | 5792 | margin-bottom: -25px; |
5779 | } | 5793 | } |
5780 | } | 5794 | } |
5781 | .info__pic { | 5795 | .info__pic { |
5782 | display: none; | 5796 | display: none; |
5783 | z-index: 1; | 5797 | z-index: 1; |
5784 | position: absolute; | 5798 | position: absolute; |
5785 | top: 0; | 5799 | top: 0; |
5786 | left: 50%; | 5800 | left: 50%; |
5787 | height: 100%; | 5801 | height: 100%; |
5788 | margin-left: 130px; | 5802 | margin-left: 130px; |
5789 | } | 5803 | } |
5790 | @media (min-width: 992px) { | 5804 | @media (min-width: 992px) { |
5791 | .info__pic { | 5805 | .info__pic { |
5792 | display: block; | 5806 | display: block; |
5793 | } | 5807 | } |
5794 | } | 5808 | } |
5795 | @media (min-width: 1280px) { | 5809 | @media (min-width: 1280px) { |
5796 | .info__pic { | 5810 | .info__pic { |
5797 | width: 610px; | 5811 | width: 610px; |
5798 | height: auto; | 5812 | height: auto; |
5799 | margin-left: 10px; | 5813 | margin-left: 10px; |
5800 | } | 5814 | } |
5801 | } | 5815 | } |
5802 | .info__body { | 5816 | .info__body { |
5803 | z-index: 2; | 5817 | z-index: 2; |
5804 | position: relative; | 5818 | position: relative; |
5805 | display: -webkit-box; | 5819 | display: -webkit-box; |
5806 | display: -ms-flexbox; | 5820 | display: -ms-flexbox; |
5807 | display: flex; | 5821 | display: flex; |
5808 | -webkit-box-orient: vertical; | 5822 | -webkit-box-orient: vertical; |
5809 | -webkit-box-direction: normal; | 5823 | -webkit-box-direction: normal; |
5810 | -ms-flex-direction: column; | 5824 | -ms-flex-direction: column; |
5811 | flex-direction: column; | 5825 | flex-direction: column; |
5812 | } | 5826 | } |
5813 | @media (min-width: 1280px) { | 5827 | @media (min-width: 1280px) { |
5814 | .info__body { | 5828 | .info__body { |
5815 | padding-top: 100px; | 5829 | padding-top: 100px; |
5816 | min-height: 600px; | 5830 | min-height: 600px; |
5817 | } | 5831 | } |
5818 | } | 5832 | } |
5819 | @media (min-width: 1280px) { | 5833 | @media (min-width: 1280px) { |
5820 | .info__title { | 5834 | .info__title { |
5821 | max-width: 520px; | 5835 | max-width: 520px; |
5822 | line-height: 1; | 5836 | line-height: 1; |
5823 | } | 5837 | } |
5824 | } | 5838 | } |
5825 | .info__item { | 5839 | .info__item { |
5826 | margin-top: 20px; | 5840 | margin-top: 20px; |
5827 | display: -webkit-box; | 5841 | display: -webkit-box; |
5828 | display: -ms-flexbox; | 5842 | display: -ms-flexbox; |
5829 | display: flex; | 5843 | display: flex; |
5830 | -webkit-box-orient: vertical; | 5844 | -webkit-box-orient: vertical; |
5831 | -webkit-box-direction: normal; | 5845 | -webkit-box-direction: normal; |
5832 | -ms-flex-direction: column; | 5846 | -ms-flex-direction: column; |
5833 | flex-direction: column; | 5847 | flex-direction: column; |
5834 | gap: 20px; | 5848 | gap: 20px; |
5835 | } | 5849 | } |
5836 | @media (min-width: 992px) { | 5850 | @media (min-width: 992px) { |
5837 | .info__item { | 5851 | .info__item { |
5838 | max-width: 610px; | 5852 | max-width: 610px; |
5839 | } | 5853 | } |
5840 | } | 5854 | } |
5841 | .info__item + .info__item { | 5855 | .info__item + .info__item { |
5842 | margin-top: 60px; | 5856 | margin-top: 60px; |
5843 | } | 5857 | } |
5844 | .info__text { | 5858 | .info__text { |
5845 | color: #000; | 5859 | color: #000; |
5846 | font-size: 13px; | 5860 | font-size: 13px; |
5847 | line-height: 1.4; | 5861 | line-height: 1.4; |
5848 | } | 5862 | } |
5849 | @media (min-width: 768px) { | 5863 | @media (min-width: 768px) { |
5850 | .info__text { | 5864 | .info__text { |
5851 | font-size: 16px; | 5865 | font-size: 16px; |
5852 | } | 5866 | } |
5853 | } | 5867 | } |
5854 | @media (min-width: 1280px) { | 5868 | @media (min-width: 1280px) { |
5855 | .info__text { | 5869 | .info__text { |
5856 | font-size: 18px; | 5870 | font-size: 18px; |
5857 | } | 5871 | } |
5858 | } | 5872 | } |
5859 | .info__link { | 5873 | .info__link { |
5860 | border-radius: 8px; | 5874 | border-radius: 8px; |
5861 | display: -webkit-box; | 5875 | display: -webkit-box; |
5862 | display: -ms-flexbox; | 5876 | display: -ms-flexbox; |
5863 | display: flex; | 5877 | display: flex; |
5864 | -webkit-box-pack: center; | 5878 | -webkit-box-pack: center; |
5865 | -ms-flex-pack: center; | 5879 | -ms-flex-pack: center; |
5866 | justify-content: center; | 5880 | justify-content: center; |
5867 | -webkit-box-align: center; | 5881 | -webkit-box-align: center; |
5868 | -ms-flex-align: center; | 5882 | -ms-flex-align: center; |
5869 | align-items: center; | 5883 | align-items: center; |
5870 | line-height: 1; | 5884 | line-height: 1; |
5871 | height: 40px; | 5885 | height: 40px; |
5872 | font-size: 12px; | 5886 | font-size: 12px; |
5873 | font-weight: 700; | 5887 | font-weight: 700; |
5874 | gap: 8px; | 5888 | gap: 8px; |
5875 | color: #fff; | 5889 | color: #fff; |
5876 | background: #377d87; | 5890 | background: #377d87; |
5877 | } | 5891 | } |
5878 | .info__link:hover { | 5892 | .info__link:hover { |
5879 | -webkit-filter: grayscale(50%); | 5893 | -webkit-filter: grayscale(50%); |
5880 | filter: grayscale(50%); | 5894 | filter: grayscale(50%); |
5881 | } | 5895 | } |
5882 | @media (min-width: 768px) { | 5896 | @media (min-width: 768px) { |
5883 | .info__link { | 5897 | .info__link { |
5884 | height: 44px; | 5898 | height: 44px; |
5885 | font-size: 16px; | 5899 | font-size: 16px; |
5886 | gap: 10px; | 5900 | gap: 10px; |
5887 | max-width: 300px; | 5901 | max-width: 300px; |
5888 | } | 5902 | } |
5889 | } | 5903 | } |
5890 | @media (min-width: 992px) { | 5904 | @media (min-width: 992px) { |
5891 | .info__link { | 5905 | .info__link { |
5892 | max-width: 210px; | 5906 | max-width: 210px; |
5893 | } | 5907 | } |
5894 | } | 5908 | } |
5895 | .info__link svg { | 5909 | .info__link svg { |
5896 | width: 16px; | 5910 | width: 16px; |
5897 | height: 16px; | 5911 | height: 16px; |
5898 | } | 5912 | } |
5899 | @media (min-width: 768px) { | 5913 | @media (min-width: 768px) { |
5900 | .info__link svg { | 5914 | .info__link svg { |
5901 | width: 20px; | 5915 | width: 20px; |
5902 | height: 20px; | 5916 | height: 20px; |
5903 | } | 5917 | } |
5904 | } | 5918 | } |
5905 | 5919 | ||
5906 | .thing { | 5920 | .thing { |
5907 | padding-top: 15px; | 5921 | padding-top: 15px; |
5908 | padding-bottom: 30px; | 5922 | padding-bottom: 30px; |
5909 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 5923 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
5910 | color: #000; | 5924 | color: #000; |
5911 | overflow: hidden; | 5925 | overflow: hidden; |
5912 | position: relative; | 5926 | position: relative; |
5913 | } | 5927 | } |
5914 | @media (min-width: 992px) { | 5928 | @media (min-width: 992px) { |
5915 | .thing { | 5929 | .thing { |
5916 | padding-top: 20px; | 5930 | padding-top: 20px; |
5917 | padding-bottom: 60px; | 5931 | padding-bottom: 60px; |
5918 | } | 5932 | } |
5919 | } | 5933 | } |
5920 | @media (min-width: 1280px) { | 5934 | @media (min-width: 1280px) { |
5921 | .thing { | 5935 | .thing { |
5922 | padding-bottom: 90px; | 5936 | padding-bottom: 90px; |
5923 | } | 5937 | } |
5924 | } | 5938 | } |
5925 | .thing_pdf { | 5939 | .thing_pdf { |
5926 | padding: 30px 0; | 5940 | padding: 30px 0; |
5927 | } | 5941 | } |
5928 | @media (min-width: 992px) { | 5942 | @media (min-width: 992px) { |
5929 | .thing_pdf { | 5943 | .thing_pdf { |
5930 | padding: 60px 0; | 5944 | padding: 60px 0; |
5931 | } | 5945 | } |
5932 | } | 5946 | } |
5933 | @media (min-width: 1280px) { | 5947 | @media (min-width: 1280px) { |
5934 | .thing_pdf { | 5948 | .thing_pdf { |
5935 | padding: 90px 0; | 5949 | padding: 90px 0; |
5936 | } | 5950 | } |
5937 | } | 5951 | } |
5938 | .thing__body { | 5952 | .thing__body { |
5939 | display: -webkit-box; | 5953 | display: -webkit-box; |
5940 | display: -ms-flexbox; | 5954 | display: -ms-flexbox; |
5941 | display: flex; | 5955 | display: flex; |
5942 | -webkit-box-orient: vertical; | 5956 | -webkit-box-orient: vertical; |
5943 | -webkit-box-direction: normal; | 5957 | -webkit-box-direction: normal; |
5944 | -ms-flex-direction: column; | 5958 | -ms-flex-direction: column; |
5945 | flex-direction: column; | 5959 | flex-direction: column; |
5946 | -webkit-box-align: start; | 5960 | -webkit-box-align: start; |
5947 | -ms-flex-align: start; | 5961 | -ms-flex-align: start; |
5948 | align-items: flex-start; | 5962 | align-items: flex-start; |
5949 | } | 5963 | } |
5950 | .thing__breadcrumbs { | 5964 | .thing__breadcrumbs { |
5951 | width: 100%; | 5965 | width: 100%; |
5952 | margin-bottom: 40px; | 5966 | margin-bottom: 40px; |
5953 | position: relative; | 5967 | position: relative; |
5954 | z-index: 2; | 5968 | z-index: 2; |
5955 | } | 5969 | } |
5956 | @media (min-width: 768px) { | 5970 | @media (min-width: 768px) { |
5957 | .thing__breadcrumbs { | 5971 | .thing__breadcrumbs { |
5958 | margin-bottom: 60px; | 5972 | margin-bottom: 60px; |
5959 | } | 5973 | } |
5960 | } | 5974 | } |
5961 | .thing__date { | 5975 | .thing__date { |
5962 | color: #000; | 5976 | color: #000; |
5963 | font-size: 14px; | 5977 | font-size: 14px; |
5964 | font-weight: 700; | 5978 | font-weight: 700; |
5965 | line-height: 21px; | 5979 | line-height: 21px; |
5966 | margin-bottom: 10px; | 5980 | margin-bottom: 10px; |
5967 | } | 5981 | } |
5968 | @media (min-width: 768px) { | 5982 | @media (min-width: 768px) { |
5969 | .thing__date { | 5983 | .thing__date { |
5970 | font-size: 18px; | 5984 | font-size: 18px; |
5971 | line-height: 27px; | 5985 | line-height: 27px; |
5972 | } | 5986 | } |
5973 | } | 5987 | } |
5974 | .thing__title { | 5988 | .thing__title { |
5975 | width: 100%; | 5989 | width: 100%; |
5976 | font-size: 32px; | 5990 | font-size: 32px; |
5977 | font-weight: 700; | 5991 | font-weight: 700; |
5978 | margin: 0; | 5992 | margin: 0; |
5979 | max-width: 780px; | 5993 | max-width: 780px; |
5980 | position: relative; | 5994 | position: relative; |
5981 | z-index: 2; | 5995 | z-index: 2; |
5982 | line-height: 1.1; | 5996 | line-height: 1.1; |
5983 | } | 5997 | } |
5984 | @media (min-width: 768px) { | 5998 | @media (min-width: 768px) { |
5985 | .thing__title { | 5999 | .thing__title { |
5986 | font-size: 40px; | 6000 | font-size: 40px; |
5987 | } | 6001 | } |
5988 | } | 6002 | } |
5989 | @media (min-width: 1280px) { | 6003 | @media (min-width: 1280px) { |
5990 | .thing__title { | 6004 | .thing__title { |
5991 | font-size: 64px; | 6005 | font-size: 64px; |
5992 | } | 6006 | } |
5993 | } | 6007 | } |
5994 | .thing__text { | 6008 | .thing__text { |
5995 | width: 100%; | 6009 | width: 100%; |
5996 | font-weight: 700; | 6010 | font-weight: 700; |
5997 | font-size: 14px; | 6011 | font-size: 14px; |
5998 | line-height: 1.4; | 6012 | line-height: 1.4; |
5999 | margin: 15px 0 0 0; | 6013 | margin: 15px 0 0 0; |
6000 | max-width: 780px; | 6014 | max-width: 780px; |
6001 | position: relative; | 6015 | position: relative; |
6002 | z-index: 2; | 6016 | z-index: 2; |
6003 | } | 6017 | } |
6004 | @media (min-width: 768px) { | 6018 | @media (min-width: 768px) { |
6005 | .thing__text { | 6019 | .thing__text { |
6006 | margin-top: 15px; | 6020 | margin-top: 15px; |
6007 | } | 6021 | } |
6008 | } | 6022 | } |
6009 | @media (min-width: 992px) { | 6023 | @media (min-width: 992px) { |
6010 | .thing__text { | 6024 | .thing__text { |
6011 | font-weight: 400; | 6025 | font-weight: 400; |
6012 | font-size: 18px; | 6026 | font-size: 18px; |
6013 | } | 6027 | } |
6014 | } | 6028 | } |
6015 | .thing__search { | 6029 | .thing__search { |
6016 | width: 100%; | 6030 | width: 100%; |
6017 | max-width: 640px; | 6031 | max-width: 640px; |
6018 | margin-top: 20px; | 6032 | margin-top: 20px; |
6019 | position: relative; | 6033 | position: relative; |
6020 | z-index: 2; | 6034 | z-index: 2; |
6021 | } | 6035 | } |
6022 | @media (min-width: 768px) { | 6036 | @media (min-width: 768px) { |
6023 | .thing__search { | 6037 | .thing__search { |
6024 | margin-top: 30px; | 6038 | margin-top: 30px; |
6025 | } | 6039 | } |
6026 | } | 6040 | } |
6027 | .thing__badge { | 6041 | .thing__badge { |
6028 | position: relative; | 6042 | position: relative; |
6029 | z-index: 2; | 6043 | z-index: 2; |
6030 | display: -webkit-box; | 6044 | display: -webkit-box; |
6031 | display: -ms-flexbox; | 6045 | display: -ms-flexbox; |
6032 | display: flex; | 6046 | display: flex; |
6033 | -webkit-box-align: center; | 6047 | -webkit-box-align: center; |
6034 | -ms-flex-align: center; | 6048 | -ms-flex-align: center; |
6035 | align-items: center; | 6049 | align-items: center; |
6036 | gap: 5px; | 6050 | gap: 5px; |
6037 | padding: 0 12px; | 6051 | padding: 0 12px; |
6038 | background: #4d88d9; | 6052 | background: #4d88d9; |
6039 | color: #fff; | 6053 | color: #fff; |
6040 | font-size: 12px; | 6054 | font-size: 12px; |
6041 | line-height: 1; | 6055 | line-height: 1; |
6042 | height: 26px; | 6056 | height: 26px; |
6043 | border-radius: 999px; | 6057 | border-radius: 999px; |
6044 | margin-bottom: 20px; | 6058 | margin-bottom: 20px; |
6045 | } | 6059 | } |
6046 | @media (min-width: 992px) { | 6060 | @media (min-width: 992px) { |
6047 | .thing__badge { | 6061 | .thing__badge { |
6048 | font-size: 16px; | 6062 | font-size: 16px; |
6049 | gap: 10px; | 6063 | gap: 10px; |
6050 | padding: 0 24px; | 6064 | padding: 0 24px; |
6051 | height: 42px; | 6065 | height: 42px; |
6052 | margin-bottom: 30px; | 6066 | margin-bottom: 30px; |
6053 | } | 6067 | } |
6054 | } | 6068 | } |
6055 | .thing__badge svg { | 6069 | .thing__badge svg { |
6056 | width: 12px; | 6070 | width: 12px; |
6057 | height: 12px; | 6071 | height: 12px; |
6058 | } | 6072 | } |
6059 | @media (min-width: 992px) { | 6073 | @media (min-width: 992px) { |
6060 | .thing__badge svg { | 6074 | .thing__badge svg { |
6061 | width: 20px; | 6075 | width: 20px; |
6062 | height: 20px; | 6076 | height: 20px; |
6063 | } | 6077 | } |
6064 | } | 6078 | } |
6065 | .thing__pic { | 6079 | .thing__pic { |
6066 | width: 60px; | 6080 | width: 60px; |
6067 | aspect-ratio: 1/1; | 6081 | aspect-ratio: 1/1; |
6068 | -o-object-fit: contain; | 6082 | -o-object-fit: contain; |
6069 | object-fit: contain; | 6083 | object-fit: contain; |
6070 | position: relative; | 6084 | position: relative; |
6071 | z-index: 1; | 6085 | z-index: 1; |
6072 | margin-bottom: 15px; | 6086 | margin-bottom: 15px; |
6073 | } | 6087 | } |
6074 | @media (min-width: 768px) { | 6088 | @media (min-width: 768px) { |
6075 | .thing__pic { | 6089 | .thing__pic { |
6076 | width: 160px; | 6090 | width: 160px; |
6077 | position: absolute; | 6091 | position: absolute; |
6078 | top: 15px; | 6092 | top: 15px; |
6079 | right: 20px; | 6093 | right: 20px; |
6080 | } | 6094 | } |
6081 | } | 6095 | } |
6082 | @media (min-width: 992px) { | 6096 | @media (min-width: 992px) { |
6083 | .thing__pic { | 6097 | .thing__pic { |
6084 | width: 330px; | 6098 | width: 330px; |
6085 | top: 50%; | 6099 | top: 50%; |
6086 | -webkit-transform: translate(0, -50%); | 6100 | -webkit-transform: translate(0, -50%); |
6087 | -ms-transform: translate(0, -50%); | 6101 | -ms-transform: translate(0, -50%); |
6088 | transform: translate(0, -50%); | 6102 | transform: translate(0, -50%); |
6089 | } | 6103 | } |
6090 | } | 6104 | } |
6091 | @media (min-width: 1280px) { | 6105 | @media (min-width: 1280px) { |
6092 | .thing__pic { | 6106 | .thing__pic { |
6093 | right: auto; | 6107 | right: auto; |
6094 | left: 50%; | 6108 | left: 50%; |
6095 | margin-left: 200px; | 6109 | margin-left: 200px; |
6096 | } | 6110 | } |
6097 | } | 6111 | } |
6098 | .thing__pic_two { | 6112 | .thing__pic_two { |
6099 | -o-object-fit: cover; | 6113 | -o-object-fit: cover; |
6100 | object-fit: cover; | 6114 | object-fit: cover; |
6101 | border-radius: 30px; | 6115 | border-radius: 30px; |
6102 | aspect-ratio: 44/37; | 6116 | aspect-ratio: 44/37; |
6103 | width: 100%; | 6117 | width: 100%; |
6104 | max-width: 440px; | 6118 | max-width: 440px; |
6105 | } | 6119 | } |
6106 | @media (min-width: 768px) { | 6120 | @media (min-width: 768px) { |
6107 | .thing__pic_two { | 6121 | .thing__pic_two { |
6108 | position: static; | 6122 | position: static; |
6109 | -webkit-transform: translate(0, 0); | 6123 | -webkit-transform: translate(0, 0); |
6110 | -ms-transform: translate(0, 0); | 6124 | -ms-transform: translate(0, 0); |
6111 | transform: translate(0, 0); | 6125 | transform: translate(0, 0); |
6112 | } | 6126 | } |
6113 | } | 6127 | } |
6114 | @media (min-width: 1280px) { | 6128 | @media (min-width: 1280px) { |
6115 | .thing__pic_two { | 6129 | .thing__pic_two { |
6116 | position: absolute; | 6130 | position: absolute; |
6117 | -webkit-transform: translate(0, -50%); | 6131 | -webkit-transform: translate(0, -50%); |
6118 | -ms-transform: translate(0, -50%); | 6132 | -ms-transform: translate(0, -50%); |
6119 | transform: translate(0, -50%); | 6133 | transform: translate(0, -50%); |
6120 | } | 6134 | } |
6121 | } | 6135 | } |
6122 | .thing__buttons { | 6136 | .thing__buttons { |
6123 | width: 100%; | 6137 | width: 100%; |
6124 | position: relative; | 6138 | position: relative; |
6125 | z-index: 2; | 6139 | z-index: 2; |
6126 | display: -webkit-box; | 6140 | display: -webkit-box; |
6127 | display: -ms-flexbox; | 6141 | display: -ms-flexbox; |
6128 | display: flex; | 6142 | display: flex; |
6129 | -webkit-box-align: center; | 6143 | -webkit-box-align: center; |
6130 | -ms-flex-align: center; | 6144 | -ms-flex-align: center; |
6131 | align-items: center; | 6145 | align-items: center; |
6132 | gap: 20px; | 6146 | gap: 20px; |
6133 | margin-top: 15px; | 6147 | margin-top: 15px; |
6134 | } | 6148 | } |
6135 | @media (min-width: 992px) { | 6149 | @media (min-width: 992px) { |
6136 | .thing__buttons { | 6150 | .thing__buttons { |
6137 | margin-top: 30px; | 6151 | margin-top: 30px; |
6138 | gap: 30px; | 6152 | gap: 30px; |
6139 | } | 6153 | } |
6140 | } | 6154 | } |
6141 | @media (min-width: 992px) { | 6155 | @media (min-width: 992px) { |
6142 | .thing__buttons .button { | 6156 | .thing__buttons .button { |
6143 | padding: 0 22px; | 6157 | padding: 0 22px; |
6144 | } | 6158 | } |
6145 | } | 6159 | } |
6146 | .thing__checkbox { | 6160 | .thing__checkbox { |
6147 | margin-top: 20px; | 6161 | margin-top: 20px; |
6148 | } | 6162 | } |
6149 | .thing__checkbox .checkbox__icon { | 6163 | .thing__checkbox .checkbox__icon { |
6150 | border-color: #377d87; | 6164 | border-color: #377d87; |
6151 | } | 6165 | } |
6152 | .thing__checkbox .checkbox__text { | 6166 | .thing__checkbox .checkbox__text { |
6153 | color: #377d87; | 6167 | color: #377d87; |
6154 | } | 6168 | } |
6155 | .thing__profile { | 6169 | .thing__profile { |
6156 | display: -webkit-box; | 6170 | display: -webkit-box; |
6157 | display: -ms-flexbox; | 6171 | display: -ms-flexbox; |
6158 | display: flex; | 6172 | display: flex; |
6159 | -webkit-box-orient: vertical; | 6173 | -webkit-box-orient: vertical; |
6160 | -webkit-box-direction: normal; | 6174 | -webkit-box-direction: normal; |
6161 | -ms-flex-direction: column; | 6175 | -ms-flex-direction: column; |
6162 | flex-direction: column; | 6176 | flex-direction: column; |
6163 | } | 6177 | } |
6164 | @media (min-width: 768px) { | 6178 | @media (min-width: 768px) { |
6165 | .thing__profile { | 6179 | .thing__profile { |
6166 | -webkit-box-orient: horizontal; | 6180 | -webkit-box-orient: horizontal; |
6167 | -webkit-box-direction: normal; | 6181 | -webkit-box-direction: normal; |
6168 | -ms-flex-direction: row; | 6182 | -ms-flex-direction: row; |
6169 | flex-direction: row; | 6183 | flex-direction: row; |
6170 | -webkit-box-align: start; | 6184 | -webkit-box-align: start; |
6171 | -ms-flex-align: start; | 6185 | -ms-flex-align: start; |
6172 | align-items: flex-start; | 6186 | align-items: flex-start; |
6173 | } | 6187 | } |
6174 | } | 6188 | } |
6175 | .thing__profile-photo { | 6189 | .thing__profile-photo { |
6176 | width: 210px; | 6190 | width: 210px; |
6177 | border-radius: 8px; | 6191 | border-radius: 8px; |
6178 | aspect-ratio: 1/1; | 6192 | aspect-ratio: 1/1; |
6179 | } | 6193 | } |
6180 | .thing__profile-body { | 6194 | .thing__profile-body { |
6181 | display: -webkit-box; | 6195 | display: -webkit-box; |
6182 | display: -ms-flexbox; | 6196 | display: -ms-flexbox; |
6183 | display: flex; | 6197 | display: flex; |
6184 | -webkit-box-orient: vertical; | 6198 | -webkit-box-orient: vertical; |
6185 | -webkit-box-direction: normal; | 6199 | -webkit-box-direction: normal; |
6186 | -ms-flex-direction: column; | 6200 | -ms-flex-direction: column; |
6187 | flex-direction: column; | 6201 | flex-direction: column; |
6188 | margin-top: 15px; | 6202 | margin-top: 15px; |
6189 | } | 6203 | } |
6190 | @media (min-width: 768px) { | 6204 | @media (min-width: 768px) { |
6191 | .thing__profile-body { | 6205 | .thing__profile-body { |
6192 | width: calc(100% - 210px); | 6206 | width: calc(100% - 210px); |
6193 | padding-left: 35px; | 6207 | padding-left: 35px; |
6194 | } | 6208 | } |
6195 | } | 6209 | } |
6196 | .thing__profile .thing__title { | 6210 | .thing__profile .thing__title { |
6197 | max-width: none; | 6211 | max-width: none; |
6198 | } | 6212 | } |
6199 | @media (min-width: 768px) { | 6213 | @media (min-width: 768px) { |
6200 | .thing__profile .thing__title { | 6214 | .thing__profile .thing__title { |
6201 | margin-top: -20px; | 6215 | margin-top: -20px; |
6202 | } | 6216 | } |
6203 | } | 6217 | } |
6204 | .thing__profile .thing__text { | 6218 | .thing__profile .thing__text { |
6205 | max-width: none; | 6219 | max-width: none; |
6206 | } | 6220 | } |
6207 | .thing__bottom { | 6221 | .thing__bottom { |
6208 | display: -webkit-box; | 6222 | display: -webkit-box; |
6209 | display: -ms-flexbox; | 6223 | display: -ms-flexbox; |
6210 | display: flex; | 6224 | display: flex; |
6211 | -webkit-box-align: center; | 6225 | -webkit-box-align: center; |
6212 | -ms-flex-align: center; | 6226 | -ms-flex-align: center; |
6213 | align-items: center; | 6227 | align-items: center; |
6214 | gap: 15px; | 6228 | gap: 15px; |
6215 | margin-top: 15px; | 6229 | margin-top: 15px; |
6216 | } | 6230 | } |
6217 | @media (min-width: 768px) { | 6231 | @media (min-width: 768px) { |
6218 | .thing__bottom { | 6232 | .thing__bottom { |
6219 | margin-top: 30px; | 6233 | margin-top: 30px; |
6220 | } | 6234 | } |
6221 | } | 6235 | } |
6222 | .thing__select { | 6236 | .thing__select { |
6223 | width: 100%; | 6237 | width: 100%; |
6224 | max-width: 640px; | 6238 | max-width: 640px; |
6225 | margin-top: 20px; | 6239 | margin-top: 20px; |
6226 | } | 6240 | } |
6227 | @media (min-width: 768px) { | 6241 | @media (min-width: 768px) { |
6228 | .thing__select { | 6242 | .thing__select { |
6229 | margin-top: 30px; | 6243 | margin-top: 30px; |
6230 | } | 6244 | } |
6231 | } | 6245 | } |
6232 | 6246 | ||
6233 | .page-404 { | 6247 | .page-404 { |
6234 | background: url(../images/bg-3.svg) no-repeat 100%/cover; | 6248 | background: url(../images/bg-3.svg) no-repeat 100%/cover; |
6235 | overflow: hidden; | 6249 | overflow: hidden; |
6236 | } | 6250 | } |
6237 | .page-404__body { | 6251 | .page-404__body { |
6238 | display: -webkit-box; | 6252 | display: -webkit-box; |
6239 | display: -ms-flexbox; | 6253 | display: -ms-flexbox; |
6240 | display: flex; | 6254 | display: flex; |
6241 | -webkit-box-orient: vertical; | 6255 | -webkit-box-orient: vertical; |
6242 | -webkit-box-direction: normal; | 6256 | -webkit-box-direction: normal; |
6243 | -ms-flex-direction: column; | 6257 | -ms-flex-direction: column; |
6244 | flex-direction: column; | 6258 | flex-direction: column; |
6245 | -webkit-box-align: center; | 6259 | -webkit-box-align: center; |
6246 | -ms-flex-align: center; | 6260 | -ms-flex-align: center; |
6247 | align-items: center; | 6261 | align-items: center; |
6248 | -webkit-box-pack: center; | 6262 | -webkit-box-pack: center; |
6249 | -ms-flex-pack: center; | 6263 | -ms-flex-pack: center; |
6250 | justify-content: center; | 6264 | justify-content: center; |
6251 | text-align: center; | 6265 | text-align: center; |
6252 | padding: 60px 0; | 6266 | padding: 60px 0; |
6253 | color: #000; | 6267 | color: #000; |
6254 | font-size: 12px; | 6268 | font-size: 12px; |
6255 | gap: 10px; | 6269 | gap: 10px; |
6256 | line-height: 1.4; | 6270 | line-height: 1.4; |
6257 | } | 6271 | } |
6258 | @media (min-width: 768px) { | 6272 | @media (min-width: 768px) { |
6259 | .page-404__body { | 6273 | .page-404__body { |
6260 | font-size: 18px; | 6274 | font-size: 18px; |
6261 | padding: 120px 0; | 6275 | padding: 120px 0; |
6262 | gap: 20px; | 6276 | gap: 20px; |
6263 | } | 6277 | } |
6264 | } | 6278 | } |
6265 | @media (min-width: 1280px) { | 6279 | @media (min-width: 1280px) { |
6266 | .page-404__body { | 6280 | .page-404__body { |
6267 | padding: 180px 0; | 6281 | padding: 180px 0; |
6268 | text-align: left; | 6282 | text-align: left; |
6269 | } | 6283 | } |
6270 | } | 6284 | } |
6271 | .page-404__numb { | 6285 | .page-404__numb { |
6272 | font-size: 114px; | 6286 | font-size: 114px; |
6273 | line-height: 1; | 6287 | line-height: 1; |
6274 | color: #377d87; | 6288 | color: #377d87; |
6275 | font-weight: 700; | 6289 | font-weight: 700; |
6276 | } | 6290 | } |
6277 | @media (min-width: 768px) { | 6291 | @media (min-width: 768px) { |
6278 | .page-404__numb { | 6292 | .page-404__numb { |
6279 | font-size: 184px; | 6293 | font-size: 184px; |
6280 | } | 6294 | } |
6281 | } | 6295 | } |
6282 | @media (min-width: 768px) { | 6296 | @media (min-width: 768px) { |
6283 | .page-404__title { | 6297 | .page-404__title { |
6284 | font-weight: 700; | 6298 | font-weight: 700; |
6285 | font-size: 44px; | 6299 | font-size: 44px; |
6286 | } | 6300 | } |
6287 | } | 6301 | } |
6288 | @media (min-width: 1280px) { | 6302 | @media (min-width: 1280px) { |
6289 | .page-404__title { | 6303 | .page-404__title { |
6290 | width: 710px; | 6304 | width: 710px; |
6291 | position: relative; | 6305 | position: relative; |
6292 | left: 200px; | 6306 | left: 200px; |
6293 | } | 6307 | } |
6294 | } | 6308 | } |
6295 | @media (min-width: 1280px) { | 6309 | @media (min-width: 1280px) { |
6296 | .page-404__subtitle { | 6310 | .page-404__subtitle { |
6297 | width: 710px; | 6311 | width: 710px; |
6298 | position: relative; | 6312 | position: relative; |
6299 | left: 200px; | 6313 | left: 200px; |
6300 | } | 6314 | } |
6301 | } | 6315 | } |
6302 | .page-404__button { | 6316 | .page-404__button { |
6303 | margin-top: 10px; | 6317 | margin-top: 10px; |
6304 | } | 6318 | } |
6305 | @media (min-width: 1280px) { | 6319 | @media (min-width: 1280px) { |
6306 | .page-404__button { | 6320 | .page-404__button { |
6307 | position: relative; | 6321 | position: relative; |
6308 | left: -45px; | 6322 | left: -45px; |
6309 | } | 6323 | } |
6310 | } | 6324 | } |
6311 | 6325 | ||
6312 | .cookies { | 6326 | .cookies { |
6313 | display: none; | 6327 | display: none; |
6314 | -webkit-box-align: end; | 6328 | -webkit-box-align: end; |
6315 | -ms-flex-align: end; | 6329 | -ms-flex-align: end; |
6316 | align-items: flex-end; | 6330 | align-items: flex-end; |
6317 | padding: 10px; | 6331 | padding: 10px; |
6318 | padding-top: 0; | 6332 | padding-top: 0; |
6319 | height: 0; | 6333 | height: 0; |
6320 | position: fixed; | 6334 | position: fixed; |
6321 | z-index: 999; | 6335 | z-index: 999; |
6322 | bottom: 0; | 6336 | bottom: 0; |
6323 | left: 0; | 6337 | left: 0; |
6324 | width: 100%; | 6338 | width: 100%; |
6325 | } | 6339 | } |
6326 | .cookies-is-actived .cookies { | 6340 | .cookies-is-actived .cookies { |
6327 | display: -webkit-box; | 6341 | display: -webkit-box; |
6328 | display: -ms-flexbox; | 6342 | display: -ms-flexbox; |
6329 | display: flex; | 6343 | display: flex; |
6330 | } | 6344 | } |
6331 | .cookies__body { | 6345 | .cookies__body { |
6332 | border-radius: 6px; | 6346 | border-radius: 6px; |
6333 | border: 1px solid #377d87; | 6347 | border: 1px solid #377d87; |
6334 | background: #fff; | 6348 | background: #fff; |
6335 | padding: 15px; | 6349 | padding: 15px; |
6336 | padding-right: 50px; | 6350 | padding-right: 50px; |
6337 | position: relative; | 6351 | position: relative; |
6338 | max-width: 940px; | 6352 | max-width: 940px; |
6339 | margin: 0 auto; | 6353 | margin: 0 auto; |
6340 | } | 6354 | } |
6341 | @media (min-width: 768px) { | 6355 | @media (min-width: 768px) { |
6342 | .cookies__body { | 6356 | .cookies__body { |
6343 | padding: 25px; | 6357 | padding: 25px; |
6344 | padding-right: 50px; | 6358 | padding-right: 50px; |
6345 | border-radius: 12px; | 6359 | border-radius: 12px; |
6346 | } | 6360 | } |
6347 | } | 6361 | } |
6348 | @media (min-width: 992px) { | 6362 | @media (min-width: 992px) { |
6349 | .cookies__body { | 6363 | .cookies__body { |
6350 | padding: 40px 60px; | 6364 | padding: 40px 60px; |
6351 | } | 6365 | } |
6352 | } | 6366 | } |
6353 | .cookies__close { | 6367 | .cookies__close { |
6354 | display: -webkit-box; | 6368 | display: -webkit-box; |
6355 | display: -ms-flexbox; | 6369 | display: -ms-flexbox; |
6356 | display: flex; | 6370 | display: flex; |
6357 | -webkit-box-pack: center; | 6371 | -webkit-box-pack: center; |
6358 | -ms-flex-pack: center; | 6372 | -ms-flex-pack: center; |
6359 | justify-content: center; | 6373 | justify-content: center; |
6360 | -webkit-box-align: center; | 6374 | -webkit-box-align: center; |
6361 | -ms-flex-align: center; | 6375 | -ms-flex-align: center; |
6362 | align-items: center; | 6376 | align-items: center; |
6363 | color: #377d87; | 6377 | color: #377d87; |
6364 | padding: 0; | 6378 | padding: 0; |
6365 | border: none; | 6379 | border: none; |
6366 | background: none; | 6380 | background: none; |
6367 | position: absolute; | 6381 | position: absolute; |
6368 | top: 15px; | 6382 | top: 15px; |
6369 | right: 15px; | 6383 | right: 15px; |
6370 | } | 6384 | } |
6371 | .cookies__close:hover { | 6385 | .cookies__close:hover { |
6372 | color: #000; | 6386 | color: #000; |
6373 | } | 6387 | } |
6374 | .cookies__close svg { | 6388 | .cookies__close svg { |
6375 | width: 16px; | 6389 | width: 16px; |
6376 | height: 16px; | 6390 | height: 16px; |
6377 | } | 6391 | } |
6378 | .cookies__text { | 6392 | .cookies__text { |
6379 | font-size: 12px; | 6393 | font-size: 12px; |
6380 | color: #377d87; | 6394 | color: #377d87; |
6381 | line-height: 1.4; | 6395 | line-height: 1.4; |
6382 | } | 6396 | } |
6383 | @media (min-width: 768px) { | 6397 | @media (min-width: 768px) { |
6384 | .cookies__text { | 6398 | .cookies__text { |
6385 | font-size: 16px; | 6399 | font-size: 16px; |
6386 | font-weight: 700; | 6400 | font-weight: 700; |
6387 | } | 6401 | } |
6388 | } | 6402 | } |
6389 | 6403 | ||
6390 | .fancybox-active { | 6404 | .fancybox-active { |
6391 | overflow: hidden; | 6405 | overflow: hidden; |
6392 | } | 6406 | } |
6393 | .fancybox-is-open .fancybox-bg { | 6407 | .fancybox-is-open .fancybox-bg { |
6394 | background: #080b0b; | 6408 | background: #080b0b; |
6395 | opacity: 0.6; | 6409 | opacity: 0.6; |
6396 | z-index: 9999; | 6410 | z-index: 9999; |
6397 | } | 6411 | } |
6398 | .fancybox-slide { | 6412 | .fancybox-slide { |
6399 | padding: 0; | 6413 | padding: 0; |
6400 | } | 6414 | } |
6401 | @media (min-width: 992px) { | 6415 | @media (min-width: 992px) { |
6402 | .fancybox-slide { | 6416 | .fancybox-slide { |
6403 | padding: 30px; | 6417 | padding: 30px; |
6404 | } | 6418 | } |
6405 | } | 6419 | } |
6406 | .fancybox-slide--html .fancybox-close-small { | 6420 | .fancybox-slide--html .fancybox-close-small { |
6407 | padding: 0; | 6421 | padding: 0; |
6408 | opacity: 1; | 6422 | opacity: 1; |
6409 | color: #377d87; | 6423 | color: #377d87; |
6410 | } | 6424 | } |
6411 | @media (min-width: 768px) { | 6425 | @media (min-width: 768px) { |
6412 | .fancybox-slide--html .fancybox-close-small { | 6426 | .fancybox-slide--html .fancybox-close-small { |
6413 | top: 10px; | 6427 | top: 10px; |
6414 | right: 10px; | 6428 | right: 10px; |
6415 | } | 6429 | } |
6416 | } | 6430 | } |
6417 | .fancybox-slide--html .fancybox-close-small:hover { | 6431 | .fancybox-slide--html .fancybox-close-small:hover { |
6418 | color: #000; | 6432 | color: #000; |
6419 | } | 6433 | } |
6420 | 6434 | ||
6421 | .modal { | 6435 | .modal { |
6422 | width: 100%; | 6436 | width: 100%; |
6423 | max-width: 820px; | 6437 | max-width: 820px; |
6424 | padding: 0; | 6438 | padding: 0; |
6425 | background: #fff; | 6439 | background: #fff; |
6426 | z-index: 99999; | 6440 | z-index: 99999; |
6427 | } | 6441 | } |
6428 | @media (min-width: 992px) { | 6442 | @media (min-width: 992px) { |
6429 | .modal { | 6443 | .modal { |
6430 | border-radius: 10px; | 6444 | border-radius: 10px; |
6431 | border: 1px solid #377d87; | 6445 | border: 1px solid #377d87; |
6432 | } | 6446 | } |
6433 | } | 6447 | } |
6434 | .modal_bg { | 6448 | .modal_bg { |
6435 | 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%; |
6436 | } | 6450 | } |
6437 | @media (min-width: 768px) { | 6451 | @media (min-width: 768px) { |
6438 | .modal_bg { | 6452 | .modal_bg { |
6439 | background-position: 100% 100%; | 6453 | background-position: 100% 100%; |
6440 | } | 6454 | } |
6441 | } | 6455 | } |
6442 | .modal__body { | 6456 | .modal__body { |
6443 | padding: 40px 15px; | 6457 | padding: 40px 15px; |
6444 | padding-bottom: 30px; | 6458 | padding-bottom: 30px; |
6445 | display: -webkit-box; | 6459 | display: -webkit-box; |
6446 | display: -ms-flexbox; | 6460 | display: -ms-flexbox; |
6447 | display: flex; | 6461 | display: flex; |
6448 | -webkit-box-orient: vertical; | 6462 | -webkit-box-orient: vertical; |
6449 | -webkit-box-direction: normal; | 6463 | -webkit-box-direction: normal; |
6450 | -ms-flex-direction: column; | 6464 | -ms-flex-direction: column; |
6451 | flex-direction: column; | 6465 | flex-direction: column; |
6452 | -webkit-box-align: center; | 6466 | -webkit-box-align: center; |
6453 | -ms-flex-align: center; | 6467 | -ms-flex-align: center; |
6454 | align-items: center; | 6468 | align-items: center; |
6455 | -webkit-box-pack: center; | 6469 | -webkit-box-pack: center; |
6456 | -ms-flex-pack: center; | 6470 | -ms-flex-pack: center; |
6457 | justify-content: center; | 6471 | justify-content: center; |
6458 | width: 100%; | 6472 | width: 100%; |
6459 | min-height: 100vh; | 6473 | min-height: 100vh; |
6460 | overflow: hidden; | 6474 | overflow: hidden; |
6461 | font-size: 12px; | 6475 | font-size: 12px; |
6462 | } | 6476 | } |
6463 | @media (min-width: 768px) { | 6477 | @media (min-width: 768px) { |
6464 | .modal__body { | 6478 | .modal__body { |
6465 | font-size: 16px; | 6479 | font-size: 16px; |
6466 | padding-left: 22px; | 6480 | padding-left: 22px; |
6467 | padding-right: 22px; | 6481 | padding-right: 22px; |
6468 | } | 6482 | } |
6469 | } | 6483 | } |
6470 | @media (min-width: 992px) { | 6484 | @media (min-width: 992px) { |
6471 | .modal__body { | 6485 | .modal__body { |
6472 | min-height: 450px; | 6486 | min-height: 450px; |
6473 | padding: 60px 80px; | 6487 | padding: 60px 80px; |
6474 | padding-bottom: 40px; | 6488 | padding-bottom: 40px; |
6475 | } | 6489 | } |
6476 | } | 6490 | } |
6477 | @media (min-width: 768px) { | 6491 | @media (min-width: 768px) { |
6478 | .modal__body .left { | 6492 | .modal__body .left { |
6479 | text-align: left; | 6493 | text-align: left; |
6480 | } | 6494 | } |
6481 | } | 6495 | } |
6482 | .modal__title { | 6496 | .modal__title { |
6483 | width: 100%; | 6497 | width: 100%; |
6484 | font-size: 22px; | 6498 | font-size: 22px; |
6485 | font-weight: 700; | 6499 | font-weight: 700; |
6486 | text-align: center; | 6500 | text-align: center; |
6487 | color: #000; | 6501 | color: #000; |
6488 | } | 6502 | } |
6489 | @media (min-width: 768px) { | 6503 | @media (min-width: 768px) { |
6490 | .modal__title { | 6504 | .modal__title { |
6491 | font-size: 32px; | 6505 | font-size: 32px; |
6492 | } | 6506 | } |
6493 | } | 6507 | } |
6494 | @media (min-width: 992px) { | 6508 | @media (min-width: 992px) { |
6495 | .modal__title { | 6509 | .modal__title { |
6496 | font-size: 44px; | 6510 | font-size: 44px; |
6497 | } | 6511 | } |
6498 | } | 6512 | } |
6499 | .modal__text { | 6513 | .modal__text { |
6500 | width: 100%; | 6514 | width: 100%; |
6501 | text-align: center; | 6515 | text-align: center; |
6502 | margin-top: 10px; | 6516 | margin-top: 10px; |
6503 | color: #000; | 6517 | color: #000; |
6504 | } | 6518 | } |
6505 | @media (min-width: 768px) { | 6519 | @media (min-width: 768px) { |
6506 | .modal__text { | 6520 | .modal__text { |
6507 | margin-top: 20px; | 6521 | margin-top: 20px; |
6508 | } | 6522 | } |
6509 | } | 6523 | } |
6510 | .modal__text span { | 6524 | .modal__text span { |
6511 | color: #9c9d9d; | 6525 | color: #9c9d9d; |
6512 | } | 6526 | } |
6513 | .modal__text a { | 6527 | .modal__text a { |
6514 | font-weight: 700; | 6528 | font-weight: 700; |
6515 | color: #377d87; | 6529 | color: #377d87; |
6516 | } | 6530 | } |
6517 | .modal__text a:hover { | 6531 | .modal__text a:hover { |
6518 | color: #000; | 6532 | color: #000; |
6519 | } | 6533 | } |
6520 | .modal__button { | 6534 | .modal__button { |
6521 | margin-top: 20px; | 6535 | margin-top: 20px; |
6522 | } | 6536 | } |
6523 | @media (min-width: 768px) { | 6537 | @media (min-width: 768px) { |
6524 | .modal__button { | 6538 | .modal__button { |
6525 | min-width: 200px; | 6539 | min-width: 200px; |
6526 | margin-top: 30px; | 6540 | margin-top: 30px; |
6527 | } | 6541 | } |
6528 | } | 6542 | } |
6529 | .modal__buttons { | 6543 | .modal__buttons { |
6530 | display: grid; | 6544 | display: grid; |
6531 | grid-template-columns: repeat(2, 1fr); | 6545 | grid-template-columns: repeat(2, 1fr); |
6532 | gap: 20px; | 6546 | gap: 20px; |
6533 | margin-top: 20px; | 6547 | margin-top: 20px; |
6534 | } | 6548 | } |
6535 | @media (min-width: 768px) { | 6549 | @media (min-width: 768px) { |
6536 | .modal__buttons { | 6550 | .modal__buttons { |
6537 | gap: 30px; | 6551 | gap: 30px; |
6538 | margin-top: 30px; | 6552 | margin-top: 30px; |
6539 | } | 6553 | } |
6540 | } | 6554 | } |
6541 | .modal__form { | 6555 | .modal__form { |
6542 | width: 100%; | 6556 | width: 100%; |
6543 | display: -webkit-box; | 6557 | display: -webkit-box; |
6544 | display: -ms-flexbox; | 6558 | display: -ms-flexbox; |
6545 | display: flex; | 6559 | display: flex; |
6546 | -webkit-box-orient: vertical; | 6560 | -webkit-box-orient: vertical; |
6547 | -webkit-box-direction: normal; | 6561 | -webkit-box-direction: normal; |
6548 | -ms-flex-direction: column; | 6562 | -ms-flex-direction: column; |
6549 | flex-direction: column; | 6563 | flex-direction: column; |
6550 | gap: 16px; | 6564 | gap: 16px; |
6551 | margin-top: 10px; | 6565 | margin-top: 10px; |
6552 | } | 6566 | } |
6553 | @media (min-width: 768px) { | 6567 | @media (min-width: 768px) { |
6554 | .modal__form { | 6568 | .modal__form { |
6555 | margin-top: 20px; | 6569 | margin-top: 20px; |
6556 | } | 6570 | } |
6557 | } | 6571 | } |
6558 | .modal__form-item { | 6572 | .modal__form-item { |
6559 | display: -webkit-box; | 6573 | display: -webkit-box; |
6560 | display: -ms-flexbox; | 6574 | display: -ms-flexbox; |
6561 | display: flex; | 6575 | display: flex; |
6562 | -webkit-box-orient: vertical; | 6576 | -webkit-box-orient: vertical; |
6563 | -webkit-box-direction: normal; | 6577 | -webkit-box-direction: normal; |
6564 | -ms-flex-direction: column; | 6578 | -ms-flex-direction: column; |
6565 | flex-direction: column; | 6579 | flex-direction: column; |
6566 | -webkit-box-align: center; | 6580 | -webkit-box-align: center; |
6567 | -ms-flex-align: center; | 6581 | -ms-flex-align: center; |
6568 | align-items: center; | 6582 | align-items: center; |
6569 | gap: 4px; | 6583 | gap: 4px; |
6570 | } | 6584 | } |
6571 | .modal__form-item > .input { | 6585 | .modal__form-item > .input { |
6572 | width: 100%; | 6586 | width: 100%; |
6573 | } | 6587 | } |
6574 | .modal__form-item > .textarea { | 6588 | .modal__form-item > .textarea { |
6575 | width: 100%; | 6589 | width: 100%; |
6576 | height: 175px; | 6590 | height: 175px; |
6577 | } | 6591 | } |
6578 | @media (min-width: 768px) { | 6592 | @media (min-width: 768px) { |
6579 | .modal__form-item > .textarea { | 6593 | .modal__form-item > .textarea { |
6580 | height: 195px; | 6594 | height: 195px; |
6581 | } | 6595 | } |
6582 | } | 6596 | } |
6583 | .modal__form-item > .file { | 6597 | .modal__form-item > .file { |
6584 | width: 100%; | 6598 | width: 100%; |
6585 | } | 6599 | } |
6586 | .modal__form-item > .button { | 6600 | .modal__form-item > .button { |
6587 | min-width: 120px; | 6601 | min-width: 120px; |
6588 | } | 6602 | } |
6589 | .modal__form-item > label { | 6603 | .modal__form-item > label { |
6590 | width: 100%; | 6604 | width: 100%; |
6591 | display: none; | 6605 | display: none; |
6592 | color: #eb5757; | 6606 | color: #eb5757; |
6593 | padding: 0 10px; | 6607 | padding: 0 10px; |
6594 | font-size: 12px; | 6608 | font-size: 12px; |
6595 | } | 6609 | } |
6596 | @media (min-width: 768px) { | 6610 | @media (min-width: 768px) { |
6597 | .modal__form-item > label { | 6611 | .modal__form-item > label { |
6598 | padding: 0 20px; | 6612 | padding: 0 20px; |
6599 | font-size: 16px; | 6613 | font-size: 16px; |
6600 | } | 6614 | } |
6601 | } | 6615 | } |
6602 | .modal__sign { | 6616 | .modal__sign { |
6603 | display: -webkit-box; | 6617 | display: -webkit-box; |
6604 | display: -ms-flexbox; | 6618 | display: -ms-flexbox; |
6605 | display: flex; | 6619 | display: flex; |
6606 | -webkit-box-orient: vertical; | 6620 | -webkit-box-orient: vertical; |
6607 | -webkit-box-direction: normal; | 6621 | -webkit-box-direction: normal; |
6608 | -ms-flex-direction: column; | 6622 | -ms-flex-direction: column; |
6609 | flex-direction: column; | 6623 | flex-direction: column; |
6610 | gap: 20px; | 6624 | gap: 20px; |
6611 | margin-top: 10px; | 6625 | margin-top: 10px; |
6612 | margin-bottom: 20px; | 6626 | margin-bottom: 20px; |
6613 | width: 100%; | 6627 | width: 100%; |
6614 | } | 6628 | } |
6615 | @media (min-width: 768px) { | 6629 | @media (min-width: 768px) { |
6616 | .modal__sign { | 6630 | .modal__sign { |
6617 | margin-top: 20px; | 6631 | margin-top: 20px; |
6618 | margin-bottom: 40px; | 6632 | margin-bottom: 40px; |
6619 | } | 6633 | } |
6620 | } | 6634 | } |
6621 | .modal__sign-item { | 6635 | .modal__sign-item { |
6622 | display: -webkit-box; | 6636 | display: -webkit-box; |
6623 | display: -ms-flexbox; | 6637 | display: -ms-flexbox; |
6624 | display: flex; | 6638 | display: flex; |
6625 | -webkit-box-orient: vertical; | 6639 | -webkit-box-orient: vertical; |
6626 | -webkit-box-direction: normal; | 6640 | -webkit-box-direction: normal; |
6627 | -ms-flex-direction: column; | 6641 | -ms-flex-direction: column; |
6628 | flex-direction: column; | 6642 | flex-direction: column; |
6629 | -webkit-box-align: center; | 6643 | -webkit-box-align: center; |
6630 | -ms-flex-align: center; | 6644 | -ms-flex-align: center; |
6631 | align-items: center; | 6645 | align-items: center; |
6632 | position: relative; | 6646 | position: relative; |
6633 | } | 6647 | } |
6634 | .modal__sign-item > .input { | 6648 | .modal__sign-item > .input { |
6635 | width: 100%; | 6649 | width: 100%; |
6636 | padding-right: 36px; | 6650 | padding-right: 36px; |
6637 | position: relative; | 6651 | position: relative; |
6638 | z-index: 1; | 6652 | z-index: 1; |
6639 | } | 6653 | } |
6640 | @media (min-width: 768px) { | 6654 | @media (min-width: 768px) { |
6641 | .modal__sign-item > .input { | 6655 | .modal__sign-item > .input { |
6642 | height: 52px; | 6656 | height: 52px; |
6643 | padding-right: 60px; | 6657 | padding-right: 60px; |
6644 | } | 6658 | } |
6645 | } | 6659 | } |
6646 | .modal__sign-item > .textarea { | 6660 | .modal__sign-item > .textarea { |
6647 | width: 100%; | 6661 | width: 100%; |
6648 | } | 6662 | } |
6649 | .modal__sign-bottom { | 6663 | .modal__sign-bottom { |
6650 | display: -webkit-box; | 6664 | display: -webkit-box; |
6651 | display: -ms-flexbox; | 6665 | display: -ms-flexbox; |
6652 | display: flex; | 6666 | display: flex; |
6653 | -webkit-box-pack: justify; | 6667 | -webkit-box-pack: justify; |
6654 | -ms-flex-pack: justify; | 6668 | -ms-flex-pack: justify; |
6655 | justify-content: space-between; | 6669 | justify-content: space-between; |
6656 | -webkit-box-align: center; | 6670 | -webkit-box-align: center; |
6657 | -ms-flex-align: center; | 6671 | -ms-flex-align: center; |
6658 | align-items: center; | 6672 | align-items: center; |
6659 | width: 100%; | 6673 | width: 100%; |
6660 | } | 6674 | } |
6661 | .modal__sign-bottom-link { | 6675 | .modal__sign-bottom-link { |
6662 | font-weight: 700; | 6676 | font-weight: 700; |
6663 | color: #377d87; | 6677 | color: #377d87; |
6664 | } | 6678 | } |
6665 | .modal__tabs { | 6679 | .modal__tabs { |
6666 | width: 100%; | 6680 | width: 100%; |
6667 | display: grid; | 6681 | display: grid; |
6668 | grid-template-columns: repeat(2, 1fr); | 6682 | grid-template-columns: repeat(2, 1fr); |
6669 | gap: 16px; | 6683 | gap: 16px; |
6670 | margin-top: 10px; | 6684 | margin-top: 10px; |
6671 | } | 6685 | } |
6672 | @media (min-width: 768px) { | 6686 | @media (min-width: 768px) { |
6673 | .modal__tabs { | 6687 | .modal__tabs { |
6674 | gap: 24px; | 6688 | gap: 24px; |
6675 | margin-top: 20px; | 6689 | margin-top: 20px; |
6676 | } | 6690 | } |
6677 | } | 6691 | } |
6678 | .modal__tabs-item.active { | 6692 | .modal__tabs-item.active { |
6679 | background: #377d87; | 6693 | background: #377d87; |
6680 | color: #fff; | 6694 | color: #fff; |
6681 | } | 6695 | } |
6682 | .modal__reg { | 6696 | .modal__reg { |
6683 | display: none; | 6697 | display: none; |
6684 | -webkit-box-orient: vertical; | 6698 | -webkit-box-orient: vertical; |
6685 | -webkit-box-direction: normal; | 6699 | -webkit-box-direction: normal; |
6686 | -ms-flex-direction: column; | 6700 | -ms-flex-direction: column; |
6687 | flex-direction: column; | 6701 | flex-direction: column; |
6688 | -webkit-box-align: center; | 6702 | -webkit-box-align: center; |
6689 | -ms-flex-align: center; | 6703 | -ms-flex-align: center; |
6690 | align-items: center; | 6704 | align-items: center; |
6691 | gap: 10px; | 6705 | gap: 10px; |
6692 | width: 100%; | 6706 | width: 100%; |
6693 | margin-top: 10px; | 6707 | margin-top: 10px; |
6694 | margin-bottom: 20px; | 6708 | margin-bottom: 20px; |
6695 | } | 6709 | } |
6696 | @media (min-width: 768px) { | 6710 | @media (min-width: 768px) { |
6697 | .modal__reg { | 6711 | .modal__reg { |
6698 | margin-top: 20px; | 6712 | margin-top: 20px; |
6699 | margin-bottom: 30px; | 6713 | margin-bottom: 30px; |
6700 | gap: 20px; | 6714 | gap: 20px; |
6701 | } | 6715 | } |
6702 | } | 6716 | } |
6703 | .modal__reg.showed { | 6717 | .modal__reg.showed { |
6704 | display: -webkit-box; | 6718 | display: -webkit-box; |
6705 | display: -ms-flexbox; | 6719 | display: -ms-flexbox; |
6706 | display: flex; | 6720 | display: flex; |
6707 | } | 6721 | } |
6708 | .modal__reg-item { | 6722 | .modal__reg-item { |
6709 | width: 100%; | 6723 | width: 100%; |
6710 | display: -webkit-box; | 6724 | display: -webkit-box; |
6711 | display: -ms-flexbox; | 6725 | display: -ms-flexbox; |
6712 | display: flex; | 6726 | display: flex; |
6713 | -webkit-box-orient: vertical; | 6727 | -webkit-box-orient: vertical; |
6714 | -webkit-box-direction: normal; | 6728 | -webkit-box-direction: normal; |
6715 | -ms-flex-direction: column; | 6729 | -ms-flex-direction: column; |
6716 | flex-direction: column; | 6730 | flex-direction: column; |
6717 | } | 6731 | } |
6718 | .modal__reg-item > .captcha { | 6732 | .modal__reg-item > .captcha { |
6719 | width: 100%; | 6733 | width: 100%; |
6720 | max-width: 300px; | 6734 | max-width: 300px; |
6721 | } | 6735 | } |
6722 | 6736 | ||
6723 | .messages { | 6737 | .messages { |
6724 | display: -webkit-box; | 6738 | display: -webkit-box; |
6725 | display: -ms-flexbox; | 6739 | display: -ms-flexbox; |
6726 | display: flex; | 6740 | display: flex; |
6727 | -webkit-box-orient: vertical; | 6741 | -webkit-box-orient: vertical; |
6728 | -webkit-box-direction: reverse; | 6742 | -webkit-box-direction: reverse; |
6729 | -ms-flex-direction: column-reverse; | 6743 | -ms-flex-direction: column-reverse; |
6730 | flex-direction: column-reverse; | 6744 | flex-direction: column-reverse; |
6731 | -webkit-box-align: center; | 6745 | -webkit-box-align: center; |
6732 | -ms-flex-align: center; | 6746 | -ms-flex-align: center; |
6733 | align-items: center; | 6747 | align-items: center; |
6734 | gap: 20px; | 6748 | gap: 20px; |
6735 | } | 6749 | } |
6736 | .messages__body { | 6750 | .messages__body { |
6737 | display: -webkit-box; | 6751 | display: -webkit-box; |
6738 | display: -ms-flexbox; | 6752 | display: -ms-flexbox; |
6739 | display: flex; | 6753 | display: flex; |
6740 | -webkit-box-orient: vertical; | 6754 | -webkit-box-orient: vertical; |
6741 | -webkit-box-direction: normal; | 6755 | -webkit-box-direction: normal; |
6742 | -ms-flex-direction: column; | 6756 | -ms-flex-direction: column; |
6743 | flex-direction: column; | 6757 | flex-direction: column; |
6744 | gap: 10px; | 6758 | gap: 10px; |
6745 | width: 100%; | 6759 | width: 100%; |
6746 | } | 6760 | } |
6747 | @media (min-width: 768px) { | 6761 | @media (min-width: 768px) { |
6748 | .messages__body { | 6762 | .messages__body { |
6749 | gap: 20px; | 6763 | gap: 20px; |
6750 | } | 6764 | } |
6751 | } | 6765 | } |
6752 | .messages__item { | 6766 | .messages__item { |
6753 | display: none; | 6767 | display: none; |
6754 | -webkit-box-align: center; | 6768 | -webkit-box-align: center; |
6755 | -ms-flex-align: center; | 6769 | -ms-flex-align: center; |
6756 | align-items: center; | 6770 | align-items: center; |
6757 | border-radius: 8px; | 6771 | border-radius: 8px; |
6758 | border: 1px solid #e7e7e7; | 6772 | border: 1px solid #e7e7e7; |
6759 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 6773 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
6760 | padding: 10px; | 6774 | padding: 10px; |
6761 | font-size: 12px; | 6775 | font-size: 12px; |
6762 | } | 6776 | } |
6763 | @media (min-width: 768px) { | 6777 | @media (min-width: 768px) { |
6764 | .messages__item { | 6778 | .messages__item { |
6765 | padding: 20px; | 6779 | padding: 20px; |
6766 | font-size: 16px; | 6780 | font-size: 16px; |
6767 | } | 6781 | } |
6768 | } | 6782 | } |
6769 | .messages__item:nth-of-type(1), .messages__item:nth-of-type(2), .messages__item:nth-of-type(3), .messages__item:nth-of-type(4), .messages__item:nth-of-type(5), .messages__item:nth-of-type(6) { | 6783 | .messages__item:nth-of-type(1), .messages__item:nth-of-type(2), .messages__item:nth-of-type(3), .messages__item:nth-of-type(4), .messages__item:nth-of-type(5), .messages__item:nth-of-type(6) { |
6770 | display: -webkit-box; | 6784 | display: -webkit-box; |
6771 | display: -ms-flexbox; | 6785 | display: -ms-flexbox; |
6772 | display: flex; | 6786 | display: flex; |
6773 | } | 6787 | } |
6774 | .messages__item-info { | 6788 | .messages__item-info { |
6775 | display: -webkit-box; | 6789 | display: -webkit-box; |
6776 | display: -ms-flexbox; | 6790 | display: -ms-flexbox; |
6777 | display: flex; | 6791 | display: flex; |
6778 | -webkit-box-align: center; | 6792 | -webkit-box-align: center; |
6779 | -ms-flex-align: center; | 6793 | -ms-flex-align: center; |
6780 | align-items: center; | 6794 | align-items: center; |
6781 | width: calc(100% - 90px); | 6795 | width: calc(100% - 90px); |
6782 | } | 6796 | } |
6783 | @media (min-width: 768px) { | 6797 | @media (min-width: 768px) { |
6784 | .messages__item-info { | 6798 | .messages__item-info { |
6785 | width: calc(100% - 150px); | 6799 | width: calc(100% - 150px); |
6786 | } | 6800 | } |
6787 | } | 6801 | } |
6788 | .messages__item-photo { | 6802 | .messages__item-photo { |
6789 | position: relative; | 6803 | position: relative; |
6790 | aspect-ratio: 1/1; | 6804 | aspect-ratio: 1/1; |
6791 | overflow: hidden; | 6805 | overflow: hidden; |
6792 | background: #9c9d9d; | 6806 | background: #9c9d9d; |
6793 | color: #fff; | 6807 | color: #fff; |
6794 | width: 36px; | 6808 | width: 36px; |
6795 | border-radius: 6px; | 6809 | border-radius: 6px; |
6796 | display: -webkit-box; | 6810 | display: -webkit-box; |
6797 | display: -ms-flexbox; | 6811 | display: -ms-flexbox; |
6798 | display: flex; | 6812 | display: flex; |
6799 | -webkit-box-pack: center; | 6813 | -webkit-box-pack: center; |
6800 | -ms-flex-pack: center; | 6814 | -ms-flex-pack: center; |
6801 | justify-content: center; | 6815 | justify-content: center; |
6802 | -webkit-box-align: center; | 6816 | -webkit-box-align: center; |
6803 | -ms-flex-align: center; | 6817 | -ms-flex-align: center; |
6804 | align-items: center; | 6818 | align-items: center; |
6805 | } | 6819 | } |
6806 | @media (min-width: 768px) { | 6820 | @media (min-width: 768px) { |
6807 | .messages__item-photo { | 6821 | .messages__item-photo { |
6808 | width: 52px; | 6822 | width: 52px; |
6809 | } | 6823 | } |
6810 | } | 6824 | } |
6811 | .messages__item-photo svg { | 6825 | .messages__item-photo svg { |
6812 | width: 50%; | 6826 | width: 50%; |
6813 | position: relative; | 6827 | position: relative; |
6814 | z-index: 1; | 6828 | z-index: 1; |
6815 | } | 6829 | } |
6816 | .messages__item-photo img { | 6830 | .messages__item-photo img { |
6817 | position: absolute; | 6831 | position: absolute; |
6818 | z-index: 2; | 6832 | z-index: 2; |
6819 | top: 0; | 6833 | top: 0; |
6820 | left: 0; | 6834 | left: 0; |
6821 | width: 100%; | 6835 | width: 100%; |
6822 | height: 100%; | 6836 | height: 100%; |
6823 | -o-object-fit: cover; | 6837 | -o-object-fit: cover; |
6824 | object-fit: cover; | 6838 | object-fit: cover; |
6825 | } | 6839 | } |
6826 | .messages__item-text { | 6840 | .messages__item-text { |
6827 | width: calc(100% - 36px); | 6841 | width: calc(100% - 36px); |
6828 | padding-left: 6px; | 6842 | padding-left: 6px; |
6829 | color: #000; | 6843 | color: #000; |
6830 | display: -webkit-box; | 6844 | display: -webkit-box; |
6831 | display: -ms-flexbox; | 6845 | display: -ms-flexbox; |
6832 | display: flex; | 6846 | display: flex; |
6833 | -webkit-box-orient: vertical; | 6847 | -webkit-box-orient: vertical; |
6834 | -webkit-box-direction: normal; | 6848 | -webkit-box-direction: normal; |
6835 | -ms-flex-direction: column; | 6849 | -ms-flex-direction: column; |
6836 | flex-direction: column; | 6850 | flex-direction: column; |
6837 | gap: 4px; | 6851 | gap: 4px; |
6838 | } | 6852 | } |
6839 | @media (min-width: 768px) { | 6853 | @media (min-width: 768px) { |
6840 | .messages__item-text { | 6854 | .messages__item-text { |
6841 | padding-left: 20px; | 6855 | padding-left: 20px; |
6842 | width: calc(100% - 52px); | 6856 | width: calc(100% - 52px); |
6843 | gap: 8px; | 6857 | gap: 8px; |
6844 | } | 6858 | } |
6845 | } | 6859 | } |
6846 | .messages__item-text span { | 6860 | .messages__item-text span { |
6847 | color: #000; | 6861 | color: #000; |
6848 | } | 6862 | } |
6849 | .messages__item-date { | 6863 | .messages__item-date { |
6850 | color: #000; | 6864 | color: #000; |
6851 | width: 90px; | 6865 | width: 90px; |
6852 | text-align: right; | 6866 | text-align: right; |
6853 | } | 6867 | } |
6854 | @media (min-width: 768px) { | 6868 | @media (min-width: 768px) { |
6855 | .messages__item-date { | 6869 | .messages__item-date { |
6856 | width: 150px; | 6870 | width: 150px; |
6857 | } | 6871 | } |
6858 | } | 6872 | } |
6859 | .messages.active .messages__item { | 6873 | .messages.active .messages__item { |
6860 | display: -webkit-box; | 6874 | display: -webkit-box; |
6861 | display: -ms-flexbox; | 6875 | display: -ms-flexbox; |
6862 | display: flex; | 6876 | display: flex; |
6863 | } | 6877 | } |
6864 | 6878 | ||
6865 | .responses { | 6879 | .responses { |
6866 | display: -webkit-box; | 6880 | display: -webkit-box; |
6867 | display: -ms-flexbox; | 6881 | display: -ms-flexbox; |
6868 | display: flex; | 6882 | display: flex; |
6869 | -webkit-box-orient: vertical; | 6883 | -webkit-box-orient: vertical; |
6870 | -webkit-box-direction: reverse; | 6884 | -webkit-box-direction: reverse; |
6871 | -ms-flex-direction: column-reverse; | 6885 | -ms-flex-direction: column-reverse; |
6872 | flex-direction: column-reverse; | 6886 | flex-direction: column-reverse; |
6873 | -webkit-box-align: center; | 6887 | -webkit-box-align: center; |
6874 | -ms-flex-align: center; | 6888 | -ms-flex-align: center; |
6875 | align-items: center; | 6889 | align-items: center; |
6876 | gap: 20px; | 6890 | gap: 20px; |
6877 | } | 6891 | } |
6878 | .responses__body { | 6892 | .responses__body { |
6879 | width: 100%; | 6893 | width: 100%; |
6880 | display: -webkit-box; | 6894 | display: -webkit-box; |
6881 | display: -ms-flexbox; | 6895 | display: -ms-flexbox; |
6882 | display: flex; | 6896 | display: flex; |
6883 | -webkit-box-orient: vertical; | 6897 | -webkit-box-orient: vertical; |
6884 | -webkit-box-direction: normal; | 6898 | -webkit-box-direction: normal; |
6885 | -ms-flex-direction: column; | 6899 | -ms-flex-direction: column; |
6886 | flex-direction: column; | 6900 | flex-direction: column; |
6887 | gap: 20px; | 6901 | gap: 20px; |
6888 | } | 6902 | } |
6889 | .responses__item { | 6903 | .responses__item { |
6890 | display: none; | 6904 | display: none; |
6891 | -webkit-box-orient: vertical; | 6905 | -webkit-box-orient: vertical; |
6892 | -webkit-box-direction: normal; | 6906 | -webkit-box-direction: normal; |
6893 | -ms-flex-direction: column; | 6907 | -ms-flex-direction: column; |
6894 | flex-direction: column; | 6908 | flex-direction: column; |
6895 | gap: 20px; | 6909 | gap: 20px; |
6896 | border-radius: 8px; | 6910 | border-radius: 8px; |
6897 | border: 1px solid #e7e7e7; | 6911 | border: 1px solid #e7e7e7; |
6898 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 6912 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
6899 | padding: 20px 10px; | 6913 | padding: 20px 10px; |
6900 | font-size: 12px; | 6914 | font-size: 12px; |
6901 | position: relative; | 6915 | position: relative; |
6902 | } | 6916 | } |
6903 | @media (min-width: 768px) { | 6917 | @media (min-width: 768px) { |
6904 | .responses__item { | 6918 | .responses__item { |
6905 | padding: 20px; | 6919 | padding: 20px; |
6906 | font-size: 16px; | 6920 | font-size: 16px; |
6907 | } | 6921 | } |
6908 | } | 6922 | } |
6909 | .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) { | 6923 | .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) { |
6910 | display: -webkit-box; | 6924 | display: -webkit-box; |
6911 | display: -ms-flexbox; | 6925 | display: -ms-flexbox; |
6912 | display: flex; | 6926 | display: flex; |
6913 | } | 6927 | } |
6914 | .responses__item-date { | 6928 | .responses__item-date { |
6915 | color: #000; | 6929 | color: #000; |
6916 | } | 6930 | } |
6917 | @media (min-width: 992px) { | 6931 | @media (min-width: 992px) { |
6918 | .responses__item-date { | 6932 | .responses__item-date { |
6919 | position: absolute; | 6933 | position: absolute; |
6920 | top: 20px; | 6934 | top: 20px; |
6921 | right: 20px; | 6935 | right: 20px; |
6922 | } | 6936 | } |
6923 | } | 6937 | } |
6924 | .responses__item-wrapper { | 6938 | .responses__item-wrapper { |
6925 | display: -webkit-box; | 6939 | display: -webkit-box; |
6926 | display: -ms-flexbox; | 6940 | display: -ms-flexbox; |
6927 | display: flex; | 6941 | display: flex; |
6928 | -webkit-box-orient: vertical; | 6942 | -webkit-box-orient: vertical; |
6929 | -webkit-box-direction: normal; | 6943 | -webkit-box-direction: normal; |
6930 | -ms-flex-direction: column; | 6944 | -ms-flex-direction: column; |
6931 | flex-direction: column; | 6945 | flex-direction: column; |
6932 | gap: 20px; | 6946 | gap: 20px; |
6933 | } | 6947 | } |
6934 | .responses__item-inner { | 6948 | .responses__item-inner { |
6935 | display: -webkit-box; | 6949 | display: -webkit-box; |
6936 | display: -ms-flexbox; | 6950 | display: -ms-flexbox; |
6937 | display: flex; | 6951 | display: flex; |
6938 | -webkit-box-orient: vertical; | 6952 | -webkit-box-orient: vertical; |
6939 | -webkit-box-direction: normal; | 6953 | -webkit-box-direction: normal; |
6940 | -ms-flex-direction: column; | 6954 | -ms-flex-direction: column; |
6941 | flex-direction: column; | 6955 | flex-direction: column; |
6942 | gap: 10px; | 6956 | gap: 10px; |
6943 | } | 6957 | } |
6944 | @media (min-width: 768px) { | 6958 | @media (min-width: 768px) { |
6945 | .responses__item-inner { | 6959 | .responses__item-inner { |
6946 | gap: 20px; | 6960 | gap: 20px; |
6947 | } | 6961 | } |
6948 | } | 6962 | } |
6949 | @media (min-width: 1280px) { | 6963 | @media (min-width: 1280px) { |
6950 | .responses__item-inner { | 6964 | .responses__item-inner { |
6951 | width: calc(100% - 150px); | 6965 | width: calc(100% - 150px); |
6952 | } | 6966 | } |
6953 | } | 6967 | } |
6954 | .responses__item-row { | 6968 | .responses__item-row { |
6955 | display: grid; | 6969 | display: grid; |
6956 | grid-template-columns: 1fr 1fr; | 6970 | grid-template-columns: 1fr 1fr; |
6957 | gap: 20px; | 6971 | gap: 20px; |
6958 | color: #000; | 6972 | color: #000; |
6959 | text-align: right; | 6973 | text-align: right; |
6960 | } | 6974 | } |
6961 | @media (min-width: 992px) { | 6975 | @media (min-width: 992px) { |
6962 | .responses__item-row { | 6976 | .responses__item-row { |
6963 | display: -webkit-box; | 6977 | display: -webkit-box; |
6964 | display: -ms-flexbox; | 6978 | display: -ms-flexbox; |
6965 | display: flex; | 6979 | display: flex; |
6966 | -webkit-box-orient: vertical; | 6980 | -webkit-box-orient: vertical; |
6967 | -webkit-box-direction: normal; | 6981 | -webkit-box-direction: normal; |
6968 | -ms-flex-direction: column; | 6982 | -ms-flex-direction: column; |
6969 | flex-direction: column; | 6983 | flex-direction: column; |
6970 | gap: 6px; | 6984 | gap: 6px; |
6971 | text-align: left; | 6985 | text-align: left; |
6972 | } | 6986 | } |
6973 | } | 6987 | } |
6974 | .responses__item-row span { | 6988 | .responses__item-row span { |
6975 | color: #000; | 6989 | color: #000; |
6976 | text-align: left; | 6990 | text-align: left; |
6977 | } | 6991 | } |
6978 | .responses__item-buttons { | 6992 | .responses__item-buttons { |
6979 | display: -webkit-box; | 6993 | display: -webkit-box; |
6980 | display: -ms-flexbox; | 6994 | display: -ms-flexbox; |
6981 | display: flex; | 6995 | display: flex; |
6982 | -webkit-box-orient: vertical; | 6996 | -webkit-box-orient: vertical; |
6983 | -webkit-box-direction: normal; | 6997 | -webkit-box-direction: normal; |
6984 | -ms-flex-direction: column; | 6998 | -ms-flex-direction: column; |
6985 | flex-direction: column; | 6999 | flex-direction: column; |
6986 | gap: 10px; | 7000 | gap: 10px; |
6987 | } | 7001 | } |
6988 | @media (min-width: 768px) { | 7002 | @media (min-width: 768px) { |
6989 | .responses__item-buttons { | 7003 | .responses__item-buttons { |
6990 | display: grid; | 7004 | display: grid; |
6991 | grid-template-columns: 1fr 1fr; | 7005 | grid-template-columns: 1fr 1fr; |
6992 | } | 7006 | } |
6993 | } | 7007 | } |
6994 | @media (min-width: 1280px) { | 7008 | @media (min-width: 1280px) { |
6995 | .responses__item-buttons { | 7009 | .responses__item-buttons { |
6996 | grid-template-columns: 1fr 1fr 1fr 1fr; | 7010 | grid-template-columns: 1fr 1fr 1fr 1fr; |
6997 | } | 7011 | } |
6998 | } | 7012 | } |
6999 | .responses__item-buttons .button.active { | 7013 | .responses__item-buttons .button.active { |
7000 | background: #377d87; | 7014 | background: #377d87; |
7001 | color: #fff; | 7015 | color: #fff; |
7002 | } | 7016 | } |
7003 | .responses.active .responses__item { | 7017 | .responses.active .responses__item { |
7004 | display: -webkit-box; | 7018 | display: -webkit-box; |
7005 | display: -ms-flexbox; | 7019 | display: -ms-flexbox; |
7006 | display: flex; | 7020 | display: flex; |
7007 | } | 7021 | } |
7008 | 7022 | ||
7009 | .chatbox { | 7023 | .chatbox { |
7010 | display: -webkit-box; | 7024 | display: -webkit-box; |
7011 | display: -ms-flexbox; | 7025 | display: -ms-flexbox; |
7012 | display: flex; | 7026 | display: flex; |
7013 | -webkit-box-orient: vertical; | 7027 | -webkit-box-orient: vertical; |
7014 | -webkit-box-direction: normal; | 7028 | -webkit-box-direction: normal; |
7015 | -ms-flex-direction: column; | 7029 | -ms-flex-direction: column; |
7016 | flex-direction: column; | 7030 | flex-direction: column; |
7017 | gap: 20px; | 7031 | gap: 20px; |
7018 | } | 7032 | } |
7019 | @media (min-width: 768px) { | 7033 | @media (min-width: 768px) { |
7020 | .chatbox { | 7034 | .chatbox { |
7021 | gap: 30px; | 7035 | gap: 30px; |
7022 | } | 7036 | } |
7023 | } | 7037 | } |
7024 | @media (min-width: 1280px) { | 7038 | @media (min-width: 1280px) { |
7025 | .chatbox { | 7039 | .chatbox { |
7026 | gap: 40px; | 7040 | gap: 40px; |
7027 | } | 7041 | } |
7028 | } | 7042 | } |
7029 | .chatbox__toper { | 7043 | .chatbox__toper { |
7030 | display: -webkit-box; | 7044 | display: -webkit-box; |
7031 | display: -ms-flexbox; | 7045 | display: -ms-flexbox; |
7032 | display: flex; | 7046 | display: flex; |
7033 | -webkit-box-orient: vertical; | 7047 | -webkit-box-orient: vertical; |
7034 | -webkit-box-direction: normal; | 7048 | -webkit-box-direction: normal; |
7035 | -ms-flex-direction: column; | 7049 | -ms-flex-direction: column; |
7036 | flex-direction: column; | 7050 | flex-direction: column; |
7037 | gap: 10px; | 7051 | gap: 10px; |
7038 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 7052 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
7039 | border: 1px solid #e7e7e7; | 7053 | border: 1px solid #e7e7e7; |
7040 | border-radius: 8px; | 7054 | border-radius: 8px; |
7041 | padding: 10px; | 7055 | padding: 10px; |
7042 | } | 7056 | } |
7043 | @media (min-width: 768px) { | 7057 | @media (min-width: 768px) { |
7044 | .chatbox__toper { | 7058 | .chatbox__toper { |
7045 | padding: 20px; | 7059 | padding: 20px; |
7046 | -webkit-box-orient: horizontal; | 7060 | -webkit-box-orient: horizontal; |
7047 | -webkit-box-direction: normal; | 7061 | -webkit-box-direction: normal; |
7048 | -ms-flex-direction: row; | 7062 | -ms-flex-direction: row; |
7049 | flex-direction: row; | 7063 | flex-direction: row; |
7050 | -webkit-box-align: center; | 7064 | -webkit-box-align: center; |
7051 | -ms-flex-align: center; | 7065 | -ms-flex-align: center; |
7052 | align-items: center; | 7066 | align-items: center; |
7053 | -webkit-box-pack: justify; | 7067 | -webkit-box-pack: justify; |
7054 | -ms-flex-pack: justify; | 7068 | -ms-flex-pack: justify; |
7055 | justify-content: space-between; | 7069 | justify-content: space-between; |
7056 | } | 7070 | } |
7057 | } | 7071 | } |
7058 | .chatbox__toper-info { | 7072 | .chatbox__toper-info { |
7059 | font-size: 12px; | 7073 | font-size: 12px; |
7060 | } | 7074 | } |
7061 | @media (min-width: 768px) { | 7075 | @media (min-width: 768px) { |
7062 | .chatbox__toper-info { | 7076 | .chatbox__toper-info { |
7063 | font-size: 16px; | 7077 | font-size: 16px; |
7064 | width: calc(100% - 230px); | 7078 | width: calc(100% - 230px); |
7065 | } | 7079 | } |
7066 | } | 7080 | } |
7067 | @media (min-width: 768px) { | 7081 | @media (min-width: 768px) { |
7068 | .chatbox__toper-button { | 7082 | .chatbox__toper-button { |
7069 | width: 210px; | 7083 | width: 210px; |
7070 | padding: 0; | 7084 | padding: 0; |
7071 | } | 7085 | } |
7072 | } | 7086 | } |
7073 | .chatbox__list { | 7087 | .chatbox__list { |
7074 | display: -webkit-box; | 7088 | display: -webkit-box; |
7075 | display: -ms-flexbox; | 7089 | display: -ms-flexbox; |
7076 | display: flex; | 7090 | display: flex; |
7077 | -webkit-box-orient: vertical; | 7091 | -webkit-box-orient: vertical; |
7078 | -webkit-box-direction: normal; | 7092 | -webkit-box-direction: normal; |
7079 | -ms-flex-direction: column; | 7093 | -ms-flex-direction: column; |
7080 | flex-direction: column; | 7094 | flex-direction: column; |
7081 | gap: 10px; | 7095 | gap: 10px; |
7082 | } | 7096 | } |
7083 | @media (min-width: 768px) { | 7097 | @media (min-width: 768px) { |
7084 | .chatbox__list { | 7098 | .chatbox__list { |
7085 | gap: 20px; | 7099 | gap: 20px; |
7086 | } | 7100 | } |
7087 | } | 7101 | } |
7088 | @media (min-width: 1280px) { | 7102 | @media (min-width: 1280px) { |
7089 | .chatbox__list { | 7103 | .chatbox__list { |
7090 | gap: 40px; | 7104 | gap: 40px; |
7091 | } | 7105 | } |
7092 | } | 7106 | } |
7093 | .chatbox__item { | 7107 | .chatbox__item { |
7094 | display: -webkit-box; | 7108 | display: -webkit-box; |
7095 | display: -ms-flexbox; | 7109 | display: -ms-flexbox; |
7096 | display: flex; | 7110 | display: flex; |
7097 | -webkit-box-align: start; | 7111 | -webkit-box-align: start; |
7098 | -ms-flex-align: start; | 7112 | -ms-flex-align: start; |
7099 | align-items: flex-start; | 7113 | align-items: flex-start; |
7100 | -webkit-box-pack: justify; | 7114 | -webkit-box-pack: justify; |
7101 | -ms-flex-pack: justify; | 7115 | -ms-flex-pack: justify; |
7102 | justify-content: space-between; | 7116 | justify-content: space-between; |
7103 | -ms-flex-wrap: wrap; | 7117 | -ms-flex-wrap: wrap; |
7104 | flex-wrap: wrap; | 7118 | flex-wrap: wrap; |
7105 | color: #000; | 7119 | color: #000; |
7106 | font-size: 12px; | 7120 | font-size: 12px; |
7107 | } | 7121 | } |
7108 | @media (min-width: 768px) { | 7122 | @media (min-width: 768px) { |
7109 | .chatbox__item { | 7123 | .chatbox__item { |
7110 | font-size: 16px; | 7124 | font-size: 16px; |
7111 | } | 7125 | } |
7112 | } | 7126 | } |
7113 | .chatbox__item_reverse { | 7127 | .chatbox__item_reverse { |
7114 | -webkit-box-orient: horizontal; | 7128 | -webkit-box-orient: horizontal; |
7115 | -webkit-box-direction: reverse; | 7129 | -webkit-box-direction: reverse; |
7116 | -ms-flex-direction: row-reverse; | 7130 | -ms-flex-direction: row-reverse; |
7117 | flex-direction: row-reverse; | 7131 | flex-direction: row-reverse; |
7118 | } | 7132 | } |
7119 | .chatbox__item-photo { | 7133 | .chatbox__item-photo { |
7120 | position: relative; | 7134 | position: relative; |
7121 | aspect-ratio: 1/1; | 7135 | aspect-ratio: 1/1; |
7122 | overflow: hidden; | 7136 | overflow: hidden; |
7123 | background: #9c9d9d; | 7137 | background: #9c9d9d; |
7124 | color: #fff; | 7138 | color: #fff; |
7125 | width: 44px; | 7139 | width: 44px; |
7126 | border-radius: 6px; | 7140 | border-radius: 6px; |
7127 | display: -webkit-box; | 7141 | display: -webkit-box; |
7128 | display: -ms-flexbox; | 7142 | display: -ms-flexbox; |
7129 | display: flex; | 7143 | display: flex; |
7130 | -webkit-box-pack: center; | 7144 | -webkit-box-pack: center; |
7131 | -ms-flex-pack: center; | 7145 | -ms-flex-pack: center; |
7132 | justify-content: center; | 7146 | justify-content: center; |
7133 | -webkit-box-align: center; | 7147 | -webkit-box-align: center; |
7134 | -ms-flex-align: center; | 7148 | -ms-flex-align: center; |
7135 | align-items: center; | 7149 | align-items: center; |
7136 | } | 7150 | } |
7137 | .chatbox__item-photo svg { | 7151 | .chatbox__item-photo svg { |
7138 | width: 50%; | 7152 | width: 50%; |
7139 | position: relative; | 7153 | position: relative; |
7140 | z-index: 1; | 7154 | z-index: 1; |
7141 | } | 7155 | } |
7142 | .chatbox__item-photo img { | 7156 | .chatbox__item-photo img { |
7143 | position: absolute; | 7157 | position: absolute; |
7144 | z-index: 2; | 7158 | z-index: 2; |
7145 | top: 0; | 7159 | top: 0; |
7146 | left: 0; | 7160 | left: 0; |
7147 | width: 100%; | 7161 | width: 100%; |
7148 | height: 100%; | 7162 | height: 100%; |
7149 | -o-object-fit: cover; | 7163 | -o-object-fit: cover; |
7150 | object-fit: cover; | 7164 | object-fit: cover; |
7151 | } | 7165 | } |
7152 | .chatbox__item-body { | 7166 | .chatbox__item-body { |
7153 | width: calc(100% - 54px); | 7167 | width: calc(100% - 54px); |
7154 | display: -webkit-box; | 7168 | display: -webkit-box; |
7155 | display: -ms-flexbox; | 7169 | display: -ms-flexbox; |
7156 | display: flex; | 7170 | display: flex; |
7157 | -webkit-box-orient: vertical; | 7171 | -webkit-box-orient: vertical; |
7158 | -webkit-box-direction: normal; | 7172 | -webkit-box-direction: normal; |
7159 | -ms-flex-direction: column; | 7173 | -ms-flex-direction: column; |
7160 | flex-direction: column; | 7174 | flex-direction: column; |
7161 | -webkit-box-align: start; | 7175 | -webkit-box-align: start; |
7162 | -ms-flex-align: start; | 7176 | -ms-flex-align: start; |
7163 | align-items: flex-start; | 7177 | align-items: flex-start; |
7164 | } | 7178 | } |
7165 | @media (min-width: 768px) { | 7179 | @media (min-width: 768px) { |
7166 | .chatbox__item-body { | 7180 | .chatbox__item-body { |
7167 | width: calc(100% - 60px); | 7181 | width: calc(100% - 60px); |
7168 | } | 7182 | } |
7169 | } | 7183 | } |
7170 | .chatbox__item_reverse .chatbox__item-body { | 7184 | .chatbox__item_reverse .chatbox__item-body { |
7171 | -webkit-box-align: end; | 7185 | -webkit-box-align: end; |
7172 | -ms-flex-align: end; | 7186 | -ms-flex-align: end; |
7173 | align-items: flex-end; | 7187 | align-items: flex-end; |
7174 | } | 7188 | } |
7175 | .chatbox__item-text { | 7189 | .chatbox__item-text { |
7176 | border-radius: 8px; | 7190 | border-radius: 8px; |
7177 | background: #fff; | 7191 | background: #fff; |
7178 | -webkit-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2); | 7192 | -webkit-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2); |
7179 | box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2); | 7193 | box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2); |
7180 | padding: 10px; | 7194 | padding: 10px; |
7181 | line-height: 1.6; | 7195 | line-height: 1.6; |
7182 | } | 7196 | } |
7183 | .chatbox__item-time { | 7197 | .chatbox__item-time { |
7184 | width: 100%; | 7198 | width: 100%; |
7185 | padding-left: 54px; | 7199 | padding-left: 54px; |
7186 | margin-top: 10px; | 7200 | margin-top: 10px; |
7187 | color: #9c9d9d; | 7201 | color: #9c9d9d; |
7188 | } | 7202 | } |
7189 | .chatbox__item_reverse .chatbox__item-time { | 7203 | .chatbox__item_reverse .chatbox__item-time { |
7190 | text-align: right; | 7204 | text-align: right; |
7191 | } | 7205 | } |
7192 | .chatbox__bottom { | 7206 | .chatbox__bottom { |
7193 | background: #4d88d9; | 7207 | background: #4d88d9; |
7194 | padding: 10px; | 7208 | padding: 10px; |
7195 | border-radius: 8px; | 7209 | border-radius: 8px; |
7196 | display: -webkit-box; | 7210 | display: -webkit-box; |
7197 | display: -ms-flexbox; | 7211 | display: -ms-flexbox; |
7198 | display: flex; | 7212 | display: flex; |
7199 | -webkit-box-align: center; | 7213 | -webkit-box-align: center; |
7200 | -ms-flex-align: center; | 7214 | -ms-flex-align: center; |
7201 | align-items: center; | 7215 | align-items: center; |
7202 | -webkit-box-pack: justify; | 7216 | -webkit-box-pack: justify; |
7203 | -ms-flex-pack: justify; | 7217 | -ms-flex-pack: justify; |
7204 | justify-content: space-between; | 7218 | justify-content: space-between; |
7205 | } | 7219 | } |
7206 | @media (min-width: 768px) { | 7220 | @media (min-width: 768px) { |
7207 | .chatbox__bottom { | 7221 | .chatbox__bottom { |
7208 | padding: 16px 20px; | 7222 | padding: 16px 20px; |
7209 | } | 7223 | } |
7210 | } | 7224 | } |
7211 | .chatbox__bottom-file { | 7225 | .chatbox__bottom-file { |
7212 | width: 20px; | 7226 | width: 20px; |
7213 | aspect-ratio: 1/1; | 7227 | aspect-ratio: 1/1; |
7214 | display: -webkit-box; | 7228 | display: -webkit-box; |
7215 | display: -ms-flexbox; | 7229 | display: -ms-flexbox; |
7216 | display: flex; | 7230 | display: flex; |
7217 | -webkit-box-pack: center; | 7231 | -webkit-box-pack: center; |
7218 | -ms-flex-pack: center; | 7232 | -ms-flex-pack: center; |
7219 | justify-content: center; | 7233 | justify-content: center; |
7220 | -webkit-box-align: center; | 7234 | -webkit-box-align: center; |
7221 | -ms-flex-align: center; | 7235 | -ms-flex-align: center; |
7222 | align-items: center; | 7236 | align-items: center; |
7223 | background: #fff; | 7237 | background: #fff; |
7224 | color: #4d88d9; | 7238 | color: #4d88d9; |
7225 | border-radius: 8px; | 7239 | border-radius: 8px; |
7226 | } | 7240 | } |
7227 | @media (min-width: 768px) { | 7241 | @media (min-width: 768px) { |
7228 | .chatbox__bottom-file { | 7242 | .chatbox__bottom-file { |
7229 | width: 48px; | 7243 | width: 48px; |
7230 | } | 7244 | } |
7231 | } | 7245 | } |
7232 | .chatbox__bottom-file:hover { | 7246 | .chatbox__bottom-file:hover { |
7233 | color: #377d87; | 7247 | color: #377d87; |
7234 | } | 7248 | } |
7235 | .chatbox__bottom-file input { | 7249 | .chatbox__bottom-file input { |
7236 | display: none; | 7250 | display: none; |
7237 | } | 7251 | } |
7238 | .chatbox__bottom-file svg { | 7252 | .chatbox__bottom-file svg { |
7239 | width: 50%; | 7253 | width: 50%; |
7240 | aspect-ratio: 1/1; | 7254 | aspect-ratio: 1/1; |
7241 | } | 7255 | } |
7242 | @media (min-width: 768px) { | 7256 | @media (min-width: 768px) { |
7243 | .chatbox__bottom-file svg { | 7257 | .chatbox__bottom-file svg { |
7244 | width: 40%; | 7258 | width: 40%; |
7245 | } | 7259 | } |
7246 | } | 7260 | } |
7247 | .chatbox__bottom-text { | 7261 | .chatbox__bottom-text { |
7248 | width: calc(100% - 60px); | 7262 | width: calc(100% - 60px); |
7249 | height: 20px; | 7263 | height: 20px; |
7250 | border-color: #fff; | 7264 | border-color: #fff; |
7251 | } | 7265 | } |
7252 | @media (min-width: 768px) { | 7266 | @media (min-width: 768px) { |
7253 | .chatbox__bottom-text { | 7267 | .chatbox__bottom-text { |
7254 | width: calc(100% - 128px); | 7268 | width: calc(100% - 128px); |
7255 | height: 48px; | 7269 | height: 48px; |
7256 | } | 7270 | } |
7257 | } | 7271 | } |
7258 | .chatbox__bottom-text:focus { | 7272 | .chatbox__bottom-text:focus { |
7259 | border-color: #fff; | 7273 | border-color: #fff; |
7260 | } | 7274 | } |
7261 | .chatbox__bottom-send { | 7275 | .chatbox__bottom-send { |
7262 | width: 20px; | 7276 | width: 20px; |
7263 | aspect-ratio: 1/1; | 7277 | aspect-ratio: 1/1; |
7264 | display: -webkit-box; | 7278 | display: -webkit-box; |
7265 | display: -ms-flexbox; | 7279 | display: -ms-flexbox; |
7266 | display: flex; | 7280 | display: flex; |
7267 | -webkit-box-pack: center; | 7281 | -webkit-box-pack: center; |
7268 | -ms-flex-pack: center; | 7282 | -ms-flex-pack: center; |
7269 | justify-content: center; | 7283 | justify-content: center; |
7270 | -webkit-box-align: center; | 7284 | -webkit-box-align: center; |
7271 | -ms-flex-align: center; | 7285 | -ms-flex-align: center; |
7272 | align-items: center; | 7286 | align-items: center; |
7273 | padding: 0; | 7287 | padding: 0; |
7274 | background: #fff; | 7288 | background: #fff; |
7275 | border: none; | 7289 | border: none; |
7276 | color: #4d88d9; | 7290 | color: #4d88d9; |
7277 | border-radius: 999px; | 7291 | border-radius: 999px; |
7278 | } | 7292 | } |
7279 | @media (min-width: 768px) { | 7293 | @media (min-width: 768px) { |
7280 | .chatbox__bottom-send { | 7294 | .chatbox__bottom-send { |
7281 | width: 48px; | 7295 | width: 48px; |
7282 | } | 7296 | } |
7283 | } | 7297 | } |
7284 | .chatbox__bottom-send:hover { | 7298 | .chatbox__bottom-send:hover { |
7285 | color: #377d87; | 7299 | color: #377d87; |
7286 | } | 7300 | } |
7287 | .chatbox__bottom-send svg { | 7301 | .chatbox__bottom-send svg { |
7288 | width: 50%; | 7302 | width: 50%; |
7289 | aspect-ratio: 1/1; | 7303 | aspect-ratio: 1/1; |
7290 | position: relative; | 7304 | position: relative; |
7291 | left: 1px; | 7305 | left: 1px; |
7292 | } | 7306 | } |
7293 | @media (min-width: 768px) { | 7307 | @media (min-width: 768px) { |
7294 | .chatbox__bottom-send svg { | 7308 | .chatbox__bottom-send svg { |
7295 | width: 40%; | 7309 | width: 40%; |
7296 | left: 2px; | 7310 | left: 2px; |
7297 | } | 7311 | } |
7298 | } | 7312 | } |
7299 | 7313 | ||
7300 | .cvs { | 7314 | .cvs { |
7301 | display: -webkit-box; | 7315 | display: -webkit-box; |
7302 | display: -ms-flexbox; | 7316 | display: -ms-flexbox; |
7303 | display: flex; | 7317 | display: flex; |
7304 | -webkit-box-orient: vertical; | 7318 | -webkit-box-orient: vertical; |
7305 | -webkit-box-direction: reverse; | 7319 | -webkit-box-direction: reverse; |
7306 | -ms-flex-direction: column-reverse; | 7320 | -ms-flex-direction: column-reverse; |
7307 | flex-direction: column-reverse; | 7321 | flex-direction: column-reverse; |
7308 | -webkit-box-align: center; | 7322 | -webkit-box-align: center; |
7309 | -ms-flex-align: center; | 7323 | -ms-flex-align: center; |
7310 | align-items: center; | 7324 | align-items: center; |
7311 | gap: 20px; | 7325 | gap: 20px; |
7312 | } | 7326 | } |
7313 | .cvs__body { | 7327 | .cvs__body { |
7314 | display: -webkit-box; | 7328 | display: -webkit-box; |
7315 | display: -ms-flexbox; | 7329 | display: -ms-flexbox; |
7316 | display: flex; | 7330 | display: flex; |
7317 | -webkit-box-orient: vertical; | 7331 | -webkit-box-orient: vertical; |
7318 | -webkit-box-direction: normal; | 7332 | -webkit-box-direction: normal; |
7319 | -ms-flex-direction: column; | 7333 | -ms-flex-direction: column; |
7320 | flex-direction: column; | 7334 | flex-direction: column; |
7321 | gap: 20px; | 7335 | gap: 20px; |
7322 | width: 100%; | 7336 | width: 100%; |
7323 | } | 7337 | } |
7324 | @media (min-width: 768px) { | 7338 | @media (min-width: 768px) { |
7325 | .cvs__body { | 7339 | .cvs__body { |
7326 | gap: 30px; | 7340 | gap: 30px; |
7327 | } | 7341 | } |
7328 | } | 7342 | } |
7329 | .cvs__item { | 7343 | .cvs__item { |
7330 | display: none; | 7344 | display: none; |
7331 | -webkit-box-orient: vertical; | 7345 | -webkit-box-orient: vertical; |
7332 | -webkit-box-direction: normal; | 7346 | -webkit-box-direction: normal; |
7333 | -ms-flex-direction: column; | 7347 | -ms-flex-direction: column; |
7334 | flex-direction: column; | 7348 | flex-direction: column; |
7335 | gap: 10px; | 7349 | gap: 10px; |
7336 | border-radius: 8px; | 7350 | border-radius: 8px; |
7337 | border: 1px solid #e7e7e7; | 7351 | border: 1px solid #e7e7e7; |
7338 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 7352 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
7339 | padding: 10px; | 7353 | padding: 10px; |
7340 | font-size: 12px; | 7354 | font-size: 12px; |
7341 | position: relative; | 7355 | position: relative; |
7342 | } | 7356 | } |
7343 | @media (min-width: 768px) { | 7357 | @media (min-width: 768px) { |
7344 | .cvs__item { | 7358 | .cvs__item { |
7345 | gap: 0; | 7359 | gap: 0; |
7346 | padding: 20px; | 7360 | padding: 20px; |
7347 | font-size: 16px; | 7361 | font-size: 16px; |
7348 | -webkit-box-orient: horizontal; | 7362 | -webkit-box-orient: horizontal; |
7349 | -webkit-box-direction: normal; | 7363 | -webkit-box-direction: normal; |
7350 | -ms-flex-direction: row; | 7364 | -ms-flex-direction: row; |
7351 | flex-direction: row; | 7365 | flex-direction: row; |
7352 | -webkit-box-align: start; | 7366 | -webkit-box-align: start; |
7353 | -ms-flex-align: start; | 7367 | -ms-flex-align: start; |
7354 | align-items: flex-start; | 7368 | align-items: flex-start; |
7355 | -ms-flex-wrap: wrap; | 7369 | -ms-flex-wrap: wrap; |
7356 | flex-wrap: wrap; | 7370 | flex-wrap: wrap; |
7357 | } | 7371 | } |
7358 | } | 7372 | } |
7359 | .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) { | 7373 | .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) { |
7360 | display: -webkit-box; | 7374 | display: -webkit-box; |
7361 | display: -ms-flexbox; | 7375 | display: -ms-flexbox; |
7362 | display: flex; | 7376 | display: flex; |
7363 | } | 7377 | } |
7364 | .cvs__item-like { | 7378 | .cvs__item-like { |
7365 | position: absolute; | 7379 | width: unset; |
7366 | top: 10px; | 7380 | padding: 5px 10px; |
7367 | right: 10px; | 7381 | margin-right: 10px; |
7368 | } | 7382 | } |
7369 | @media (min-width: 768px) { | 7383 | .cvs__item .cvs__item-buttons .chat{ |
7370 | .cvs__item-like { | 7384 | width: unset; |
7371 | top: 20px; | 7385 | padding: 5px 10px; |
7372 | right: 20px; | 7386 | margin-right: 10px; |
7373 | } | 7387 | } |
7388 | .cvs__item-like.active{ | ||
7389 | background: #ffffff; | ||
7390 | color: #eb5757; | ||
7391 | } | ||
7392 | .cvs__item-like .in-favorites{ | ||
7393 | display: none; | ||
7394 | } | ||
7395 | .cvs__item-like.active .in-favorites{ | ||
7396 | display: block; | ||
7397 | color: #eb5757; | ||
7398 | } | ||
7399 | .cvs__item-like.active .to-favorites{ | ||
7400 | display: none; | ||
7401 | } | ||
7402 | .cvs__item .cvs__item-header{ | ||
7403 | display: flex; | ||
7404 | width: 100%; | ||
7405 | justify-content: space-between; | ||
7374 | } | 7406 | } |
7375 | .cvs__item-photo { | 7407 | .cvs__item-photo { |
7376 | position: relative; | 7408 | position: relative; |
7377 | aspect-ratio: 1/1; | 7409 | aspect-ratio: 1/1; |
7378 | overflow: hidden; | 7410 | overflow: hidden; |
7379 | background: #9c9d9d; | 7411 | background: #9c9d9d; |
7380 | color: #fff; | 7412 | color: #fff; |
7381 | width: 36px; | 7413 | width: 36px; |
7382 | border-radius: 6px; | 7414 | border-radius: 6px; |
7383 | display: -webkit-box; | 7415 | display: -webkit-box; |
7384 | display: -ms-flexbox; | 7416 | display: -ms-flexbox; |
7385 | display: flex; | 7417 | display: flex; |
7386 | -webkit-box-pack: center; | 7418 | -webkit-box-pack: center; |
7387 | -ms-flex-pack: center; | 7419 | -ms-flex-pack: center; |
7388 | justify-content: center; | 7420 | justify-content: center; |
7389 | -webkit-box-align: center; | 7421 | -webkit-box-align: center; |
7390 | -ms-flex-align: center; | 7422 | -ms-flex-align: center; |
7391 | align-items: center; | 7423 | align-items: center; |
7392 | } | 7424 | } |
7393 | @media (min-width: 768px) { | 7425 | @media (min-width: 768px) { |
7394 | .cvs__item-photo { | 7426 | .cvs__item-photo { |
7395 | width: 68px; | 7427 | width: 68px; |
7396 | } | 7428 | } |
7397 | } | 7429 | } |
7398 | .cvs__item-photo svg { | 7430 | .cvs__item-photo svg { |
7399 | width: 50%; | 7431 | width: 50%; |
7400 | position: relative; | 7432 | position: relative; |
7401 | z-index: 1; | 7433 | z-index: 1; |
7402 | } | 7434 | } |
7403 | .cvs__item-photo img { | 7435 | .cvs__item-photo img { |
7404 | position: absolute; | 7436 | position: absolute; |
7405 | z-index: 2; | 7437 | z-index: 2; |
7406 | top: 0; | 7438 | top: 0; |
7407 | left: 0; | 7439 | left: 0; |
7408 | width: 100%; | 7440 | width: 100%; |
7409 | height: 100%; | 7441 | height: 100%; |
7410 | -o-object-fit: cover; | 7442 | -o-object-fit: cover; |
7411 | object-fit: cover; | 7443 | object-fit: cover; |
7412 | } | 7444 | } |
7413 | .cvs__item-text { | 7445 | .cvs__item-text { |
7414 | display: -webkit-box; | 7446 | display: -webkit-box; |
7415 | display: -ms-flexbox; | 7447 | display: -ms-flexbox; |
7416 | display: flex; | 7448 | display: flex; |
7417 | -webkit-box-orient: vertical; | 7449 | -webkit-box-orient: vertical; |
7418 | -webkit-box-direction: normal; | 7450 | -webkit-box-direction: normal; |
7419 | -ms-flex-direction: column; | 7451 | -ms-flex-direction: column; |
7420 | flex-direction: column; | 7452 | flex-direction: column; |
7421 | gap: 10px; | 7453 | gap: 10px; |
7454 | width: 100%; | ||
7455 | margin-top: 30px; | ||
7422 | } | 7456 | } |
7423 | @media (min-width: 768px) { | 7457 | .cvs__item .cvs__item-buttons{ |
7424 | .cvs__item-text { | 7458 | display: flex; |
7425 | gap: 20px; | 7459 | align-items: start; |
7426 | width: calc(100% - 68px); | ||
7427 | padding-left: 20px; | ||
7428 | padding-right: 60px; | ||
7429 | } | ||
7430 | } | 7460 | } |
7431 | .cvs__item-text div { | 7461 | .cvs.active .cvs__item { |
7432 | display: -webkit-box; | 7462 | display: -webkit-box; |
7433 | display: -ms-flexbox; | 7463 | display: -ms-flexbox; |
7434 | display: flex; | 7464 | display: flex; |
7435 | -webkit-box-align: center; | ||
7436 | -ms-flex-align: center; | ||
7437 | align-items: center; | ||
7438 | -webkit-box-pack: justify; | ||
7439 | -ms-flex-pack: justify; | ||
7440 | justify-content: space-between; | ||
7441 | } | 7465 | } |
7442 | @media (min-width: 768px) { | 7466 | .cvs__item-text .cvs__item-text-row{ |
7443 | .cvs__item-text div { | 7467 | display: flex; |
7444 | -webkit-box-orient: vertical; | 7468 | justify-content: space-between; |
7445 | -webkit-box-direction: normal; | 7469 | width: 100%; |
7446 | -ms-flex-direction: column; | ||
7447 | flex-direction: column; | ||
7448 | -webkit-box-pack: start; | ||
7449 | -ms-flex-pack: start; | ||
7450 | justify-content: flex-start; | ||
7451 | -webkit-box-align: start; | ||
7452 | -ms-flex-align: start; | ||
7453 | align-items: flex-start; | ||
7454 | } | ||
7455 | } | 7470 | } |
7456 | .cvs__item-text span, | 7471 | .cvs__item-text .cvs__item-text-row > div{ |
7457 | .cvs__item-text a { | 7472 | width: 50%; |
7458 | color: #000; | ||
7459 | } | 7473 | } |
7460 | .cvs__item-button { | 7474 | .cvs__item-text .cvs__item-text-row b{ |
7461 | display: -webkit-box; | 7475 | color: #377d87; |
7462 | display: -ms-flexbox; | 7476 | font-size: 18px; |
7463 | display: flex; | ||
7464 | -webkit-box-orient: vertical; | ||
7465 | -webkit-box-direction: normal; | ||
7466 | -ms-flex-direction: column; | ||
7467 | flex-direction: column; | ||
7468 | -webkit-box-align: center; | ||
7469 | -ms-flex-align: center; | ||
7470 | align-items: center; | ||
7471 | } | 7477 | } |
7472 | @media (min-width: 768px) { | 7478 | .cvs__item-text .cvs__item-text-status { |
7473 | .cvs__item-button { | 7479 | width: fit-content; |
7474 | -webkit-box-align: end; | 7480 | background-color: #e6e6e6; |
7475 | -ms-flex-align: end; | 7481 | font-weight: bold; |
7476 | align-items: flex-end; | 7482 | padding: 5px 10px; |
7477 | width: 100%; | 7483 | border-radius: 8px; |
7478 | padding-top: 20px; | 7484 | margin-right: 30px; |
7479 | } | ||
7480 | } | 7485 | } |
7481 | .cvs.active .cvs__item { | 7486 | .cvs__item-text .cvs__item-text-status.looking-for-job { |
7482 | display: -webkit-box; | 7487 | background-color: #eb5757; |
7483 | display: -ms-flexbox; | 7488 | color: #fff; |
7484 | display: flex; | 7489 | } |
7490 | .cvs__item-text .cvs__item-text-updated-at{ | ||
7491 | padding: 5px 10px; | ||
7492 | border-radius: 8px; | ||
7493 | border: 1px #e6e6e6 solid; | ||
7485 | } | 7494 | } |
7486 | |||
7487 | .faqs { | 7495 | .faqs { |
7488 | display: -webkit-box; | 7496 | display: -webkit-box; |
7489 | display: -ms-flexbox; | 7497 | display: -ms-flexbox; |
7490 | display: flex; | 7498 | display: flex; |
7491 | -webkit-box-orient: vertical; | 7499 | -webkit-box-orient: vertical; |
7492 | -webkit-box-direction: reverse; | 7500 | -webkit-box-direction: reverse; |
7493 | -ms-flex-direction: column-reverse; | 7501 | -ms-flex-direction: column-reverse; |
7494 | flex-direction: column-reverse; | 7502 | flex-direction: column-reverse; |
7495 | -webkit-box-align: center; | 7503 | -webkit-box-align: center; |
7496 | -ms-flex-align: center; | 7504 | -ms-flex-align: center; |
7497 | align-items: center; | 7505 | align-items: center; |
7498 | gap: 20px; | 7506 | gap: 20px; |
7499 | } | 7507 | } |
7500 | .faqs__body { | 7508 | .faqs__body { |
7501 | display: -webkit-box; | 7509 | display: -webkit-box; |
7502 | display: -ms-flexbox; | 7510 | display: -ms-flexbox; |
7503 | display: flex; | 7511 | display: flex; |
7504 | -webkit-box-orient: vertical; | 7512 | -webkit-box-orient: vertical; |
7505 | -webkit-box-direction: normal; | 7513 | -webkit-box-direction: normal; |
7506 | -ms-flex-direction: column; | 7514 | -ms-flex-direction: column; |
7507 | flex-direction: column; | 7515 | flex-direction: column; |
7508 | gap: 20px; | 7516 | gap: 20px; |
7509 | width: 100%; | 7517 | width: 100%; |
7510 | } | 7518 | } |
7511 | .faqs__item { | 7519 | .faqs__item { |
7512 | display: none; | 7520 | display: none; |
7513 | -webkit-box-orient: vertical; | 7521 | -webkit-box-orient: vertical; |
7514 | -webkit-box-direction: normal; | 7522 | -webkit-box-direction: normal; |
7515 | -ms-flex-direction: column; | 7523 | -ms-flex-direction: column; |
7516 | flex-direction: column; | 7524 | flex-direction: column; |
7517 | border-radius: 8px; | 7525 | border-radius: 8px; |
7518 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 7526 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
7519 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 7527 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
7520 | background: #fff; | 7528 | background: #fff; |
7521 | padding: 10px; | 7529 | padding: 10px; |
7522 | font-size: 12px; | 7530 | font-size: 12px; |
7523 | } | 7531 | } |
7524 | @media (min-width: 768px) { | 7532 | @media (min-width: 768px) { |
7525 | .faqs__item { | 7533 | .faqs__item { |
7526 | padding: 20px; | 7534 | padding: 20px; |
7527 | font-size: 16px; | 7535 | font-size: 16px; |
7528 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 7536 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
7529 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 7537 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
7530 | } | 7538 | } |
7531 | } | 7539 | } |
7532 | .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) { | 7540 | .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) { |
7533 | display: -webkit-box; | 7541 | display: -webkit-box; |
7534 | display: -ms-flexbox; | 7542 | display: -ms-flexbox; |
7535 | display: flex; | 7543 | display: flex; |
7536 | } | 7544 | } |
7537 | .faqs__item-button { | 7545 | .faqs__item-button { |
7538 | background: none; | 7546 | background: none; |
7539 | padding: 0; | 7547 | padding: 0; |
7540 | border: none; | 7548 | border: none; |
7541 | display: -webkit-box; | 7549 | display: -webkit-box; |
7542 | display: -ms-flexbox; | 7550 | display: -ms-flexbox; |
7543 | display: flex; | 7551 | display: flex; |
7544 | -webkit-box-align: center; | 7552 | -webkit-box-align: center; |
7545 | -ms-flex-align: center; | 7553 | -ms-flex-align: center; |
7546 | align-items: center; | 7554 | align-items: center; |
7547 | color: #000; | 7555 | color: #000; |
7548 | text-align: left; | 7556 | text-align: left; |
7549 | font-size: 14px; | 7557 | font-size: 14px; |
7550 | font-weight: 700; | 7558 | font-weight: 700; |
7551 | } | 7559 | } |
7552 | @media (min-width: 768px) { | 7560 | @media (min-width: 768px) { |
7553 | .faqs__item-button { | 7561 | .faqs__item-button { |
7554 | font-size: 20px; | 7562 | font-size: 20px; |
7555 | } | 7563 | } |
7556 | } | 7564 | } |
7557 | .faqs__item-button span { | 7565 | .faqs__item-button span { |
7558 | width: calc(100% - 16px); | 7566 | width: calc(100% - 16px); |
7559 | padding-right: 16px; | 7567 | padding-right: 16px; |
7560 | } | 7568 | } |
7561 | .faqs__item-button i { | 7569 | .faqs__item-button i { |
7562 | display: -webkit-box; | 7570 | display: -webkit-box; |
7563 | display: -ms-flexbox; | 7571 | display: -ms-flexbox; |
7564 | display: flex; | 7572 | display: flex; |
7565 | -webkit-box-pack: center; | 7573 | -webkit-box-pack: center; |
7566 | -ms-flex-pack: center; | 7574 | -ms-flex-pack: center; |
7567 | justify-content: center; | 7575 | justify-content: center; |
7568 | -webkit-box-align: center; | 7576 | -webkit-box-align: center; |
7569 | -ms-flex-align: center; | 7577 | -ms-flex-align: center; |
7570 | align-items: center; | 7578 | align-items: center; |
7571 | width: 16px; | 7579 | width: 16px; |
7572 | aspect-ratio: 1/1; | 7580 | aspect-ratio: 1/1; |
7573 | color: #377d87; | 7581 | color: #377d87; |
7574 | -webkit-transition: 0.3s; | 7582 | -webkit-transition: 0.3s; |
7575 | transition: 0.3s; | 7583 | transition: 0.3s; |
7576 | } | 7584 | } |
7577 | .faqs__item-button i svg { | 7585 | .faqs__item-button i svg { |
7578 | width: 16px; | 7586 | width: 16px; |
7579 | aspect-ratio: 1/1; | 7587 | aspect-ratio: 1/1; |
7580 | -webkit-transform: rotate(90deg); | 7588 | -webkit-transform: rotate(90deg); |
7581 | -ms-transform: rotate(90deg); | 7589 | -ms-transform: rotate(90deg); |
7582 | transform: rotate(90deg); | 7590 | transform: rotate(90deg); |
7583 | } | 7591 | } |
7584 | .faqs__item-button.active i { | 7592 | .faqs__item-button.active i { |
7585 | -webkit-transform: rotate(180deg); | 7593 | -webkit-transform: rotate(180deg); |
7586 | -ms-transform: rotate(180deg); | 7594 | -ms-transform: rotate(180deg); |
7587 | transform: rotate(180deg); | 7595 | transform: rotate(180deg); |
7588 | } | 7596 | } |
7589 | .faqs__item-body { | 7597 | .faqs__item-body { |
7590 | display: -webkit-box; | 7598 | display: -webkit-box; |
7591 | display: -ms-flexbox; | 7599 | display: -ms-flexbox; |
7592 | display: flex; | 7600 | display: flex; |
7593 | -webkit-box-orient: vertical; | 7601 | -webkit-box-orient: vertical; |
7594 | -webkit-box-direction: normal; | 7602 | -webkit-box-direction: normal; |
7595 | -ms-flex-direction: column; | 7603 | -ms-flex-direction: column; |
7596 | flex-direction: column; | 7604 | flex-direction: column; |
7597 | gap: 10px; | 7605 | gap: 10px; |
7598 | opacity: 0; | 7606 | opacity: 0; |
7599 | height: 0; | 7607 | height: 0; |
7600 | overflow: hidden; | 7608 | overflow: hidden; |
7601 | font-size: 12px; | 7609 | font-size: 12px; |
7602 | line-height: 1.4; | 7610 | line-height: 1.4; |
7603 | } | 7611 | } |
7604 | @media (min-width: 768px) { | 7612 | @media (min-width: 768px) { |
7605 | .faqs__item-body { | 7613 | .faqs__item-body { |
7606 | font-size: 16px; | 7614 | font-size: 16px; |
7607 | gap: 20px; | 7615 | gap: 20px; |
7608 | } | 7616 | } |
7609 | } | 7617 | } |
7610 | .faqs__item-body p { | 7618 | .faqs__item-body p { |
7611 | margin: 0; | 7619 | margin: 0; |
7612 | } | 7620 | } |
7613 | .active + .faqs__item-body { | 7621 | .active + .faqs__item-body { |
7614 | opacity: 1; | 7622 | opacity: 1; |
7615 | height: auto; | 7623 | height: auto; |
7616 | -webkit-transition: 0.3s; | 7624 | -webkit-transition: 0.3s; |
7617 | transition: 0.3s; | 7625 | transition: 0.3s; |
7618 | padding-top: 10px; | 7626 | padding-top: 10px; |
7619 | } | 7627 | } |
7620 | @media (min-width: 768px) { | 7628 | @media (min-width: 768px) { |
7621 | .active + .faqs__item-body { | 7629 | .active + .faqs__item-body { |
7622 | padding-top: 20px; | 7630 | padding-top: 20px; |
7623 | } | 7631 | } |
7624 | } | 7632 | } |
7625 | .faqs.active .faqs__item { | 7633 | .faqs.active .faqs__item { |
7626 | display: -webkit-box; | 7634 | display: -webkit-box; |
7627 | display: -ms-flexbox; | 7635 | display: -ms-flexbox; |
7628 | display: flex; | 7636 | display: flex; |
7629 | } | 7637 | } |
7630 | 7638 | ||
7631 | .cabinet { | 7639 | .cabinet { |
7632 | padding: 20px 0; | 7640 | padding: 20px 0; |
7633 | padding-bottom: 40px; | 7641 | padding-bottom: 40px; |
7634 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 7642 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
7635 | } | 7643 | } |
7636 | @media (min-width: 992px) { | 7644 | @media (min-width: 992px) { |
7637 | .cabinet { | 7645 | .cabinet { |
7638 | padding: 30px 0; | 7646 | padding: 30px 0; |
7639 | padding-bottom: 60px; | 7647 | padding-bottom: 60px; |
7640 | } | 7648 | } |
7641 | } | 7649 | } |
7642 | .cabinet__breadcrumbs { | 7650 | .cabinet__breadcrumbs { |
7643 | margin-bottom: 50px; | 7651 | margin-bottom: 50px; |
7644 | } | 7652 | } |
7645 | .cabinet__wrapper { | 7653 | .cabinet__wrapper { |
7646 | display: -webkit-box; | 7654 | display: -webkit-box; |
7647 | display: -ms-flexbox; | 7655 | display: -ms-flexbox; |
7648 | display: flex; | 7656 | display: flex; |
7649 | -webkit-box-orient: vertical; | 7657 | -webkit-box-orient: vertical; |
7650 | -webkit-box-direction: normal; | 7658 | -webkit-box-direction: normal; |
7651 | -ms-flex-direction: column; | 7659 | -ms-flex-direction: column; |
7652 | flex-direction: column; | 7660 | flex-direction: column; |
7653 | } | 7661 | } |
7654 | @media (min-width: 992px) { | 7662 | @media (min-width: 992px) { |
7655 | .cabinet__wrapper { | 7663 | .cabinet__wrapper { |
7656 | -webkit-box-orient: horizontal; | 7664 | -webkit-box-orient: horizontal; |
7657 | -webkit-box-direction: normal; | 7665 | -webkit-box-direction: normal; |
7658 | -ms-flex-direction: row; | 7666 | -ms-flex-direction: row; |
7659 | flex-direction: row; | 7667 | flex-direction: row; |
7660 | -webkit-box-align: start; | 7668 | -webkit-box-align: start; |
7661 | -ms-flex-align: start; | 7669 | -ms-flex-align: start; |
7662 | align-items: flex-start; | 7670 | align-items: flex-start; |
7663 | -webkit-box-pack: justify; | 7671 | -webkit-box-pack: justify; |
7664 | -ms-flex-pack: justify; | 7672 | -ms-flex-pack: justify; |
7665 | justify-content: space-between; | 7673 | justify-content: space-between; |
7666 | } | 7674 | } |
7667 | } | 7675 | } |
7668 | .cabinet__side { | 7676 | .cabinet__side { |
7669 | border-radius: 8px; | 7677 | border-radius: 8px; |
7670 | background: #fff; | 7678 | background: #fff; |
7671 | padding: 20px 10px; | 7679 | padding: 20px 10px; |
7672 | display: -webkit-box; | 7680 | display: -webkit-box; |
7673 | display: -ms-flexbox; | 7681 | display: -ms-flexbox; |
7674 | display: flex; | 7682 | display: flex; |
7675 | -webkit-box-orient: vertical; | 7683 | -webkit-box-orient: vertical; |
7676 | -webkit-box-direction: normal; | 7684 | -webkit-box-direction: normal; |
7677 | -ms-flex-direction: column; | 7685 | -ms-flex-direction: column; |
7678 | flex-direction: column; | 7686 | flex-direction: column; |
7679 | gap: 30px; | 7687 | gap: 30px; |
7680 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 7688 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
7681 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 7689 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
7682 | } | 7690 | } |
7683 | @media (min-width: 768px) { | 7691 | @media (min-width: 768px) { |
7684 | .cabinet__side { | 7692 | .cabinet__side { |
7685 | padding: 30px 20px; | 7693 | padding: 30px 20px; |
7686 | margin-bottom: 50px; | 7694 | margin-bottom: 50px; |
7687 | } | 7695 | } |
7688 | } | 7696 | } |
7689 | @media (min-width: 992px) { | 7697 | @media (min-width: 992px) { |
7690 | .cabinet__side { | 7698 | .cabinet__side { |
7691 | width: 340px; | 7699 | width: 340px; |
7692 | margin: 0; | 7700 | margin: 0; |
7693 | position: sticky; | 7701 | position: sticky; |
7694 | top: 6px; | 7702 | top: 6px; |
7695 | } | 7703 | } |
7696 | } | 7704 | } |
7697 | @media (min-width: 1280px) { | 7705 | @media (min-width: 1280px) { |
7698 | .cabinet__side { | 7706 | .cabinet__side { |
7699 | width: 400px; | 7707 | width: 400px; |
7700 | } | 7708 | } |
7701 | } | 7709 | } |
7702 | .cabinet__side-item { | 7710 | .cabinet__side-item { |
7703 | display: -webkit-box; | 7711 | display: -webkit-box; |
7704 | display: -ms-flexbox; | 7712 | display: -ms-flexbox; |
7705 | display: flex; | 7713 | display: flex; |
7706 | -webkit-box-orient: vertical; | 7714 | -webkit-box-orient: vertical; |
7707 | -webkit-box-direction: normal; | 7715 | -webkit-box-direction: normal; |
7708 | -ms-flex-direction: column; | 7716 | -ms-flex-direction: column; |
7709 | flex-direction: column; | 7717 | flex-direction: column; |
7710 | gap: 20px; | 7718 | gap: 20px; |
7711 | } | 7719 | } |
7712 | .cabinet__side-toper { | 7720 | .cabinet__side-toper { |
7713 | display: -webkit-box; | 7721 | display: -webkit-box; |
7714 | display: -ms-flexbox; | 7722 | display: -ms-flexbox; |
7715 | display: flex; | 7723 | display: flex; |
7716 | -webkit-box-align: center; | 7724 | -webkit-box-align: center; |
7717 | -ms-flex-align: center; | 7725 | -ms-flex-align: center; |
7718 | align-items: center; | 7726 | align-items: center; |
7719 | } | 7727 | } |
7720 | .cabinet__side-toper-pic { | 7728 | .cabinet__side-toper-pic { |
7721 | width: 70px; | 7729 | width: 70px; |
7722 | aspect-ratio: 1/1; | 7730 | aspect-ratio: 1/1; |
7723 | overflow: hidden; | 7731 | overflow: hidden; |
7724 | border-radius: 8px; | 7732 | border-radius: 8px; |
7725 | color: #fff; | 7733 | color: #fff; |
7726 | background: #9c9d9d; | 7734 | background: #9c9d9d; |
7727 | display: -webkit-box; | 7735 | display: -webkit-box; |
7728 | display: -ms-flexbox; | 7736 | display: -ms-flexbox; |
7729 | display: flex; | 7737 | display: flex; |
7730 | -webkit-box-align: center; | 7738 | -webkit-box-align: center; |
7731 | -ms-flex-align: center; | 7739 | -ms-flex-align: center; |
7732 | align-items: center; | 7740 | align-items: center; |
7733 | -webkit-box-pack: center; | 7741 | -webkit-box-pack: center; |
7734 | -ms-flex-pack: center; | 7742 | -ms-flex-pack: center; |
7735 | justify-content: center; | 7743 | justify-content: center; |
7736 | position: relative; | 7744 | position: relative; |
7737 | } | 7745 | } |
7738 | .cabinet__side-toper-pic img { | 7746 | .cabinet__side-toper-pic img { |
7739 | width: 100%; | 7747 | width: 100%; |
7740 | height: 100%; | 7748 | height: 100%; |
7741 | -o-object-fit: cover; | 7749 | -o-object-fit: cover; |
7742 | object-fit: cover; | 7750 | object-fit: cover; |
7743 | position: absolute; | 7751 | position: absolute; |
7744 | z-index: 2; | 7752 | z-index: 2; |
7745 | top: 0; | 7753 | top: 0; |
7746 | left: 0; | 7754 | left: 0; |
7747 | aspect-ratio: 1/1; | 7755 | aspect-ratio: 1/1; |
7748 | -o-object-fit: contain; | 7756 | -o-object-fit: contain; |
7749 | object-fit: contain; | 7757 | object-fit: contain; |
7750 | } | 7758 | } |
7751 | .cabinet__side-toper-pic svg { | 7759 | .cabinet__side-toper-pic svg { |
7752 | width: 50%; | 7760 | width: 50%; |
7753 | aspect-ratio: 1/1; | 7761 | aspect-ratio: 1/1; |
7754 | } | 7762 | } |
7755 | .cabinet__side-toper b { | 7763 | .cabinet__side-toper b { |
7756 | width: calc(100% - 70px); | 7764 | width: calc(100% - 70px); |
7757 | font-size: 14px; | 7765 | font-size: 14px; |
7758 | font-weight: 700; | 7766 | font-weight: 700; |
7759 | padding-left: 16px; | 7767 | padding-left: 16px; |
7760 | } | 7768 | } |
7761 | @media (min-width: 768px) { | 7769 | @media (min-width: 768px) { |
7762 | .cabinet__side-toper b { | 7770 | .cabinet__side-toper b { |
7763 | font-size: 20px; | 7771 | font-size: 20px; |
7764 | } | 7772 | } |
7765 | } | 7773 | } |
7766 | .cabinet__menu { | 7774 | .cabinet__menu { |
7767 | display: -webkit-box; | 7775 | display: -webkit-box; |
7768 | display: -ms-flexbox; | 7776 | display: -ms-flexbox; |
7769 | display: flex; | 7777 | display: flex; |
7770 | -webkit-box-orient: vertical; | 7778 | -webkit-box-orient: vertical; |
7771 | -webkit-box-direction: normal; | 7779 | -webkit-box-direction: normal; |
7772 | -ms-flex-direction: column; | 7780 | -ms-flex-direction: column; |
7773 | flex-direction: column; | 7781 | flex-direction: column; |
7774 | } | 7782 | } |
7775 | .cabinet__menu-toper { | 7783 | .cabinet__menu-toper { |
7776 | display: -webkit-box; | 7784 | display: -webkit-box; |
7777 | display: -ms-flexbox; | 7785 | display: -ms-flexbox; |
7778 | display: flex; | 7786 | display: flex; |
7779 | -webkit-box-align: center; | 7787 | -webkit-box-align: center; |
7780 | -ms-flex-align: center; | 7788 | -ms-flex-align: center; |
7781 | align-items: center; | 7789 | align-items: center; |
7782 | -webkit-box-pack: justify; | 7790 | -webkit-box-pack: justify; |
7783 | -ms-flex-pack: justify; | 7791 | -ms-flex-pack: justify; |
7784 | justify-content: space-between; | 7792 | justify-content: space-between; |
7785 | padding: 0 16px; | 7793 | padding: 0 16px; |
7786 | padding-right: 12px; | 7794 | padding-right: 12px; |
7787 | border: none; | 7795 | border: none; |
7788 | border-radius: 8px; | 7796 | border-radius: 8px; |
7789 | background: #377d87; | 7797 | background: #377d87; |
7790 | color: #fff; | 7798 | color: #fff; |
7791 | } | 7799 | } |
7792 | @media (min-width: 768px) { | 7800 | @media (min-width: 768px) { |
7793 | .cabinet__menu-toper { | 7801 | .cabinet__menu-toper { |
7794 | padding: 0 20px; | 7802 | padding: 0 20px; |
7795 | } | 7803 | } |
7796 | } | 7804 | } |
7797 | @media (min-width: 992px) { | 7805 | @media (min-width: 992px) { |
7798 | .cabinet__menu-toper { | 7806 | .cabinet__menu-toper { |
7799 | display: none; | 7807 | display: none; |
7800 | } | 7808 | } |
7801 | } | 7809 | } |
7802 | .cabinet__menu-toper-text { | 7810 | .cabinet__menu-toper-text { |
7803 | width: calc(100% - 16px); | 7811 | width: calc(100% - 16px); |
7804 | display: -webkit-box; | 7812 | display: -webkit-box; |
7805 | display: -ms-flexbox; | 7813 | display: -ms-flexbox; |
7806 | display: flex; | 7814 | display: flex; |
7807 | -webkit-box-align: center; | 7815 | -webkit-box-align: center; |
7808 | -ms-flex-align: center; | 7816 | -ms-flex-align: center; |
7809 | align-items: center; | 7817 | align-items: center; |
7810 | } | 7818 | } |
7811 | @media (min-width: 768px) { | 7819 | @media (min-width: 768px) { |
7812 | .cabinet__menu-toper-text { | 7820 | .cabinet__menu-toper-text { |
7813 | width: calc(100% - 20px); | 7821 | width: calc(100% - 20px); |
7814 | } | 7822 | } |
7815 | } | 7823 | } |
7816 | .cabinet__menu-toper-text i { | 7824 | .cabinet__menu-toper-text i { |
7817 | width: 16px; | 7825 | width: 16px; |
7818 | height: 16px; | 7826 | height: 16px; |
7819 | display: -webkit-box; | 7827 | display: -webkit-box; |
7820 | display: -ms-flexbox; | 7828 | display: -ms-flexbox; |
7821 | display: flex; | 7829 | display: flex; |
7822 | -webkit-box-align: center; | 7830 | -webkit-box-align: center; |
7823 | -ms-flex-align: center; | 7831 | -ms-flex-align: center; |
7824 | align-items: center; | 7832 | align-items: center; |
7825 | -webkit-box-pack: center; | 7833 | -webkit-box-pack: center; |
7826 | -ms-flex-pack: center; | 7834 | -ms-flex-pack: center; |
7827 | justify-content: center; | 7835 | justify-content: center; |
7828 | } | 7836 | } |
7829 | @media (min-width: 768px) { | 7837 | @media (min-width: 768px) { |
7830 | .cabinet__menu-toper-text i { | 7838 | .cabinet__menu-toper-text i { |
7831 | width: 22px; | 7839 | width: 22px; |
7832 | height: 22px; | 7840 | height: 22px; |
7833 | } | 7841 | } |
7834 | } | 7842 | } |
7835 | .cabinet__menu-toper-text svg { | 7843 | .cabinet__menu-toper-text svg { |
7836 | width: 16px; | 7844 | width: 16px; |
7837 | height: 16px; | 7845 | height: 16px; |
7838 | } | 7846 | } |
7839 | @media (min-width: 768px) { | 7847 | @media (min-width: 768px) { |
7840 | .cabinet__menu-toper-text svg { | 7848 | .cabinet__menu-toper-text svg { |
7841 | width: 22px; | 7849 | width: 22px; |
7842 | height: 22px; | 7850 | height: 22px; |
7843 | } | 7851 | } |
7844 | } | 7852 | } |
7845 | .cabinet__menu-toper-text span { | 7853 | .cabinet__menu-toper-text span { |
7846 | display: -webkit-box; | 7854 | display: -webkit-box; |
7847 | display: -ms-flexbox; | 7855 | display: -ms-flexbox; |
7848 | display: flex; | 7856 | display: flex; |
7849 | -webkit-box-align: center; | 7857 | -webkit-box-align: center; |
7850 | -ms-flex-align: center; | 7858 | -ms-flex-align: center; |
7851 | align-items: center; | 7859 | align-items: center; |
7852 | padding: 0 10px; | 7860 | padding: 0 10px; |
7853 | min-height: 30px; | 7861 | min-height: 30px; |
7854 | font-size: 12px; | 7862 | font-size: 12px; |
7855 | width: calc(100% - 16px); | 7863 | width: calc(100% - 16px); |
7856 | } | 7864 | } |
7857 | @media (min-width: 768px) { | 7865 | @media (min-width: 768px) { |
7858 | .cabinet__menu-toper-text span { | 7866 | .cabinet__menu-toper-text span { |
7859 | width: calc(100% - 22px); | 7867 | width: calc(100% - 22px); |
7860 | font-size: 20px; | 7868 | font-size: 20px; |
7861 | min-height: 52px; | 7869 | min-height: 52px; |
7862 | padding: 0 16px; | 7870 | padding: 0 16px; |
7863 | } | 7871 | } |
7864 | } | 7872 | } |
7865 | .cabinet__menu-toper-arrow { | 7873 | .cabinet__menu-toper-arrow { |
7866 | width: 16px; | 7874 | width: 16px; |
7867 | height: 16px; | 7875 | height: 16px; |
7868 | display: -webkit-box; | 7876 | display: -webkit-box; |
7869 | display: -ms-flexbox; | 7877 | display: -ms-flexbox; |
7870 | display: flex; | 7878 | display: flex; |
7871 | -webkit-box-pack: center; | 7879 | -webkit-box-pack: center; |
7872 | -ms-flex-pack: center; | 7880 | -ms-flex-pack: center; |
7873 | justify-content: center; | 7881 | justify-content: center; |
7874 | -webkit-box-align: center; | 7882 | -webkit-box-align: center; |
7875 | -ms-flex-align: center; | 7883 | -ms-flex-align: center; |
7876 | align-items: center; | 7884 | align-items: center; |
7877 | -webkit-transition: 0.3s; | 7885 | -webkit-transition: 0.3s; |
7878 | transition: 0.3s; | 7886 | transition: 0.3s; |
7879 | } | 7887 | } |
7880 | @media (min-width: 768px) { | 7888 | @media (min-width: 768px) { |
7881 | .cabinet__menu-toper-arrow { | 7889 | .cabinet__menu-toper-arrow { |
7882 | width: 20px; | 7890 | width: 20px; |
7883 | height: 20px; | 7891 | height: 20px; |
7884 | } | 7892 | } |
7885 | } | 7893 | } |
7886 | .cabinet__menu-toper-arrow svg { | 7894 | .cabinet__menu-toper-arrow svg { |
7887 | width: 12px; | 7895 | width: 12px; |
7888 | height: 12px; | 7896 | height: 12px; |
7889 | -webkit-transform: rotate(90deg); | 7897 | -webkit-transform: rotate(90deg); |
7890 | -ms-transform: rotate(90deg); | 7898 | -ms-transform: rotate(90deg); |
7891 | transform: rotate(90deg); | 7899 | transform: rotate(90deg); |
7892 | } | 7900 | } |
7893 | @media (min-width: 768px) { | 7901 | @media (min-width: 768px) { |
7894 | .cabinet__menu-toper-arrow svg { | 7902 | .cabinet__menu-toper-arrow svg { |
7895 | width: 20px; | 7903 | width: 20px; |
7896 | height: 20px; | 7904 | height: 20px; |
7897 | } | 7905 | } |
7898 | } | 7906 | } |
7899 | .cabinet__menu-toper.active .cabinet__menu-toper-arrow { | 7907 | .cabinet__menu-toper.active .cabinet__menu-toper-arrow { |
7900 | -webkit-transform: rotate(180deg); | 7908 | -webkit-transform: rotate(180deg); |
7901 | -ms-transform: rotate(180deg); | 7909 | -ms-transform: rotate(180deg); |
7902 | transform: rotate(180deg); | 7910 | transform: rotate(180deg); |
7903 | } | 7911 | } |
7904 | .cabinet__menu-body { | 7912 | .cabinet__menu-body { |
7905 | opacity: 0; | 7913 | opacity: 0; |
7906 | height: 0; | 7914 | height: 0; |
7907 | overflow: hidden; | 7915 | overflow: hidden; |
7908 | display: -webkit-box; | 7916 | display: -webkit-box; |
7909 | display: -ms-flexbox; | 7917 | display: -ms-flexbox; |
7910 | display: flex; | 7918 | display: flex; |
7911 | -webkit-box-orient: vertical; | 7919 | -webkit-box-orient: vertical; |
7912 | -webkit-box-direction: normal; | 7920 | -webkit-box-direction: normal; |
7913 | -ms-flex-direction: column; | 7921 | -ms-flex-direction: column; |
7914 | flex-direction: column; | 7922 | flex-direction: column; |
7915 | } | 7923 | } |
7916 | @media (min-width: 992px) { | 7924 | @media (min-width: 992px) { |
7917 | .cabinet__menu-body { | 7925 | .cabinet__menu-body { |
7918 | opacity: 1; | 7926 | opacity: 1; |
7919 | height: auto; | 7927 | height: auto; |
7920 | } | 7928 | } |
7921 | } | 7929 | } |
7922 | .active + .cabinet__menu-body { | 7930 | .active + .cabinet__menu-body { |
7923 | opacity: 1; | 7931 | opacity: 1; |
7924 | height: auto; | 7932 | height: auto; |
7925 | -webkit-transition: 0.3s; | 7933 | -webkit-transition: 0.3s; |
7926 | transition: 0.3s; | 7934 | transition: 0.3s; |
7927 | } | 7935 | } |
7928 | .cabinet__menu-items { | 7936 | .cabinet__menu-items { |
7929 | display: -webkit-box; | 7937 | display: -webkit-box; |
7930 | display: -ms-flexbox; | 7938 | display: -ms-flexbox; |
7931 | display: flex; | 7939 | display: flex; |
7932 | -webkit-box-orient: vertical; | 7940 | -webkit-box-orient: vertical; |
7933 | -webkit-box-direction: normal; | 7941 | -webkit-box-direction: normal; |
7934 | -ms-flex-direction: column; | 7942 | -ms-flex-direction: column; |
7935 | flex-direction: column; | 7943 | flex-direction: column; |
7936 | } | 7944 | } |
7937 | .cabinet__menu-item { | 7945 | .cabinet__menu-item { |
7938 | padding: 8px 16px; | 7946 | padding: 8px 16px; |
7939 | border-radius: 8px; | 7947 | border-radius: 8px; |
7940 | display: -webkit-box; | 7948 | display: -webkit-box; |
7941 | display: -ms-flexbox; | 7949 | display: -ms-flexbox; |
7942 | display: flex; | 7950 | display: flex; |
7943 | -webkit-box-align: center; | 7951 | -webkit-box-align: center; |
7944 | -ms-flex-align: center; | 7952 | -ms-flex-align: center; |
7945 | align-items: center; | 7953 | align-items: center; |
7946 | } | 7954 | } |
7947 | @media (min-width: 768px) { | 7955 | @media (min-width: 768px) { |
7948 | .cabinet__menu-item { | 7956 | .cabinet__menu-item { |
7949 | padding: 14px 20px; | 7957 | padding: 14px 20px; |
7950 | } | 7958 | } |
7951 | } | 7959 | } |
7952 | .cabinet__menu-item:hover { | 7960 | .cabinet__menu-item:hover { |
7953 | color: #377d87; | 7961 | color: #377d87; |
7954 | } | 7962 | } |
7955 | @media (min-width: 992px) { | 7963 | @media (min-width: 992px) { |
7956 | .cabinet__menu-item.active { | 7964 | .cabinet__menu-item.active { |
7957 | background: #377d87; | 7965 | background: #377d87; |
7958 | color: #fff; | 7966 | color: #fff; |
7959 | } | 7967 | } |
7960 | } | 7968 | } |
7961 | @media (min-width: 992px) { | 7969 | @media (min-width: 992px) { |
7962 | .cabinet__menu-item.active svg { | 7970 | .cabinet__menu-item.active svg { |
7963 | color: #fff; | 7971 | color: #fff; |
7964 | } | 7972 | } |
7965 | } | 7973 | } |
7966 | @media (min-width: 992px) { | 7974 | @media (min-width: 992px) { |
7967 | .cabinet__menu-item.active.red { | 7975 | .cabinet__menu-item.active.red { |
7968 | background: #eb5757; | 7976 | background: #eb5757; |
7969 | } | 7977 | } |
7970 | } | 7978 | } |
7971 | .cabinet__menu-item i { | 7979 | .cabinet__menu-item i { |
7972 | width: 16px; | 7980 | width: 16px; |
7973 | height: 16px; | 7981 | height: 16px; |
7974 | color: #377d87; | 7982 | color: #377d87; |
7975 | } | 7983 | } |
7976 | @media (min-width: 768px) { | 7984 | @media (min-width: 768px) { |
7977 | .cabinet__menu-item i { | 7985 | .cabinet__menu-item i { |
7978 | width: 22px; | 7986 | width: 22px; |
7979 | height: 22px; | 7987 | height: 22px; |
7980 | } | 7988 | } |
7981 | } | 7989 | } |
7982 | .cabinet__menu-item svg { | 7990 | .cabinet__menu-item svg { |
7983 | width: 16px; | 7991 | width: 16px; |
7984 | height: 16px; | 7992 | height: 16px; |
7985 | } | 7993 | } |
7986 | @media (min-width: 768px) { | 7994 | @media (min-width: 768px) { |
7987 | .cabinet__menu-item svg { | 7995 | .cabinet__menu-item svg { |
7988 | width: 22px; | 7996 | width: 22px; |
7989 | height: 22px; | 7997 | height: 22px; |
7990 | } | 7998 | } |
7991 | } | 7999 | } |
7992 | .cabinet__menu-item span { | 8000 | .cabinet__menu-item span { |
7993 | width: calc(100% - 16px); | 8001 | width: calc(100% - 16px); |
7994 | font-size: 12px; | 8002 | font-size: 12px; |
7995 | padding-left: 10px; | 8003 | padding-left: 10px; |
7996 | } | 8004 | } |
7997 | @media (min-width: 768px) { | 8005 | @media (min-width: 768px) { |
7998 | .cabinet__menu-item span { | 8006 | .cabinet__menu-item span { |
7999 | font-size: 20px; | 8007 | font-size: 20px; |
8000 | width: calc(100% - 22px); | 8008 | width: calc(100% - 22px); |
8001 | padding-left: 16px; | 8009 | padding-left: 16px; |
8002 | } | 8010 | } |
8003 | } | 8011 | } |
8004 | .cabinet__menu-bottom { | 8012 | .cabinet__menu-bottom { |
8005 | display: -webkit-box; | 8013 | display: -webkit-box; |
8006 | display: -ms-flexbox; | 8014 | display: -ms-flexbox; |
8007 | display: flex; | 8015 | display: flex; |
8008 | -webkit-box-orient: vertical; | 8016 | -webkit-box-orient: vertical; |
8009 | -webkit-box-direction: normal; | 8017 | -webkit-box-direction: normal; |
8010 | -ms-flex-direction: column; | 8018 | -ms-flex-direction: column; |
8011 | flex-direction: column; | 8019 | flex-direction: column; |
8012 | gap: 10px; | 8020 | gap: 10px; |
8013 | margin-top: 10px; | 8021 | margin-top: 10px; |
8014 | } | 8022 | } |
8015 | @media (min-width: 768px) { | 8023 | @media (min-width: 768px) { |
8016 | .cabinet__menu-bottom { | 8024 | .cabinet__menu-bottom { |
8017 | gap: 20px; | 8025 | gap: 20px; |
8018 | margin-top: 20px; | 8026 | margin-top: 20px; |
8019 | } | 8027 | } |
8020 | } | 8028 | } |
8021 | .cabinet__menu-copy { | 8029 | .cabinet__menu-copy { |
8022 | color: #9c9d9d; | 8030 | color: #9c9d9d; |
8023 | text-align: center; | 8031 | text-align: center; |
8024 | font-size: 12px; | 8032 | font-size: 12px; |
8025 | } | 8033 | } |
8026 | @media (min-width: 768px) { | 8034 | @media (min-width: 768px) { |
8027 | .cabinet__menu-copy { | 8035 | .cabinet__menu-copy { |
8028 | font-size: 16px; | 8036 | font-size: 16px; |
8029 | } | 8037 | } |
8030 | } | 8038 | } |
8031 | .cabinet__body { | 8039 | .cabinet__body { |
8032 | margin: 0 -10px; | 8040 | margin: 0 -10px; |
8033 | margin-top: 50px; | 8041 | margin-top: 50px; |
8034 | background: #fff; | 8042 | background: #fff; |
8035 | padding: 20px 10px; | 8043 | padding: 20px 10px; |
8036 | display: -webkit-box; | 8044 | display: -webkit-box; |
8037 | display: -ms-flexbox; | 8045 | display: -ms-flexbox; |
8038 | display: flex; | 8046 | display: flex; |
8039 | -webkit-box-orient: vertical; | 8047 | -webkit-box-orient: vertical; |
8040 | -webkit-box-direction: normal; | 8048 | -webkit-box-direction: normal; |
8041 | -ms-flex-direction: column; | 8049 | -ms-flex-direction: column; |
8042 | flex-direction: column; | 8050 | flex-direction: column; |
8043 | gap: 30px; | 8051 | gap: 30px; |
8044 | color: #000; | 8052 | color: #000; |
8045 | } | 8053 | } |
8046 | @media (min-width: 768px) { | 8054 | @media (min-width: 768px) { |
8047 | .cabinet__body { | 8055 | .cabinet__body { |
8048 | padding: 30px 20px; | 8056 | padding: 30px 20px; |
8049 | margin: 0; | 8057 | margin: 0; |
8050 | border-radius: 8px; | 8058 | border-radius: 8px; |
8051 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 8059 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
8052 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 8060 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
8053 | } | 8061 | } |
8054 | } | 8062 | } |
8055 | @media (min-width: 992px) { | 8063 | @media (min-width: 992px) { |
8056 | .cabinet__body { | 8064 | .cabinet__body { |
8057 | width: calc(100% - 360px); | 8065 | width: calc(100% - 360px); |
8058 | } | 8066 | } |
8059 | } | 8067 | } |
8060 | @media (min-width: 1280px) { | 8068 | @media (min-width: 1280px) { |
8061 | .cabinet__body { | 8069 | .cabinet__body { |
8062 | width: calc(100% - 420px); | 8070 | width: calc(100% - 420px); |
8063 | } | 8071 | } |
8064 | } | 8072 | } |
8065 | .cabinet__body-item { | 8073 | .cabinet__body-item { |
8066 | display: -webkit-box; | 8074 | display: -webkit-box; |
8067 | display: -ms-flexbox; | 8075 | display: -ms-flexbox; |
8068 | display: flex; | 8076 | display: flex; |
8069 | -webkit-box-orient: vertical; | 8077 | -webkit-box-orient: vertical; |
8070 | -webkit-box-direction: normal; | 8078 | -webkit-box-direction: normal; |
8071 | -ms-flex-direction: column; | 8079 | -ms-flex-direction: column; |
8072 | flex-direction: column; | 8080 | flex-direction: column; |
8073 | gap: 20px; | 8081 | gap: 20px; |
8074 | } | 8082 | } |
8075 | .cabinet__title { | 8083 | .cabinet__title { |
8076 | font-size: 24px; | 8084 | font-size: 24px; |
8077 | margin-bottom: 20px; | 8085 | margin-bottom: 20px; |
8078 | } | 8086 | } |
8079 | @media (min-width: 768px) { | 8087 | @media (min-width: 768px) { |
8080 | .cabinet__title { | 8088 | .cabinet__title { |
8081 | font-size: 32px; | 8089 | font-size: 32px; |
8082 | } | 8090 | } |
8083 | } | 8091 | } |
8084 | @media (min-width: 992px) { | 8092 | @media (min-width: 992px) { |
8085 | .cabinet__title { | 8093 | .cabinet__title { |
8086 | font-size: 40px; | 8094 | font-size: 40px; |
8087 | } | 8095 | } |
8088 | } | 8096 | } |
8089 | .cabinet__subtitle { | 8097 | .cabinet__subtitle { |
8090 | font-size: 22px; | 8098 | font-size: 22px; |
8091 | margin: 0; | 8099 | margin: 0; |
8092 | font-weight: 700; | 8100 | font-weight: 700; |
8093 | color: #000; | 8101 | color: #000; |
8094 | } | 8102 | } |
8095 | @media (min-width: 768px) { | 8103 | @media (min-width: 768px) { |
8096 | .cabinet__subtitle { | 8104 | .cabinet__subtitle { |
8097 | font-size: 24px; | 8105 | font-size: 24px; |
8098 | } | 8106 | } |
8099 | } | 8107 | } |
8100 | .cabinet__h4 { | 8108 | .cabinet__h4 { |
8101 | font-size: 20px; | 8109 | font-size: 20px; |
8102 | margin: 0; | 8110 | margin: 0; |
8103 | font-weight: 700; | 8111 | font-weight: 700; |
8104 | color: #000; | 8112 | color: #000; |
8105 | } | 8113 | } |
8106 | @media (min-width: 768px) { | 8114 | @media (min-width: 768px) { |
8107 | .cabinet__h4 { | 8115 | .cabinet__h4 { |
8108 | font-size: 22px; | 8116 | font-size: 22px; |
8109 | } | 8117 | } |
8110 | } | 8118 | } |
8111 | .cabinet__text { | 8119 | .cabinet__text { |
8112 | margin: 0; | 8120 | margin: 0; |
8113 | font-size: 14px; | 8121 | font-size: 14px; |
8114 | } | 8122 | } |
8115 | @media (min-width: 768px) { | 8123 | @media (min-width: 768px) { |
8116 | .cabinet__text { | 8124 | .cabinet__text { |
8117 | font-size: 16px; | 8125 | font-size: 16px; |
8118 | } | 8126 | } |
8119 | } | 8127 | } |
8120 | .cabinet__text b { | 8128 | .cabinet__text b { |
8121 | color: #000; | 8129 | color: #000; |
8122 | font-size: 18px; | 8130 | font-size: 18px; |
8123 | } | 8131 | } |
8124 | @media (min-width: 768px) { | 8132 | @media (min-width: 768px) { |
8125 | .cabinet__text b { | 8133 | .cabinet__text b { |
8126 | font-size: 24px; | 8134 | font-size: 24px; |
8127 | } | 8135 | } |
8128 | } | 8136 | } |
8129 | .cabinet__descr { | 8137 | .cabinet__descr { |
8130 | display: -webkit-box; | 8138 | display: -webkit-box; |
8131 | display: -ms-flexbox; | 8139 | display: -ms-flexbox; |
8132 | display: flex; | 8140 | display: flex; |
8133 | -webkit-box-orient: vertical; | 8141 | -webkit-box-orient: vertical; |
8134 | -webkit-box-direction: normal; | 8142 | -webkit-box-direction: normal; |
8135 | -ms-flex-direction: column; | 8143 | -ms-flex-direction: column; |
8136 | flex-direction: column; | 8144 | flex-direction: column; |
8137 | gap: 6px; | 8145 | gap: 6px; |
8138 | } | 8146 | } |
8139 | @media (min-width: 768px) { | 8147 | @media (min-width: 768px) { |
8140 | .cabinet__descr { | 8148 | .cabinet__descr { |
8141 | gap: 12px; | 8149 | gap: 12px; |
8142 | } | 8150 | } |
8143 | } | 8151 | } |
8144 | .cabinet__avatar { | 8152 | .cabinet__avatar { |
8145 | display: -webkit-box; | 8153 | display: -webkit-box; |
8146 | display: -ms-flexbox; | 8154 | display: -ms-flexbox; |
8147 | display: flex; | 8155 | display: flex; |
8148 | -webkit-box-align: start; | 8156 | -webkit-box-align: start; |
8149 | -ms-flex-align: start; | 8157 | -ms-flex-align: start; |
8150 | align-items: flex-start; | 8158 | align-items: flex-start; |
8151 | } | 8159 | } |
8152 | @media (min-width: 768px) { | 8160 | @media (min-width: 768px) { |
8153 | .cabinet__avatar { | 8161 | .cabinet__avatar { |
8154 | -webkit-box-align: center; | 8162 | -webkit-box-align: center; |
8155 | -ms-flex-align: center; | 8163 | -ms-flex-align: center; |
8156 | align-items: center; | 8164 | align-items: center; |
8157 | } | 8165 | } |
8158 | } | 8166 | } |
8159 | .cabinet__avatar-pic { | 8167 | .cabinet__avatar-pic { |
8160 | width: 100px; | 8168 | width: 100px; |
8161 | aspect-ratio: 1/1; | 8169 | aspect-ratio: 1/1; |
8162 | position: relative; | 8170 | position: relative; |
8163 | display: -webkit-box; | 8171 | display: -webkit-box; |
8164 | display: -ms-flexbox; | 8172 | display: -ms-flexbox; |
8165 | display: flex; | 8173 | display: flex; |
8166 | -webkit-box-pack: center; | 8174 | -webkit-box-pack: center; |
8167 | -ms-flex-pack: center; | 8175 | -ms-flex-pack: center; |
8168 | justify-content: center; | 8176 | justify-content: center; |
8169 | -webkit-box-align: center; | 8177 | -webkit-box-align: center; |
8170 | -ms-flex-align: center; | 8178 | -ms-flex-align: center; |
8171 | align-items: center; | 8179 | align-items: center; |
8172 | overflow: hidden; | 8180 | overflow: hidden; |
8173 | border-radius: 8px; | 8181 | border-radius: 8px; |
8174 | color: #fff; | 8182 | color: #fff; |
8175 | background: #9c9d9d; | 8183 | background: #9c9d9d; |
8176 | } | 8184 | } |
8177 | .cabinet__avatar-pic svg { | 8185 | .cabinet__avatar-pic svg { |
8178 | width: 50%; | 8186 | width: 50%; |
8179 | aspect-ratio: 1/1; | 8187 | aspect-ratio: 1/1; |
8180 | z-index: 1; | 8188 | z-index: 1; |
8181 | position: relative; | 8189 | position: relative; |
8182 | } | 8190 | } |
8183 | .cabinet__avatar-pic img{ | 8191 | .cabinet__avatar-pic img{ |
8184 | max-width: 100%; | 8192 | max-width: 100%; |
8185 | max-height: 100%; | 8193 | max-height: 100%; |
8186 | } | 8194 | } |
8187 | .cabinet__avatar-form { | 8195 | .cabinet__avatar-form { |
8188 | width: calc(100% - 100px); | 8196 | width: calc(100% - 100px); |
8189 | padding-left: 15px; | 8197 | padding-left: 15px; |
8190 | display: -webkit-box; | 8198 | display: -webkit-box; |
8191 | display: -ms-flexbox; | 8199 | display: -ms-flexbox; |
8192 | display: flex; | 8200 | display: flex; |
8193 | -webkit-box-orient: vertical; | 8201 | -webkit-box-orient: vertical; |
8194 | -webkit-box-direction: normal; | 8202 | -webkit-box-direction: normal; |
8195 | -ms-flex-direction: column; | 8203 | -ms-flex-direction: column; |
8196 | flex-direction: column; | 8204 | flex-direction: column; |
8197 | gap: 6px; | 8205 | gap: 6px; |
8198 | } | 8206 | } |
8199 | .candidate-top-wrapper{ | 8207 | .candidate-top-wrapper{ |
8200 | display: flex; | 8208 | display: flex; |
8201 | } | 8209 | } |
8202 | .candidate-top-wrapper .candidate-thumbnail{ | 8210 | .candidate-top-wrapper .candidate-thumbnail{ |
8203 | width: 100px; | 8211 | width: 100px; |
8204 | height: 100px; | 8212 | height: 100px; |
8205 | min-width: 100px; | 8213 | min-width: 100px; |
8206 | border-radius: 8px; | 8214 | border-radius: 8px; |
8207 | overflow: hidden; | 8215 | overflow: hidden; |
8208 | } | 8216 | } |
8209 | .candidate-top-wrapper .candidate-thumbnail img{ | 8217 | .candidate-top-wrapper .candidate-thumbnail img{ |
8210 | max-height: 100%; | 8218 | max-height: 100%; |
8211 | max-width: 100%; | 8219 | max-width: 100%; |
8212 | } | 8220 | } |
8213 | .candidate-top-wrapper .candidate-information{ | 8221 | .candidate-top-wrapper .candidate-information{ |
8214 | padding-left: 20px; | 8222 | padding-left: 20px; |
8215 | font-size: 21px; | 8223 | font-size: 21px; |
8216 | display: flex; | 8224 | display: flex; |
8217 | align-items: center; | 8225 | align-items: center; |
8218 | } | 8226 | } |
8219 | .candidate-top-wrapper .candidate-information .candidate-title{ | 8227 | .candidate-top-wrapper .candidate-information .candidate-title{ |
8220 | font-size: inherit; | 8228 | font-size: inherit; |
8221 | } | 8229 | } |
8222 | .content-single-candidate .education-detail-description{ | 8230 | .content-single-candidate .education-detail-description{ |
8223 | margin-bottom: 50px; | 8231 | margin-bottom: 50px; |
8224 | text-align: justify; | 8232 | text-align: justify; |
8225 | } | 8233 | } |
8226 | .content-single-candidate .education-detail-description h3.title{ | 8234 | .content-single-candidate .education-detail-description h3.title{ |
8227 | font-size: 18px; | 8235 | font-size: 18px; |
8228 | margin: 0 0 20px; | 8236 | margin: 0 0 20px; |
8229 | } | 8237 | } |
8230 | .content-single-candidate .education-detail-description .inner{ | 8238 | .content-single-candidate .education-detail-description .inner{ |
8231 | font-size: 16px; | 8239 | font-size: 16px; |
8232 | font-weight: 300; | 8240 | font-weight: 300; |
8233 | line-height: 22px; | 8241 | line-height: 22px; |
8234 | color: #77838F; | 8242 | color: #77838F; |
8235 | } | 8243 | } |
8236 | .education-detail-programs h3.title{ | 8244 | .education-detail-programs h3.title{ |
8237 | font-size: 18px; | 8245 | font-size: 18px; |
8238 | margin: 0 0 20px; | 8246 | margin: 0 0 20px; |
8239 | } | 8247 | } |
8240 | .education-detail-programs .accordion{ | 8248 | .education-detail-programs .accordion{ |
8241 | margin: 1rem 0; | 8249 | margin: 1rem 0; |
8242 | padding: 0; | 8250 | padding: 0; |
8243 | list-style: none; | 8251 | list-style: none; |
8244 | border-top: 1px solid #ECEDF2; | 8252 | border-top: 1px solid #ECEDF2; |
8245 | } | 8253 | } |
8246 | .education-detail-programs .accordion.sub{ | 8254 | .education-detail-programs .accordion.sub{ |
8247 | padding-left: 20px; | 8255 | padding-left: 20px; |
8248 | display: none; | 8256 | display: none; |
8249 | } | 8257 | } |
8250 | .education-detail-programs .accordion-item { | 8258 | .education-detail-programs .accordion-item { |
8251 | border-bottom: 1px solid #ECEDF2; | 8259 | border-bottom: 1px solid #ECEDF2; |
8252 | } | 8260 | } |
8253 | .education-detail-programs .accordion-thumb { | 8261 | .education-detail-programs .accordion-thumb { |
8254 | margin: 0; | 8262 | margin: 0; |
8255 | padding: 25px 0; | 8263 | padding: 25px 0; |
8256 | cursor: pointer; | 8264 | cursor: pointer; |
8257 | font-weight: normal; | 8265 | font-weight: normal; |
8258 | color: #0E5C69; | 8266 | color: #0E5C69; |
8259 | font-size: 16px; | 8267 | font-size: 16px; |
8260 | text-transform: uppercase; | 8268 | text-transform: uppercase; |
8261 | } | 8269 | } |
8262 | .education-detail-programs .accordion-thumb::after { | 8270 | .education-detail-programs .accordion-thumb::after { |
8263 | content: ""; | 8271 | content: ""; |
8264 | display: block; | 8272 | display: block; |
8265 | float: right; | 8273 | float: right; |
8266 | position: relative; | 8274 | position: relative; |
8267 | top: 6px; | 8275 | top: 6px; |
8268 | height: 7px; | 8276 | height: 7px; |
8269 | width: 7px; | 8277 | width: 7px; |
8270 | margin-right: 1rem; | 8278 | margin-right: 1rem; |
8271 | margin-left: 0.5rem; | 8279 | margin-left: 0.5rem; |
8272 | border-right: 1px solid; | 8280 | border-right: 1px solid; |
8273 | border-bottom: 1px solid; | 8281 | border-bottom: 1px solid; |
8274 | border-color: #828A96; | 8282 | border-color: #828A96; |
8275 | transform: rotate(-45deg); | 8283 | transform: rotate(-45deg); |
8276 | transition: transform 0.2s ease-out; | 8284 | transition: transform 0.2s ease-out; |
8277 | } | 8285 | } |
8278 | .education-detail-programs .accordion-item .accordion-thumb.ui-state-active::after { | 8286 | .education-detail-programs .accordion-item .accordion-thumb.ui-state-active::after { |
8279 | transform: rotate(45deg); | 8287 | transform: rotate(45deg); |
8280 | } | 8288 | } |
8281 | .accordion-sub .accordion-panel{ | 8289 | .accordion-sub .accordion-panel{ |
8282 | display: none; | 8290 | display: none; |
8283 | } | 8291 | } |
8284 | .accordion > .accordion-item > .accordion-panel{ | 8292 | .accordion > .accordion-item > .accordion-panel{ |
8285 | opacity: 1; | 8293 | opacity: 1; |
8286 | } | 8294 | } |
8287 | .accordion-sub li{ | 8295 | .accordion-sub li{ |
8288 | list-style-type: none; | 8296 | list-style-type: none; |
8289 | } | 8297 | } |
8290 | .education-detail-contacts{ | 8298 | .education-detail-contacts{ |
8291 | margin-top: 50px; | 8299 | margin-top: 50px; |
8292 | } | 8300 | } |
8293 | .education-detail-contacts h3.title{ | 8301 | .education-detail-contacts h3.title{ |
8294 | font-size: 18px; | 8302 | font-size: 18px; |
8295 | margin: 0 0 20px; | 8303 | margin: 0 0 20px; |
8296 | } | 8304 | } |
8297 | .education-detail-contacts .inner > div{ | 8305 | .education-detail-contacts .inner > div{ |
8298 | display: flex; | 8306 | display: flex; |
8299 | align-items: center; | 8307 | align-items: center; |
8300 | margin-bottom: 20px; | 8308 | margin-bottom: 20px; |
8301 | } | 8309 | } |
8302 | .education-detail-contacts .inner > div .icon{ | 8310 | .education-detail-contacts .inner > div .icon{ |
8303 | margin-right: 20px; | 8311 | margin-right: 20px; |
8304 | } | 8312 | } |
8305 | @media (min-width: 768px) { | 8313 | @media (min-width: 768px) { |
8306 | .cabinet__avatar-form { | 8314 | .cabinet__avatar-form { |
8307 | -webkit-box-align: start; | 8315 | -webkit-box-align: start; |
8308 | -ms-flex-align: start; | 8316 | -ms-flex-align: start; |
8309 | align-items: flex-start; | 8317 | align-items: flex-start; |
8310 | padding-left: 30px; | 8318 | padding-left: 30px; |
8311 | gap: 12px; | 8319 | gap: 12px; |
8312 | } | 8320 | } |
8313 | } | 8321 | } |
8314 | @media (min-width: 768px) { | 8322 | @media (min-width: 768px) { |
8315 | .cabinet__avatar-form .file { | 8323 | .cabinet__avatar-form .file { |
8316 | min-width: 215px; | 8324 | min-width: 215px; |
8317 | } | 8325 | } |
8318 | } | 8326 | } |
8319 | .cabinet__inputs { | 8327 | .cabinet__inputs { |
8320 | display: -webkit-box; | 8328 | display: -webkit-box; |
8321 | display: -ms-flexbox; | 8329 | display: -ms-flexbox; |
8322 | display: flex; | 8330 | display: flex; |
8323 | -webkit-box-orient: vertical; | 8331 | -webkit-box-orient: vertical; |
8324 | -webkit-box-direction: normal; | 8332 | -webkit-box-direction: normal; |
8325 | -ms-flex-direction: column; | 8333 | -ms-flex-direction: column; |
8326 | flex-direction: column; | 8334 | flex-direction: column; |
8327 | gap: 20px; | 8335 | gap: 20px; |
8328 | } | 8336 | } |
8329 | @media (min-width: 1280px) { | 8337 | @media (min-width: 1280px) { |
8330 | .cabinet__inputs { | 8338 | .cabinet__inputs { |
8331 | -webkit-box-orient: horizontal; | 8339 | -webkit-box-orient: horizontal; |
8332 | -webkit-box-direction: normal; | 8340 | -webkit-box-direction: normal; |
8333 | -ms-flex-direction: row; | 8341 | -ms-flex-direction: row; |
8334 | flex-direction: row; | 8342 | flex-direction: row; |
8335 | -webkit-box-align: end; | 8343 | -webkit-box-align: end; |
8336 | -ms-flex-align: end; | 8344 | -ms-flex-align: end; |
8337 | align-items: end; | 8345 | align-items: end; |
8338 | -webkit-box-pack: justify; | 8346 | -webkit-box-pack: justify; |
8339 | -ms-flex-pack: justify; | 8347 | -ms-flex-pack: justify; |
8340 | justify-content: space-between; | 8348 | justify-content: space-between; |
8341 | -ms-flex-wrap: wrap; | 8349 | -ms-flex-wrap: wrap; |
8342 | flex-wrap: wrap; | 8350 | flex-wrap: wrap; |
8343 | } | 8351 | } |
8344 | } | 8352 | } |
8345 | @media (min-width: 1280px) { | 8353 | @media (min-width: 1280px) { |
8346 | .cabinet__inputs-item { | 8354 | .cabinet__inputs-item { |
8347 | width: calc(50% - 10px); | 8355 | width: calc(50% - 10px); |
8348 | } | 8356 | } |
8349 | } | 8357 | } |
8350 | @media (min-width: 1280px) { | 8358 | @media (min-width: 1280px) { |
8351 | .cabinet__inputs-item_fullwidth { | 8359 | .cabinet__inputs-item_fullwidth { |
8352 | width: 100%; | 8360 | width: 100%; |
8353 | } | 8361 | } |
8354 | } | 8362 | } |
8355 | @media (min-width: 1280px) { | 8363 | @media (min-width: 1280px) { |
8356 | .cabinet__inputs-item_min { | 8364 | .cabinet__inputs-item_min { |
8357 | width: calc(15% - 10px); | 8365 | width: calc(15% - 10px); |
8358 | } | 8366 | } |
8359 | } | 8367 | } |
8360 | @media (min-width: 1280px) { | 8368 | @media (min-width: 1280px) { |
8361 | .cabinet__inputs-item_max { | 8369 | .cabinet__inputs-item_max { |
8362 | width: calc(85% - 10px); | 8370 | width: calc(85% - 10px); |
8363 | } | 8371 | } |
8364 | } | 8372 | } |
8365 | @media (min-width: 768px) { | 8373 | @media (min-width: 768px) { |
8366 | .cabinet__inputs-item .button { | 8374 | .cabinet__inputs-item .button { |
8367 | width: 100%; | 8375 | width: 100%; |
8368 | max-width: 215px; | 8376 | max-width: 215px; |
8369 | padding: 0; | 8377 | padding: 0; |
8370 | } | 8378 | } |
8371 | } | 8379 | } |
8372 | .cabinet__inputs-item.column-count-3{ | 8380 | .cabinet__inputs-item.column-count-3{ |
8373 | width: calc(32% - 10px); | 8381 | width: calc(32% - 10px); |
8374 | } | 8382 | } |
8375 | .cabinet__inputs-item-full-row { | 8383 | .cabinet__inputs-item-full-row { |
8376 | width: 100%; | 8384 | width: 100%; |
8377 | } | 8385 | } |
8378 | .cabinet__inputs-item .buttons { | 8386 | .cabinet__inputs-item .buttons { |
8379 | display: grid; | 8387 | display: grid; |
8380 | grid-template-columns: 1fr 1fr; | 8388 | grid-template-columns: 1fr 1fr; |
8381 | gap: 10px; | 8389 | gap: 10px; |
8382 | } | 8390 | } |
8383 | .cabinet__inputs-item .form-group__label{ | 8391 | .cabinet__inputs-item .form-group__label{ |
8384 | font-weight: bold; | 8392 | font-weight: bold; |
8385 | } | 8393 | } |
8386 | @media (min-width: 768px) { | 8394 | @media (min-width: 768px) { |
8387 | .cabinet__inputs-item .buttons { | 8395 | .cabinet__inputs-item .buttons { |
8388 | gap: 20px; | 8396 | gap: 20px; |
8389 | max-width: 470px; | 8397 | max-width: 470px; |
8390 | } | 8398 | } |
8391 | } | 8399 | } |
8392 | @media (min-width: 992px) { | 8400 | @media (min-width: 992px) { |
8393 | .cabinet__inputs-item .buttons { | 8401 | .cabinet__inputs-item .buttons { |
8394 | max-width: none; | 8402 | max-width: none; |
8395 | } | 8403 | } |
8396 | } | 8404 | } |
8397 | @media (min-width: 1280px) { | 8405 | @media (min-width: 1280px) { |
8398 | .cabinet__inputs-item .buttons { | 8406 | .cabinet__inputs-item .buttons { |
8399 | max-width: 470px; | 8407 | max-width: 470px; |
8400 | } | 8408 | } |
8401 | } | 8409 | } |
8402 | .cabinet__inputs-item .buttons .button { | 8410 | .cabinet__inputs-item .buttons .button { |
8403 | max-width: none; | 8411 | max-width: none; |
8404 | } | 8412 | } |
8405 | .cabinet__inputs > .button { | 8413 | .cabinet__inputs > .button { |
8406 | padding: 0; | 8414 | padding: 0; |
8407 | width: 100%; | 8415 | width: 100%; |
8408 | max-width: 140px; | 8416 | max-width: 140px; |
8409 | } | 8417 | } |
8410 | @media (min-width: 768px) { | 8418 | @media (min-width: 768px) { |
8411 | .cabinet__inputs > .button { | 8419 | .cabinet__inputs > .button { |
8412 | max-width: 190px; | 8420 | max-width: 190px; |
8413 | } | 8421 | } |
8414 | } | 8422 | } |
8415 | .cabinet__add { | 8423 | .cabinet__add { |
8416 | display: -webkit-box; | 8424 | display: -webkit-box; |
8417 | display: -ms-flexbox; | 8425 | display: -ms-flexbox; |
8418 | display: flex; | 8426 | display: flex; |
8419 | -webkit-box-orient: vertical; | 8427 | -webkit-box-orient: vertical; |
8420 | -webkit-box-direction: normal; | 8428 | -webkit-box-direction: normal; |
8421 | -ms-flex-direction: column; | 8429 | -ms-flex-direction: column; |
8422 | flex-direction: column; | 8430 | flex-direction: column; |
8423 | gap: 10px; | 8431 | gap: 10px; |
8424 | } | 8432 | } |
8425 | @media (min-width: 768px) { | 8433 | @media (min-width: 768px) { |
8426 | .cabinet__add { | 8434 | .cabinet__add { |
8427 | gap: 0; | 8435 | gap: 0; |
8428 | -webkit-box-orient: horizontal; | 8436 | -webkit-box-orient: horizontal; |
8429 | -webkit-box-direction: normal; | 8437 | -webkit-box-direction: normal; |
8430 | -ms-flex-direction: row; | 8438 | -ms-flex-direction: row; |
8431 | flex-direction: row; | 8439 | flex-direction: row; |
8432 | -webkit-box-align: end; | 8440 | -webkit-box-align: end; |
8433 | -ms-flex-align: end; | 8441 | -ms-flex-align: end; |
8434 | align-items: flex-end; | 8442 | align-items: flex-end; |
8435 | } | 8443 | } |
8436 | } | 8444 | } |
8437 | .cabinet__add-pic { | 8445 | .cabinet__add-pic { |
8438 | border-radius: 4px; | 8446 | border-radius: 4px; |
8439 | position: relative; | 8447 | position: relative; |
8440 | overflow: hidden; | 8448 | overflow: hidden; |
8441 | background: #9c9d9d; | 8449 | background: #9c9d9d; |
8442 | color: #fff; | 8450 | color: #fff; |
8443 | width: 100px; | 8451 | width: 100px; |
8444 | aspect-ratio: 1/1; | 8452 | aspect-ratio: 1/1; |
8445 | -webkit-transition: 0.3s; | 8453 | -webkit-transition: 0.3s; |
8446 | transition: 0.3s; | 8454 | transition: 0.3s; |
8447 | } | 8455 | } |
8448 | @media (min-width: 768px) { | 8456 | @media (min-width: 768px) { |
8449 | .cabinet__add-pic { | 8457 | .cabinet__add-pic { |
8450 | width: 220px; | 8458 | width: 220px; |
8451 | border-radius: 8px; | 8459 | border-radius: 8px; |
8452 | } | 8460 | } |
8453 | } | 8461 | } |
8454 | .cabinet__add-pic:hover { | 8462 | .cabinet__add-pic:hover { |
8455 | background: #000; | 8463 | background: #000; |
8456 | } | 8464 | } |
8457 | .cabinet__add-pic input { | 8465 | .cabinet__add-pic input { |
8458 | display: none; | 8466 | display: none; |
8459 | } | 8467 | } |
8460 | .cabinet__add-pic > svg { | 8468 | .cabinet__add-pic > svg { |
8461 | width: 20px; | 8469 | width: 20px; |
8462 | position: absolute; | 8470 | position: absolute; |
8463 | top: 50%; | 8471 | top: 50%; |
8464 | left: 50%; | 8472 | left: 50%; |
8465 | -webkit-transform: translate(-50%, -50%); | 8473 | -webkit-transform: translate(-50%, -50%); |
8466 | -ms-transform: translate(-50%, -50%); | 8474 | -ms-transform: translate(-50%, -50%); |
8467 | transform: translate(-50%, -50%); | 8475 | transform: translate(-50%, -50%); |
8468 | z-index: 1; | 8476 | z-index: 1; |
8469 | } | 8477 | } |
8470 | @media (min-width: 768px) { | 8478 | @media (min-width: 768px) { |
8471 | .cabinet__add-pic > svg { | 8479 | .cabinet__add-pic > svg { |
8472 | width: 50px; | 8480 | width: 50px; |
8473 | } | 8481 | } |
8474 | } | 8482 | } |
8475 | .cabinet__add-pic span { | 8483 | .cabinet__add-pic span { |
8476 | display: -webkit-box; | 8484 | display: -webkit-box; |
8477 | display: -ms-flexbox; | 8485 | display: -ms-flexbox; |
8478 | display: flex; | 8486 | display: flex; |
8479 | -webkit-box-align: center; | 8487 | -webkit-box-align: center; |
8480 | -ms-flex-align: center; | 8488 | -ms-flex-align: center; |
8481 | align-items: center; | 8489 | align-items: center; |
8482 | -webkit-box-pack: center; | 8490 | -webkit-box-pack: center; |
8483 | -ms-flex-pack: center; | 8491 | -ms-flex-pack: center; |
8484 | justify-content: center; | 8492 | justify-content: center; |
8485 | width: 100%; | 8493 | width: 100%; |
8486 | gap: 4px; | 8494 | gap: 4px; |
8487 | font-weight: 700; | 8495 | font-weight: 700; |
8488 | font-size: 8px; | 8496 | font-size: 8px; |
8489 | line-height: 1; | 8497 | line-height: 1; |
8490 | position: absolute; | 8498 | position: absolute; |
8491 | top: 50%; | 8499 | top: 50%; |
8492 | left: 50%; | 8500 | left: 50%; |
8493 | -webkit-transform: translate(-50%, -50%); | 8501 | -webkit-transform: translate(-50%, -50%); |
8494 | -ms-transform: translate(-50%, -50%); | 8502 | -ms-transform: translate(-50%, -50%); |
8495 | transform: translate(-50%, -50%); | 8503 | transform: translate(-50%, -50%); |
8496 | margin-top: 25px; | 8504 | margin-top: 25px; |
8497 | } | 8505 | } |
8498 | @media (min-width: 768px) { | 8506 | @media (min-width: 768px) { |
8499 | .cabinet__add-pic span { | 8507 | .cabinet__add-pic span { |
8500 | font-size: 16px; | 8508 | font-size: 16px; |
8501 | margin-top: 60px; | 8509 | margin-top: 60px; |
8502 | } | 8510 | } |
8503 | } | 8511 | } |
8504 | .cabinet__add-pic span svg { | 8512 | .cabinet__add-pic span svg { |
8505 | width: 7px; | 8513 | width: 7px; |
8506 | aspect-ratio: 1/1; | 8514 | aspect-ratio: 1/1; |
8507 | } | 8515 | } |
8508 | @media (min-width: 768px) { | 8516 | @media (min-width: 768px) { |
8509 | .cabinet__add-pic span svg { | 8517 | .cabinet__add-pic span svg { |
8510 | width: 16px; | 8518 | width: 16px; |
8511 | } | 8519 | } |
8512 | } | 8520 | } |
8513 | .cabinet__add-body { | 8521 | .cabinet__add-body { |
8514 | display: -webkit-box; | 8522 | display: -webkit-box; |
8515 | display: -ms-flexbox; | 8523 | display: -ms-flexbox; |
8516 | display: flex; | 8524 | display: flex; |
8517 | -webkit-box-orient: vertical; | 8525 | -webkit-box-orient: vertical; |
8518 | -webkit-box-direction: normal; | 8526 | -webkit-box-direction: normal; |
8519 | -ms-flex-direction: column; | 8527 | -ms-flex-direction: column; |
8520 | flex-direction: column; | 8528 | flex-direction: column; |
8521 | gap: 10px; | 8529 | gap: 10px; |
8522 | } | 8530 | } |
8523 | @media (min-width: 768px) { | 8531 | @media (min-width: 768px) { |
8524 | .cabinet__add-body { | 8532 | .cabinet__add-body { |
8525 | gap: 20px; | 8533 | gap: 20px; |
8526 | width: calc(100% - 220px); | 8534 | width: calc(100% - 220px); |
8527 | padding-left: 20px; | 8535 | padding-left: 20px; |
8528 | } | 8536 | } |
8529 | } | 8537 | } |
8530 | @media (min-width: 768px) { | 8538 | @media (min-width: 768px) { |
8531 | .cabinet__add-body .button { | 8539 | .cabinet__add-body .button { |
8532 | width: 215px; | 8540 | width: 215px; |
8533 | padding: 0; | 8541 | padding: 0; |
8534 | } | 8542 | } |
8535 | } | 8543 | } |
8536 | .cabinet__fleet { | 8544 | .cabinet__fleet { |
8537 | display: -webkit-box; | 8545 | display: -webkit-box; |
8538 | display: -ms-flexbox; | 8546 | display: -ms-flexbox; |
8539 | display: flex; | 8547 | display: flex; |
8540 | -webkit-box-orient: vertical; | 8548 | -webkit-box-orient: vertical; |
8541 | -webkit-box-direction: normal; | 8549 | -webkit-box-direction: normal; |
8542 | -ms-flex-direction: column; | 8550 | -ms-flex-direction: column; |
8543 | flex-direction: column; | 8551 | flex-direction: column; |
8544 | gap: 20px; | 8552 | gap: 20px; |
8545 | } | 8553 | } |
8546 | @media (min-width: 768px) { | 8554 | @media (min-width: 768px) { |
8547 | .cabinet__fleet { | 8555 | .cabinet__fleet { |
8548 | display: grid; | 8556 | display: grid; |
8549 | grid-template-columns: repeat(2, 1fr); | 8557 | grid-template-columns: repeat(2, 1fr); |
8550 | } | 8558 | } |
8551 | } | 8559 | } |
8552 | @media (min-width: 1280px) { | 8560 | @media (min-width: 1280px) { |
8553 | .cabinet__fleet { | 8561 | .cabinet__fleet { |
8554 | grid-template-columns: repeat(3, 1fr); | 8562 | grid-template-columns: repeat(3, 1fr); |
8555 | } | 8563 | } |
8556 | } | 8564 | } |
8557 | @media (min-width: 768px) { | 8565 | @media (min-width: 768px) { |
8558 | .cabinet__submit { | 8566 | .cabinet__submit { |
8559 | width: 215px; | 8567 | width: 215px; |
8560 | padding: 0; | 8568 | padding: 0; |
8561 | margin: 0 auto; | 8569 | margin: 0 auto; |
8562 | } | 8570 | } |
8563 | } | 8571 | } |
8564 | .cabinet__filters { | 8572 | .cabinet__filters { |
8565 | display: -webkit-box; | 8573 | display: -webkit-box; |
8566 | display: -ms-flexbox; | 8574 | display: -ms-flexbox; |
8567 | display: flex; | 8575 | display: flex; |
8568 | -webkit-box-orient: vertical; | 8576 | -webkit-box-orient: vertical; |
8569 | -webkit-box-direction: normal; | 8577 | -webkit-box-direction: normal; |
8570 | -ms-flex-direction: column; | 8578 | -ms-flex-direction: column; |
8571 | flex-direction: column; | 8579 | flex-direction: column; |
8572 | gap: 10px; | 8580 | gap: 10px; |
8573 | } | 8581 | } |
8574 | .cabinet__export-wrap{ | 8582 | .cabinet__export-wrap{ |
8575 | padding: 10px; | 8583 | padding: 10px; |
8576 | border: 1px #cecece solid; | 8584 | border: 1px #cecece solid; |
8577 | border-radius: 8px; | 8585 | border-radius: 8px; |
8578 | width: 100%; | 8586 | width: 100%; |
8579 | } | 8587 | } |
8580 | .cabinet__export-button-wrap{ | 8588 | .cabinet__export-button-wrap{ |
8581 | max-width: 200px; | 8589 | max-width: 200px; |
8582 | margin-bottom: 10px; | 8590 | margin-bottom: 10px; |
8583 | } | 8591 | } |
8584 | .cabinet__export-options-wrap{ | 8592 | .cabinet__export-options-wrap{ |
8585 | display: flex; | 8593 | display: flex; |
8586 | justify-content: space-between; | 8594 | justify-content: space-between; |
8587 | } | 8595 | } |
8588 | .job-title-list-wrap{ | 8596 | .job-title-list-wrap{ |
8589 | margin-top: 5px; | 8597 | margin-top: 5px; |
8590 | } | 8598 | } |
8591 | .cabinet__export-error{ | 8599 | .cabinet__export-error{ |
8592 | color: red; | 8600 | color: red; |
8593 | } | 8601 | } |
8594 | .flot-image-wrap img{ | 8602 | .flot-image-wrap img{ |
8595 | max-width: 100%; | 8603 | max-width: 100%; |
8596 | max-height: 100%; | 8604 | max-height: 100%; |
8597 | flex: 0 0 auto; | 8605 | flex: 0 0 auto; |
8598 | } | 8606 | } |
8599 | .flot-image-wrap{ | 8607 | .flot-image-wrap{ |
8600 | width: 220px; | 8608 | width: 220px; |
8601 | height: 220px; | 8609 | height: 220px; |
8602 | display: flex; | 8610 | display: flex; |
8603 | justify-content: center; | 8611 | justify-content: center; |
8604 | align-items: center; | 8612 | align-items: center; |
8605 | } | 8613 | } |
8606 | @media (min-width: 768px) { | 8614 | @media (min-width: 768px) { |
8607 | .cabinet__filters { | 8615 | .cabinet__filters { |
8608 | gap: 20px; | 8616 | gap: 20px; |
8609 | } | 8617 | } |
8610 | } | 8618 | } |
8611 | @media (min-width: 1280px) { | 8619 | @media (min-width: 1280px) { |
8612 | .cabinet__filters { | 8620 | .cabinet__filters { |
8613 | -webkit-box-orient: horizontal; | 8621 | -webkit-box-orient: horizontal; |
8614 | -webkit-box-direction: normal; | 8622 | -webkit-box-direction: normal; |
8615 | -ms-flex-direction: row; | 8623 | -ms-flex-direction: row; |
8616 | flex-direction: row; | 8624 | flex-direction: row; |
8617 | -webkit-box-align: start; | 8625 | -webkit-box-align: start; |
8618 | -ms-flex-align: start; | 8626 | -ms-flex-align: start; |
8619 | align-items: flex-start; | 8627 | align-items: flex-start; |
8620 | -webkit-box-pack: justify; | 8628 | -webkit-box-pack: justify; |
8621 | -ms-flex-pack: justify; | 8629 | -ms-flex-pack: justify; |
8622 | justify-content: space-between; | 8630 | justify-content: space-between; |
8623 | } | 8631 | } |
8624 | } | 8632 | } |
8625 | .cabinet__filters-item { | 8633 | .cabinet__filters-item { |
8626 | display: -webkit-box; | 8634 | display: -webkit-box; |
8627 | display: -ms-flexbox; | 8635 | display: -ms-flexbox; |
8628 | display: flex; | 8636 | display: flex; |
8629 | -webkit-box-orient: vertical; | 8637 | -webkit-box-orient: vertical; |
8630 | -webkit-box-direction: normal; | 8638 | -webkit-box-direction: normal; |
8631 | -ms-flex-direction: column; | 8639 | -ms-flex-direction: column; |
8632 | flex-direction: column; | 8640 | flex-direction: column; |
8633 | -webkit-box-align: start; | 8641 | -webkit-box-align: start; |
8634 | -ms-flex-align: start; | 8642 | -ms-flex-align: start; |
8635 | align-items: flex-start; | 8643 | align-items: flex-start; |
8636 | gap: 10px; | 8644 | gap: 10px; |
8637 | } | 8645 | } |
8638 | @media (min-width: 768px) { | 8646 | @media (min-width: 768px) { |
8639 | .cabinet__filters-item { | 8647 | .cabinet__filters-item { |
8640 | gap: 20px; | 8648 | gap: 20px; |
8641 | } | 8649 | } |
8642 | } | 8650 | } |
8643 | @media (min-width: 1280px) { | 8651 | @media (min-width: 1280px) { |
8644 | .cabinet__filters-item { | 8652 | .cabinet__filters-item { |
8645 | width: calc(50% - 10px); | 8653 | width: calc(50% - 10px); |
8646 | max-width: 410px; | 8654 | max-width: 410px; |
8647 | } | 8655 | } |
8648 | } | 8656 | } |
8649 | .cabinet__filters-item .button, | 8657 | .cabinet__filters-item .button, |
8650 | .cabinet__filters-item .select { | 8658 | .cabinet__filters-item .select { |
8651 | width: 100%; | 8659 | width: 100%; |
8652 | } | 8660 | } |
8653 | @media (min-width: 1280px) { | 8661 | @media (min-width: 1280px) { |
8654 | .cabinet__filters-item .button, | 8662 | .cabinet__filters-item .button, |
8655 | .cabinet__filters-item .select { | 8663 | .cabinet__filters-item .select { |
8656 | width: auto; | 8664 | width: auto; |
8657 | } | 8665 | } |
8658 | } | 8666 | } |
8659 | .cabinet__filters-item + .cabinet__filters-item { | 8667 | .cabinet__filters-item + .cabinet__filters-item { |
8660 | -webkit-box-align: end; | 8668 | -webkit-box-align: end; |
8661 | -ms-flex-align: end; | 8669 | -ms-flex-align: end; |
8662 | align-items: flex-end; | 8670 | align-items: flex-end; |
8663 | } | 8671 | } |
8664 | @media (min-width: 1280px) { | 8672 | @media (min-width: 1280px) { |
8665 | .cabinet__filters-item + .cabinet__filters-item { | 8673 | .cabinet__filters-item + .cabinet__filters-item { |
8666 | max-width: 280px; | 8674 | max-width: 280px; |
8667 | } | 8675 | } |
8668 | } | 8676 | } |
8669 | .cabinet__filters .search input { | 8677 | .cabinet__filters .search input { |
8670 | padding-right: 135px; | 8678 | padding-right: 135px; |
8671 | } | 8679 | } |
8672 | .cabinet__filters .search button { | 8680 | .cabinet__filters .search button { |
8673 | width: 115px; | 8681 | width: 115px; |
8674 | } | 8682 | } |
8675 | .cabinet__filters-buttons { | 8683 | .cabinet__filters-buttons { |
8676 | display: grid; | 8684 | display: grid; |
8677 | grid-template-columns: 1fr 1fr; | 8685 | grid-template-columns: 1fr 1fr; |
8678 | gap: 10px; | 8686 | gap: 10px; |
8679 | width: 100%; | 8687 | width: 100%; |
8680 | } | 8688 | } |
8681 | @media (min-width: 768px) { | 8689 | @media (min-width: 768px) { |
8682 | .cabinet__filters-buttons { | 8690 | .cabinet__filters-buttons { |
8683 | gap: 20px; | 8691 | gap: 20px; |
8684 | } | 8692 | } |
8685 | } | 8693 | } |
8686 | .cabinet__filters-buttons .button { | 8694 | .cabinet__filters-buttons .button { |
8687 | padding: 0; | 8695 | padding: 0; |
8688 | gap: 5px; | 8696 | gap: 5px; |
8689 | } | 8697 | } |
8690 | .cabinet__filters-buttons .button.active { | 8698 | .cabinet__filters-buttons .button.active { |
8691 | background: #377d87; | 8699 | background: #377d87; |
8692 | color: #fff; | 8700 | color: #fff; |
8693 | } | 8701 | } |
8694 | .cabinet__filters-buttons .button.active:before { | 8702 | .cabinet__filters-buttons .button.active:before { |
8695 | content: ""; | 8703 | content: ""; |
8696 | width: 6px; | 8704 | width: 6px; |
8697 | height: 6px; | 8705 | height: 6px; |
8698 | background: #fff; | 8706 | background: #fff; |
8699 | border-radius: 999px; | 8707 | border-radius: 999px; |
8700 | } | 8708 | } |
8701 | .cabinet__table-header { | 8709 | .cabinet__table-header { |
8702 | display: -webkit-box; | 8710 | display: -webkit-box; |
8703 | display: -ms-flexbox; | 8711 | display: -ms-flexbox; |
8704 | display: flex; | 8712 | display: flex; |
8705 | -webkit-box-pack: justify; | 8713 | -webkit-box-pack: justify; |
8706 | -ms-flex-pack: justify; | 8714 | -ms-flex-pack: justify; |
8707 | justify-content: space-between; | 8715 | justify-content: space-between; |
8708 | -webkit-box-align: center; | 8716 | -webkit-box-align: center; |
8709 | -ms-flex-align: center; | 8717 | -ms-flex-align: center; |
8710 | align-items: center; | 8718 | align-items: center; |
8711 | font-weight: 700; | 8719 | font-weight: 700; |
8712 | margin-bottom: -10px; | 8720 | margin-bottom: -10px; |
8713 | } | 8721 | } |
8714 | .cabinet__table-header div { | 8722 | .cabinet__table-header div { |
8715 | font-size: 18px; | 8723 | font-size: 18px; |
8716 | } | 8724 | } |
8717 | @media (min-width: 768px) { | 8725 | @media (min-width: 768px) { |
8718 | .cabinet__table-header div { | 8726 | .cabinet__table-header div { |
8719 | font-size: 24px; | 8727 | font-size: 24px; |
8720 | } | 8728 | } |
8721 | } | 8729 | } |
8722 | .cabinet__table-header span { | 8730 | .cabinet__table-header span { |
8723 | color: #000; | 8731 | color: #000; |
8724 | font-size: 14px; | 8732 | font-size: 14px; |
8725 | } | 8733 | } |
8726 | @media (min-width: 768px) { | 8734 | @media (min-width: 768px) { |
8727 | .cabinet__table-header span { | 8735 | .cabinet__table-header span { |
8728 | font-size: 18px; | 8736 | font-size: 18px; |
8729 | } | 8737 | } |
8730 | } | 8738 | } |
8731 | .cabinet__table-header span b { | 8739 | .cabinet__table-header span b { |
8732 | color: #377d87; | 8740 | color: #377d87; |
8733 | } | 8741 | } |
8734 | .cabinet__tabs { | 8742 | .cabinet__tabs { |
8735 | display: grid; | 8743 | display: grid; |
8736 | grid-template-columns: 1fr 1fr; | 8744 | grid-template-columns: 1fr 1fr; |
8737 | gap: 20px; | 8745 | gap: 20px; |
8738 | } | 8746 | } |
8739 | @media (min-width: 768px) { | 8747 | @media (min-width: 768px) { |
8740 | .cabinet__tabs { | 8748 | .cabinet__tabs { |
8741 | max-width: 420px; | 8749 | max-width: 420px; |
8742 | } | 8750 | } |
8743 | } | 8751 | } |
8744 | .cabinet__tabs .button.active { | 8752 | .cabinet__tabs .button.active { |
8745 | background: #377d87; | 8753 | background: #377d87; |
8746 | color: #fff; | 8754 | color: #fff; |
8747 | } | 8755 | } |
8748 | .cabinet__bodies { | 8756 | .cabinet__bodies { |
8749 | display: none; | 8757 | display: none; |
8750 | } | 8758 | } |
8751 | .cabinet__bodies.showed { | 8759 | .cabinet__bodies.showed { |
8752 | display: block; | 8760 | display: block; |
8753 | } | 8761 | } |
8754 | .cabinet__nots { | 8762 | .cabinet__nots { |
8755 | display: -webkit-box; | 8763 | display: -webkit-box; |
8756 | display: -ms-flexbox; | 8764 | display: -ms-flexbox; |
8757 | display: flex; | 8765 | display: flex; |
8758 | -webkit-box-orient: vertical; | 8766 | -webkit-box-orient: vertical; |
8759 | -webkit-box-direction: normal; | 8767 | -webkit-box-direction: normal; |
8760 | -ms-flex-direction: column; | 8768 | -ms-flex-direction: column; |
8761 | flex-direction: column; | 8769 | flex-direction: column; |
8762 | -webkit-box-align: start; | 8770 | -webkit-box-align: start; |
8763 | -ms-flex-align: start; | 8771 | -ms-flex-align: start; |
8764 | align-items: flex-start; | 8772 | align-items: flex-start; |
8765 | gap: 10px; | 8773 | gap: 10px; |
8766 | } | 8774 | } |
8767 | @media (min-width: 768px) { | 8775 | @media (min-width: 768px) { |
8768 | .cabinet__nots { | 8776 | .cabinet__nots { |
8769 | gap: 20px; | 8777 | gap: 20px; |
8770 | } | 8778 | } |
8771 | } | 8779 | } |
8772 | .cabinet__nots .input { | 8780 | .cabinet__nots .input { |
8773 | width: 100%; | 8781 | width: 100%; |
8774 | } | 8782 | } |
8775 | .cabinet__anketa { | 8783 | .cabinet__anketa { |
8776 | display: -webkit-box; | 8784 | display: -webkit-box; |
8777 | display: -ms-flexbox; | 8785 | display: -ms-flexbox; |
8778 | display: flex; | 8786 | display: flex; |
8779 | -webkit-box-orient: vertical; | 8787 | -webkit-box-orient: vertical; |
8780 | -webkit-box-direction: normal; | 8788 | -webkit-box-direction: normal; |
8781 | -ms-flex-direction: column; | 8789 | -ms-flex-direction: column; |
8782 | flex-direction: column; | 8790 | flex-direction: column; |
8783 | -webkit-box-pack: justify; | 8791 | -webkit-box-pack: justify; |
8784 | -ms-flex-pack: justify; | 8792 | -ms-flex-pack: justify; |
8785 | justify-content: space-between; | 8793 | justify-content: space-between; |
8786 | gap: 10px; | 8794 | gap: 10px; |
8787 | } | 8795 | } |
8788 | @media (min-width: 768px) { | 8796 | @media (min-width: 768px) { |
8789 | .cabinet__anketa { | 8797 | .cabinet__anketa { |
8790 | -webkit-box-orient: horizontal; | 8798 | -webkit-box-orient: horizontal; |
8791 | -webkit-box-direction: normal; | 8799 | -webkit-box-direction: normal; |
8792 | -ms-flex-direction: row; | 8800 | -ms-flex-direction: row; |
8793 | flex-direction: row; | 8801 | flex-direction: row; |
8794 | -webkit-box-align: center; | 8802 | -webkit-box-align: center; |
8795 | -ms-flex-align: center; | 8803 | -ms-flex-align: center; |
8796 | align-items: center; | 8804 | align-items: center; |
8797 | } | 8805 | } |
8798 | } | 8806 | } |
8799 | @media (min-width: 992px) { | 8807 | @media (min-width: 992px) { |
8800 | .cabinet__anketa { | 8808 | .cabinet__anketa { |
8801 | -webkit-box-orient: vertical; | 8809 | -webkit-box-orient: vertical; |
8802 | -webkit-box-direction: normal; | 8810 | -webkit-box-direction: normal; |
8803 | -ms-flex-direction: column; | 8811 | -ms-flex-direction: column; |
8804 | flex-direction: column; | 8812 | flex-direction: column; |
8805 | -webkit-box-align: stretch; | 8813 | -webkit-box-align: stretch; |
8806 | -ms-flex-align: stretch; | 8814 | -ms-flex-align: stretch; |
8807 | align-items: stretch; | 8815 | align-items: stretch; |
8808 | } | 8816 | } |
8809 | } | 8817 | } |
8810 | @media (min-width: 1280px) { | 8818 | @media (min-width: 1280px) { |
8811 | .cabinet__anketa { | 8819 | .cabinet__anketa { |
8812 | -webkit-box-orient: horizontal; | 8820 | -webkit-box-orient: horizontal; |
8813 | -webkit-box-direction: normal; | 8821 | -webkit-box-direction: normal; |
8814 | -ms-flex-direction: row; | 8822 | -ms-flex-direction: row; |
8815 | flex-direction: row; | 8823 | flex-direction: row; |
8816 | -webkit-box-align: center; | 8824 | -webkit-box-align: center; |
8817 | -ms-flex-align: center; | 8825 | -ms-flex-align: center; |
8818 | align-items: center; | 8826 | align-items: center; |
8819 | -webkit-box-pack: justify; | 8827 | -webkit-box-pack: justify; |
8820 | -ms-flex-pack: justify; | 8828 | -ms-flex-pack: justify; |
8821 | justify-content: space-between; | 8829 | justify-content: space-between; |
8822 | } | 8830 | } |
8823 | } | 8831 | } |
8824 | .cabinet__anketa-buttons { | 8832 | .cabinet__anketa-buttons { |
8825 | display: -webkit-box; | 8833 | display: -webkit-box; |
8826 | display: -ms-flexbox; | 8834 | display: -ms-flexbox; |
8827 | display: flex; | 8835 | display: flex; |
8828 | -webkit-box-orient: vertical; | 8836 | -webkit-box-orient: vertical; |
8829 | -webkit-box-direction: normal; | 8837 | -webkit-box-direction: normal; |
8830 | -ms-flex-direction: column; | 8838 | -ms-flex-direction: column; |
8831 | flex-direction: column; | 8839 | flex-direction: column; |
8832 | gap: 10px; | 8840 | gap: 10px; |
8833 | } | 8841 | } |
8834 | @media (min-width: 768px) { | 8842 | @media (min-width: 768px) { |
8835 | .cabinet__anketa-buttons { | 8843 | .cabinet__anketa-buttons { |
8836 | display: grid; | 8844 | display: grid; |
8837 | grid-template-columns: 1fr 1fr; | 8845 | grid-template-columns: 1fr 1fr; |
8838 | gap: 20px; | 8846 | gap: 20px; |
8839 | } | 8847 | } |
8840 | } | 8848 | } |
8841 | .cabinet__stats { | 8849 | .cabinet__stats { |
8842 | display: -webkit-box; | 8850 | display: -webkit-box; |
8843 | display: -ms-flexbox; | 8851 | display: -ms-flexbox; |
8844 | display: flex; | 8852 | display: flex; |
8845 | -webkit-box-orient: vertical; | 8853 | -webkit-box-orient: vertical; |
8846 | -webkit-box-direction: normal; | 8854 | -webkit-box-direction: normal; |
8847 | -ms-flex-direction: column; | 8855 | -ms-flex-direction: column; |
8848 | flex-direction: column; | 8856 | flex-direction: column; |
8849 | gap: 6px; | 8857 | gap: 6px; |
8850 | } | 8858 | } |
8851 | @media (min-width: 768px) { | 8859 | @media (min-width: 768px) { |
8852 | .cabinet__stats { | 8860 | .cabinet__stats { |
8853 | gap: 12px; | 8861 | gap: 12px; |
8854 | } | 8862 | } |
8855 | } | 8863 | } |
8856 | .cabinet__stats-title { | 8864 | .cabinet__stats-title { |
8857 | font-size: 14px; | 8865 | font-size: 14px; |
8858 | font-weight: 700; | 8866 | font-weight: 700; |
8859 | color: #000; | 8867 | color: #000; |
8860 | } | 8868 | } |
8861 | @media (min-width: 768px) { | 8869 | @media (min-width: 768px) { |
8862 | .cabinet__stats-title { | 8870 | .cabinet__stats-title { |
8863 | font-size: 24px; | 8871 | font-size: 24px; |
8864 | } | 8872 | } |
8865 | } | 8873 | } |
8866 | .cabinet__stats-body { | 8874 | .cabinet__stats-body { |
8867 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 8875 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
8868 | border-radius: 8px; | 8876 | border-radius: 8px; |
8869 | padding: 10px; | 8877 | padding: 10px; |
8870 | display: grid; | 8878 | display: grid; |
8871 | grid-template-columns: 1fr 1fr; | 8879 | grid-template-columns: 1fr 1fr; |
8872 | gap: 20px; | 8880 | gap: 20px; |
8873 | margin-bottom: 10px; | 8881 | margin-bottom: 10px; |
8874 | } | 8882 | } |
8875 | @media (min-width: 768px) { | 8883 | @media (min-width: 768px) { |
8876 | .cabinet__stats-body { | 8884 | .cabinet__stats-body { |
8877 | padding: 10px 20px; | 8885 | padding: 10px 20px; |
8878 | } | 8886 | } |
8879 | } | 8887 | } |
8880 | .cabinet__stats-item { | 8888 | .cabinet__stats-item { |
8881 | font-size: 12px; | 8889 | font-size: 12px; |
8882 | display: -webkit-box; | 8890 | display: -webkit-box; |
8883 | display: -ms-flexbox; | 8891 | display: -ms-flexbox; |
8884 | display: flex; | 8892 | display: flex; |
8885 | -webkit-box-align: center; | 8893 | -webkit-box-align: center; |
8886 | -ms-flex-align: center; | 8894 | -ms-flex-align: center; |
8887 | align-items: center; | 8895 | align-items: center; |
8888 | line-height: 1; | 8896 | line-height: 1; |
8889 | gap: 6px; | 8897 | gap: 6px; |
8890 | } | 8898 | } |
8891 | @media (min-width: 768px) { | 8899 | @media (min-width: 768px) { |
8892 | .cabinet__stats-item { | 8900 | .cabinet__stats-item { |
8893 | font-size: 20px; | 8901 | font-size: 20px; |
8894 | gap: 10px; | 8902 | gap: 10px; |
8895 | } | 8903 | } |
8896 | } | 8904 | } |
8897 | .cabinet__stats-item svg { | 8905 | .cabinet__stats-item svg { |
8898 | width: 20px; | 8906 | width: 20px; |
8899 | aspect-ratio: 1/1; | 8907 | aspect-ratio: 1/1; |
8900 | color: #377d87; | 8908 | color: #377d87; |
8901 | } | 8909 | } |
8902 | @media (min-width: 768px) { | 8910 | @media (min-width: 768px) { |
8903 | .cabinet__stats-item svg { | 8911 | .cabinet__stats-item svg { |
8904 | width: 40px; | 8912 | width: 40px; |
8905 | margin-right: 10px; | 8913 | margin-right: 10px; |
8906 | } | 8914 | } |
8907 | } | 8915 | } |
8908 | .cabinet__stats-item span { | 8916 | .cabinet__stats-item span { |
8909 | font-weight: 700; | 8917 | font-weight: 700; |
8910 | color: #000; | 8918 | color: #000; |
8911 | } | 8919 | } |
8912 | .cabinet__stats-item b { | 8920 | .cabinet__stats-item b { |
8913 | color: #377d87; | 8921 | color: #377d87; |
8914 | font-size: 14px; | 8922 | font-size: 14px; |
8915 | } | 8923 | } |
8916 | @media (min-width: 768px) { | 8924 | @media (min-width: 768px) { |
8917 | .cabinet__stats-item b { | 8925 | .cabinet__stats-item b { |
8918 | font-size: 24px; | 8926 | font-size: 24px; |
8919 | } | 8927 | } |
8920 | } | 8928 | } |
8921 | .cabinet__stats-subtitle { | 8929 | .cabinet__stats-subtitle { |
8922 | font-size: 14px; | 8930 | font-size: 14px; |
8923 | font-weight: 700; | 8931 | font-weight: 700; |
8924 | color: #377d87; | 8932 | color: #377d87; |
8925 | } | 8933 | } |
8926 | @media (min-width: 768px) { | 8934 | @media (min-width: 768px) { |
8927 | .cabinet__stats-subtitle { | 8935 | .cabinet__stats-subtitle { |
8928 | font-size: 18px; | 8936 | font-size: 18px; |
8929 | } | 8937 | } |
8930 | } | 8938 | } |
8931 | .cabinet__stats-line { | 8939 | .cabinet__stats-line { |
8932 | width: 100%; | 8940 | width: 100%; |
8933 | position: relative; | 8941 | position: relative; |
8934 | overflow: hidden; | 8942 | overflow: hidden; |
8935 | height: 8px; | 8943 | height: 8px; |
8936 | border-radius: 999px; | 8944 | border-radius: 999px; |
8937 | background: #cecece; | 8945 | background: #cecece; |
8938 | } | 8946 | } |
8939 | .cabinet__stats-line span { | 8947 | .cabinet__stats-line span { |
8940 | position: absolute; | 8948 | position: absolute; |
8941 | top: 0; | 8949 | top: 0; |
8942 | left: 0; | 8950 | left: 0; |
8943 | width: 100%; | 8951 | width: 100%; |
8944 | height: 100%; | 8952 | height: 100%; |
8945 | background: #377d87; | 8953 | background: #377d87; |
8946 | border-radius: 999px; | 8954 | border-radius: 999px; |
8947 | } | 8955 | } |
8948 | .cabinet__stats-bottom { | 8956 | .cabinet__stats-bottom { |
8949 | color: #000; | 8957 | color: #000; |
8950 | font-size: 12px; | 8958 | font-size: 12px; |
8951 | } | 8959 | } |
8952 | @media (min-width: 768px) { | 8960 | @media (min-width: 768px) { |
8953 | .cabinet__stats-bottom { | 8961 | .cabinet__stats-bottom { |
8954 | font-size: 16px; | 8962 | font-size: 16px; |
8955 | } | 8963 | } |
8956 | } | 8964 | } |
8957 | .cabinet__works { | 8965 | .cabinet__works { |
8958 | display: -webkit-box; | 8966 | display: -webkit-box; |
8959 | display: -ms-flexbox; | 8967 | display: -ms-flexbox; |
8960 | display: flex; | 8968 | display: flex; |
8961 | -webkit-box-orient: vertical; | 8969 | -webkit-box-orient: vertical; |
8962 | -webkit-box-direction: normal; | 8970 | -webkit-box-direction: normal; |
8963 | -ms-flex-direction: column; | 8971 | -ms-flex-direction: column; |
8964 | flex-direction: column; | 8972 | flex-direction: column; |
8965 | gap: 20px; | 8973 | gap: 20px; |
8966 | } | 8974 | } |
8967 | @media (min-width: 768px) { | 8975 | @media (min-width: 768px) { |
8968 | .cabinet__works { | 8976 | .cabinet__works { |
8969 | gap: 30px; | 8977 | gap: 30px; |
8970 | } | 8978 | } |
8971 | } | 8979 | } |
8972 | .cabinet__works-item { | 8980 | .cabinet__works-item { |
8973 | border-bottom: 1px #cccccc solid; | 8981 | border-bottom: 1px #cccccc solid; |
8974 | padding-bottom: 35px; | 8982 | padding-bottom: 35px; |
8975 | } | 8983 | } |
8976 | .cabinet__works-spoiler { | 8984 | .cabinet__works-spoiler { |
8977 | display: -webkit-box; | 8985 | display: -webkit-box; |
8978 | display: -ms-flexbox; | 8986 | display: -ms-flexbox; |
8979 | display: flex; | 8987 | display: flex; |
8980 | -webkit-box-align: center; | 8988 | -webkit-box-align: center; |
8981 | -ms-flex-align: center; | 8989 | -ms-flex-align: center; |
8982 | align-items: center; | 8990 | align-items: center; |
8983 | -webkit-box-pack: justify; | 8991 | -webkit-box-pack: justify; |
8984 | -ms-flex-pack: justify; | 8992 | -ms-flex-pack: justify; |
8985 | justify-content: space-between; | 8993 | justify-content: space-between; |
8986 | } | 8994 | } |
8987 | .cabinet__works-spoiler-left { | 8995 | .cabinet__works-spoiler-left { |
8988 | display: -webkit-box; | 8996 | display: -webkit-box; |
8989 | display: -ms-flexbox; | 8997 | display: -ms-flexbox; |
8990 | display: flex; | 8998 | display: flex; |
8991 | -webkit-box-align: center; | 8999 | -webkit-box-align: center; |
8992 | -ms-flex-align: center; | 9000 | -ms-flex-align: center; |
8993 | align-items: center; | 9001 | align-items: center; |
8994 | width: calc(100% - 22px); | 9002 | width: calc(100% - 22px); |
8995 | } | 9003 | } |
8996 | .cabinet__works-spoiler-right { | 9004 | .cabinet__works-spoiler-right { |
8997 | width: 22px; | 9005 | width: 22px; |
8998 | height: 22px; | 9006 | height: 22px; |
8999 | display: -webkit-box; | 9007 | display: -webkit-box; |
9000 | display: -ms-flexbox; | 9008 | display: -ms-flexbox; |
9001 | display: flex; | 9009 | display: flex; |
9002 | -webkit-box-align: center; | 9010 | -webkit-box-align: center; |
9003 | -ms-flex-align: center; | 9011 | -ms-flex-align: center; |
9004 | align-items: center; | 9012 | align-items: center; |
9005 | -webkit-box-pack: center; | 9013 | -webkit-box-pack: center; |
9006 | -ms-flex-pack: center; | 9014 | -ms-flex-pack: center; |
9007 | justify-content: center; | 9015 | justify-content: center; |
9008 | color: #377d87; | 9016 | color: #377d87; |
9009 | padding: 0; | 9017 | padding: 0; |
9010 | background: none; | 9018 | background: none; |
9011 | border: none; | 9019 | border: none; |
9012 | } | 9020 | } |
9013 | .cabinet__works-spoiler-right svg { | 9021 | .cabinet__works-spoiler-right svg { |
9014 | width: 60%; | 9022 | width: 60%; |
9015 | aspect-ratio: 1/1; | 9023 | aspect-ratio: 1/1; |
9016 | -webkit-transform: rotate(90deg); | 9024 | -webkit-transform: rotate(90deg); |
9017 | -ms-transform: rotate(90deg); | 9025 | -ms-transform: rotate(90deg); |
9018 | transform: rotate(90deg); | 9026 | transform: rotate(90deg); |
9019 | -webkit-transition: 0.3s; | 9027 | -webkit-transition: 0.3s; |
9020 | transition: 0.3s; | 9028 | transition: 0.3s; |
9021 | } | 9029 | } |
9022 | .cabinet__works-spoiler.active .cabinet__works-spoiler-right svg { | 9030 | .cabinet__works-spoiler.active .cabinet__works-spoiler-right svg { |
9023 | -webkit-transform: rotate(-90deg); | 9031 | -webkit-transform: rotate(-90deg); |
9024 | -ms-transform: rotate(-90deg); | 9032 | -ms-transform: rotate(-90deg); |
9025 | transform: rotate(-90deg); | 9033 | transform: rotate(-90deg); |
9026 | } | 9034 | } |
9027 | .cabinet__works-spoiler-buttons { | 9035 | .cabinet__works-spoiler-buttons { |
9028 | display: -webkit-box; | 9036 | display: -webkit-box; |
9029 | display: -ms-flexbox; | 9037 | display: -ms-flexbox; |
9030 | display: flex; | 9038 | display: flex; |
9031 | -webkit-box-align: center; | 9039 | -webkit-box-align: center; |
9032 | -ms-flex-align: center; | 9040 | -ms-flex-align: center; |
9033 | align-items: center; | 9041 | align-items: center; |
9034 | -webkit-box-pack: justify; | 9042 | -webkit-box-pack: justify; |
9035 | -ms-flex-pack: justify; | 9043 | -ms-flex-pack: justify; |
9036 | justify-content: space-between; | 9044 | justify-content: space-between; |
9037 | width: 60px; | 9045 | width: 60px; |
9038 | } | 9046 | } |
9039 | @media (min-width: 768px) { | 9047 | @media (min-width: 768px) { |
9040 | .cabinet__works-spoiler-buttons { | 9048 | .cabinet__works-spoiler-buttons { |
9041 | width: 74px; | 9049 | width: 74px; |
9042 | } | 9050 | } |
9043 | } | 9051 | } |
9044 | .cabinet__works-spoiler-buttons .button { | 9052 | .cabinet__works-spoiler-buttons .button { |
9045 | width: 22px; | 9053 | width: 22px; |
9046 | height: 22px; | 9054 | height: 22px; |
9047 | padding: 0; | 9055 | padding: 0; |
9048 | } | 9056 | } |
9049 | @media (min-width: 768px) { | 9057 | @media (min-width: 768px) { |
9050 | .cabinet__works-spoiler-buttons .button { | 9058 | .cabinet__works-spoiler-buttons .button { |
9051 | width: 30px; | 9059 | width: 30px; |
9052 | height: 30px; | 9060 | height: 30px; |
9053 | } | 9061 | } |
9054 | } | 9062 | } |
9055 | .cabinet__works-spoiler-text { | 9063 | .cabinet__works-spoiler-text { |
9056 | width: calc(100% - 60px); | 9064 | width: calc(100% - 60px); |
9057 | font-size: 17px; | 9065 | font-size: 17px; |
9058 | font-weight: 700; | 9066 | font-weight: 700; |
9059 | color: #000; | 9067 | color: #000; |
9060 | } | 9068 | } |
9061 | @media (min-width: 768px) { | 9069 | @media (min-width: 768px) { |
9062 | .cabinet__works-spoiler-text { | 9070 | .cabinet__works-spoiler-text { |
9063 | width: calc(100% - 74px); | 9071 | width: calc(100% - 74px); |
9064 | font-size: 22px; | 9072 | font-size: 22px; |
9065 | } | 9073 | } |
9066 | } | 9074 | } |
9067 | 9075 | ||
9068 | .cabinet__works-add { | 9076 | .cabinet__works-add { |
9069 | padding: 0; | 9077 | padding: 0; |
9070 | width: 100%; | 9078 | width: 100%; |
9071 | max-width: 160px; | 9079 | max-width: 160px; |
9072 | } | 9080 | } |
9073 | @media (min-width: 768px) { | 9081 | @media (min-width: 768px) { |
9074 | .cabinet__works-add { | 9082 | .cabinet__works-add { |
9075 | max-width: 220px; | 9083 | max-width: 220px; |
9076 | } | 9084 | } |
9077 | } | 9085 | } |
9078 | .cabinet__buttons { | 9086 | .cabinet__buttons { |
9079 | display: -webkit-box; | 9087 | display: -webkit-box; |
9080 | display: -ms-flexbox; | 9088 | display: -ms-flexbox; |
9081 | display: flex; | 9089 | display: flex; |
9082 | -webkit-box-orient: vertical; | 9090 | -webkit-box-orient: vertical; |
9083 | -webkit-box-direction: normal; | 9091 | -webkit-box-direction: normal; |
9084 | -ms-flex-direction: column; | 9092 | -ms-flex-direction: column; |
9085 | flex-direction: column; | 9093 | flex-direction: column; |
9086 | -webkit-box-align: center; | 9094 | -webkit-box-align: center; |
9087 | -ms-flex-align: center; | 9095 | -ms-flex-align: center; |
9088 | align-items: center; | 9096 | align-items: center; |
9089 | gap: 10px; | 9097 | gap: 10px; |
9090 | } | 9098 | } |
9091 | @media (min-width: 768px) { | 9099 | @media (min-width: 768px) { |
9092 | .cabinet__buttons { | 9100 | .cabinet__buttons { |
9093 | display: grid; | 9101 | display: grid; |
9094 | grid-template-columns: 1fr 1fr; | 9102 | grid-template-columns: 1fr 1fr; |
9095 | gap: 20px; | 9103 | gap: 20px; |
9096 | } | 9104 | } |
9097 | } | 9105 | } |
9098 | .cabinet__buttons .button, | 9106 | .cabinet__buttons .button, |
9099 | .cabinet__buttons .file { | 9107 | .cabinet__buttons .file { |
9100 | padding: 0; | 9108 | padding: 0; |
9101 | width: 100%; | 9109 | width: 100%; |
9102 | max-width: 140px; | 9110 | max-width: 140px; |
9103 | } | 9111 | } |
9104 | @media (min-width: 768px) { | 9112 | @media (min-width: 768px) { |
9105 | .cabinet__buttons .button, | 9113 | .cabinet__buttons .button, |
9106 | .cabinet__buttons .file { | 9114 | .cabinet__buttons .file { |
9107 | max-width: none; | 9115 | max-width: none; |
9108 | } | 9116 | } |
9109 | } | 9117 | } |
9110 | @media (min-width: 768px) { | 9118 | @media (min-width: 768px) { |
9111 | .cabinet__buttons { | 9119 | .cabinet__buttons { |
9112 | gap: 20px; | 9120 | gap: 20px; |
9113 | } | 9121 | } |
9114 | } | 9122 | } |
9115 | @media (min-width: 1280px) { | 9123 | @media (min-width: 1280px) { |
9116 | .cabinet__buttons { | 9124 | .cabinet__buttons { |
9117 | max-width: 400px; | 9125 | max-width: 400px; |
9118 | } | 9126 | } |
9119 | } | 9127 | } |
9120 | .cabinet__buttons_flex{ | 9128 | .cabinet__buttons_flex{ |
9121 | display: flex; | 9129 | display: flex; |
9122 | } | 9130 | } |
9123 | .cabinet__buttons_flex > *{ | 9131 | .cabinet__buttons_flex > *{ |
9124 | margin-right: 10px; | 9132 | margin-right: 10px; |
9125 | } | 9133 | } |
9126 | .cabinet__vacs { | 9134 | .cabinet__vacs { |
9127 | display: -webkit-box; | 9135 | display: -webkit-box; |
9128 | display: -ms-flexbox; | 9136 | display: -ms-flexbox; |
9129 | display: flex; | 9137 | display: flex; |
9130 | -webkit-box-orient: vertical; | 9138 | -webkit-box-orient: vertical; |
9131 | -webkit-box-direction: reverse; | 9139 | -webkit-box-direction: reverse; |
9132 | -ms-flex-direction: column-reverse; | 9140 | -ms-flex-direction: column-reverse; |
9133 | flex-direction: column-reverse; | 9141 | flex-direction: column-reverse; |
9134 | -webkit-box-align: center; | 9142 | -webkit-box-align: center; |
9135 | -ms-flex-align: center; | 9143 | -ms-flex-align: center; |
9136 | align-items: center; | 9144 | align-items: center; |
9137 | gap: 20px; | 9145 | gap: 20px; |
9138 | } | 9146 | } |
9139 | .cabinet__vacs-body { | 9147 | .cabinet__vacs-body { |
9140 | display: -webkit-box; | 9148 | display: -webkit-box; |
9141 | display: -ms-flexbox; | 9149 | display: -ms-flexbox; |
9142 | display: flex; | 9150 | display: flex; |
9143 | -webkit-box-orient: vertical; | 9151 | -webkit-box-orient: vertical; |
9144 | -webkit-box-direction: normal; | 9152 | -webkit-box-direction: normal; |
9145 | -ms-flex-direction: column; | 9153 | -ms-flex-direction: column; |
9146 | flex-direction: column; | 9154 | flex-direction: column; |
9147 | gap: 20px; | 9155 | gap: 20px; |
9148 | width: 100%; | 9156 | width: 100%; |
9149 | } | 9157 | } |
9150 | @media (min-width: 768px) { | 9158 | @media (min-width: 768px) { |
9151 | .cabinet__vacs-body { | 9159 | .cabinet__vacs-body { |
9152 | gap: 30px; | 9160 | gap: 30px; |
9153 | } | 9161 | } |
9154 | } | 9162 | } |
9155 | .cabinet__vacs-item { | 9163 | .cabinet__vacs-item { |
9156 | display: none; | 9164 | display: none; |
9157 | background: #fff; | 9165 | background: #fff; |
9158 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 9166 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
9159 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 9167 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
9160 | } | 9168 | } |
9161 | .cabinet__vacs-item:nth-of-type(1), .cabinet__vacs-item:nth-of-type(2) { | 9169 | .cabinet__vacs-item:nth-of-type(1), .cabinet__vacs-item:nth-of-type(2) { |
9162 | display: -webkit-box; | 9170 | display: -webkit-box; |
9163 | display: -ms-flexbox; | 9171 | display: -ms-flexbox; |
9164 | display: flex; | 9172 | display: flex; |
9165 | } | 9173 | } |
9166 | .cabinet__vacs.active .cabinet__vacs-item { | 9174 | .cabinet__vacs.active .cabinet__vacs-item { |
9167 | display: -webkit-box; | 9175 | display: -webkit-box; |
9168 | display: -ms-flexbox; | 9176 | display: -ms-flexbox; |
9169 | display: flex; | 9177 | display: flex; |
9170 | } | 9178 | } |
9171 | .main__employer-page-two-item-text-body img { | 9179 | .main__employer-page-two-item-text-body img { |
9172 | display: inline !important; | 9180 | display: inline !important; |
9173 | border: none !important; | 9181 | border: none !important; |
9174 | box-shadow: none !important; | 9182 | box-shadow: none !important; |
9175 | height: 1em !important; | 9183 | height: 1em !important; |
9176 | width: 1em !important; | 9184 | width: 1em !important; |
9177 | margin: 0 0.07em !important; | 9185 | margin: 0 0.07em !important; |
9178 | vertical-align: -0.1em !important; | 9186 | vertical-align: -0.1em !important; |
9179 | background: none !important; | 9187 | background: none !important; |
9180 | padding: 0 !important; | 9188 | padding: 0 !important; |
9181 | } | 9189 | } |
9182 | .main__employer-page-two-item-text-body p{ | 9190 | .main__employer-page-two-item-text-body p{ |
9183 | margin: 0 0 20px; | 9191 | margin: 0 0 20px; |
9184 | } | 9192 | } |
9185 | #sertificate .one-sertificate{ | 9193 | #sertificate .one-sertificate{ |
9186 | display: flex; | 9194 | display: flex; |
9187 | justify-content: space-between; | 9195 | justify-content: space-between; |
9188 | margin-bottom: 15px; | 9196 | margin-bottom: 15px; |
9189 | border-bottom: 1px #ccc solid; | 9197 | border-bottom: 1px #ccc solid; |
9190 | padding-bottom: 15px; | 9198 | padding-bottom: 15px; |
9191 | } | 9199 | } |
9192 | #sertificate .one-sertificate .sertificate-field{ | 9200 | #sertificate .one-sertificate .sertificate-field{ |
9193 | display: block; | 9201 | display: block; |
9194 | } | 9202 | } |
9195 | #sertificate .one-sertificate .sertificate-field.sertificate-name{ | 9203 | #sertificate .one-sertificate .sertificate-field.sertificate-name{ |
9196 | width: 50%; | 9204 | width: 50%; |
9197 | max-width: 50%; | 9205 | max-width: 50%; |
9198 | } | 9206 | } |
resources/views/employers/favorite.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 | console.log('Test system'); |
6 | $(document).on('change', '#sort_ajax', function() { | 6 | $(document).on('change', '#sort_ajax', function() { |
7 | var this_ = $(this); | 7 | var this_ = $(this); |
8 | var val_ = this_.val(); | 8 | var val_ = this_.val(); |
9 | console.log('sort items '+val_); | 9 | console.log('sort items '+val_); |
10 | 10 | ||
11 | $.ajax({ | 11 | $.ajax({ |
12 | type: "GET", | 12 | type: "GET", |
13 | url: "{{ route('shipping_companies') }}", | 13 | url: "{{ route('shipping_companies') }}", |
14 | data: "sort="+val_+"&block=1", | 14 | data: "sort="+val_+"&block=1", |
15 | success: function (data) { | 15 | success: function (data) { |
16 | console.log('Выбор сортировки'); | 16 | console.log('Выбор сортировки'); |
17 | console.log(data); | 17 | console.log(data); |
18 | $('#block_1').html(data); | 18 | $('#block_1').html(data); |
19 | }, | 19 | }, |
20 | headers: { | 20 | headers: { |
21 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 21 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
22 | }, | 22 | }, |
23 | error: function (data) { | 23 | error: function (data) { |
24 | data = JSON.stringify(data); | 24 | data = JSON.stringify(data); |
25 | console.log('Error: ' + data); | 25 | console.log('Error: ' + data); |
26 | } | 26 | } |
27 | }); | 27 | }); |
28 | 28 | ||
29 | $.ajax({ | 29 | $.ajax({ |
30 | type: "GET", | 30 | type: "GET", |
31 | url: "{{ route('shipping_companies') }}", | 31 | url: "{{ route('shipping_companies') }}", |
32 | data: "sort="+val_+"&block=2", | 32 | data: "sort="+val_+"&block=2", |
33 | success: function (data) { | 33 | success: function (data) { |
34 | console.log('Выбор сортировки2'); | 34 | console.log('Выбор сортировки2'); |
35 | console.log(data); | 35 | console.log(data); |
36 | history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); | 36 | history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); |
37 | $('#block_2').html(data); | 37 | $('#block_2').html(data); |
38 | }, | 38 | }, |
39 | headers: { | 39 | headers: { |
40 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 40 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
41 | }, | 41 | }, |
42 | error: function (data) { | 42 | error: function (data) { |
43 | data = JSON.stringify(data); | 43 | data = JSON.stringify(data); |
44 | console.log('Error: ' + data); | 44 | console.log('Error: ' + data); |
45 | } | 45 | } |
46 | }); | 46 | }); |
47 | }); | 47 | }); |
48 | </script> | 48 | </script> |
49 | @include('js.favorite-worker') | 49 | @include('js.favorite-worker') |
50 | @endsection | 50 | @endsection |
51 | 51 | ||
52 | @section('content') | 52 | @section('content') |
53 | <section class="cabinet"> | 53 | <section class="cabinet"> |
54 | <div class="container"> | 54 | <div class="container"> |
55 | <ul class="breadcrumbs cabinet__breadcrumbs"> | 55 | <ul class="breadcrumbs cabinet__breadcrumbs"> |
56 | <li><a href="{{ route('index') }}">Главная</a></li> | 56 | <li><a href="{{ route('index') }}">Главная</a></li> |
57 | <li><b>Личный кабинет</b></li> | 57 | <li><b>Личный кабинет</b></li> |
58 | </ul> | 58 | </ul> |
59 | <div class="cabinet__wrapper"> | 59 | <div class="cabinet__wrapper"> |
60 | <div class="cabinet__side"> | 60 | <div class="cabinet__side"> |
61 | <div class="cabinet__side-toper"> | 61 | <div class="cabinet__side-toper"> |
62 | @include('employers.emblema') | 62 | @include('employers.emblema') |
63 | </div> | 63 | </div> |
64 | 64 | ||
65 | @include('employers.menu', ['item' => 6]) | 65 | @include('employers.menu', ['item' => 6]) |
66 | 66 | ||
67 | </div> | 67 | </div> |
68 | 68 | ||
69 | <div class="cabinet__body"> | 69 | <div class="cabinet__body"> |
70 | <div class="cabinet__body-item"> | 70 | <div class="cabinet__body-item"> |
71 | <h2 class="title cabinet__title">Избранные кандидаты</h2> | 71 | <h2 class="title cabinet__title">Избранные кандидаты</h2> |
72 | </div> | 72 | </div> |
73 | <div class="cabinet__body-item"> | 73 | <div class="cabinet__body-item"> |
74 | <div class="cabinet__filters"> | 74 | <div class="cabinet__filters"> |
75 | <div class="cabinet__filters-item"> | 75 | <div class="cabinet__filters-item"> |
76 | <form class="search" action="{{ route('employer.favorites') }}"> | 76 | <form class="search" action="{{ route('employer.favorites') }}"> |
77 | <input type="search" name="search" id="search" class="input" placeholder="Поиск…" value="@if ((isset($_GET['search'])) && (!empty($_GET['search']))) {{ $_GET['search'] }} @endif"> | 77 | <input type="search" name="search" id="search" class="input" placeholder="Поиск…" value="@if ((isset($_GET['search'])) && (!empty($_GET['search']))) {{ $_GET['search'] }} @endif"> |
78 | <button type="submit" class="button">Найти</button> | 78 | <button type="submit" class="button">Найти</button> |
79 | <span> | 79 | <span> |
80 | <svg> | 80 | <svg> |
81 | <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> | 81 | <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> |
82 | </svg> | 82 | </svg> |
83 | </span> | 83 | </span> |
84 | </form> | 84 | </form> |
85 | </div> | 85 | </div> |
86 | <!--<div class="cabinet__filters-item"> | ||
87 | <div class="select"> | ||
88 | <select class="js-select2" id="sort_ajax" name="sort_ajax"> | ||
89 | <option value="default">Сортировка (по умолчанию)</option> | ||
90 | <option value="name (asc)">По имени (возрастание)</option> | ||
91 | <option value="name (desc)">По имени (убывание)</option> | ||
92 | <option value="created_at (asc)">По дате (возрастание)</option> | ||
93 | <option value="created_at (desc)">По дате (убывание)</option> | ||
94 | </select> | ||
95 | </div> | ||
96 | </div>--> | ||
97 | </div> | 86 | </div> |
98 | <div class="cvs"> | 87 | <div class="cvs"> |
99 | <!--<button type="button" class="cvs__button js-toggle js-parent-toggle button button_light button_more"> | ||
100 | <span>Показать ещё</span> | ||
101 | <span>Скрыть</span> | ||
102 | </button>--> | ||
103 | @if ((isset($Workers) && ($Workers->count()))) | 88 | @if ((isset($Workers) && ($Workers->count()))) |
104 | @foreach ($Workers as $it) | 89 | @foreach ($Workers as $it) |
105 | <div class="cvs__body"> | 90 | <div class="cvs__body"> |
106 | <div class="cvs__item"> | 91 | <div class="cvs__item"> |
107 | <button type="button" id="elem_{{ $it->id }}" data-val="{{ $it->id }}" class="like cvs__item-like js_box_favorit js-toggle {{ \App\Classes\LikesClass::get_status_worker($it) }}"> | 92 | |
108 | <svg> | 93 | <div class="cvs__item-header"> |
109 | <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> | 94 | <div class="cvs__item-photo"> |
110 | </svg> | 95 | <svg> |
111 | </button> | 96 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> |
112 | <div class="cvs__item-photo"> | 97 | </svg> |
113 | <svg> | 98 | @if (!empty($it->photo)) |
114 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> | ||
115 | </svg> | ||
116 | @if (!empty($it->photo)) | ||
117 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($it->photo)) }}" alt=""> | 99 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($it->photo)) }}" alt=""> |
118 | @else | 100 | @else |
119 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 101 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
120 | @endif | 102 | @endif |
103 | </div> | ||
104 | |||
105 | <div class="cvs__item-buttons"> | ||
106 | <button type="button" id="elem_{{ $it->id }}" data-val="{{ $it->id }}" class="like cvs__item-like js_box_favorit js-toggle {{ \App\Classes\LikesClass::get_status_worker($it) }}"> | ||
107 | <svg class="mr-10"> | ||
108 | <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> | ||
109 | </svg> | ||
110 | <span class="to-favorites">Добавить в избранное</span> | ||
111 | <span class="in-favorites">Убрать из избранного</span> | ||
112 | </button> | ||
113 | |||
114 | @guest | ||
115 | <button type="button" data-fancybox data-src="#question" data-options='{"touch":false,"autoFocus":false}' | ||
116 | class="chat"> | ||
117 | <svg class="mr-10"> | ||
118 | <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> | ||
119 | </svg> | ||
120 | <span>Написать</span> | ||
121 | </button> | ||
122 | @else | ||
123 | @if (App\Classes\StatusUser::Status()==0) | ||
124 | @if ((!Auth()->user()->is_worker) && (Auth()->user()->is_message)) | ||
125 | <button type="button" class="chat" data-fancybox data-src="#send2" data-vacancy="0" data-uid="{{ Auth()->user()->id }}" data-tuid="{{ $it->users->id }}" data-options='{"touch":false,"autoFocus":false}'> | ||
126 | <svg class="mr-10"> | ||
127 | <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> | ||
128 | </svg> | ||
129 | <span>Написать</span> | ||
130 | </button> | ||
131 | @endif | ||
132 | @else | ||
133 | <button type="button" data-fancybox data-src="#question2" data-options='{"touch":false,"autoFocus":false}' | ||
134 | class="chat"> | ||
135 | <svg class="mr-10"> | ||
136 | <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> | ||
137 | </svg> | ||
138 | <span>Написать</span> | ||
139 | </button> | ||
140 | @endif | ||
141 | @endif | ||
142 | |||
143 | <a href="{{ route('resume_profile', ['worker' => $it->id]) }}" class="button">Подробнее</a> | ||
144 | </div> | ||
121 | </div> | 145 | </div> |
146 | |||
147 | |||
122 | <div class="cvs__item-text"> | 148 | <div class="cvs__item-text"> |
123 | <div> | 149 | <div class="cvs__item-text-row"> |
124 | Статус | 150 | <div class="flex" style="align-items: start;"> |
125 | <span>@if ($it->status_work == 0) Ищу работу | 151 | <div class="cvs__item-text-status @if ($it->status_work == 0) looking-for-job @endif"> |
126 | @elseif ($it->status_work == 1) Не указано | 152 | @if ($it->status_work == 0) Ищу работу |
127 | @elseif ($it->status_work == 2) Не ищу | 153 | @elseif ($it->status_work == 1) Не указано |
128 | @endif | 154 | @elseif ($it->status_work == 2) Не ищу |
129 | </span> | 155 | @endif |
156 | </div> | ||
157 | <div class="cvs__item-text-updated-at"> | ||
158 | Обновлено: {{ date('d.m.Y', strtotime($it->updated_at)) }} | ||
159 | </div> | ||
160 | </div> | ||
161 | <div> | ||
162 | <b>Предпочтение по типу судна:</b> | ||
163 | <div>{{ $it->boart_type_preference ?? '-' }}</div> | ||
164 | </div> | ||
130 | </div> | 165 | </div> |
131 | <div> | 166 | |
132 | Имя кандидата | 167 | <div class="cvs__item-text-row"> |
133 | <span>({{ $it->id }}) @if (isset($it->users)) {{ $it->users->surname." ".$it->users->name_man." ".$it->users->surname2." (".$it->users->id.")" }} @endif</span> | 168 | <div> |
169 | <b>ФИО:</b> | ||
170 | <div>@if (isset($it->users)){{ $it->users->surname." ".$it->users->name_man." ".$it->users->surname2 }} @endif</div> | ||
171 | </div> | ||
172 | <div> | ||
173 | <b>Наличие визы:</b> | ||
174 | <div>{{ $it->visa_available ?? '-' }}</div> | ||
175 | </div> | ||
134 | </div> | 176 | </div> |
135 | 177 | ||
136 | @if (!empty($it->telephone)) | 178 | <div class="cvs__item-text-row"> |
137 | <div> | 179 | <div> |
138 | Номер телефона | 180 | <b>Возраст:</b> |
139 | <a href="tel:{{ $it->telephone }}">{{ $it->telephone }}</a> | 181 | <div>{{ $it->old_year ?? '-' }}</div> |
182 | </div> | ||
183 | <div> | ||
184 | <b>Наличие танкерных документов:</b> | ||
185 | <div>{{ $it->tanker_documents_available ?? '-' }}</div> | ||
186 | </div> | ||
140 | </div> | 187 | </div> |
141 | @endif | ||
142 | 188 | ||
143 | @if (!empty($it->telephone2)) | 189 | <div class="cvs__item-text-row"> |
144 | <div> | 190 | <div> |
145 | Номер телефона2 | 191 | <b>Желаемые вакансии:</b> |
146 | <a href="tel:{{ $it->telephone2 }}">{{ $it->telephone2 }}</a> | 192 | <div> |
193 | @if ($it->job_titles->count()) | ||
194 | @foreach ($it->job_titles as $job_title) | ||
195 | {{ $job_title->name }} | ||
196 | @if (!$loop->last) / @endif | ||
197 | @endforeach | ||
198 | @else | ||
199 | - | ||
200 | @endif | ||
201 | </div> | ||
202 | </div> | ||
203 | <div> | ||
204 | <b>Наличие подтверждения для работы на ВВП:</b> | ||
205 | <div>{{ $it->confirmation_work_for_vvp ?? '-' }}</div> | ||
206 | </div> | ||
147 | </div> | 207 | </div> |
148 | @endif | 208 | |
149 | @if (!empty($it->email)) | 209 | <div class="cvs__item-text-row"> |
150 | <div> | 210 | <div> |
151 | Электронный адрес | 211 | <b>Пожелание к З/П:</b> |
152 | <a href="mailto: {{ $it->email }}">{{ $it->email }}</a> | 212 | <div>{{ $it->salary_expectations ?? '-' }}</div> |
213 | </div> | ||
214 | <div> | ||
215 | <b>Город проживания</b> | ||
216 | <div>{{ $it->city ?? "-" }}</div> | ||
217 | </div> | ||
153 | </div> | 218 | </div> |
154 | @endif | 219 | |
155 | @if (!empty($it->city)) | 220 | <div class="cvs__item-text-row"> |
156 | <div> | 221 | <div> |
157 | Город проживания | 222 | <b>Уровень английского:</b> |
158 | <span>{{ $it->city }}, {{ $it->address }}</span> | 223 | <div>{{ $it->english_level ?? '-' }}</div> |
224 | </div> | ||
225 | <div> | ||
226 | <b>Телефон:</b> | ||
227 | <div><a href="tel:{{ $it->telephone }}">{{ $it->telephone ?? '-' }}</a></div> | ||
228 | </div> | ||
159 | </div> | 229 | </div> |
160 | @endif | ||
161 | 230 | ||
162 | <div> | 231 | <div class="cvs__item-text-row"> |
163 | Опыт работы на танкерах | 232 | <div> |
164 | <span>@if (!empty($it->experience)) {{ $it->experience }} @else 0 @endif годов (лет).</span> | 233 | <b>Дата готовности к посадке:</b> |
234 | <div>{{ $it->ready_boart_date ?? '-' }}</div> | ||
235 | </div> | ||
236 | <div> | ||
237 | <b>E-mail:</b> | ||
238 | <div><a href="mailto:{{ $it->email }}">{{ $it->email }}</a></div> | ||
239 | </div> | ||
165 | </div> | 240 | </div> |
166 | </div> | 241 | </div> |
167 | <div class="cvs__item-button"> |
resources/views/info_company_new.blade.php
1 | @extends('layout.frontend', ['title' => 'Описание компании '.$title.'- РекаМоре']) | 1 | @extends('layout.frontend', ['title' => 'Описание компании '.$title.'- РекаМоре']) |
2 | 2 | ||
3 | @section('scripts') | 3 | @section('scripts') |
4 | <script> | 4 | <script> |
5 | console.log('Test system'); | 5 | console.log('Test system'); |
6 | $(document).on('change', '#sort_ajax', function() { | 6 | $(document).on('change', '#sort_ajax', function() { |
7 | var this_ = $(this); | 7 | var this_ = $(this); |
8 | var val_ = this_.val(); | 8 | var val_ = this_.val(); |
9 | console.log('sort items '+val_); | 9 | console.log('sort items '+val_); |
10 | 10 | ||
11 | $.ajax({ | 11 | $.ajax({ |
12 | type: "GET", | 12 | type: "GET", |
13 | url: "{{ route('shipping_companies') }}", | 13 | url: "{{ route('shipping_companies') }}", |
14 | data: "sort="+val_+"&block=1", | 14 | data: "sort="+val_+"&block=1", |
15 | success: function (data) { | 15 | success: function (data) { |
16 | console.log('Выбор сортировки'); | 16 | console.log('Выбор сортировки'); |
17 | console.log(data); | 17 | console.log(data); |
18 | $('#block_1').html(data); | 18 | $('#block_1').html(data); |
19 | }, | 19 | }, |
20 | headers: { | 20 | headers: { |
21 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 21 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
22 | }, | 22 | }, |
23 | error: function (data) { | 23 | error: function (data) { |
24 | data = JSON.stringify(data); | 24 | data = JSON.stringify(data); |
25 | console.log('Error: ' + data); | 25 | console.log('Error: ' + data); |
26 | } | 26 | } |
27 | }); | 27 | }); |
28 | 28 | ||
29 | $.ajax({ | 29 | $.ajax({ |
30 | type: "GET", | 30 | type: "GET", |
31 | url: "{{ route('shipping_companies') }}", | 31 | url: "{{ route('shipping_companies') }}", |
32 | data: "sort="+val_+"&block=2", | 32 | data: "sort="+val_+"&block=2", |
33 | success: function (data) { | 33 | success: function (data) { |
34 | console.log('Выбор сортировки2'); | 34 | console.log('Выбор сортировки2'); |
35 | console.log(data); | 35 | console.log(data); |
36 | history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); | 36 | history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); |
37 | $('#block_2').html(data); | 37 | $('#block_2').html(data); |
38 | }, | 38 | }, |
39 | headers: { | 39 | headers: { |
40 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 40 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
41 | }, | 41 | }, |
42 | error: function (data) { | 42 | error: function (data) { |
43 | data = JSON.stringify(data); | 43 | data = JSON.stringify(data); |
44 | console.log('Error: ' + data); | 44 | console.log('Error: ' + data); |
45 | } | 45 | } |
46 | }); | 46 | }); |
47 | }); | 47 | }); |
48 | 48 | ||
49 | $(document).ready(function(){ | 49 | $(document).ready(function(){ |
50 | var sel = $('#select2-sort_ajax-container'); | 50 | var sel = $('#select2-sort_ajax-container'); |
51 | var key = getUrlParameter('sort'); | 51 | var key = getUrlParameter('sort'); |
52 | if (key !=='') { | 52 | if (key !=='') { |
53 | console.log(key); | 53 | console.log(key); |
54 | switch (key) { | 54 | switch (key) { |
55 | case "default": sel.html('Сортировка (по умолчанию)'); break; | 55 | case "default": sel.html('Сортировка (по умолчанию)'); break; |
56 | case "name_up": sel.html('По имени (возрастание)'); break; | 56 | case "name_up": sel.html('По имени (возрастание)'); break; |
57 | case "name_down": sel.html('По дате (убывание)'); break; | 57 | case "name_down": sel.html('По дате (убывание)'); break; |
58 | case "created_at_up": sel.html('По дате (возрастание)'); break; | 58 | case "created_at_up": sel.html('По дате (возрастание)'); break; |
59 | case "created_at_down": sel.html('По дате (убывание)'); break; | 59 | case "created_at_down": sel.html('По дате (убывание)'); break; |
60 | } | 60 | } |
61 | 61 | ||
62 | } | 62 | } |
63 | }); | 63 | }); |
64 | 64 | ||
65 | //end | 65 | //end |
66 | $(document).on('click', '.js_send_it_button', function() { | 66 | $(document).on('click', '.js_send_it_button', function() { |
67 | var this_ = $(this); | 67 | var this_ = $(this); |
68 | var code_user_id = this_.attr('data-uid'); | 68 | var code_user_id = this_.attr('data-uid'); |
69 | var code_to_user_id = this_.attr('data-tuid'); | 69 | var code_to_user_id = this_.attr('data-tuid'); |
70 | var code_vacancy = this_.attr('data-vacancy'); | 70 | var code_vacancy = this_.attr('data-vacancy'); |
71 | var user_id = $('#send_user_id'); | 71 | var user_id = $('#send_user_id'); |
72 | var to_user_id = $('#send_to_user_id'); | 72 | var to_user_id = $('#send_to_user_id'); |
73 | var vacancy = $('#send_vacancy'); | 73 | var vacancy = $('#send_vacancy'); |
74 | 74 | ||
75 | console.log('Клик на кнопки...'); | 75 | console.log('Клик на кнопки...'); |
76 | 76 | ||
77 | user_id.val(code_user_id); | 77 | user_id.val(code_user_id); |
78 | to_user_id.val(code_to_user_id); | 78 | to_user_id.val(code_to_user_id); |
79 | vacancy.val(code_vacancy); | 79 | vacancy.val(code_vacancy); |
80 | }); | 80 | }); |
81 | </script> | 81 | </script> |
82 | @include('js.favorite-vacancy-45') | 82 | @include('js.favorite-vacancy-45') |
83 | @endsection | 83 | @endsection |
84 | 84 | ||
85 | @section('content') | 85 | @section('content') |
86 | <section class="thing"> | 86 | <section class="thing"> |
87 | <div class="container"> | 87 | <div class="container"> |
88 | <div class="thing__body"> | 88 | <div class="thing__body"> |
89 | <ul class="breadcrumbs thing__breadcrumbs"> | 89 | <ul class="breadcrumbs thing__breadcrumbs"> |
90 | <li><a href="{{ route('index') }}">Главная</a></li> | 90 | <li><a href="{{ route('index') }}">Главная</a></li> |
91 | <li><a href="{{ route('shipping_companies') }}">Работодатели</a></li> | 91 | <li><a href="{{ route('shipping_companies') }}">Работодатели</a></li> |
92 | <li><b>@isset($title) {{ $title }} @else Не указано @endif</b></li> | 92 | <li><b>@isset($title) {{ $title }} @else Не указано @endif</b></li> |
93 | </ul> | 93 | </ul> |
94 | @if ($company[0]->oficial_status == 1) | 94 | @if ($company[0]->oficial_status == 1) |
95 | <div class="thing__badge"> | 95 | <div class="thing__badge"> |
96 | <svg> | 96 | <svg> |
97 | <use xlink:href="{{ asset('images/sprite.svg#badge') }}"></use> | 97 | <use xlink:href="{{ asset('images/sprite.svg#badge') }}"></use> |
98 | </svg> | 98 | </svg> |
99 | Компания проверена | 99 | Компания проверена |
100 | </div> | 100 | </div> |
101 | @endif | 101 | @endif |
102 | 102 | ||
103 | @if (!empty($company[0]->logo)) | 103 | @if (!empty($company[0]->logo)) |
104 | <img src="{{ asset(Storage::url($company[0]->logo)) }}" alt="{{ $company[0]->name_company }}" class="thing__pic"> | 104 | <img src="{{ asset(Storage::url($company[0]->logo)) }}" alt="{{ $company[0]->name_company }}" class="thing__pic"> |
105 | @else | 105 | @else |
106 | <img src="{{ asset('images/logo_emp.png') }}" alt="{{ $company[0]->name_company }}" class="thing__pic"> | 106 | <img src="{{ asset('images/logo_emp.png') }}" alt="{{ $company[0]->name_company }}" class="thing__pic"> |
107 | @endif | 107 | @endif |
108 | 108 | ||
109 | <h1 class="thing__title">{{ $company[0]->name_company }}</h1> | 109 | <h1 class="thing__title">{{ $company[0]->name_company }}</h1> |
110 | <!--<p class="thing__text"> $company[0]->text !!}</p>--> | 110 | <!--<p class="thing__text"> $company[0]->text !!}</p>--> |
111 | <div class="thing__buttons"> | 111 | <div class="thing__buttons"> |
112 | <button type="button" class="button"> | 112 | <button type="button" class="button"> |
113 | <svg> | 113 | <svg> |
114 | <use xlink:href="{{ asset('images/sprite.svg#grid-1') }}"></use> | 114 | <use xlink:href="{{ asset('images/sprite.svg#grid-1') }}"></use> |
115 | </svg> | 115 | </svg> |
116 | {{ $company[0]->ads->count() }} вакансии | 116 | {{ $company[0]->ads->count() }} вакансии |
117 | </button> | 117 | </button> |
118 | @if ($user_id == 0) | 118 | @if ($user_id == 0) |
119 | <a data-fancybox data-src="#question" data-options='{"touch":false,"autoFocus":false}' class="js_send_it_button button"> | 119 | <a data-fancybox data-src="#question" data-options='{"touch":false,"autoFocus":false}' class="js_send_it_button button"> |
120 | Написать сообщение | 120 | Написать сообщение |
121 | </a> | 121 | </a> |
122 | @else | 122 | @else |
123 | <a data-fancybox data-src="#question" data-options='{"touch":false,"autoFocus":false}' class="js_send_it_button button"> | 123 | <a data-fancybox data-src="#question" data-options='{"touch":false,"autoFocus":false}' class="js_send_it_button button"> |
124 | Написать сообщение | 124 | Написать сообщение |
125 | </a> | 125 | </a> |
126 | @endif | 126 | @endif |
127 | </div> | 127 | </div> |
128 | </div> | 128 | </div> |
129 | </div> | 129 | </div> |
130 | </section> | 130 | </section> |
131 | <main class="main"> | 131 | <main class="main"> |
132 | <div class="container"> | 132 | <div class="container"> |
133 | <div class="main__employer-page"> | 133 | <div class="main__employer-page"> |
134 | <h2 class="main__employer-page-title">О компании</h2> | 134 | <h2 class="main__employer-page-title">О компании</h2> |
135 | <div class="main__employer-page-info"> | 135 | <div class="main__employer-page-info"> |
136 | <div class="main__employer-page-item"> | 136 | <div class="main__employer-page-item"> |
137 | <b>Адрес компании</b> | 137 | <b>Адрес компании</b> |
138 | <span> | 138 | <span> |
139 | {{ $company[0]->address }} | 139 | {{ $company[0]->address }} |
140 | </span> | 140 | </span> |
141 | </div> | 141 | </div> |
142 | <div class="main__employer-page-item"> | 142 | <div class="main__employer-page-item"> |
143 | <b>Сайт</b> | 143 | <b>Сайт</b> |
144 | <span> | 144 | <span> |
145 | <a href="{{ $company[0]->site }}">{{ $company[0]->site }}</a> | 145 | <a href="{{ $company[0]->site }}">{{ $company[0]->site }}</a> |
146 | </span> | 146 | </span> |
147 | </div> | 147 | </div> |
148 | <div class="main__employer-page-item"> | 148 | <div class="main__employer-page-item"> |
149 | <b>Почта</b> | 149 | <b>Почта</b> |
150 | <span> | 150 | <span> |
151 | <a href="mailto:">{{ $company[0]->email }}</a> | 151 | <a href="mailto:">{{ $company[0]->email }}</a> |
152 | </span> | 152 | </span> |
153 | </div> | 153 | </div> |
154 | <div class="main__employer-page-item"> | 154 | <div class="main__employer-page-item"> |
155 | <b>Телефон</b> | 155 | <b>Телефон</b> |
156 | <span> | 156 | <span> |
157 | <a href="tel:{{ $company[0]->telephone }}">{{ $company[0]->telephone }}</a> | 157 | <a href="tel:{{ $company[0]->telephone }}">{{ $company[0]->telephone }}</a> |
158 | </span> | 158 | </span> |
159 | </div> | 159 | </div> |
160 | </div> | 160 | </div> |
161 | <div class="main__employer-page-info"> | 161 | <div class="main__employer-page-info"> |
162 | <div class="main__employer-page-item"></div> | 162 | <div class="main__employer-page-item"></div> |
163 | <div class="main__employer-page-item"></div> | 163 | <div class="main__employer-page-item"></div> |
164 | <div class="main__employer-page-item"> | 164 | <div class="main__employer-page-item"> |
165 | <b>Почта (alt)</b> | 165 | <b>Почта (alt)</b> |
166 | <span> | 166 | <span> |
167 | {{ $company[0]->email_2 }} | 167 | {{ $company[0]->email_2 }} |
168 | </span> | 168 | </span> |
169 | </div> | 169 | </div> |
170 | <div class="main__employer-page-item"> | 170 | <div class="main__employer-page-item"> |
171 | <b>Телефон (alt)</b> | 171 | <b>Телефон (alt)</b> |
172 | <span> | 172 | <span> |
173 | <a href="{{ $company[0]->site }}">{{ $company[0]->telephone_2 }}</a> | 173 | <a href="{{ $company[0]->site }}">{{ $company[0]->telephone_2 }}</a> |
174 | </span> | 174 | </span> |
175 | </div> | 175 | </div> |
176 | </div> | 176 | </div> |
177 | 177 | ||
178 | <div class="main__employer-page-item main__employer-page-description"> | 178 | <div class="main__employer-page-item main__employer-page-description"> |
179 | <b>Описание</b> | 179 | <b>Описание</b> |
180 | <span> | 180 | <span> |
181 | {!! $company[0]->text !!} | 181 | {!! $company[0]->text !!} |
182 | </span> | 182 | </span> |
183 | </div> | 183 | </div> |
184 | 184 | ||
185 | <div> | 185 | <div> |
186 | 186 | ||
187 | <div class="main__employer-page-tabs"> | 187 | <div class="main__employer-page-tabs"> |
188 | <button type="button" class="main__employer-page-tabs-item active" | 188 | <button type="button" class="main__employer-page-tabs-item active" |
189 | data-tab="1">Флот</button> | 189 | data-tab="1">Флот</button> |
190 | <button type="button" class="main__employer-page-tabs-item" data-tab="2">Вакансии</button> | 190 | <button type="button" class="main__employer-page-tabs-item" data-tab="2">Вакансии</button> |
191 | </div> | 191 | </div> |
192 | 192 | ||
193 | <div class="main__employer-page-body"> | 193 | <div class="main__employer-page-body"> |
194 | <div class="main__employer-page-body-item showed" data-body="1"> | 194 | <div class="main__employer-page-body-item showed" data-body="1"> |
195 | <div class="main__employer-page-one"> | 195 | <div class="main__employer-page-one"> |
196 | @if ($company[0]->flots->count()) | 196 | @if ($company[0]->flots->count()) |
197 | @foreach ($company[0]->flots as $flot) | 197 | @foreach ($company[0]->flots as $flot) |
198 | <a href="" class="main__employer-page-one-item"> | 198 | <a href="" class="main__employer-page-one-item"> |
199 | @if (!empty($flot->image)) | 199 | @if (!empty($flot->image)) |
200 | <img src="{{ asset(Storage::url($flot->image)) }}" alt="{{ $flot->name }}"> | 200 | <img src="{{ asset(Storage::url($flot->image)) }}" alt="{{ $flot->name }}"> |
201 | @else | 201 | @else |
202 | <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $flot->name }}"> | 202 | <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $flot->name }}"> |
203 | @endif | 203 | @endif |
204 | <b>{{ $flot->name }}</b> | 204 | <b>{{ $flot->name }}</b> |
205 | <b>{{ $flot->region }}</b> | 205 | <b>{{ $flot->region }}</b> |
206 | <span><i>DWT</i> {{ $flot->DWT }}</span> | 206 | <span><i>DWT</i> {{ $flot->DWT }}</span> |
207 | <span><i>Мощность ГД</i> {{ $flot->POWER_GD }}</span> | 207 | <span><i>Мощность ГД</i> {{ $flot->POWER_GD }}</span> |
208 | <span><i>IMO</i> {{ $flot->IMO }}</span> | 208 | <span><i>IMO</i> {{ $flot->IMO }}</span> |
209 | <span>{{ $flot->power }}</span> | 209 | <span>{{ $flot->power }}</span> |
210 | </a> | 210 | </a> |
211 | @endforeach | 211 | @endforeach |
212 | @endif | 212 | @endif |
213 | </div> | 213 | </div> |
214 | </div> | 214 | </div> |
215 | 215 | ||
216 | <div class="main__employer-page-body-item" data-body="2"> | 216 | <div class="main__employer-page-body-item" data-body="2"> |
217 | <div class="main__employer-page-two"> | 217 | <div class="main__employer-page-two"> |
218 | @foreach ($ads as $job) | 218 | @foreach ($ads as $job) |
219 | <div class="main__employer-page-two-item"> | 219 | <div class="main__employer-page-two-item"> |
220 | <div class="main__employer-page-two-item-toper"> | 220 | <div class="main__employer-page-two-item-toper"> |
221 | @if (!empty($company[0]->logo)) | 221 | @if (!empty($company[0]->logo)) |
222 | <img src="{{ asset(Storage::url($company[0]->logo)) }}" alt="{{ $job->name }}"> | 222 | <img src="{{ asset(Storage::url($company[0]->logo)) }}" alt="{{ $job->name }}"> |
223 | @else | 223 | @else |
224 | <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $job->name }}"> | 224 | <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $job->name }}"> |
225 | @endif | 225 | @endif |
226 | <span>{{ $company[0]->name_company }}</span> | 226 | <span>{{ $company[0]->name_company }}</span> |
227 | </div> | 227 | </div> |
228 | <!--<div class="main__employer-page-two-item-title"> $item->flot }}</div>--> | 228 | <div class="main__employer-page-two-item-text-body"> |
229 | <div class="main__employer-page-two-item-text"> | ||
230 | <h3>{{ $job->name }}</h3> | 229 | <h3>{{ $job->name }}</h3> |
231 | <!--if ((isset($job->jobs)) && ($job->jobs->count())) | ||
232 | foreach($job->jobs as $item) | ||
233 | <a class="main__employer-page-two-item-text-name"> | ||
234 | { $item->name }} | ||
235 | </a> | ||
236 | endforeach | ||
237 | endif | ||
238 | --> | ||
239 | <span>Описание: | 230 | <span>Описание: |
240 | {!! $job->text !!} | 231 | {!! $job->text !!} |
241 | </span> | 232 | </span> |
242 | <!--<div class="main__employer-page-two-item-text-body"> | ||
243 | <p>Зарплата: $item->min_salary }} - $item->max_salary }}р + $item->sytki }} суточные.</p> | ||
244 | <p>Контракт: $item->period }} мес.</p> | ||
245 | </div>--> | ||
246 | </div> | 233 | </div> |
247 | <!--<div class="main__employer-page-two-item-text"> | ||
248 | <div class="main__employer-page-two-item-text-name">Район работы</div> | ||
249 | <div class="main__employer-page-two-item-text-body"> | ||
250 | <p> $item->region }}</p> | ||
251 | </div> | ||
252 | </div> | ||
253 | <div class="main__employer-page-two-item-text"> | ||
254 | <div class="main__employer-page-two-item-text-name">Посадка</div> | ||
255 | <div class="main__employer-page-two-item-text-body"> | ||
256 | <p> $item->start }}</p> | ||
257 | !! $item->description !!} | ||
258 | </div> | ||
259 | </div>--> | ||
260 | |||
261 | <!--<div class="main__employer-page-two-item-text"> | ||
262 | <div class="main__employer-page-two-item-text-name">Звонить по вопросам на: | ||
263 | </div> | ||
264 | <div class="main__employer-page-two-item-text-body"> | ||
265 | <a href="tel: $job->telephone }}"> $job->telephone }}</a> | ||
266 | </div> | ||
267 | </div> | ||
268 | <div class="main__employer-page-two-item-text"> | ||
269 | <div class="main__employer-page-two-item-text-name">Анкеты присылать на | ||
270 | почту: | ||
271 | </div> | ||
272 | <div class="main__employer-page-two-item-text-body"> | ||
273 | <a href="mailto: $job->email }}"> $job->email }}</a> | ||
274 | </div> | ||
275 | </div>--> | ||
276 | 234 | ||
277 | @if ((isset($job->jobs)) && ($job->jobs->count())) | 235 | @if ((isset($job->jobs)) && ($job->jobs->count())) |
278 | <div class="main__employer-page-two-item-tags"> | 236 | <div class="main__employer-page-two-item-tags"> |
279 | @foreach ($job->jobs as $item) | 237 | @foreach ($job->jobs as $item) |
280 | <span class="main__employer-page-two-item-tag">#{{ $item->name }}</span> | 238 | <span class="main__employer-page-two-item-tag">#{{ $item->name }}</span> |
281 | @endforeach | 239 | @endforeach |
282 | </div> | 240 | </div> |
283 | @endif | 241 | @endif |
284 | <div class="main__employer-page-two-item-buttons"> | 242 | <div class="main__employer-page-two-item-buttons"> |
285 | 243 | ||
286 | <button type="button" data-fancybox data-src="#send" data-vacancy="{{ $job->id }}" data-uid="{{ $user_id }}" data-tuid="{{ $company[0]->users->id }}" data-options='{"touch":false,"autoFocus":false}' | 244 | <button type="button" data-fancybox data-src="#send" data-vacancy="{{ $job->id }}" data-uid="{{ $user_id }}" data-tuid="{{ $company[0]->users->id }}" data-options='{"touch":false,"autoFocus":false}' |
287 | class="button main__employer-page-two-item-button js_send_it_button">Оставить | 245 | class="button main__employer-page-two-item-button js_send_it_button">Оставить |
288 | отклик...</button> | 246 | отклик...</button> |
289 | 247 | ||
290 | <!--<a href="#" | 248 | <!--<a href="#" |
291 | class="button button_light main__employer-page-two-item-button">Подробнее</a>--> | 249 | class="button button_light main__employer-page-two-item-button">Подробнее</a>--> |
292 | </div> | 250 | </div> |
293 | <div class="main__employer-page-two-item-bottom"> | 251 | <div class="main__employer-page-two-item-bottom"> |
294 | <div class="main__employer-page-two-item-bottom-date">{{ date('d.m.Y H:i:s', strtotime($job->updated_at)) }}</div> | 252 | <div class="main__employer-page-two-item-bottom-date">{{ date('d.m.Y H:i:s', strtotime($job->updated_at)) }}</div> |
295 | <button type="button" id="like{{ $job->id }}" data-val="{{ $job->id }}" | 253 | <button type="button" id="like{{ $job->id }}" data-val="{{ $job->id }}" |
296 | class="like main__employer-page-two-item-bottom-like js-toggle js_vac_favorite {{ \App\Classes\LikesClass::get_status_vacancy($job) }}"> | 254 | class="like main__employer-page-two-item-bottom-like js-toggle js_vac_favorite {{ \App\Classes\LikesClass::get_status_vacancy($job) }}"> |
297 | <svg> | 255 | <svg> |
298 | <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> | 256 | <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> |
299 | </svg> | 257 | </svg> |
300 | </button> | 258 | </button> |
301 | </div> | 259 | </div> |
302 | </div> | 260 | </div> |
303 | @endforeach | 261 | @endforeach |
304 | 262 | ||
305 | <div style="margin-top: 20px"> | 263 | <div style="margin-top: 20px"> |
306 | {{ $ads->onEachSide(0)->appends($_GET)->links('paginate') }} | 264 | {{ $ads->onEachSide(0)->appends($_GET)->links('paginate') }} |
307 | </div> | 265 | </div> |
308 | <!--<button type="button" class="button button_light button_more main__employer-page-two-more js-toggle js-parent-toggle"> | 266 | <!--<button type="button" class="button button_light button_more main__employer-page-two-more js-toggle js-parent-toggle"> |
309 | <span>Показать ещё</span> | 267 | <span>Показать ещё</span> |
310 | <span>Скрыть</span> | 268 | <span>Скрыть</span> |
311 | </button>--> | 269 | </button>--> |
312 | </div> | 270 | </div> |
313 | </div> | 271 | </div> |
314 | </div> | 272 | </div> |
315 | </div> | 273 | </div> |
316 | </div> | 274 | </div> |
317 | </div> | 275 | </div> |
318 | </main> | 276 | </main> |
319 | @endsection | 277 | @endsection |
320 | 278 |
resources/views/modals/send_employer.blade.php
1 | <script> | 1 | <script> |
2 | console.log('Сообщение работнику'); | 2 | console.log('Сообщение работнику'); |
3 | $(document).on('change', '#btn_send_file', function() { | 3 | $(document).on('change', '#btn_send_file', function() { |
4 | var send_name = $('#send_name'); | 4 | var send_name = $('#send_name'); |
5 | var send_name_val = send_name.val(); | 5 | var send_name_val = send_name.val(); |
6 | var this_final_name = $('#this_final_name'); | 6 | var this_final_name = $('#this_final_name'); |
7 | 7 | ||
8 | console.log(send_name_val); | 8 | console.log(send_name_val); |
9 | this_final_name.html(send_name_val); | 9 | this_final_name.html(send_name_val); |
10 | }); | 10 | }); |
11 | </script> | 11 | </script> |
12 | <div id="send2" class="modal"> | 12 | <div id="send2" class="modal"> |
13 | <div class="modal__body"> | 13 | <div class="modal__body"> |
14 | <div class="modal__title">Отправить сообщение</div> | 14 | <div class="modal__title">Отправить сообщение</div> |
15 | <div class="modal__text">Если у вас есть предложение, вы можете сделать конретное предложение</div> | ||
16 | <form class="modal__form" id="form_from_emp" name="form_from_emp" enctype="multipart/form-data" action="{{ route('employer.new_message') }}" method="POST"> | 15 | <form class="modal__form" id="form_from_emp" name="form_from_emp" enctype="multipart/form-data" action="{{ route('employer.new_message') }}" method="POST"> |
17 | @csrf | 16 | @csrf |
18 | <div class="modal__form-item" style="display:none"> | 17 | <div class="modal__form-item" style="display:none"> |
19 | <!-- Отправитель сообщения: --> | 18 | <!-- Отправитель сообщения: --> |
20 | <input type="hidden" id="_user_id" name="_user_id" class="input" placeholder="user_id" value=""> | 19 | <input type="hidden" id="_user_id" name="_user_id" class="input" placeholder="user_id" value=""> |
21 | <!-- Получатель сообщения: --> | 20 | <!-- Получатель сообщения: --> |
22 | <input type="hidden" id="_to_user_id" name="_to_user_id" class="input" placeholder="to_user_id" value=""> | 21 | <input type="hidden" id="_to_user_id" name="_to_user_id" class="input" placeholder="to_user_id" value=""> |
23 | <!-- Вакансия: --> | 22 | <!-- Вакансия: --> |
24 | <input type="hidden" id="_vacancy" name="_vacancy" class="input" placeholder="vacancy" value=""> | 23 | <input type="hidden" id="_vacancy" name="_vacancy" class="input" placeholder="vacancy" value=""> |
25 | </div> | 24 | </div> |
26 | <div class="modal__form-item"> | 25 | <div class="modal__form-item"> |
27 | <input id="i1" type="text" name="title" class="input" placeholder="Тема" required> | 26 | <input id="i1" type="text" name="title" class="input" placeholder="Тема" required> |
28 | <label for="i1">Не заполнено поле</label> | 27 | <label for="i1">Не заполнено поле</label> |
29 | </div> | 28 | </div> |
30 | <div class="modal__form-item"> | 29 | <div class="modal__form-item"> |
31 | <textarea id="i2" class="textarea" name="text" placeholder="Укажите по какому поводу вы пишите работодателю, уточните название вакансии или прикрепите ссылку на вакансию, дайте как можно больше информации. ВАЖНО не стоит писать работодателю короткий текст цитирую «Какая зарплата?, работодатель не поймет о чем речь, опишите вопрос максимально подробно»." required></textarea> | 30 | <textarea id="i2" class="textarea" name="text" placeholder="Укажите по какому поводу вы пишите работодателю, уточните название вакансии или прикрепите ссылку на вакансию, дайте как можно больше информации. ВАЖНО не стоит писать работодателю короткий текст цитирую «Какая зарплата?, работодатель не поймет о чем речь, опишите вопрос максимально подробно»." required></textarea> |
32 | <label for="i2">Не заполнено поле</label> | 31 | <label for="i2">Не заполнено поле</label> |
33 | </div> | 32 | </div> |
34 | <div class="modal__form-item"> | 33 | <div class="modal__form-item"> |
35 | <div class="file"> | 34 | <div class="file"> |
36 | <label class="file__input"> | 35 | <label class="file__input"> |
37 | <input type="file" name="file"> | 36 | <input type="file" name="file"> |
38 | <span class="button button_light"> | 37 | <span class="button button_light"> |
39 | <svg> | 38 | <svg> |
40 | <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> | 39 | <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> |
41 | </svg> | 40 | </svg> |
42 | Прикрепить документ | 41 | Прикрепить документ |
43 | </span> | 42 | </span> |
44 | </label> | 43 | </label> |
45 | 44 | ||
46 | <div class="file__list"> | 45 | <div class="file__list"> |
47 | <div class="file__list-item"> | 46 | <div class="file__list-item"> |
48 | <div class="file__list-item-left"> | 47 | <div class="file__list-item-left"> |
49 | <svg> | 48 | <svg> |
50 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> | 49 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> |
51 | </svg> | 50 | </svg> |
52 | <span id="this_final_name" name="this_final_name"></span> | 51 | <span id="this_final_name" name="this_final_name"></span> |
53 | </div> | 52 | </div> |
54 | <button type="button" class="file__list-item-right js-parent-remove"> | 53 | <button type="button" class="file__list-item-right js-parent-remove"> |
55 | <svg> | 54 | <svg> |
56 | <use xlink:href="{{ asset('images/sprite.svg#cross-bold') }}"></use> | 55 | <use xlink:href="{{ asset('images/sprite.svg#cross-bold') }}"></use> |
57 | </svg> | 56 | </svg> |
58 | </button> | 57 | </button> |
59 | </div> | 58 | </div> |
60 | </div> | 59 | </div> |
61 | </div> | 60 | </div> |
62 | </div> | 61 | </div> |
63 | <div class="modal__form-item"> | 62 | <div class="modal__form-item"> |
64 | <button type="submit" class="button">Отправить</button> | 63 | <button type="submit" class="button">Отправить</button> |
65 | </div> | 64 | </div> |
66 | </form> | 65 | </form> |
67 | </div> | 66 | </div> |
68 | </div> | 67 | </div> |
69 | 68 |
resources/views/modals/send_worker.blade.php
1 | <script> | 1 | <script> |
2 | console.log('Сообщение работнику'); | 2 | console.log('Сообщение работнику'); |
3 | $("#form_worker" ).submit(function(event) { | 3 | $("#form_worker" ).submit(function(event) { |
4 | var val = $(this).val(); | 4 | var val = $(this).val(); |
5 | var send_title = $('#send_title'); | 5 | var send_title = $('#send_title'); |
6 | var send_title_val = send_title.val(); | 6 | var send_title_val = send_title.val(); |
7 | 7 | ||
8 | console.log('Click form.'); | 8 | console.log('Click form.'); |
9 | }); | 9 | }); |
10 | 10 | ||
11 | $(document).on('change', '#btn_send_file', function() { | 11 | $(document).on('change', '#btn_send_file', function() { |
12 | 12 | ||
13 | var send_name = $('#send_name'); | 13 | var send_name = $('#send_name'); |
14 | var send_name_val = send_name.val(); | 14 | var send_name_val = send_name.val(); |
15 | var send_name_file = $('#send_name_file'); | 15 | var send_name_file = $('#send_name_file'); |
16 | 16 | ||
17 | console.log(send_name_val); | 17 | console.log(send_name_val); |
18 | send_name_file.html(send_name_val); | 18 | send_name_file.html(send_name_val); |
19 | 19 | ||
20 | }); | 20 | }); |
21 | </script> | 21 | </script> |
22 | <div id="send3" class="modal"> | 22 | <div id="send3" class="modal"> |
23 | <div class="modal__body"> | 23 | <div class="modal__body"> |
24 | <div class="modal__title">Отправить сообщение работодателю</div> | 24 | <div class="modal__title">Отправить сообщение работодателю</div> |
25 | <div class="modal__text">Если вы готовы владеете компитентыми навыками, напишите данному работодателю письмо</div> | ||
26 | <form class="modal__form" id="form_worker" name="form_worker" enctype="multipart/form-data" action="{{ route('worker.new_message') }}" method="POST"> | 25 | <form class="modal__form" id="form_worker" name="form_worker" enctype="multipart/form-data" action="{{ route('worker.new_message') }}" method="POST"> |
27 | @csrf | 26 | @csrf |
28 | <div class="modal__form-item" style="display: none"> | 27 | <div class="modal__form-item" style="display: none"> |
29 | Отправитель сообщения: | 28 | Отправитель сообщения: |
30 | <input type="text" id="send_user_id" name="send_user_id" class="input" placeholder="user_id" value=""> | 29 | <input type="text" id="send_user_id" name="send_user_id" class="input" placeholder="user_id" value=""> |
31 | Получатель сообщения: | 30 | Получатель сообщения: |
32 | <input type="text" id="send_to_user_id" name="send_to_user_id" class="input" placeholder="to_user_id" value=""> | 31 | <input type="text" id="send_to_user_id" name="send_to_user_id" class="input" placeholder="to_user_id" value=""> |
33 | Вакансия: | 32 | Вакансия: |
34 | <input type="text" id="send_vacancy" name="send_vacancy" class="input" placeholder="vacancy" value=""> | 33 | <input type="text" id="send_vacancy" name="send_vacancy" class="input" placeholder="vacancy" value=""> |
35 | </div> | 34 | </div> |
36 | <div class="modal__form-item send_title_div error_"> | 35 | <div class="modal__form-item send_title_div error_"> |
37 | <input id="send_title" name="send_title" type="text" class="input" placeholder="Тема" required> | 36 | <input id="send_title" name="send_title" type="text" class="input" placeholder="Тема" required> |
38 | <label for="title">Не заполнено поле</label> | 37 | <label for="title">Не заполнено поле</label> |
39 | </div> | 38 | </div> |
40 | <div class="modal__form-item send_title_div error_"> | 39 | <div class="modal__form-item send_title_div error_"> |
41 | <select class="js-select2" name="send_job_title_id" id="send_job_title_id"> | 40 | <select class="js-select2" name="send_job_title_id" id="send_job_title_id"> |
42 | @if ($jobs->count()) | 41 | @if ($jobs->count()) |
43 | @foreach($jobs as $j) | 42 | @foreach($jobs as $j) |
44 | <option value="{{ $j->id }}">{{ $j->name }} ({{ $j->id }})</option> | 43 | <option value="{{ $j->id }}">{{ $j->name }} ({{ $j->id }})</option> |
45 | @endforeach | 44 | @endforeach |
46 | @endif | 45 | @endif |
47 | </select> | 46 | </select> |
48 | <label for="title">Не заполнено поле</label> | 47 | <label for="title">Не заполнено поле</label> |
49 | </div> | 48 | </div> |
50 | <div class="modal__form-item send_text_div"> | 49 | <div class="modal__form-item send_text_div"> |
51 | <textarea id="i2" class="textarea" id="send_text" name="send_text" placeholder="Напишите текст с предложением о работе" required></textarea> | 50 | <textarea id="i2" class="textarea" id="send_text" name="send_text" placeholder="Напишите текст с предложением о работе" required></textarea> |
52 | <label for="i2">Не заполнено поле</label> | 51 | <label for="i2">Не заполнено поле</label> |
53 | </div> | 52 | </div> |
54 | <div class="modal__form-item"> | 53 | <div class="modal__form-item"> |
55 | <div class="file"> | 54 | <div class="file"> |
56 | <label class="file__input" id="btn_send_file" name="btn_send_file"> | 55 | <label class="file__input" id="btn_send_file" name="btn_send_file"> |
57 | <input type="file" name="send_file" id="send_name"> | 56 | <input type="file" name="send_file" id="send_name"> |
58 | <span class="button button_light"> | 57 | <span class="button button_light"> |
59 | <svg> | 58 | <svg> |
60 | <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> | 59 | <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> |
61 | </svg> | 60 | </svg> |
62 | Прикрепить файл-документ | 61 | Прикрепить файл-документ |
63 | </span> | 62 | </span> |
64 | </label> | 63 | </label> |
65 | 64 | ||
66 | <div class="file__list" id="div_file" name="div_file"> | 65 | <div class="file__list" id="div_file" name="div_file"> |
67 | <div class="file__list-item"> | 66 | <div class="file__list-item"> |
68 | <div class="file__list-item-left"> | 67 | <div class="file__list-item-left"> |
69 | <svg> | 68 | <svg> |
70 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> | 69 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> |
71 | </svg> | 70 | </svg> |
72 | <span id="send_name_file" name="send_name_file"></span> | 71 | <span id="send_name_file" name="send_name_file"></span> |
73 | </div> | 72 | </div> |
74 | <button type="button" class="file__list-item-right js-parent-remove"> | 73 | <button type="button" class="file__list-item-right js-parent-remove"> |
75 | <svg> | 74 | <svg> |
76 | <use xlink:href="{{ asset('images/sprite.svg#cross-bold') }}"></use> | 75 | <use xlink:href="{{ asset('images/sprite.svg#cross-bold') }}"></use> |
77 | </svg> | 76 | </svg> |
78 | </button> | 77 | </button> |
79 | </div> | 78 | </div> |
80 | </div> | 79 | </div> |
81 | </div> | 80 | </div> |
82 | </div> | 81 | </div> |
83 | <div class="modal__form-item"> | 82 | <div class="modal__form-item"> |
84 | <button type="submit" id="submit_form_worker" name="submit_form_worker" class="button">Отправить</button> | 83 | <button type="submit" id="submit_form_worker" name="submit_form_worker" class="button">Отправить</button> |
85 | </div> | 84 | </div> |
86 | </form> | 85 | </form> |
87 | </div> | 86 | </div> |
88 | </div> | 87 | </div> |
89 | 88 |
resources/views/modals/send_worker_new.blade.php
1 | <script> | 1 | <script> |
2 | console.log('Сообщение работнику'); | 2 | console.log('Сообщение работнику'); |
3 | $("#form_worker" ).submit(function(event) { | 3 | $("#form_worker" ).submit(function(event) { |
4 | var val = $(this).val(); | 4 | var val = $(this).val(); |
5 | var send_title = $('#send_title'); | 5 | var send_title = $('#send_title'); |
6 | var send_title_val = send_title.val(); | 6 | var send_title_val = send_title.val(); |
7 | 7 | ||
8 | console.log('Click form.'); | 8 | console.log('Click form.'); |
9 | }); | 9 | }); |
10 | 10 | ||
11 | $(document).on('change', '#btn_send_file', function() { | 11 | $(document).on('change', '#btn_send_file', function() { |
12 | 12 | ||
13 | var send_name = $('#send_name'); | 13 | var send_name = $('#send_name'); |
14 | var send_name_val = send_name.val(); | 14 | var send_name_val = send_name.val(); |
15 | var send_name_file = $('#send_name_file'); | 15 | var send_name_file = $('#send_name_file'); |
16 | 16 | ||
17 | console.log(send_name_val); | 17 | console.log(send_name_val); |
18 | send_name_file.html(send_name_val); | 18 | send_name_file.html(send_name_val); |
19 | 19 | ||
20 | }); | 20 | }); |
21 | </script> | 21 | </script> |
22 | <div id="send" class="modal"> | 22 | <div id="send" class="modal"> |
23 | <div class="modal__body"> | 23 | <div class="modal__body"> |
24 | <div class="modal__title">Отправить сообщение работодателю</div> | 24 | <div class="modal__title">Отправить сообщение работодателю</div> |
25 | <div class="modal__text">Если вы готовы владеете компитентыми навыками, напишите данному работодателю письмо</div> | ||
26 | <form class="modal__form" id="form_worker" name="form_worker" enctype="multipart/form-data" action="{{ route('worker.new_message') }}" method="POST"> | 25 | <form class="modal__form" id="form_worker" name="form_worker" enctype="multipart/form-data" action="{{ route('worker.new_message') }}" method="POST"> |
27 | @csrf | 26 | @csrf |
28 | <div class="modal__form-item" style="display: none"> | 27 | <div class="modal__form-item" style="display: none"> |
29 | Отправитель сообщения: | 28 | Отправитель сообщения: |
30 | <input type="text" id="send_user_id" name="send_user_id" class="input" placeholder="user_id" value=""> | 29 | <input type="text" id="send_user_id" name="send_user_id" class="input" placeholder="user_id" value=""> |
31 | Получатель сообщения: | 30 | Получатель сообщения: |
32 | <input type="text" id="send_to_user_id" name="send_to_user_id" class="input" placeholder="to_user_id" value=""> | 31 | <input type="text" id="send_to_user_id" name="send_to_user_id" class="input" placeholder="to_user_id" value=""> |
33 | Вакансия: | 32 | Вакансия: |
34 | <input type="text" id="send_vacancy" name="send_vacancy" class="input" placeholder="vacancy" value=""> | 33 | <input type="text" id="send_vacancy" name="send_vacancy" class="input" placeholder="vacancy" value=""> |
35 | Должность: | 34 | Должность: |
36 | <input type="text" id="send_job_title_id" name="send_job_title_id" class="input" placeholder="vacancy" value="0"> | 35 | <input type="text" id="send_job_title_id" name="send_job_title_id" class="input" placeholder="vacancy" value="0"> |
37 | 36 | ||
38 | </div> | 37 | </div> |
39 | <div class="modal__form-item send_title_div error_"> | 38 | <div class="modal__form-item send_title_div error_"> |
40 | <input id="send_title" name="send_title" type="text" class="input" placeholder="Тема" required> | 39 | <input id="send_title" name="send_title" type="text" class="input" placeholder="Тема" required> |
41 | <label for="title">Не заполнено поле</label> | 40 | <label for="title">Не заполнено поле</label> |
42 | </div> | 41 | </div> |
43 | <div class="modal__form-item send_text_div"> | 42 | <div class="modal__form-item send_text_div"> |
44 | <textarea id="i2" class="textarea" id="send_text" name="send_text" placeholder="Напишите текст с предложением о работе" required></textarea> | 43 | <textarea id="i2" class="textarea" id="send_text" name="send_text" placeholder="Напишите текст с предложением о работе" required></textarea> |
45 | <label for="i2">Не заполнено поле</label> | 44 | <label for="i2">Не заполнено поле</label> |
46 | </div> | 45 | </div> |
47 | <div class="modal__form-item"> | 46 | <div class="modal__form-item"> |
48 | <div class="file"> | 47 | <div class="file"> |
49 | <label class="file__input" id="btn_send_file" name="btn_send_file"> | 48 | <label class="file__input" id="btn_send_file" name="btn_send_file"> |
50 | <input type="file" name="send_file" id="send_name"> | 49 | <input type="file" name="send_file" id="send_name"> |
51 | <span class="button button_light"> | 50 | <span class="button button_light"> |
52 | <svg> | 51 | <svg> |
53 | <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> | 52 | <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> |
54 | </svg> | 53 | </svg> |
55 | Прикрепить файл-документ | 54 | Прикрепить файл-документ |
56 | </span> | 55 | </span> |
57 | </label> | 56 | </label> |
58 | 57 | ||
59 | <div class="file__list" id="div_file" name="div_file"> | 58 | <div class="file__list" id="div_file" name="div_file"> |
60 | <div class="file__list-item"> | 59 | <div class="file__list-item"> |
61 | <div class="file__list-item-left"> | 60 | <div class="file__list-item-left"> |
62 | <svg> | 61 | <svg> |
63 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> | 62 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> |
64 | </svg> | 63 | </svg> |
65 | <span id="send_name_file" name="send_name_file"></span> | 64 | <span id="send_name_file" name="send_name_file"></span> |
66 | </div> | 65 | </div> |
67 | <button type="button" class="file__list-item-right js-parent-remove"> | 66 | <button type="button" class="file__list-item-right js-parent-remove"> |
68 | <svg> | 67 | <svg> |
69 | <use xlink:href="{{ asset('images/sprite.svg#cross-bold') }}"></use> | 68 | <use xlink:href="{{ asset('images/sprite.svg#cross-bold') }}"></use> |
70 | </svg> | 69 | </svg> |
71 | </button> | 70 | </button> |
72 | </div> | 71 | </div> |
73 | </div> | 72 | </div> |
74 | </div> | 73 | </div> |
75 | </div> | 74 | </div> |
76 | <div class="modal__form-item"> | 75 | <div class="modal__form-item"> |
77 | <button type="submit" id="submit_form_worker" name="submit_form_worker" class="button">Отправить</button> | 76 | <button type="submit" id="submit_form_worker" name="submit_form_worker" class="button">Отправить</button> |
78 | </div> | 77 | </div> |
79 | </form> | 78 | </form> |
80 | </div> | 79 | </div> |
81 | </div> | 80 | </div> |
82 | 81 | ||
83 | 82 |
resources/views/resume.blade.php
1 | @extends('layout.frontend', ['title' => 'База резюме - РекаМоре']) | 1 | @extends('layout.frontend', ['title' => 'База резюме - РекаМоре']) |
2 | 2 | ||
3 | @section('scripts') | 3 | @section('scripts') |
4 | <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"></script> | 4 | <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"></script> |
5 | <script> | 5 | <script> |
6 | console.log('Test system'); | 6 | console.log('Test system'); |
7 | $(document).on('change', '#jobs', function() { | 7 | $(document).on('change', '#jobs', function() { |
8 | var val = $(this).val(); | 8 | var val = $(this).val(); |
9 | var main_oskar = $('#main_ockar'); | 9 | var main_oskar = $('#main_ockar'); |
10 | 10 | ||
11 | console.log('Code='+val); | 11 | console.log('Code='+val); |
12 | console.log('Click change...'); | 12 | console.log('Click change...'); |
13 | $.ajax({ | 13 | $.ajax({ |
14 | type: "GET", | 14 | type: "GET", |
15 | url: "", | 15 | url: "", |
16 | data: "job="+val, | 16 | data: "job="+val, |
17 | success: function (data) { | 17 | success: function (data) { |
18 | console.log('Выбор сделан!'); | 18 | console.log('Выбор сделан!'); |
19 | console.log(data); | 19 | console.log(data); |
20 | main_oskar.html(data); | 20 | main_oskar.html(data); |
21 | }, | 21 | }, |
22 | headers: { | 22 | headers: { |
23 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 23 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
24 | }, | 24 | }, |
25 | error: function (data) { | 25 | error: function (data) { |
26 | data = JSON.stringify(data); | 26 | data = JSON.stringify(data); |
27 | console.log('Error: ' + data); | 27 | console.log('Error: ' + data); |
28 | } | 28 | } |
29 | }); | 29 | }); |
30 | }); | 30 | }); |
31 | </script> | 31 | </script> |
32 | 32 | ||
33 | <script> | 33 | <script> |
34 | $(document).ready(function() { | 34 | $(document).ready(function() { |
35 | $(document).on('click', '.js_box_favorites', function () { | 35 | $(document).on('click', '.js_box_favorites', function () { |
36 | var _this = $(this); | 36 | var _this = $(this); |
37 | var id_worker = _this.attr('data-val'); | 37 | var id_worker = _this.attr('data-val'); |
38 | 38 | ||
39 | if (_this.hasClass('active')) { | 39 | if (_this.hasClass('active')) { |
40 | add_in_array(id_worker); | 40 | add_in_array(id_worker); |
41 | console.log('Добавлено в избранное id=' + id_worker); | 41 | console.log('Добавлено в избранное id=' + id_worker); |
42 | } else { | 42 | } else { |
43 | delete_in_array(id_worker); | 43 | delete_in_array(id_worker); |
44 | console.log('Удалено из избранных id='+id_worker) | 44 | console.log('Удалено из избранных id='+id_worker) |
45 | } | 45 | } |
46 | var str = $.cookie('favorite_worker'); | 46 | var str = $.cookie('favorite_worker'); |
47 | console.log("Вывод куков "+str); | 47 | console.log("Вывод куков "+str); |
48 | 48 | ||
49 | }); | 49 | }); |
50 | }); | 50 | }); |
51 | 51 | ||
52 | //помеченный элемент | 52 | //помеченный элемент |
53 | function selected_item(obj) { | 53 | function selected_item(obj) { |
54 | var arr = read_array(); | 54 | var arr = read_array(); |
55 | var index = arr.indexOf(obj); | 55 | var index = arr.indexOf(obj); |
56 | 56 | ||
57 | if (index > 0) | 57 | if (index > 0) |
58 | return "active"; | 58 | return "active"; |
59 | else | 59 | else |
60 | return ""; | 60 | return ""; |
61 | } | 61 | } |
62 | 62 | ||
63 | // запись элемента массива в cookie | 63 | // запись элемента массива в cookie |
64 | function add_in_array(obj){ | 64 | function add_in_array(obj){ |
65 | var arr = read_array();//получаем текущее состояние массива | 65 | var arr = read_array();//получаем текущее состояние массива |
66 | arr[arr.length]=obj; //добавляем элемент в конец | 66 | arr[arr.length]=obj; //добавляем элемент в конец |
67 | //var str = JSON.stringify(arr);//конвертируем в строку | 67 | //var str = JSON.stringify(arr);//конвертируем в строку |
68 | //$.cookie('arr',str);//записываем массив в куки | 68 | //$.cookie('arr',str);//записываем массив в куки |
69 | $.cookie('favorite_worker', JSON.stringify(arr)); | 69 | $.cookie('favorite_worker', JSON.stringify(arr)); |
70 | 70 | ||
71 | } | 71 | } |
72 | 72 | ||
73 | // удаление элемента из массива в cookie | 73 | // удаление элемента из массива в cookie |
74 | function delete_in_array(obj) { | 74 | function delete_in_array(obj) { |
75 | var arr = read_array(); | 75 | var arr = read_array(); |
76 | var unique = [...new Set(arr)] | 76 | var unique = [...new Set(arr)] |
77 | var index = unique.indexOf(obj); | 77 | var index = unique.indexOf(obj); |
78 | 78 | ||
79 | unique.splice(index, 1); | 79 | unique.splice(index, 1); |
80 | 80 | ||
81 | //var str = JSON.stringify(arr);//конвертируем в строку | 81 | //var str = JSON.stringify(arr);//конвертируем в строку |
82 | //$.cookie('arr',str);//записываем массив в куки | 82 | //$.cookie('arr',str);//записываем массив в куки |
83 | $.cookie('favorite_worker', JSON.stringify(unique)); | 83 | $.cookie('favorite_worker', JSON.stringify(unique)); |
84 | 84 | ||
85 | } | 85 | } |
86 | 86 | ||
87 | function read_array(){ | 87 | function read_array(){ |
88 | var dataArr=$.cookie('favorite_worker');//считываем данные из куков | 88 | var dataArr=$.cookie('favorite_worker');//считываем данные из куков |
89 | 89 | ||
90 | //если массив не был обнаружен, иницилизируем его | 90 | //если массив не был обнаружен, иницилизируем его |
91 | if(dataArr===null){ | 91 | if(dataArr===null){ |
92 | dataArr = init_array(); //возвращаем инициализированный пустой маасив | 92 | dataArr = init_array(); //возвращаем инициализированный пустой маасив |
93 | } | 93 | } |
94 | //возвращаем полученный массив | 94 | //возвращаем полученный массив |
95 | //return JSON.parse(dataArr); | 95 | //return JSON.parse(dataArr); |
96 | return JSON.parse(dataArr); | 96 | return JSON.parse(dataArr); |
97 | } | 97 | } |
98 | 98 | ||
99 | //другими словами создаем пустой массив | 99 | //другими словами создаем пустой массив |
100 | function init_array(){ | 100 | function init_array(){ |
101 | //var str = JSON.stringify(new Array());//конвертируем в строку | 101 | //var str = JSON.stringify(new Array());//конвертируем в строку |
102 | var str = JSON.stringify(new Array()); | 102 | var str = JSON.stringify(new Array()); |
103 | $.cookie('favorite_worker',str);//записываем массив в куки | 103 | $.cookie('favorite_worker',str);//записываем массив в куки |
104 | 104 | ||
105 | return str; | 105 | return str; |
106 | } | 106 | } |
107 | </script> | 107 | </script> |
108 | <script> | 108 | <script> |
109 | $(document).on('click', '.js_it_button', function() { | 109 | $(document).on('click', '.js_it_button', function() { |
110 | var this_ = $(this); | 110 | var this_ = $(this); |
111 | var code_user_id = this_.attr('data-uid'); | 111 | var code_user_id = this_.attr('data-uid'); |
112 | var code_to_user_id = this_.attr('data-tuid'); | 112 | var code_to_user_id = this_.attr('data-tuid'); |
113 | var code_vacancy = this_.attr('data-vacancy'); | 113 | var code_vacancy = this_.attr('data-vacancy'); |
114 | var user_id = $('#_user_id'); | 114 | var user_id = $('#_user_id'); |
115 | var to_user_id = $('#_to_user_id'); | 115 | var to_user_id = $('#_to_user_id'); |
116 | var vacancy = $('#_vacancy'); | 116 | var vacancy = $('#_vacancy'); |
117 | 117 | ||
118 | console.log('code_to_user_id='+code_to_user_id); | 118 | console.log('code_to_user_id='+code_to_user_id); |
119 | console.log('code_user_id='+code_user_id); | 119 | console.log('code_user_id='+code_user_id); |
120 | console.log('code_vacancy='+code_vacancy); | 120 | console.log('code_vacancy='+code_vacancy); |
121 | console.log('Клик на кнопке...'); | 121 | console.log('Клик на кнопке...'); |
122 | 122 | ||
123 | user_id.val(code_user_id); | 123 | user_id.val(code_user_id); |
124 | to_user_id.val(code_to_user_id); | 124 | to_user_id.val(code_to_user_id); |
125 | vacancy.val(code_vacancy); | 125 | vacancy.val(code_vacancy); |
126 | }); | 126 | }); |
127 | </script> | 127 | </script> |
128 | <script> | 128 | <script> |
129 | $(document).on('change', '#sort_ajax', function() { | 129 | $(document).on('change', '#sort_ajax', function() { |
130 | var this_ = $(this); | 130 | var this_ = $(this); |
131 | var val_ = this_.val(); | 131 | var val_ = this_.val(); |
132 | console.log('sort items '+val_); | 132 | console.log('sort items '+val_); |
133 | 133 | ||
134 | $.ajax({ | 134 | $.ajax({ |
135 | type: "GET", | 135 | type: "GET", |
136 | url: "{{ route('bd_resume') }}", | 136 | url: "{{ route('bd_resume') }}", |
137 | data: "sort="+val_+"&block=1", | 137 | data: "sort="+val_+"&block=1", |
138 | success: function (data) { | 138 | success: function (data) { |
139 | console.log('Выбор сортировки'); | 139 | console.log('Выбор сортировки'); |
140 | console.log(data); | 140 | console.log(data); |
141 | $('#block1').html(data); | 141 | $('#block1').html(data); |
142 | history.pushState({}, '', "{{ route('bd_resume') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); | 142 | history.pushState({}, '', "{{ route('bd_resume') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); |
143 | }, | 143 | }, |
144 | headers: { | 144 | headers: { |
145 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 145 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
146 | }, | 146 | }, |
147 | error: function (data) { | 147 | error: function (data) { |
148 | data = JSON.stringify(data); | 148 | data = JSON.stringify(data); |
149 | console.log('Error: ' + data); | 149 | console.log('Error: ' + data); |
150 | } | 150 | } |
151 | }); | 151 | }); |
152 | 152 | ||
153 | $.ajax({ | 153 | $.ajax({ |
154 | type: "GET", | 154 | type: "GET", |
155 | url: "{{ route('bd_resume') }}", | 155 | url: "{{ route('bd_resume') }}", |
156 | data: "sort="+val_+"&block=2", | 156 | data: "sort="+val_+"&block=2", |
157 | success: function (data) { | 157 | success: function (data) { |
158 | console.log('Выбор сортировки'); | 158 | console.log('Выбор сортировки'); |
159 | console.log(data); | 159 | console.log(data); |
160 | $('#block2').html(data); | 160 | $('#block2').html(data); |
161 | history.pushState({}, '', "{{ route('bd_resume') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); | 161 | history.pushState({}, '', "{{ route('bd_resume') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); |
162 | }, | 162 | }, |
163 | headers: { | 163 | headers: { |
164 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 164 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
165 | }, | 165 | }, |
166 | error: function (data) { | 166 | error: function (data) { |
167 | data = JSON.stringify(data); | 167 | data = JSON.stringify(data); |
168 | console.log('Error: ' + data); | 168 | console.log('Error: ' + data); |
169 | } | 169 | } |
170 | }); | 170 | }); |
171 | 171 | ||
172 | }); | 172 | }); |
173 | 173 | ||
174 | $(document).ready(function(){ | 174 | $(document).ready(function(){ |
175 | var sel = $('#select2-sort_ajax-container'); | 175 | var sel = $('#select2-sort_ajax-container'); |
176 | var key = getUrlParameter('sort'); | 176 | var key = getUrlParameter('sort'); |
177 | console.log(sel); | 177 | console.log(sel); |
178 | console.log(key); | 178 | console.log(key); |
179 | 179 | ||
180 | if (key !=='') { | 180 | if (key !=='') { |
181 | console.log(key); | 181 | console.log(key); |
182 | switch (key) { | 182 | switch (key) { |
183 | case "default": sel.html('Сортировка (по умолчанию)'); break; | 183 | case "default": sel.html('Сортировка (по умолчанию)'); break; |
184 | case "name_up": sel.html('По имени (возрастание)'); break; | 184 | case "name_up": sel.html('По имени (возрастание)'); break; |
185 | case "name_down": sel.html('По дате (убывание)'); break; | 185 | case "name_down": sel.html('По дате (убывание)'); break; |
186 | case "created_at_up": sel.html('По дате (возрастание)'); break; | 186 | case "created_at_up": sel.html('По дате (возрастание)'); break; |
187 | case "created_at_down": sel.html('По дате (убывание)'); break; | 187 | case "created_at_down": sel.html('По дате (убывание)'); break; |
188 | } | 188 | } |
189 | 189 | ||
190 | } | 190 | } |
191 | }); | 191 | }); |
192 | </script> | 192 | </script> |
193 | 193 | ||
194 | <script> | 194 | <script> |
195 | console.log('Test system'); | 195 | console.log('Test system'); |
196 | $(document).on('change', '.jobs', function() { | 196 | $(document).on('change', '.jobs', function() { |
197 | var val = $(this).val(); | 197 | var val = $(this).val(); |
198 | 198 | ||
199 | console.log('Click filter вакансии...'); | 199 | console.log('Click filter вакансии...'); |
200 | $.ajax({ | 200 | $.ajax({ |
201 | type: "GET", | 201 | type: "GET", |
202 | url: "{{ route('bd_resume') }}", | 202 | url: "{{ route('bd_resume') }}", |
203 | data: "job="+val+'&block=1', | 203 | data: "job="+val+'&block=1', |
204 | success: function (data) { | 204 | success: function (data) { |
205 | console.log('Выбор должности'); | 205 | console.log('Выбор должности'); |
206 | console.log(data); | 206 | console.log(data); |
207 | $('#block1').html(data); | 207 | $('#block1').html(data); |
208 | history.pushState({}, '', "{{ route('bd_resume') }}?job="+val+"@if (isset($_GET['sort']))&sort={{ $_GET['sort'] }}@endif"+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); | 208 | history.pushState({}, '', "{{ route('bd_resume') }}?job="+val+"@if (isset($_GET['sort']))&sort={{ $_GET['sort'] }}@endif"+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); |
209 | }, | 209 | }, |
210 | headers: { | 210 | headers: { |
211 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 211 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
212 | }, | 212 | }, |
213 | error: function (data) { | 213 | error: function (data) { |
214 | data = JSON.stringify(data); | 214 | data = JSON.stringify(data); |
215 | console.log('Error: ' + data); | 215 | console.log('Error: ' + data); |
216 | } | 216 | } |
217 | }); | 217 | }); |
218 | 218 | ||
219 | $.ajax({ | 219 | $.ajax({ |
220 | type: "GET", | 220 | type: "GET", |
221 | url: "{{ route('bd_resume') }}", | 221 | url: "{{ route('bd_resume') }}", |
222 | data: "job="+val+'&block=2', | 222 | data: "job="+val+'&block=2', |
223 | success: function (data) { | 223 | success: function (data) { |
224 | console.log('Выбор должности'); | 224 | console.log('Выбор должности'); |
225 | console.log(data); | 225 | console.log(data); |
226 | $('#block2').html(data); | 226 | $('#block2').html(data); |
227 | }, | 227 | }, |
228 | headers: { | 228 | headers: { |
229 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 229 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
230 | }, | 230 | }, |
231 | error: function (data) { | 231 | error: function (data) { |
232 | data = JSON.stringify(data); | 232 | data = JSON.stringify(data); |
233 | console.log('Error: ' + data); | 233 | console.log('Error: ' + data); |
234 | } | 234 | } |
235 | }); | 235 | }); |
236 | }); | 236 | }); |
237 | </script> | 237 | </script> |
238 | @include('js.favorite-worker') | 238 | @include('js.favorite-worker') |
239 | @endsection | 239 | @endsection |
240 | 240 | ||
241 | 241 | ||
242 | @section('content') | 242 | @section('content') |
243 | <section class="thing"> | 243 | <section class="thing"> |
244 | <div class="container"> | 244 | <div class="container"> |
245 | <form class="thing__body" action="{{ url()->current() }}"> | 245 | <form class="thing__body" action="{{ url()->current() }}"> |
246 | <ul class="breadcrumbs thing__breadcrumbs"> | 246 | <ul class="breadcrumbs thing__breadcrumbs"> |
247 | <li><a href="{{ route('index') }}">Главная</a></li> | 247 | <li><a href="{{ route('index') }}">Главная</a></li> |
248 | <li><b>База резюме</b></li> | 248 | <li><b>База резюме</b></li> |
249 | </ul> | 249 | </ul> |
250 | <h1 class="thing__title">База резюме</h1> | 250 | <h1 class="thing__title">База резюме</h1> |
251 | <p class="thing__text">С другой стороны, социально-экономическое развитие не оставляет шанса для | 251 | <p class="thing__text">С другой стороны, социально-экономическое развитие не оставляет шанса для |
252 | существующих финансовых и административных условий.</p> | 252 | существующих финансовых и административных условий.</p> |
253 | <!--<div class="search thing__search"> | 253 | <!--<div class="search thing__search"> |
254 | <input type="search" class="input" name="search" id="search" placeholder="Введите наименование должности" required> | 254 | <input type="search" class="input" name="search" id="search" placeholder="Введите наименование должности" required> |
255 | <button type="submit" class="button">Найти</button> | 255 | <button type="submit" class="button">Найти</button> |
256 | <span> | 256 | <span> |
257 | <svg> | 257 | <svg> |
258 | <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> | 258 | <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> |
259 | </svg> | 259 | </svg> |
260 | </span> | 260 | </span> |
261 | </div>--> | 261 | </div>--> |
262 | 262 | ||
263 | <div class="select select_search thing__select"> | 263 | <div class="select select_search thing__select"> |
264 | <div class="select__icon"> | 264 | <div class="select__icon"> |
265 | <svg> | 265 | <svg> |
266 | <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> | 266 | <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> |
267 | </svg> | 267 | </svg> |
268 | </div> | 268 | </div> |
269 | <select class="js-select2 jobs" name="search" id="search"> | 269 | <select class="js-select2 jobs" name="search" id="search"> |
270 | <option value="0">Выберите должность</option> | 270 | <option value="0">Выберите должность</option> |
271 | @if($Job_title->count()) | 271 | @if($Job_title->count()) |
272 | @foreach($Job_title as $JT) | 272 | @foreach($Job_title as $JT) |
273 | <option value="{{ $JT->id }}" @if (isset($_GET['job'])) @if($_GET['job'] == $JT->id) selected @endif @endif>{{ $JT->name }}</option> | 273 | <option value="{{ $JT->id }}" @if (isset($_GET['job'])) @if($_GET['job'] == $JT->id) selected @endif @endif>{{ $JT->name }}</option> |
274 | @endforeach | 274 | @endforeach |
275 | @endif | 275 | @endif |
276 | </select> | 276 | </select> |
277 | </div> | 277 | </div> |
278 | 278 | ||
279 | <!--<label class="checkbox thing__checkbox"> | 279 | <!--<label class="checkbox thing__checkbox"> |
280 | <input type="checkbox" class="checkbox__input" name="experience" id="experience"> | 280 | <input type="checkbox" class="checkbox__input" name="experience" id="experience"> |
281 | <span class="checkbox__icon"> | 281 | <span class="checkbox__icon"> |
282 | <svg> | 282 | <svg> |
283 | <use xlink:href=" asset('images/sprite.svg#v') }}"></use> | 283 | <use xlink:href=" asset('images/sprite.svg#v') }}"></use> |
284 | </svg> | 284 | </svg> |
285 | </span> | 285 | </span> |
286 | <span class="checkbox__text"> | 286 | <span class="checkbox__text"> |
287 | <span> | 287 | <span> |
288 | Опыт работы | 288 | Опыт работы |
289 | </span> | 289 | </span> |
290 | </span> | 290 | </span> |
291 | </label>--> | 291 | </label>--> |
292 | </form> | 292 | </form> |
293 | </div> | 293 | </div> |
294 | </section> | 294 | </section> |
295 | <main class="main"> | 295 | <main class="main"> |
296 | <div class="container"> | 296 | <div class="container"> |
297 | <div class="main__resume-base"> | 297 | <div class="main__resume-base"> |
298 | <h2>Резюме работников</h2> | 298 | <h2>Резюме работников</h2> |
299 | <div class="filters"> | 299 | <div class="filters"> |
300 | <div class="filters__label">Показано {{ $resumes->firstItem() }} – {{ $resumes->lastItem() }} из {{ $res_count }} результатов поиска</div> | 300 | <div class="filters__label">Показано {{ $resumes->firstItem() }} – {{ $resumes->lastItem() }} из {{ $res_count }} результатов поиска</div> |
301 | <div class="filters__body"> | 301 | <div class="filters__body"> |
302 | <div class="select filters__select"> | 302 | <div class="select filters__select"> |
303 | <select class="js-select2" id="sort_ajax" name="sort_ajax"> | 303 | <select class="js-select2" id="sort_ajax" name="sort_ajax"> |
304 | <option value="default">Сортировка (по умолчанию)</option> | 304 | <option value="default">Сортировка (по умолчанию)</option> |
305 | <option value="name_up">По имени (возрастание)</option> | 305 | <option value="name_up">По имени (возрастание)</option> |
306 | <option value="name_down">По имени (убывание)</option> | 306 | <option value="name_down">По имени (убывание)</option> |
307 | <option value="created_at_up">По дате (возрастание)</option> | 307 | <option value="created_at_up">По дате (возрастание)</option> |
308 | <option value="created_at_down">По дате (убывание)</option> | 308 | <option value="created_at_down">По дате (убывание)</option> |
309 | </select> | 309 | </select> |
310 | </div> | 310 | </div> |
311 | </div> | 311 | </div> |
312 | </div> | 312 | </div> |
313 | <div class="main__resume-base-body showed" data-body="1"> | 313 | <div class="main__resume-base-body showed" data-body="1"> |
314 | <div class="main__resume-base-body-one" id="block1" name="block1"> | 314 | <div class="main__resume-base-body-one" id="block1" name="block1"> |
315 | @if ($resumes->count()) | 315 | @if ($resumes->count()) |
316 | @foreach ($resumes as $res) | 316 | @foreach ($resumes as $res) |
317 | <div class="main__resume-base-body-item"> | 317 | <div class="main__resume-base-body-item"> |
318 | <div class="main__resume-base-body-item-wrapper"> | 318 | <div class="main__resume-base-body-item-wrapper"> |
319 | <div> | 319 | <div> |
320 | <img src="@isset ($res->photo) {{ asset(Storage::url($res->photo)) }} @else {{ asset('images/default_man.jpg')}} @endif" alt="" class="main__resume-base-body-item-photo"> | 320 | <img src="@isset ($res->photo) {{ asset(Storage::url($res->photo)) }} @else {{ asset('images/default_man.jpg')}} @endif" alt="" class="main__resume-base-body-item-photo"> |
321 | <div> | 321 | <div> |
322 | <div class="main__resume-base-body-item-buttons"> | 322 | <div class="main__resume-base-body-item-buttons"> |
323 | <button type="button" data-id="{{ $res->id }}" id="elem{{ $res->id }}" class="like js-toggle js_box_favorit {{ \App\Classes\LikesClass::get_status_worker($res) }}" data-val="{{ $res->id }}"> | 323 | <button type="button" data-id="{{ $res->id }}" id="elem{{ $res->id }}" class="like js-toggle js_box_favorit {{ \App\Classes\LikesClass::get_status_worker($res) }}" data-val="{{ $res->id }}"> |
324 | <svg> | 324 | <svg> |
325 | <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> | 325 | <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> |
326 | </svg> | 326 | </svg> |
327 | <span class="to-favorites">В избранное</span> | 327 | <span class="to-favorites">В избранное</span> |
328 | <span class="in-favorites">В избранном</span> | 328 | <span class="in-favorites">В избранном</span> |
329 | </button> | 329 | </button> |
330 | 330 | ||
331 | @guest | 331 | @guest |
332 | <button type="button" data-fancybox data-src="#question" data-options='{"touch":false,"autoFocus":false}' | 332 | <button type="button" data-fancybox data-src="#question" data-options='{"touch":false,"autoFocus":false}' |
333 | class="chat js-toggle js_it_button"> | 333 | class="chat js-toggle js_it_button"> |
334 | <svg> | 334 | <svg> |
335 | <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> | 335 | <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> |
336 | </svg> | 336 | </svg> |
337 | <span>Написать</span> | 337 | <span>Написать</span> |
338 | </button> | 338 | </button> |
339 | @else | 339 | @else |
340 | @if (App\Classes\StatusUser::Status()==0) | 340 | @if (App\Classes\StatusUser::Status()==0) |
341 | @if ((!Auth()->user()->is_worker) && (Auth()->user()->is_message)) | 341 | @if ((!Auth()->user()->is_worker) && (Auth()->user()->is_message)) |
342 | <button type="button" class="chat js-toggle js_it_button" data-fancybox data-src="#send2" data-vacancy="0" data-uid="{{ $idiot}}" data-tuid="{{ $res->users->id }}" data-options='{"touch":false,"autoFocus":false}'> | 342 | <button type="button" class="chat js-toggle js_it_button" data-fancybox data-src="#send2" data-vacancy="0" data-uid="{{ $idiot}}" data-tuid="{{ $res->users->id }}" data-options='{"touch":false,"autoFocus":false}'> |
343 | <svg> | 343 | <svg> |
344 | <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> | 344 | <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> |
345 | </svg> | 345 | </svg> |
346 | <span>Написать</span> | 346 | <span>Написать</span> |
347 | </button> | 347 | </button> |
348 | @endif | 348 | @endif |
349 | @else | 349 | @else |
350 | <button type="button" data-fancybox data-src="#question2" data-options='{"touch":false,"autoFocus":false}' | 350 | <button type="button" data-fancybox data-src="#question2" data-options='{"touch":false,"autoFocus":false}' |
351 | class="chat js-toggle js_it_button"> | 351 | class="chat js-toggle js_it_button"> |
352 | <svg> | 352 | <svg> |
353 | <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> | 353 | <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> |
354 | </svg> | 354 | </svg> |
355 | <span>Написать</span> | 355 | <span>Написать</span> |
356 | </button> | 356 | </button> |
357 | @endif | 357 | @endif |
358 | @endif | 358 | @endif |
359 | 359 | ||
360 | <a href="{{ route('resume_profile', ['worker' => $res->id]) }}" class="button button_light main__resume-base-body-item-link">Подробнее</a> | 360 | <a href="{{ route('resume_profile', ['worker' => $res->id]) }}" class="button button_light main__resume-base-body-item-link">Подробнее</a> |
361 | </div> | 361 | </div> |
362 | </div> | 362 | </div> |
363 | </div> | 363 | </div> |
364 | <div class="main__resume-base-body-item-inner"> | 364 | <div class="main__resume-base-body-item-inner"> |
365 | <div class="horizontal"> | 365 | <div class="horizontal"> |
366 | <div class="main__resume-base-item-status @if ($res->status_work == 0) looking-for-job @endif"> | 366 | <div class="main__resume-base-item-status @if ($res->status_work == 0) looking-for-job @endif"> |
367 | {{ $status_work[$res->status_work] }} | 367 | {{ $status_work[$res->status_work] }} |
368 | </div> | 368 | </div> |
369 | <div class="main__resume-base-item-updated-at"> | 369 | <div class="main__resume-base-item-updated-at"> |
370 | Обновлено: {{ date('d.m.Y', strtotime($res->updated_at)) }} | 370 | Обновлено: {{ date('d.m.Y', strtotime($res->updated_at)) }} |
371 | </div> | 371 | </div> |
372 | </div> | 372 | </div> |
373 | <div> | 373 | <div> |
374 | <b>Предпочтение по типу судна:</b> | 374 | <b>Предпочтение по типу судна:</b> |
375 | <span>{{ $res->boart_type_preference ?? '-' }}</span> | 375 | <span>{{ $res->boart_type_preference ?? '-' }}</span> |
376 | </div> | 376 | </div> |
377 | <div> | 377 | <div> |
378 | <b>ФИО:</b> | 378 | <b>ФИО:</b> |
379 | <span>@if (isset($res->users)){{ $res->users->surname." ".$res->users->name_man." ".$res->users->surname2 }} @endif</span> | 379 | <span>@if (isset($res->users)){{ $res->users->surname." ".$res->users->name_man." ".$res->users->surname2 }} @endif</span> |
380 | </div> | 380 | </div> |
381 | <div> | 381 | <div> |
382 | <b>Наличие визы:</b> | 382 | <b>Наличие визы:</b> |
383 | <span>{{ $res->visa_available ?? '-' }}</span> | 383 | <span>{{ $res->visa_available ?? '-' }}</span> |
384 | </div> | 384 | </div> |
385 | <div> | 385 | <div> |
386 | <b>Возраст:</b> | 386 | <b>Возраст:</b> |
387 | <span>{{ $res->old_year ?? '-' }}</span> | 387 | <span>{{ $res->old_year ?? '-' }}</span> |
388 | </div> | 388 | </div> |
389 | <div> | 389 | <div> |
390 | <b>Наличие танкерных документов:</b> | 390 | <b>Наличие танкерных документов:</b> |
391 | <span>{{ $res->tanker_documents_available ?? '-' }}</span> | 391 | <span>{{ $res->tanker_documents_available ?? '-' }}</span> |
392 | </div> | 392 | </div> |
393 | <div> | 393 | <div> |
394 | <b>Желаемые вакансии:</b> | 394 | <b>Желаемые вакансии:</b> |
395 | <span> | 395 | <span> |
396 | @if ($res->job_titles->count()) | 396 | @if ($res->job_titles->count()) |
397 | @foreach ($res->job_titles as $job_title) | 397 | @foreach ($res->job_titles as $job_title) |
398 | {{ $job_title->name }} | 398 | {{ $job_title->name }} |
399 | @if (!$loop->last) / @endif | 399 | @if (!$loop->last) / @endif |
400 | @endforeach | 400 | @endforeach |
401 | @else | 401 | @else |
402 | - | 402 | - |
403 | @endif | 403 | @endif |
404 | </span> | 404 | </span> |
405 | </div> | 405 | </div> |
406 | <div> | 406 | <div> |
407 | <b>Наличие подтверждения для работы на ВВП:</b> | 407 | <b>Наличие подтверждения для работы на ВВП:</b> |
408 | <span>{{ $res->confirmation_work_for_vvp ?? '-' }}</span> | 408 | <span>{{ $res->confirmation_work_for_vvp ?? '-' }}</span> |
409 | </div> | 409 | </div> |
410 | <div> | 410 | <div> |
411 | <b>Пожелание к З/П:</b> | 411 | <b>Пожелание к З/П:</b> |
412 | <span>{{ $res->salary_expectations ?? '-' }}</span> | 412 | <span>{{ $res->salary_expectations ?? '-' }}</span> |
413 | </div> | 413 | </div> |
414 | <div> | 414 | <div> |
415 | <b>Город проживания</b> | 415 | <b>Город проживания</b> |
416 | <span>{{ $res->city ?? "-" }}</span> | 416 | <span>{{ $res->city ?? "-" }}</span> |
417 | </div> | 417 | </div> |
418 | <div> | 418 | <div> |
419 | <b>Уровень английского:</b> | 419 | <b>Уровень английского:</b> |
420 | <span>{{ $res->english_level ?? '-' }}</span> | 420 | <span>{{ $res->english_level ?? '-' }}</span> |
421 | </div> | 421 | </div> |
422 | <div> | 422 | <div> |
423 | <b>Номер телефона</b> | 423 | <b>Номер телефона:</b> |
424 | <span><a href="tel:{{ $res->telephone }}">{{ $res->telephone ?? '-' }}</a></span> | 424 | <span><a href="tel:{{ $res->telephone }}">{{ $res->telephone ?? '-' }}</a></span> |
425 | </div> | 425 | </div> |
426 | <div> | 426 | <div> |
427 | <b>Дата готовности к посадке:</b> | 427 | <b>Дата готовности к посадке:</b> |
428 | <span>{{ $res->ready_boart_date ?? '-' }}</span> | 428 | <span>{{ $res->ready_boart_date ?? '-' }}</span> |
429 | </div> | 429 | </div> |
430 | <div> | 430 | <div> |
431 | <b>E-mail:</b> | 431 | <b>E-mail:</b> |
432 | <span><a href="mailto:{{ $res->email }}">{{ $res->email }}</a></span> | 432 | <span><a href="mailto:{{ $res->email }}">{{ $res->email }}</a></span> |
433 | </div> | 433 | </div> |
434 | </div> | 434 | </div> |
435 | </div> | 435 | </div> |
436 | </div> | 436 | </div> |
437 | @endforeach | 437 | @endforeach |
438 | 438 | ||
439 | {{ $resumes->appends($_GET)->links('paginate') }} | 439 | {{ $resumes->appends($_GET)->links('paginate') }} |
440 | @else | 440 | @else |
441 | <p>По данному запросу ничего не найдено</p> | 441 | <p>По данному запросу ничего не найдено</p> |
442 | @endif | 442 | @endif |
443 | </div> | 443 | </div> |
444 | </div> | 444 | </div> |
445 | <div class="main__resume-base-body" data-body="2"> | 445 | <div class="main__resume-base-body" data-body="2"> |
446 | <div class="main__resume-base-body-two" id="block2" name="block2"> | 446 | <div class="main__resume-base-body-two" id="block2" name="block2"> |
447 | @if ($resumes->count()) | 447 | @if ($resumes->count()) |
448 | @foreach ($resumes as $res) | 448 | @foreach ($resumes as $res) |
449 | <div class="main__resume-base-body-item"> | 449 | <div class="main__resume-base-body-item"> |
450 | <div class="main__resume-base-body-item-buttons"> | 450 | <div class="main__resume-base-body-item-buttons"> |
451 | <button type="button" id="elem_{{ $res->id }}" class="like js-toggle js_box_favorit {{ \App\Classes\LikesClass::get_status_worker($res) }}" data-val="{{ $res->id }}"> | 451 | <button type="button" id="elem_{{ $res->id }}" class="like js-toggle js_box_favorit {{ \App\Classes\LikesClass::get_status_worker($res) }}" data-val="{{ $res->id }}"> |
452 | <svg> | 452 | <svg> |
453 | <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> | 453 | <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> |
454 | </svg> | 454 | </svg> |
455 | </button> | 455 | </button> |
456 | <!--<button type="button" class="chat js-toggle js_it_button" data-fancybox data-src="#send2" data-vacancy="0" data-uid=" $idiot}}" data-tuid=" $res->id }}" data-options='{"touch":false,"autoFocus":false}'> | 456 | <!--<button type="button" class="chat js-toggle js_it_button" data-fancybox data-src="#send2" data-vacancy="0" data-uid=" $idiot}}" data-tuid=" $res->id }}" data-options='{"touch":false,"autoFocus":false}'> |
457 | <svg> | 457 | <svg> |
458 | <use xlink:href=" asset('images/sprite.svg#chat') }}"></use> | 458 | <use xlink:href=" asset('images/sprite.svg#chat') }}"></use> |
459 | </svg> | 459 | </svg> |
460 | </button>--> | 460 | </button>--> |
461 | @guest | 461 | @guest |
462 | <button type="button" data-fancybox data-src="#question" data-options='{"touch":false,"autoFocus":false}' | 462 | <button type="button" data-fancybox data-src="#question" data-options='{"touch":false,"autoFocus":false}' |
463 | class="chat js-toggle js_it_button"> | 463 | class="chat js-toggle js_it_button"> |
464 | <svg> | 464 | <svg> |
465 | <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> | 465 | <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> |
466 | </svg> | 466 | </svg> |
467 | </button> | 467 | </button> |
468 | @else | 468 | @else |
469 | @if (App\Classes\StatusUser::Status()==0) | 469 | @if (App\Classes\StatusUser::Status()==0) |
470 | @if ((!Auth()->user()->is_worker) && (Auth()->user()->is_message)) | 470 | @if ((!Auth()->user()->is_worker) && (Auth()->user()->is_message)) |
471 | <button type="button" class="chat js-toggle js_it_button" data-fancybox data-src="#send2" data-vacancy="0" data-uid="{{ $idiot}}" data-tuid="{{ $res->users->id }}" data-options='{"touch":false,"autoFocus":false}'> | 471 | <button type="button" class="chat js-toggle js_it_button" data-fancybox data-src="#send2" data-vacancy="0" data-uid="{{ $idiot}}" data-tuid="{{ $res->users->id }}" data-options='{"touch":false,"autoFocus":false}'> |
472 | <svg> | 472 | <svg> |
473 | <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> | 473 | <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> |
474 | </svg> | 474 | </svg> |
475 | </button> | 475 | </button> |
476 | @endif | 476 | @endif |
477 | @else | 477 | @else |
478 | <button type="button" data-fancybox data-src="#question2" data-options='{"touch":false,"autoFocus":false}' | 478 | <button type="button" data-fancybox data-src="#question2" data-options='{"touch":false,"autoFocus":false}' |
479 | class="chat js-toggle js_it_button"> | 479 | class="chat js-toggle js_it_button"> |
480 | <svg> | 480 | <svg> |
481 | <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> | 481 | <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> |
482 | </svg> | 482 | </svg> |
483 | </button> | 483 | </button> |
484 | @endif | 484 | @endif |
485 | @endif | 485 | @endif |
486 | </div> | 486 | </div> |
487 | <div class="main__resume-base-body-item-wrapper"> | 487 | <div class="main__resume-base-body-item-wrapper"> |
488 | <img src="@isset ($res->photo) {{ asset(Storage::url($res->photo)) }} @else {{ asset('images/default_man.jpg')}} @endif" alt="" class="main__resume-base-body-item-photo"> | 488 | <img src="@isset ($res->photo) {{ asset(Storage::url($res->photo)) }} @else {{ asset('images/default_man.jpg')}} @endif" alt="" class="main__resume-base-body-item-photo"> |
489 | <div class="main__resume-base-body-item-inner"> | 489 | <div class="main__resume-base-body-item-inner"> |
490 | <div> | 490 | <div> |
491 | <b>Статус</b> | 491 | <b>Статус</b> |
492 | <span>{{ $status_work[$res->status_work] }}</span> | 492 | <span>{{ $status_work[$res->status_work] }}</span> |
493 | </div> | 493 | </div> |
494 | <div> | 494 | <div> |
495 | <b>Имя работника</b> | 495 | <b>Имя работника</b> |
496 | <span>@if (isset($res->users)){{ $res->users->surname." ".$res->users->name_man." ".$res->users->surname2 }} @endif</span> | 496 | <span>@if (isset($res->users)){{ $res->users->surname." ".$res->users->name_man." ".$res->users->surname2 }} @endif</span> |
497 | </div> | 497 | </div> |
498 | <div> | 498 | <div> |
499 | <b>Номер телефона</b> | 499 | <b>Номер телефона</b> |
500 | <span><a href="tel:{{ $res->telephone }}">{{ $res->telephone }}</a></span> | 500 | <span><a href="tel:{{ $res->telephone }}">{{ $res->telephone }}</a></span> |
501 | </div> | 501 | </div> |
502 | <div> | 502 | <div> |
503 | <b>Электронный адрес</b> | 503 | <b>Электронный адрес</b> |
504 | <span><a href="mailto:{{ $res->email }}">{{ $res->email }}</a></span> | 504 | <span><a href="mailto:{{ $res->email }}">{{ $res->email }}</a></span> |
505 | </div> | 505 | </div> |
506 | <div> | 506 | <div> |
507 | <b>Город проживания</b> | 507 | <b>Город проживания</b> |
508 | <span>{{ $res->city }}</span> | 508 | <span>{{ $res->city }}</span> |
509 | </div> | 509 | </div> |
510 | <div> | 510 | <div> |
511 | <b>Опыт работы</b> | 511 | <b>Опыт работы</b> |
512 | <span>{{ $res->experience }}</span> | 512 | <span>{{ $res->experience }}</span> |
513 | </div> | 513 | </div> |
514 | </div> | 514 | </div> |
515 | </div> | 515 | </div> |
516 | <a href="{{ route('resume_profile', ['worker' => $res->id]) }}" class="button button_light main__resume-base-body-item-link">Перейти в | 516 | <a href="{{ route('resume_profile', ['worker' => $res->id]) }}" class="button button_light main__resume-base-body-item-link">Перейти в |
517 | резюме</a> | 517 | резюме</a> |
518 | </div> | 518 | </div> |
519 | @endforeach | 519 | @endforeach |
520 | 520 | ||
521 | {{ $resumes->appends($_GET)->links('paginate') }} | 521 | {{ $resumes->appends($_GET)->links('paginate') }} |
522 | @endif | 522 | @endif |
523 | </div> | 523 | </div> |
524 | </div> | 524 | </div> |
525 | </div> | 525 | </div> |
526 | </div> | 526 | </div> |
527 | </main> | 527 | </main> |
528 | </div> | 528 | </div> |
529 | </div> | 529 | </div> |
530 | @endsection | 530 | @endsection |
531 | 531 |
resources/views/worker.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 | $('[name="footer-like-button"]').click(function(){ | 6 | $('[name="footer-like-button"]').click(function(){ |
7 | $('[name="header-like-button"]').click(); | 7 | $('[name="header-like-button"]').click(); |
8 | $(this).toggleClass('active'); | ||
8 | }); | 9 | }); |
9 | $('[name="header-like-button"]').click(function(){ | 10 | $('[name="header-like-button"]').click(function(){ |
10 | $('[name="footer-like-button"]').toggleClass('active'); | 11 | $('[name="footer-like-button"]').toggleClass('active'); |
11 | }); | 12 | }); |
12 | }); | 13 | }); |
13 | 14 | ||
14 | console.log('Test system'); | 15 | console.log('Test system'); |
15 | $(document).on('change', '#jobs', function() { | 16 | $(document).on('change', '#jobs', function() { |
16 | var val = $(this).val(); | 17 | var val = $(this).val(); |
17 | var main_oskar = $('#main_ockar'); | 18 | var main_oskar = $('#main_ockar'); |
18 | 19 | ||
19 | console.log('Code='+val); | 20 | console.log('Code='+val); |
20 | console.log('Click change...'); | 21 | console.log('Click change...'); |
21 | $.ajax({ | 22 | $.ajax({ |
22 | type: "GET", | 23 | type: "GET", |
23 | url: "", | 24 | url: "", |
24 | data: "job="+val, | 25 | data: "job="+val, |
25 | success: function (data) { | 26 | success: function (data) { |
26 | console.log('Выбор сделан!'); | 27 | console.log('Выбор сделан!'); |
27 | console.log(data); | 28 | console.log(data); |
28 | main_oskar.html(data); | 29 | main_oskar.html(data); |
29 | }, | 30 | }, |
30 | headers: { | 31 | headers: { |
31 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 32 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
32 | }, | 33 | }, |
33 | error: function (data) { | 34 | error: function (data) { |
34 | data = JSON.stringify(data); | 35 | data = JSON.stringify(data); |
35 | console.log('Error: ' + data); | 36 | console.log('Error: ' + data); |
36 | } | 37 | } |
37 | }); | 38 | }); |
38 | }); | 39 | }); |
39 | </script> | 40 | </script> |
40 | 41 | ||
41 | <script> | 42 | <script> |
42 | $(document).on('click', '.js_it_button', function() { | 43 | $(document).on('click', '.js_it_button', function() { |
43 | var this_ = $(this); | 44 | var this_ = $(this); |
44 | var code_user_id = this_.attr('data-uid'); | 45 | var code_user_id = this_.attr('data-uid'); |
45 | var code_to_user_id = this_.attr('data-tuid'); | 46 | var code_to_user_id = this_.attr('data-tuid'); |
46 | var code_vacancy = this_.attr('data-vacancy'); | 47 | var code_vacancy = this_.attr('data-vacancy'); |
47 | var user_id = $('#_user_id'); | 48 | var user_id = $('#_user_id'); |
48 | var to_user_id = $('#_to_user_id'); | 49 | var to_user_id = $('#_to_user_id'); |
49 | var vacancy = $('#_vacancy'); | 50 | var vacancy = $('#_vacancy'); |
50 | 51 | ||
51 | console.log('code_to_user_id='+code_to_user_id); | 52 | console.log('code_to_user_id='+code_to_user_id); |
52 | console.log('code_user_id='+code_user_id); | 53 | console.log('code_user_id='+code_user_id); |
53 | console.log('code_vacancy='+code_vacancy); | 54 | console.log('code_vacancy='+code_vacancy); |
54 | console.log('Клик на кнопке...'); | 55 | console.log('Клик на кнопке...'); |
55 | 56 | ||
56 | user_id.val(code_user_id); | 57 | user_id.val(code_user_id); |
57 | to_user_id.val(code_to_user_id); | 58 | to_user_id.val(code_to_user_id); |
58 | vacancy.val(code_vacancy); | 59 | vacancy.val(code_vacancy); |
59 | }); | 60 | }); |
60 | </script> | 61 | </script> |
61 | @include('js.favorite-worker') | 62 | @include('js.favorite-worker') |
62 | @endsection | 63 | @endsection |
63 | 64 | ||
64 | @section('content') | 65 | @section('content') |
65 | @php | 66 | @php |
66 | $worker = $Query[0]; | 67 | $worker = $Query[0]; |
67 | @endphp | 68 | @endphp |
68 | <section class="thing"> | 69 | <section class="thing"> |
69 | <div class="container"> | 70 | <div class="container"> |
70 | <ul class="breadcrumbs thing__breadcrumbs"> | 71 | <ul class="breadcrumbs thing__breadcrumbs"> |
71 | <li><a href="{{ route('index') }}">Главная</a></li> | 72 | <li><a href="{{ route('index') }}">Главная</a></li> |
72 | <li><a href="{{ route('bd_resume') }}">База резюме</a></li> | 73 | <li><a href="{{ route('bd_resume') }}">База резюме</a></li> |
73 | <li><b>@if (isset($Query[0]->users)) {{ $Query[0]->users->surname." ".$Query[0]->users->name_man." ".$Query[0]->users->surname2 }} @else Неизвестно @endif</b></li> | 74 | <li><b>@if (isset($Query[0]->users)) {{ $Query[0]->users->surname." ".$Query[0]->users->name_man." ".$Query[0]->users->surname2 }} @else Неизвестно @endif</b></li> |
74 | </ul> | 75 | </ul> |
75 | <div class="thing__profile"> | 76 | <div class="thing__profile"> |
76 | <img src="@if (isset($Query[0]->photo)) {{ asset(Storage::url($Query[0]->photo)) }} @else {{ asset('images/default_man.jpg') }} @endif" alt="" class="main__resume-base-body-item-photo"> | 77 | <img src="@if (isset($Query[0]->photo)) {{ asset(Storage::url($Query[0]->photo)) }} @else {{ asset('images/default_man.jpg') }} @endif" alt="" class="main__resume-base-body-item-photo"> |
77 | <div class="thing__profile-body"> | 78 | <div class="thing__profile-body"> |
78 | <h1 class="thing__title">@if (isset($Query[0]->users)) {{ $Query[0]->users->surname." ".$Query[0]->users->name_man." ".$Query[0]->users->surname2 }} @else Неизвестно @endif</h1> | 79 | <h1 class="thing__title">@if (isset($Query[0]->users)) {{ $Query[0]->users->surname." ".$Query[0]->users->name_man." ".$Query[0]->users->surname2 }} @else Неизвестно @endif</h1> |
79 | <p class="thing__text">Сложно сказать, почему ключевые особенности структуры проекта рассмотрены | 80 | <p class="thing__text">Сложно сказать, почему ключевые особенности структуры проекта рассмотрены |
80 | исключительно в разрезе маркетинговых и финансовых предпосылок.</p> | 81 | исключительно в разрезе маркетинговых и финансовых предпосылок.</p> |
81 | <div class="thing__bottom"> | 82 | <div class="main__resume-profile-about-buttons thing__bottom"> |
83 | <button type="button" class="like js-toggle js_box_favorit {{ \App\Classes\LikesClass::get_status_worker($Query[0]) }}" data-val="{{ $Query[0]->id }}" id="elem{{ $Query[0]->id }}" | ||
84 | name="header-like-button" | ||
85 | > | ||
86 | <svg class="mr-10"> | ||
87 | <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> | ||
88 | </svg> | ||
89 | <span class="to-favorites">В избранное</span> | ||
90 | <span class="in-favorites">В избранном</span> | ||
91 | </button> | ||
92 | <div class="button button_light mr-10 main__resume-profile-about-button js_it_button" data-fancybox data-src="#send2" data-vacancy="0" data-uid="{{ $idiot }}" data-tuid="{{ $Query[0]->users->id }}" data-options='{"touch":false,"autoFocus":false}'> | ||
93 | <svg> | ||
94 | <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> | ||
95 | </svg> | ||
96 | Написать | ||
97 | </div> | ||
82 | <a class="button" href="{{ route('resume_download', ['worker' => $Query[0]->id]) }}"> | 98 | <a class="button" href="{{ route('resume_download', ['worker' => $Query[0]->id]) }}"> |
83 | Скачать резюме | 99 | Скачать резюме |
84 | <svg> | 100 | <svg> |
85 | <use xlink:href="{{ asset('images/sprite.svg#download') }}"></use> | 101 | <use xlink:href="{{ asset('images/sprite.svg#download') }}"></use> |
86 | </svg> | 102 | </svg> |
87 | </a> | 103 | </a> |
88 | <button type="button" class="like js-toggle js_box_favorit {{ \App\Classes\LikesClass::get_status_worker($Query[0]) }}" data-val="{{ $Query[0]->id }}" id="elem{{ $Query[0]->id }}" | ||
89 | name="header-like-button" | ||
90 | > | ||
91 | <svg> | ||
92 | <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> | ||
93 | </svg> | ||
94 | </button> | ||
95 | </div> | 104 | </div> |
96 | </div> | 105 | </div> |
97 | </div> | 106 | </div> |
98 | </div> | 107 | </div> |
99 | </section> | 108 | </section> |
100 | <main class="main"> | 109 | <main class="main"> |
101 | <div class="container"> | 110 | <div class="container"> |
102 | <div class="main__resume-profile"> | 111 | <div class="main__resume-profile"> |
103 | <div class="main__content"> | 112 | <div class="main__content"> |
104 | <div class="main__spoiler"> | 113 | <div class="main__spoiler"> |
105 | <button type="button" class="main__spoiler-toper js-toggle active"> | 114 | <button type="button" class="main__spoiler-toper js-toggle active"> |
106 | Основная информация</button> | 115 | Основная информация</button> |
107 | 116 | ||
108 | <div class="main__spoiler-body"> | 117 | <div class="main__spoiler-body"> |
109 | <table class="main__table"> | 118 | <table class="main__table"> |
110 | <tbody> | 119 | <tbody> |
111 | <tr> | 120 | <tr> |
112 | <td><b>Статус:</b></td> | 121 | <td><b>Статус:</b></td> |
113 | <td>{{ $status_work[$worker->status_work] }}</td> | 122 | <td>{{ $status_work[$worker->status_work] }}</td> |
114 | </tr> | 123 | </tr> |
115 | <tr> | 124 | <tr> |
116 | <td><b>ФИО:</b></td> | 125 | <td><b>ФИО:</b></td> |
117 | <td>{{ $worker->users->surname." ".$worker->users->name_man." ".$worker->users->surname2 }}</td> | 126 | <td>{{ $worker->users->surname." ".$worker->users->name_man." ".$worker->users->surname2 }}</td> |
118 | </tr> | 127 | </tr> |
119 | <tr> | 128 | <tr> |
120 | <td><b>Возраст:</b></td> | 129 | <td><b>Возраст:</b></td> |
121 | <td>{{ $worker->old_year ?? '-' }}</td> | 130 | <td>{{ $worker->old_year ?? '-' }}</td> |
122 | </tr> | 131 | </tr> |
123 | <tr> | 132 | <tr> |
124 | <td><b>Желаемые вакансии:</b></td> | 133 | <td><b>Желаемые вакансии:</b></td> |
125 | <td> | 134 | <td> |
126 | @if ($Query[0]->job_titles->count()) | 135 | @if ($Query[0]->job_titles->count()) |
127 | @foreach ($Query[0]->job_titles as $it) | 136 | @foreach ($Query[0]->job_titles as $it) |
128 | @if ($it->is_remove == 0) | 137 | @if ($it->is_remove == 0) |
129 | {{ $it->name }} / | 138 | {{ $it->name }} / |
130 | @endif | 139 | @endif |
131 | @endforeach | 140 | @endforeach |
132 | @else | 141 | @else |
133 | - | 142 | - |
134 | @endif | 143 | @endif |
135 | </td> | 144 | </td> |
136 | </tr> | 145 | </tr> |
137 | <tr> | 146 | <tr> |
138 | <td><b>Пожелания по З/П:</b></td> | 147 | <td><b>Пожелания по З/П:</b></td> |
139 | <td>{{ $worker->salary_expectations ?? '-' }}</td> | 148 | <td>{{ $worker->salary_expectations ?? '-' }}</td> |
140 | </tr> | 149 | </tr> |
141 | <tr> | 150 | <tr> |
142 | <td><b>Опыт работы:</b></td> | 151 | <td><b>Опыт работы:</b></td> |
143 | <td>{{ $worker->experience ?? '-' }}</td> | 152 | <td>{{ $worker->experience ?? '-' }}</td> |
144 | </tr> | 153 | </tr> |
145 | <tr> | 154 | <tr> |
146 | <td><b>Уровень английского:</b></td> | 155 | <td><b>Уровень английского:</b></td> |
147 | <td>{{ $worker->english_level ?? '-' }}</td> | 156 | <td>{{ $worker->english_level ?? '-' }}</td> |
148 | </tr> | 157 | </tr> |
149 | <tr> | 158 | <tr> |
150 | <td><b>Дата готовности к посадке:</b></td> | 159 | <td><b>Дата готовности к посадке:</b></td> |
151 | <td>{{ $worker->ready_boart_date ?? '-' }}</td> | 160 | <td>{{ $worker->ready_boart_date ?? '-' }}</td> |
152 | </tr> | 161 | </tr> |
153 | <tr> | 162 | <tr> |
154 | <td><b>Предпочтение по типу судна:</b></td> | 163 | <td><b>Предпочтение по типу судна:</b></td> |
155 | <td>{{ $worker->boart_type_preference ?? '-' }}</td> | 164 | <td>{{ $worker->boart_type_preference ?? '-' }}</td> |
156 | </tr> | 165 | </tr> |
157 | <tr> | 166 | <tr> |
158 | <td><b>Наличие визы:</b></td> | 167 | <td><b>Наличие визы:</b></td> |
159 | <td>{{ $worker->visa_available ?? '-' }}</td> | 168 | <td>{{ $worker->visa_available ?? '-' }}</td> |
160 | </tr> | 169 | </tr> |
161 | <tr> | 170 | <tr> |
162 | <td><b>Наличие танкерных документов:</b></td> | 171 | <td><b>Наличие танкерных документов:</b></td> |
163 | <td>{{ $worker->tanker_documents_available ?? '-' }}</td> | 172 | <td>{{ $worker->tanker_documents_available ?? '-' }}</td> |
164 | </tr> | 173 | </tr> |
165 | <tr> | 174 | <tr> |
166 | <td><b>Наличие подтверждения для работы на ВВП:</b></td> | 175 | <td><b>Наличие подтверждения для работы на ВВП:</b></td> |
167 | <td>{{ $worker->confirmation_work_for_vvp ?? '-' }}</td> | 176 | <td>{{ $worker->confirmation_work_for_vvp ?? '-' }}</td> |
168 | </tr> | 177 | </tr> |
169 | <tr> | 178 | <tr> |
170 | <td><b>Наличие военного билета / приписного свидетельства:</b></td> | 179 | <td><b>Наличие военного билета / приписного свидетельства:</b></td> |
171 | <td>{{ $worker->military_id_available ?? '-' }}</td> | 180 | <td>{{ $worker->military_id_available ?? '-' }}</td> |
172 | </tr> | 181 | </tr> |
173 | <tr> | 182 | <tr> |
174 | <td><b>Город проживания:</b></td> | 183 | <td><b>Город проживания:</b></td> |
175 | <td>{{ $worker->city ?? '-' }}</td> | 184 | <td>{{ $worker->city ?? '-' }}</td> |
176 | </tr> | 185 | </tr> |
177 | <tr> | 186 | <tr> |
178 | <td><b>Телефон:</b></td> | 187 | <td><b>Телефон:</b></td> |
179 | <td>{{ $worker->telephone ?? '-' }}</td> | 188 | <td>{{ $worker->telephone ?? '-' }}</td> |
180 | </tr> | 189 | </tr> |
181 | <tr> | 190 | <tr> |
182 | <td><b>E-mail:</b></td> | 191 | <td><b>E-mail:</b></td> |
183 | <td>{{ $worker->email ?? '-' }}</td> | 192 | <td>{{ $worker->email ?? '-' }}</td> |
184 | </tr> | 193 | </tr> |
185 | <tr> | 194 | <tr> |
186 | <td><b>Контакты родственников:</b></td> | 195 | <td><b>Контакты родственников:</b></td> |
187 | <td>{{ $worker->telephone2 ?? '-' }}</td> | 196 | <td>{{ $worker->telephone2 ?? '-' }}</td> |
188 | </tr> | 197 | </tr> |
189 | </tbody> | 198 | </tbody> |
190 | </table> | 199 | </table> |
191 | </div> | 200 | </div> |
192 | </div> | 201 | </div> |
193 | 202 | ||
194 | <div class="main__spoiler"> | 203 | <div class="main__spoiler"> |
195 | <button type="button" class="main__spoiler-toper js-toggle">Сертификаты / документы</button> | 204 | <button type="button" class="main__spoiler-toper js-toggle">Сертификаты / документы</button> |
196 | <div class="main__spoiler-body"> | 205 | <div class="main__spoiler-body"> |
197 | 206 | ||
198 | @if (isset($Query[0]->sertificate)) | 207 | @if (isset($Query[0]->sertificate)) |
199 | @if ($Query[0]->sertificate->count()) | 208 | @if ($Query[0]->sertificate->count()) |
200 | <table class="main__table"> | 209 | <table class="main__table"> |
201 | <tbody> | 210 | <tbody> |
202 | <tr> | 211 | <tr> |
203 | <td><b>Название сертификата:</b></td> | 212 | <td><b>Название сертификата:</b></td> |
204 | <td><b>Действителен до:</b></td> | 213 | <td><b>Действителен до:</b></td> |
205 | </tr> | 214 | </tr> |
206 | @foreach($Query[0]->sertificate as $it) | 215 | @foreach($Query[0]->sertificate as $it) |
207 | <tr> | 216 | <tr> |
208 | <td>{{ $it->name }}</td> | 217 | <td>{{ $it->name }}</td> |
209 | <td>{{ date('d.m.Y', strtotime($it->end_begin)) }}</td> | 218 | <td>{{ date('d.m.Y', strtotime($it->end_begin)) }}</td> |
210 | </tr> | 219 | </tr> |
211 | @endforeach | 220 | @endforeach |
212 | </tbody> | 221 | </tbody> |
213 | </table> | 222 | </table> |
214 | @endif | 223 | @endif |
215 | @endif | 224 | @endif |
216 | </div> | 225 | </div> |
217 | </div> | 226 | </div> |
218 | 227 | ||
219 | <div class="main__spoiler"> | 228 | <div class="main__spoiler"> |
220 | <button type="button" class="main__spoiler-toper js-toggle">Дополнительные документы</button> | 229 | <button type="button" class="main__spoiler-toper js-toggle">Дополнительные документы</button> |
221 | <div class="main__spoiler-body"> | 230 | <div class="main__spoiler-body"> |
222 | @if ($infoblocks->count()) | 231 | @if ($infoblocks->count()) |
223 | <table class="main__table"> | 232 | <table class="main__table"> |
224 | <tbody> | 233 | <tbody> |
225 | @foreach ($infoblocks as $info) | 234 | @foreach ($infoblocks as $info) |
226 | @php $finder = false; @endphp | 235 | @php $finder = false; @endphp |
227 | @if (isset($Query[0]->infobloks)) | 236 | @if (isset($Query[0]->infobloks)) |
228 | @if ($Query[0]->infobloks->count()) | 237 | @if ($Query[0]->infobloks->count()) |
229 | 238 | ||
230 | @foreach($Query[0]->infobloks as $it) | 239 | @foreach($Query[0]->infobloks as $it) |
231 | @if ($info->id == $it->id) | 240 | @if ($info->id == $it->id) |
232 | <tr> | 241 | <tr> |
233 | <td><b>{{ $it->name }}</b></td> | 242 | <td><b>{{ $it->name }}</b></td> |
234 | <td> | 243 | <td> |
235 | @if ($it->model_dop_info[0]->status == 0) Не указано | 244 | @if ($it->model_dop_info[0]->status == 0) Не указано |
236 | @elseif($it->model_dop_info[0]->status==1) В наличии | 245 | @elseif($it->model_dop_info[0]->status==1) В наличии |
237 | @else Отсутствует | 246 | @else Отсутствует |
238 | @endif | 247 | @endif |
239 | </td> | 248 | </td> |
240 | </tr> | 249 | </tr> |
241 | @php $finder = true; @endphp | 250 | @php $finder = true; @endphp |
242 | @endif | 251 | @endif |
243 | @endforeach | 252 | @endforeach |
244 | @endif | 253 | @endif |
245 | @endif | 254 | @endif |
246 | @if (!$finder) | 255 | @if (!$finder) |
247 | <tr> | 256 | <tr> |
248 | <td><b>{{ $info->name }}</b></td> | 257 | <td><b>{{ $info->name }}</b></td> |
249 | <td> | 258 | <td> |
250 | Не указано | 259 | Не указано |
251 | </td> | 260 | </td> |
252 | </tr> | 261 | </tr> |
253 | @endif | 262 | @endif |
254 | @endforeach | 263 | @endforeach |
255 | </tbody> | 264 | </tbody> |
256 | </table> | 265 | </table> |
257 | @endif | 266 | @endif |
258 | </div> | 267 | </div> |
259 | </div> | 268 | </div> |
260 | 269 | ||
261 | <div class="main__spoiler"> | 270 | <div class="main__spoiler"> |
262 | <button type="button" class="main__spoiler-toper js-toggle">Опыт работы</button> | 271 | <button type="button" class="main__spoiler-toper js-toggle">Опыт работы</button> |
263 | <div class="main__spoiler-body"> | 272 | <div class="main__spoiler-body"> |
264 | 273 | ||
265 | @if (isset($Query[0]->place_worker)) | 274 | @if (isset($Query[0]->place_worker)) |
266 | @if ($Query[0]->place_worker->count()) | 275 | @if ($Query[0]->place_worker->count()) |
267 | <table class="main__table"> | 276 | <table class="main__table"> |
268 | <tbody> | 277 | <tbody> |
269 | <tr> | 278 | <tr> |
270 | <td><b>Должность:</b></td> | 279 | <td><b>Должность:</b></td> |
271 | <td><b>Название т/х:</b></td> | 280 | <td><b>Название т/х:</b></td> |
272 | <td><b>Тип судна:</b></td> | 281 | <td><b>Тип судна:</b></td> |
273 | <td><b>Марка ГД:</b></td> | 282 | <td><b>Марка ГД:</b></td> |
274 | <td><b>Мощность ГД (кВТ):</b></td> | 283 | <td><b>Мощность ГД (кВТ):</b></td> |
275 | <td><b>Водоизмещение (DWT):</b></td> | 284 | <td><b>Водоизмещение (DWT):</b></td> |
276 | <td><b>Название компании:</b></td> | 285 | <td><b>Название компании:</b></td> |
277 | <td><b>Начало контракта:</b></td> | 286 | <td><b>Начало контракта:</b></td> |
278 | <td><b>Конец контракта:</b></td> | 287 | <td><b>Окончание контракта:</b></td> |
279 | </tr> | 288 | </tr> |
280 | @foreach($Query[0]->place_worker as $it) | 289 | @foreach($Query[0]->place_worker as $it) |
281 | <tr> | 290 | <tr> |
282 | <td>{{ $it->job_title }}</td> | 291 | <td>{{ $it->job_title }}</td> |
283 | <td>{{ $it->teplohod }}</td> | 292 | <td>{{ $it->teplohod }}</td> |
284 | <td>{{ $it->GWT }}</td> | 293 | <td>{{ $it->GWT }}</td> |
285 | <td>{{ $it->Marka_GD }}</td> | 294 | <td>{{ $it->Marka_GD }}</td> |
286 | <td>{{ $it->KBT }}</td> | 295 | <td>{{ $it->KBT }}</td> |
287 | <td>{{ $it->GRT }}</td> | 296 | <td>{{ $it->GRT }}</td> |
288 | <td>{{ $it->name_company }}</td> | 297 | <td>{{ $it->name_company }}</td> |
289 | <td>{{ date('d.m.Y', strtotime($it->begin_work)) }}</td> | 298 | <td>{{ date('d.m.Y', strtotime($it->begin_work)) }}</td> |
290 | <td>{{ date('d.m.Y', strtotime($it->end_work)) }}</td> | 299 | <td>{{ date('d.m.Y', strtotime($it->end_work)) }}</td> |
291 | </tr> | 300 | </tr> |
292 | @endforeach | 301 | @endforeach |
293 | </tbody> | 302 | </tbody> |
294 | </table> | 303 | </table> |
295 | @endif | 304 | @endif |
296 | @endif | 305 | @endif |
297 | </div> | 306 | </div> |
298 | </div> | 307 | </div> |
299 | 308 | ||
300 | <div class="main__spoiler"> | 309 | <div class="main__spoiler"> |
301 | <button type="button" class="main__spoiler-toper js-toggle">Данные о прошлых компаниях</button> | 310 | <button type="button" class="main__spoiler-toper js-toggle">Данные о прошлых компаниях</button> |
302 | <div class="main__spoiler-body"> | 311 | <div class="main__spoiler-body"> |
303 | @if ((isset($worker->prev_company)) && ($worker->prev_company->count())) | 312 | @if ((isset($worker->prev_company)) && ($worker->prev_company->count())) |
304 | <table class="main__table"> | 313 | <table class="main__table"> |
305 | <tbody> | 314 | <tbody> |
306 | <tr> | 315 | <tr> |
307 | <td><b>Название компании:</b></td> | 316 | <td><b>Название компании:</b></td> |
308 | <td><b>ФИО сотрудника:</b></td> | 317 | <td><b>ФИО сотрудника:</b></td> |
309 | <td><b>Должность сотрудника:</b></td> | 318 | <td><b>Должность сотрудника:</b></td> |
310 | <td><b>Телефон сотрудника:</b></td> | 319 | <td><b>Телефон сотрудника:</b></td> |
311 | </tr> | 320 | </tr> |
312 | @foreach ($worker->prev_company as $prev_company) | 321 | @foreach ($worker->prev_company as $prev_company) |
313 | <tr> | 322 | <tr> |
314 | <td>{{ $prev_company->name_company }}</td> | 323 | <td>{{ $prev_company->name_company }}</td> |
315 | <td>{{ $prev_company->direct }}</td> | 324 | <td>{{ $prev_company->direct }}</td> |
316 | <td>{{ $prev_company->telephone }}</td> | 325 | <td>{{ $prev_company->telephone }}</td> |
317 | <td>{{ $prev_company->telephone2 }}</td> | 326 | <td>{{ $prev_company->telephone2 }}</td> |
318 | </tr> | 327 | </tr> |
319 | @endforeach | 328 | @endforeach |
320 | </tbody> | 329 | </tbody> |
321 | </table> | 330 | </table> |
322 | @endif | 331 | @endif |
323 | </div> | 332 | </div> |
324 | </div> | 333 | </div> |
325 | </div> | 334 | </div> |
326 | 335 | ||
327 | <div class="main__resume-profile-about"> | 336 | <div class="main__resume-profile-about"> |
328 | <h2 class="main__resume-profile-about-title">О себе</h2> | 337 | <h2 class="main__resume-profile-about-title">О себе</h2> |
329 | <p class="main__resume-profile-about-text">{{ $Query[0]->text }}</p> | 338 | <p class="main__resume-profile-about-text">{{ $Query[0]->text }}</p> |
330 | @if (App\Classes\StatusUser::Status()==0) | 339 | @if (App\Classes\StatusUser::Status()==0) |
331 | @if ((!Auth()->user()->is_worker) && (Auth()->user()->is_message)) | 340 | @if ((!Auth()->user()->is_worker) && (Auth()->user()->is_message)) |
332 | <div class="main__resume-profile-about-buttons flex width100"> | 341 | <div class="main__resume-profile-about-buttons flex width100"> |
333 | <button type="button" class="like js-toggle mr-10 js_box_favorit {{ \App\Classes\LikesClass::get_status_worker($Query[0]) }}" | 342 | <button type="button" class="like js-toggle mr-10 js_box_favorit {{ \App\Classes\LikesClass::get_status_worker($Query[0]) }}" |
334 | name="footer-like-button" | 343 | name="footer-like-button" |
335 | > | 344 | > |
336 | <svg class="mr-5"> | 345 | <svg class="mr-10"> |
337 | <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> | 346 | <use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use> |
338 | </svg> | 347 | </svg> |
339 | В избранное | 348 | <span class="to-favorites">В избранное</span> |
349 | <span class="in-favorites">В избранном</span> | ||
340 | </button> | 350 | </button> |
341 | <div class="button button_light mr-10 main__resume-profile-about-button js_it_button" data-fancybox data-src="#send2" data-vacancy="0" data-uid="{{ $idiot }}" data-tuid="{{ $Query[0]->users->id }}" data-options='{"touch":false,"autoFocus":false}'> | 351 | <div class="button button_light mr-10 main__resume-profile-about-button js_it_button" data-fancybox data-src="#send2" data-vacancy="0" data-uid="{{ $idiot }}" data-tuid="{{ $Query[0]->users->id }}" data-options='{"touch":false,"autoFocus":false}'> |
342 | <svg> | 352 | <svg> |
343 | <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> | 353 | <use xlink:href="{{ asset('images/sprite.svg#chat') }}"></use> |
344 | </svg> | 354 | </svg> |
345 | Написать | 355 | Написать |
346 | </div> | 356 | </div> |
347 | <a class="button mr-10" href="{{ route('resume_download', ['worker' => $Query[0]->id]) }}"> | 357 | <a class="button mr-10" href="{{ route('resume_download', ['worker' => $Query[0]->id]) }}"> |
348 | <svg> | 358 | <svg> |
349 | <use xlink:href="{{ asset('images/sprite.svg#download') }}"></use> | 359 | <use xlink:href="{{ asset('images/sprite.svg#download') }}"></use> |
350 | </svg> | 360 | </svg> |
351 | Скачать резюме | 361 | Скачать резюме |
352 | </a> | 362 | </a> |
353 | </div> | 363 | </div> |
354 | @endif | 364 | @endif |
355 | @endif | 365 | @endif |
356 | </div> | 366 | </div> |
357 | 367 | ||
358 | <div class="main__resume-profile-info"> | 368 | <div class="main__resume-profile-info"> |
359 | <h2 class="main__resume-profile-info-title">Количество просмотров страницы: ({{ $stat[0]->lookin }})</h2> | 369 | <h2 class="main__resume-profile-info-title">Количество просмотров страницы: ({{ $stat[0]->lookin }})</h2> |
360 | </div> | 370 | </div> |
361 | 371 | ||
362 | <div class="main__resume-profile-info"> | 372 | <div class="main__resume-profile-info"> |
363 | <h2 class="main__resume-profile-info-title">Отзывы о работнике ({{ $Query[0]->response->count() }})</h2> | 373 | <h2 class="main__resume-profile-info-title">Отзывы о работнике ({{ $Query[0]->response->count() }})</h2> |
364 | <div class="main__resume-profile-info-body"> | 374 | <div class="main__resume-profile-info-body"> |
365 | @if ((isset($Query[0]->response)) && ($Query[0]->response->count())) | 375 | @if ((isset($Query[0]->response)) && ($Query[0]->response->count())) |
366 | <div class="main__resume-profile-info-body-item"> | 376 | <div class="main__resume-profile-info-body-item"> |
367 | <ul class="main__resume-profile-info-body-inner"> | 377 | <ul class="main__resume-profile-info-body-inner"> |
368 | @php $i = 1; @endphp | 378 | @php $i = 1; @endphp |
369 | @foreach($Query[0]->response as $it) | 379 | @foreach($Query[0]->response as $it) |
370 | <li> | 380 | <li> |
371 | <span><h3>Комментарий №{{$i}}</h3></span> | 381 | <span><h3>Комментарий №{{$i}}</h3></span> |
372 | <span><b>Оценка человека: {{ $it->stars }}</b></span> | 382 | <span><b>Оценка человека: {{ $it->stars }}</b></span> |
373 | <span><b>Сообщение: </b>{{ $it->message }}</span> | 383 | <span><b>Сообщение: </b>{{ $it->message }}</span> |
374 | </li> | 384 | </li> |
375 | @php $i++; @endphp | 385 | @php $i++; @endphp |
376 | @endforeach | 386 | @endforeach |
377 | </ul> | 387 | </ul> |
378 | </div> | 388 | </div> |
379 | @else | 389 | @else |
380 | <div class="main__resume-profile-info-body-item"> | 390 | <div class="main__resume-profile-info-body-item"> |
381 | <h3 class="main__resume-profile-info-body-subtitle">Нету комментариев</h3> | 391 | <h3 class="main__resume-profile-info-body-subtitle">Нету комментариев</h3> |
382 | </div> | 392 | </div> |
383 | @endif | 393 | @endif |
384 | </div> | 394 | </div> |
385 | </div> | 395 | </div> |
386 | 396 | ||
387 | <div class="main__resume-profile-review"> | 397 | <div class="main__resume-profile-review"> |
388 | <form action="{{ route('stars_answer') }}" method="POST"> | 398 | <form action="{{ route('stars_answer') }}" method="POST"> |
389 | @csrf | 399 | @csrf |
390 | <h2 class="main__resume-profile-review-title">Оставить отзыв о работнике</h2> | 400 | <h2 class="main__resume-profile-review-title">Оставить отзыв о работнике</h2> |
391 | <div class="rate"> | 401 | <div class="rate"> |
392 | <div class="rate__label">Ваша оценка:</div> | 402 | <div class="rate__label">Ваша оценка:</div> |
393 | <div class="rate__stars"> | 403 | <div class="rate__stars"> |
394 | <select name="stars" id="stars" class="star-rating js-stars"> | 404 | <select name="stars" id="stars" class="star-rating js-stars"> |
395 | <option value="5">5</option> | 405 | <option value="5">5</option> |
396 | <option value="4">4</option> | 406 | <option value="4">4</option> |
397 | <option value="3">3</option> | 407 | <option value="3">3</option> |
398 | <option value="2">2</option> | 408 | <option value="2">2</option> |
399 | <option value="1" selected>1</option> | 409 | <option value="1" selected>1</option> |
400 | </select> | 410 | </select> |
401 | </div> | 411 | </div> |
402 | </div> | 412 | </div> |
403 | <input type="hidden" name="worker_id" id="worker_id" value="{{ $Query[0]->id }}"/> | 413 | <input type="hidden" name="worker_id" id="worker_id" value="{{ $Query[0]->id }}"/> |
404 | <div class="main__resume-profile-review-body"> | 414 | <div class="main__resume-profile-review-body"> |
405 | <h3>Ваш отзыв</h3> | 415 | <h3>Ваш отзыв</h3> |
406 | <textarea class="textarea" name="message" id="message" placeholder="Текст отзыва…" required></textarea> | 416 | <textarea class="textarea" name="message" id="message" placeholder="Текст отзыва…" required></textarea> |
407 | <button type="submit" class="button">Оставить отзыв</button> | 417 | <button type="submit" class="button">Оставить отзыв</button> |
408 | </div> | 418 | </div> |
409 | </form> | 419 | </form> |
resources/views/workers/form_additional_documents.blade.php
1 | @extends('workers.cabinet_layout', ['title' => 'Дополнительные документы - РекаМоре']) | 1 | @extends('workers.cabinet_layout', ['title' => 'Дополнительные документы - РекаМоре']) |
2 | 2 | ||
3 | @section('scripts') | ||
4 | <script> | ||
5 | $(function () { | ||
6 | $('.sertificates_js').change(function(){ | ||
7 | var this_btn = $(this); | ||
8 | var wrap = this_btn.closest('.cabinet__inputs-item'); | ||
9 | var infoblock_id = this_btn.attr('data-info'); | ||
10 | var val = this_btn.val(); | ||
11 | |||
12 | $.ajax({ | ||
13 | type: "GET", | ||
14 | url: "{{ route('worker.delete_add_diplom', ['worker' => $worker->id]) }}", | ||
15 | data: "&infoblok_id=" + infoblock_id+"&val="+val, | ||
16 | success: function (data) { | ||
17 | wrap.find('.form-group__label').append('<span class="success font12 ml-10 green">Сохранено</span>'); | ||
18 | setTimeout(function(){ | ||
19 | wrap.find('.form-group__label .success').fadeOut(300, function(){ | ||
20 | wrap.find('.form-group__label .success').remove(); | ||
21 | }); | ||
22 | }, 2000); | ||
23 | }, | ||
24 | headers: { | ||
25 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | ||
26 | }, | ||
27 | error: function (data) { | ||
28 | data = JSON.stringify(data); | ||
29 | console.log('Error: ' + data); | ||
30 | } | ||
31 | }); | ||
32 | }); | ||
33 | }); | ||
34 | </script> | ||
35 | @endsection | ||
36 | |||
37 | @section('cabinet_content') | 3 | @section('cabinet_content') |
38 | <div class="mb-40" name="ajax_dop_diplomi" id="ajax_dop_diplomi"> | 4 | <form action="{{ route('worker.edit_diploms', ['worker' => $worker->id]) }}" class="cabinet__inputs" method="POST"> |
39 | @csrf | 5 | @csrf |
6 | @method('PUT') | ||
40 | 7 | ||
8 | <div class="mb-40" name="ajax_dop_diplomi" id="ajax_dop_diplomi"> | ||
41 | <div class="cabinet__body-item"> | 9 | <div class="cabinet__body-item"> |
42 | <div class="cabinet__anketa"> | 10 | <div class="cabinet__anketa"> |
43 | <h2 class="title cabinet__title">Дополнительные документы</h2> | 11 | <h2 class="title cabinet__title">Дополнительные документы</h2> |
44 | </div> | 12 | </div> |
45 | </div> | 13 | </div> |
46 | 14 | ||
47 | <div class="cabinet__body-item"> | 15 | <div class="cabinet__body-item"> |
48 | <div class="cabinet__inputs"> | 16 | <div class="cabinet__inputs"> |
49 | @if ($info_blocks->count()) | 17 | @if ($info_blocks->count()) |
50 | @foreach ($info_blocks as $info_block) | 18 | @foreach ($info_blocks as $info_block) |
51 | <div class="cabinet__inputs-item form-group"> | 19 | <div class="cabinet__inputs-item form-group"> |
52 | <label class="form-group__label">{{ $info_block->name }}:</label> | 20 | <label class="form-group__label">{{ $info_block->name }}:</label> |
53 | 21 | ||
54 | <div class="form-group__item"> | 22 | <div class="form-group__item"> |
55 | @php $status = 0; @endphp | 23 | @php $status = 0; @endphp |
56 | @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']) |
57 | @php $status = $worker->dop_info[$info_block->id]['status']; @endphp | 25 | @php $status = $worker->dop_info[$info_block->id]['status']; @endphp |
58 | @endif | 26 | @endif |
59 | 27 | ||
60 | <select 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"> |
61 | @foreach($additional_document_statuses as $key => $value) | 29 | @foreach($additional_document_statuses as $key => $value) |
62 | <option value="{{ $key }}" @if ($status == $key) selected @endif>{{ $value }}</option> | 30 | <option value="{{ $key }}" @if ($status == $key) selected @endif>{{ $value }}</option> |
63 | @endforeach | 31 | @endforeach |
64 | </select> | 32 | </select> |
65 | </div> | 33 | </div> |
66 | </div> | 34 | </div> |
67 | @endforeach | 35 | @endforeach |
68 | @endif | 36 | @endif |
69 | 37 | ||
70 | <div class="cabinet__body-item cabinet__inputs-item-full-row"> | 38 | <div class="cabinet__body-item cabinet__inputs-item-full-row"> |
71 | <div class="cabinet__buttons_flex"> | 39 | <div class="cabinet__buttons_flex"> |
72 | <a href="{{ route('worker.cabinet') }}" class="button button_light active">Назад</a> | 40 | <button type="submit" class="button mr-10">Сохранить</button> |
41 | <a href="{{ route('worker.cabinet') }}" class="button button_light active">Отменить</a> | ||
73 | </div> | 42 | </div> |
74 | </div> | 43 | </div> |
75 | </div> | 44 | </div> |
76 | </div> | 45 | </div> |
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 | <option value="1" @if ($worker->status_work == 1) selected @endif>Не указано</option> | 50 | <option value="1" @if ($worker->status_work == 1) selected @endif>Не указано</option> |
51 | <option value="2" @if ($worker->status_work == 2) selected @endif>Не ищу работу</option> | 51 | <option value="2" @if ($worker->status_work == 2) selected @endif>Не ищу работу</option> |
52 | <option value="0" @if ($worker->status_work == 0) selected @endif>Ищу работу</option> | 52 | <option value="0" @if ($worker->status_work == 0) selected @endif>Ищу работу</option> |
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="tel" name="telephone2" id="telephon2" value="{{ old('telephone2') ?? $worker->telephone2 ?? '' }}" class="input" placeholder="+7 (___) ___-__-__"> | 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 | <label class="file"> | ||
178 | <span class="file__input"> | ||
179 | <input type="file" name="file" id="file"> | ||
180 | <span class="button button_light">@if (empty($worker->file)) Прикрепить резюме @else Обновить резюме @endif</span> | ||
181 | </span> | ||
182 | </label> | ||
183 | </div> | 177 | </div> |
184 | </div> | 178 | </div> |
185 | </div> | 179 | </div> |
186 | </div> | 180 | </div> |
187 | </form> | 181 | </form> |
188 | @endsection | 182 | @endsection |
189 | 183 |
resources/views/workers/sertificate_add.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.add_serificate') }}" class="cabinet__inputs" method="GET"> | 5 | <form id="submit_form" name="submit_form" action="{{ route('worker.add_serificate') }}" 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') ?? 'Начальная подготовка' }}" required> | 17 | <input type="text" name="name" id="name" class="input" value="{{ old('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('+1 year')) }}" required> | 26 | <input type="text" name="end_begin" id="end_begin" class="input" value="{{ old('end_begin') ?? '' }}" required> |
27 | </div> | 27 | </div> |
28 | </div> | 28 | </div> |
29 | </div> | 29 | </div> |
30 | 30 | ||
31 | <div class="flex"> | 31 | <div class="flex"> |
32 | <button type="submit" class="button mr-10">Сохранить</button> | 32 | <button type="submit" class="button mr-10">Сохранить</button> |
33 | <a href="{{ route('worker.cabinet') }}" class="button button_light">Отменить</a> | 33 | <a href="{{ route('worker.cabinet') }}" class="button button_light">Отменить</a> |
34 | </div> | 34 | </div> |
35 | </div> | 35 | </div> |
36 | </form> | 36 | </form> |
37 | @endsection | 37 | @endsection |
38 | 38 |
routes/web.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | use App\Http\Controllers\Ad_jobsController; | 3 | use App\Http\Controllers\Ad_jobsController; |
4 | use App\Http\Controllers\AdEmployerController; | 4 | use App\Http\Controllers\AdEmployerController; |
5 | use App\Http\Controllers\Admin\AdminController; | 5 | use App\Http\Controllers\Admin\AdminController; |
6 | use App\Http\Controllers\Admin\CategoryController; | 6 | use App\Http\Controllers\Admin\CategoryController; |
7 | use App\Http\Controllers\Admin\CategoryEmpController; | 7 | use App\Http\Controllers\Admin\CategoryEmpController; |
8 | use App\Http\Controllers\Admin\EducationController; | 8 | use App\Http\Controllers\Admin\EducationController; |
9 | use App\Http\Controllers\EducationController as EducationFrontController; | 9 | use App\Http\Controllers\EducationController as EducationFrontController; |
10 | use App\Http\Controllers\Admin\EmployersController; | 10 | use App\Http\Controllers\Admin\EmployersController; |
11 | use App\Http\Controllers\EmployerController as FrontEmployersController; | 11 | use App\Http\Controllers\EmployerController as FrontEmployersController; |
12 | use App\Http\Controllers\Admin\InfoBloksController; | 12 | use App\Http\Controllers\Admin\InfoBloksController; |
13 | use App\Http\Controllers\Admin\JobTitlesController; | 13 | use App\Http\Controllers\Admin\JobTitlesController; |
14 | use App\Http\Controllers\Admin\UsersController; | 14 | use App\Http\Controllers\Admin\UsersController; |
15 | use App\Http\Controllers\Admin\WorkersController; | 15 | use App\Http\Controllers\Admin\WorkersController; |
16 | use App\Http\Controllers\Auth\ForgotPasswordController; | 16 | use App\Http\Controllers\Auth\ForgotPasswordController; |
17 | use App\Http\Controllers\Auth\LoginController; | 17 | use App\Http\Controllers\Auth\LoginController; |
18 | use App\Http\Controllers\Auth\RegisterController; | 18 | use App\Http\Controllers\Auth\RegisterController; |
19 | use App\Http\Controllers\CKEditorController; | 19 | use App\Http\Controllers\CKEditorController; |
20 | use App\Http\Controllers\MediaController; | 20 | use App\Http\Controllers\MediaController; |
21 | use App\Http\Controllers\WorkerController; | 21 | use App\Http\Controllers\WorkerController; |
22 | use App\Models\Ad_jobs; | 22 | use App\Models\Ad_jobs; |
23 | use App\Models\User; | 23 | use App\Models\User; |
24 | use App\Http\Controllers\MainController; | 24 | use App\Http\Controllers\MainController; |
25 | use App\Http\Controllers\HomeController; | 25 | use App\Http\Controllers\HomeController; |
26 | use Illuminate\Support\Facades\Route; | 26 | use Illuminate\Support\Facades\Route; |
27 | use App\Http\Controllers\Admin\CompanyController; | 27 | use App\Http\Controllers\Admin\CompanyController; |
28 | use App\Http\Controllers\Admin\Ad_EmployersController; | 28 | use App\Http\Controllers\Admin\Ad_EmployersController; |
29 | use App\Http\Controllers\Admin\MsgAnswersController; | 29 | use App\Http\Controllers\Admin\MsgAnswersController; |
30 | use App\Http\Controllers\Admin\GroupsController; | 30 | use App\Http\Controllers\Admin\GroupsController; |
31 | use App\Http\Controllers\PagesController; | 31 | use App\Http\Controllers\PagesController; |
32 | use Illuminate\Support\Facades\Storage; | 32 | use Illuminate\Support\Facades\Storage; |
33 | use App\Http\Controllers\EmployerController; | 33 | use App\Http\Controllers\EmployerController; |
34 | use App\Http\Controllers\CompanyController as FrontCompanyController; | 34 | use App\Http\Controllers\CompanyController as FrontCompanyController; |
35 | 35 | ||
36 | 36 | ||
37 | /* | 37 | /* |
38 | |-------------------------------------------------------------------------- | 38 | |-------------------------------------------------------------------------- |
39 | | Web Routes | 39 | | Web Routes |
40 | |-------------------------------------------------------------------------- | 40 | |-------------------------------------------------------------------------- |
41 | | | 41 | | |
42 | | Here is where you can register web routes for your application. These | 42 | | Here is where you can register web routes for your application. These |
43 | | routes are loaded by the RouteServiceProvider within a group which | 43 | | routes are loaded by the RouteServiceProvider within a group which |
44 | | contains the "web" middleware group. Now create something great! | 44 | | contains the "web" middleware group. Now create something great! |
45 | | | 45 | | |
46 | */ | 46 | */ |
47 | /* | 47 | /* |
48 | Route::get('/', function () { | 48 | Route::get('/', function () { |
49 | return view('welcome'); | 49 | return view('welcome'); |
50 | })->name('index'); | 50 | })->name('index'); |
51 | */ | 51 | */ |
52 | 52 | ||
53 | Route::get('/', [MainController::class, 'index'])->name('index'); | 53 | Route::get('/', [MainController::class, 'index'])->name('index'); |
54 | 54 | ||
55 | //Роуты авторизации, регистрации, восстановления, аутентификации | 55 | //Роуты авторизации, регистрации, восстановления, аутентификации |
56 | Auth::routes(['verify' => true]); | 56 | Auth::routes(['verify' => true]); |
57 | 57 | ||
58 | // роуты регистрации, авторизации, восстановления пароля, верификации почты | 58 | // роуты регистрации, авторизации, восстановления пароля, верификации почты |
59 | /*Route::group([ | 59 | /*Route::group([ |
60 | 'as' => 'auth.', //имя маршрута, например auth.index | 60 | 'as' => 'auth.', //имя маршрута, например auth.index |
61 | 'prefix' => 'auth', // префикс маршрута, например, auth/index | 61 | 'prefix' => 'auth', // префикс маршрута, например, auth/index |
62 | ], function () { | 62 | ], function () { |
63 | //форма регистрации | 63 | //форма регистрации |
64 | Route::get('register', [RegisterController::class, 'register'])->name('register'); | 64 | Route::get('register', [RegisterController::class, 'register'])->name('register'); |
65 | 65 | ||
66 | //создание пользователя | 66 | //создание пользователя |
67 | Route::post('register', [RegisterController::class, 'create'])->name('create'); | 67 | Route::post('register', [RegisterController::class, 'create'])->name('create'); |
68 | 68 | ||
69 | //форма входа авторизации | 69 | //форма входа авторизации |
70 | Route::get('login', [LoginController::class, 'login'])->name('login'); | 70 | Route::get('login', [LoginController::class, 'login'])->name('login'); |
71 | 71 | ||
72 | //аутентификация | 72 | //аутентификация |
73 | Route::post('login', [LoginController::class, 'authenticate'])->name('auth'); | 73 | Route::post('login', [LoginController::class, 'authenticate'])->name('auth'); |
74 | 74 | ||
75 | //выход | 75 | //выход |
76 | Route::get('logout', [LoginController::class, 'logout'])->name('logout'); | 76 | Route::get('logout', [LoginController::class, 'logout'])->name('logout'); |
77 | 77 | ||
78 | //форма ввода адреса почты | 78 | //форма ввода адреса почты |
79 | Route::get('forgot-password', [ForgotPasswordController::class, 'form'])->name('forgot-form'); | 79 | Route::get('forgot-password', [ForgotPasswordController::class, 'form'])->name('forgot-form'); |
80 | 80 | ||
81 | //письмо на почту | 81 | //письмо на почту |
82 | Route::post('forgot-password', [ForgotPasswordController::class, 'mail'])->name('forgot-mail'); | 82 | Route::post('forgot-password', [ForgotPasswordController::class, 'mail'])->name('forgot-mail'); |
83 | 83 | ||
84 | //форма восстановления пароля | 84 | //форма восстановления пароля |
85 | Route::get('reset-password/token/{token}/email/{email}', | 85 | Route::get('reset-password/token/{token}/email/{email}', |
86 | [ResetPasswordController::class, 'form'] | 86 | [ResetPasswordController::class, 'form'] |
87 | )->name('reset-form'); | 87 | )->name('reset-form'); |
88 | 88 | ||
89 | //восстановление пароля | 89 | //восстановление пароля |
90 | Route::post('reset-password', | 90 | Route::post('reset-password', |
91 | [ResetPasswordController::class, 'reset'] | 91 | [ResetPasswordController::class, 'reset'] |
92 | )->name('reset-password'); | 92 | )->name('reset-password'); |
93 | 93 | ||
94 | //сообщение о необходимости проверки адреса почты | 94 | //сообщение о необходимости проверки адреса почты |
95 | Route::get('verify-message', [VerifyEmailController::class, 'message'])->name('verify-message'); | 95 | Route::get('verify-message', [VerifyEmailController::class, 'message'])->name('verify-message'); |
96 | 96 | ||
97 | //подтверждение адреса почты нового пользователя | 97 | //подтверждение адреса почты нового пользователя |
98 | Route::get('verify-email/token/{token}/id/{id}', [VerifyEmailController::class, 'verify']) | 98 | Route::get('verify-email/token/{token}/id/{id}', [VerifyEmailController::class, 'verify']) |
99 | ->where('token', '[a-f0-9]{32}') | 99 | ->where('token', '[a-f0-9]{32}') |
100 | ->where('id', '[0-9]+') | 100 | ->where('id', '[0-9]+') |
101 | ->name('verify-email'); | 101 | ->name('verify-email'); |
102 | });*/ | 102 | });*/ |
103 | 103 | ||
104 | //Личный кабинет пользователя | 104 | //Личный кабинет пользователя |
105 | Route::get('/home', [HomeController::class, 'index'])->name('home'); | 105 | Route::get('/home', [HomeController::class, 'index'])->name('home'); |
106 | 106 | ||
107 | /* | 107 | /* |
108 | Route::post('resend/verification-email', function (\Illuminate\Http\Request $request) { | 108 | Route::post('resend/verification-email', function (\Illuminate\Http\Request $request) { |
109 | $user = User::where('email',$request->input('email'))->first(); | 109 | $user = User::where('email',$request->input('email'))->first(); |
110 | 110 | ||
111 | $user->sendEmailVerificationNotification(); | 111 | $user->sendEmailVerificationNotification(); |
112 | 112 | ||
113 | return 'your response'; | 113 | return 'your response'; |
114 | })->middleware('throttle:6,1')->name('verification.resend'); | 114 | })->middleware('throttle:6,1')->name('verification.resend'); |
115 | */ | 115 | */ |
116 | 116 | ||
117 | // Авторизация, регистрация в админку | 117 | // Авторизация, регистрация в админку |
118 | Route::group([ | 118 | Route::group([ |
119 | 'as' => 'admin.', // имя маршрута, например auth.index | 119 | 'as' => 'admin.', // имя маршрута, например auth.index |
120 | 'prefix' => 'admin', // префикс маршрута, например auth/index | 120 | 'prefix' => 'admin', // префикс маршрута, например auth/index |
121 | 'middleware' => ['guest'], | 121 | 'middleware' => ['guest'], |
122 | ], function () { | 122 | ], function () { |
123 | // Форма регистрации | 123 | // Форма регистрации |
124 | Route::get('register', [AdminController::class, 'register'])->name('register'); | 124 | Route::get('register', [AdminController::class, 'register'])->name('register'); |
125 | // Создание пользователя | 125 | // Создание пользователя |
126 | Route::post('register', [AdminController::class, 'create'])->name('create'); | 126 | Route::post('register', [AdminController::class, 'create'])->name('create'); |
127 | 127 | ||
128 | //Форма входа | 128 | //Форма входа |
129 | Route::get('login', [AdminController::class, 'login'])->name('login'); | 129 | Route::get('login', [AdminController::class, 'login'])->name('login'); |
130 | 130 | ||
131 | // аутентификация | 131 | // аутентификация |
132 | Route::post('login', [AdminController::class, 'autenticate'])->name('auth'); | 132 | Route::post('login', [AdminController::class, 'autenticate'])->name('auth'); |
133 | 133 | ||
134 | }); | 134 | }); |
135 | 135 | ||
136 | // Личный кабинет админки | 136 | // Личный кабинет админки |
137 | Route::group([ | 137 | Route::group([ |
138 | 'as' => 'admin.', // имя маршрута, например auth.index | 138 | 'as' => 'admin.', // имя маршрута, например auth.index |
139 | 'prefix' => 'admin', // префикс маршрута, например auth/index | 139 | 'prefix' => 'admin', // префикс маршрута, например auth/index |
140 | 'middleware' => ['auth'], ['admin'], | 140 | 'middleware' => ['auth'], ['admin'], |
141 | ], function() { | 141 | ], function() { |
142 | 142 | ||
143 | // выход | 143 | // выход |
144 | Route::get('logout', [AdminController::class, 'logout'])->name('logout'); | 144 | Route::get('logout', [AdminController::class, 'logout'])->name('logout'); |
145 | 145 | ||
146 | // кабинет главная страница | 146 | // кабинет главная страница |
147 | Route::get('cabinet', [AdminController::class, 'index'])->name('index'); | 147 | Route::get('cabinet', [AdminController::class, 'index'])->name('index'); |
148 | 148 | ||
149 | // кабинет профиль админа - форма | 149 | // кабинет профиль админа - форма |
150 | Route::get('profile', [AdminController::class, 'profile'])->name('profile'); | 150 | Route::get('profile', [AdminController::class, 'profile'])->name('profile'); |
151 | // кабинет профиль админа - сохранение формы | 151 | // кабинет профиль админа - сохранение формы |
152 | Route::post('profile', [AdminController::class, 'store_profile'])->name('store_profile'); | 152 | Route::post('profile', [AdminController::class, 'store_profile'])->name('store_profile'); |
153 | 153 | ||
154 | //кабинет сообщения админа | 154 | //кабинет сообщения админа |
155 | //Route::get('messages', [AdminController::class, 'profile'])->name('profile'); | 155 | //Route::get('messages', [AdminController::class, 'profile'])->name('profile'); |
156 | 156 | ||
157 | 157 | ||
158 | // кабинет профиль - форма пароли | 158 | // кабинет профиль - форма пароли |
159 | Route::get('password', [AdminController::class, 'profile_password'])->name('password'); | 159 | Route::get('password', [AdminController::class, 'profile_password'])->name('password'); |
160 | // кабинет профиль - сохранение формы пароля | 160 | // кабинет профиль - сохранение формы пароля |
161 | Route::post('password', [AdminController::class, 'profile_password_new'])->name('password'); | 161 | Route::post('password', [AdminController::class, 'profile_password_new'])->name('password'); |
162 | 162 | ||
163 | 163 | ||
164 | // кабинет профиль пользователя - форма | 164 | // кабинет профиль пользователя - форма |
165 | Route::get('user-profile/{user}', [AdminController::class, 'profile_user'])->name('user-profile'); | 165 | Route::get('user-profile/{user}', [AdminController::class, 'profile_user'])->name('user-profile'); |
166 | // кабинет профиль пользователя - сохранение формы | 166 | // кабинет профиль пользователя - сохранение формы |
167 | Route::post('user-profile/{user}', [AdminController::class, 'store_profile_user'])->name('user-store_profile'); | 167 | Route::post('user-profile/{user}', [AdminController::class, 'store_profile_user'])->name('user-store_profile'); |
168 | 168 | ||
169 | // кабинет профиль работодатель - форма | 169 | // кабинет профиль работодатель - форма |
170 | Route::get('employer-profile/{employer}', [EmployersController::class, 'form_update_employer'])->name('employer-profile'); | 170 | Route::get('employer-profile/{employer}', [EmployersController::class, 'form_update_employer'])->name('employer-profile'); |
171 | // кабинет профиль работодатель - сохранение формы | 171 | // кабинет профиль работодатель - сохранение формы |
172 | Route::post('employer-profile/{employer}', [EmployersController::class, 'update_employer'])->name('update-employer-profile'); | 172 | Route::post('employer-profile/{employer}', [EmployersController::class, 'update_employer'])->name('update-employer-profile'); |
173 | // кабинет удаление профиль работодателя и юзера | 173 | // кабинет удаление профиль работодателя и юзера |
174 | Route::delete('employers/delete/{employer}/{user}', [EmployersController::class, 'delete_employer'])->name('delete-employer'); | 174 | Route::delete('employers/delete/{employer}/{user}', [EmployersController::class, 'delete_employer'])->name('delete-employer'); |
175 | 175 | ||
176 | // кабинет профиль работник - форма | 176 | // кабинет профиль работник - форма |
177 | Route::get('worker-profile/add/{user}', [WorkersController::class, 'form_add_worker'])->name('worker-profile-add'); | 177 | Route::get('worker-profile/add/{user}', [WorkersController::class, 'form_add_worker'])->name('worker-profile-add'); |
178 | Route::post('worker-profile/add/{user}', [WorkersController::class, 'form_store_worker'])->name('worker-profile-store'); | 178 | Route::post('worker-profile/add/{user}', [WorkersController::class, 'form_store_worker'])->name('worker-profile-store'); |
179 | Route::get('worker-profile/{worker}', [WorkersController::class, 'form_edit_worker'])->name('worker-profile-edit'); | 179 | Route::get('worker-profile/{worker}', [WorkersController::class, 'form_edit_worker'])->name('worker-profile-edit'); |
180 | // кабинет профиль работник - сохранение формы | 180 | // кабинет профиль работник - сохранение формы |
181 | Route::post('worker-profile/{worker}', [WorkersController::class, 'form_update_worker'])->name('worker-profile-update'); | 181 | Route::post('worker-profile/{worker}', [WorkersController::class, 'form_update_worker'])->name('worker-profile-update'); |
182 | 182 | ||
183 | // Медиа | 183 | // Медиа |
184 | Route::get('media', [MediaController::class, 'index'])->name('media'); | 184 | Route::get('media', [MediaController::class, 'index'])->name('media'); |
185 | Route::delete('media/{media}', [MediaController::class, 'delete'])->name('delete-media'); | 185 | Route::delete('media/{media}', [MediaController::class, 'delete'])->name('delete-media'); |
186 | 186 | ||
187 | // кабинет настройки сайта - форма | 187 | // кабинет настройки сайта - форма |
188 | Route::get('config', [AdminController::class, 'config_form'])->name('config'); | 188 | Route::get('config', [AdminController::class, 'config_form'])->name('config'); |
189 | // кабинет настройки сайта сохранение формы | 189 | // кабинет настройки сайта сохранение формы |
190 | Route::post('config', [AdminController::class, 'store_config'])->name('store_config'); | 190 | Route::post('config', [AdminController::class, 'store_config'])->name('store_config'); |
191 | 191 | ||
192 | // кабинет - новости | 192 | // кабинет - новости |
193 | Route::get('news-list', [AdminController::class, 'news_admin'])->name('news_admin'); | 193 | Route::get('news-list', [AdminController::class, 'news_admin'])->name('news_admin'); |
194 | Route::get('news/add', [AdminController::class, 'new_admin_add'])->name('new_admin_add'); | 194 | Route::get('news/add', [AdminController::class, 'new_admin_add'])->name('new_admin_add'); |
195 | Route::post('news/add', [AdminController::class, 'new_admin_add_save'])->name('new_admin_save_add'); | 195 | Route::post('news/add', [AdminController::class, 'new_admin_add_save'])->name('new_admin_save_add'); |
196 | Route::get('news/edit/{new}', [AdminController::class, 'new_admin_edit'])->name('new_admin_edit'); | 196 | Route::get('news/edit/{new}', [AdminController::class, 'new_admin_edit'])->name('new_admin_edit'); |
197 | Route::post('news/edit/{new}', [AdminController::class, 'new_admin_update_save'])->name('new_admin_update'); | 197 | Route::post('news/edit/{new}', [AdminController::class, 'new_admin_update_save'])->name('new_admin_update'); |
198 | Route::get('news/delete/{new}', [AdminController::class, 'new_admin_delete'])->name('new_admin_delete'); | 198 | Route::get('news/delete/{new}', [AdminController::class, 'new_admin_delete'])->name('new_admin_delete'); |
199 | 199 | ||
200 | // кабинет - пользователи | 200 | // кабинет - пользователи |
201 | Route::get('users', [UsersController::class, 'index'])->name('users'); | 201 | Route::get('users', [UsersController::class, 'index'])->name('users'); |
202 | Route::get('user-delete/{user}', [UsersController::class, 'user_delete'])->name('user_delete'); | 202 | Route::get('user-delete/{user}', [UsersController::class, 'user_delete'])->name('user_delete'); |
203 | 203 | ||
204 | // кабинет - пользователи | 204 | // кабинет - пользователи |
205 | Route::get('admin-users', [AdminController::class, 'index_admin'])->name('admin-users'); | 205 | Route::get('admin-users', [AdminController::class, 'index_admin'])->name('admin-users'); |
206 | 206 | ||
207 | // кабинет - работодатели | 207 | // кабинет - работодатели |
208 | Route::get('employers', [EmployersController::class, 'index'])->name('employers'); | 208 | Route::get('employers', [EmployersController::class, 'index'])->name('employers'); |
209 | 209 | ||
210 | Route::get('employers/comment/{employer}', [EmployersController::class, 'comment_read'])->name('comment-employer'); | 210 | Route::get('employers/comment/{employer}', [EmployersController::class, 'comment_read'])->name('comment-employer'); |
211 | 211 | ||
212 | Route::get('flot/add/{employer}', [EmployersController::class, 'add_flot'])->name('flot_add'); | 212 | Route::get('flot/add/{employer}', [EmployersController::class, 'add_flot'])->name('flot_add'); |
213 | Route::post('flot/add', [EmployersController::class, 'save_add_flot'])->name('flot_add_save'); | 213 | Route::post('flot/add', [EmployersController::class, 'save_add_flot'])->name('flot_add_save'); |
214 | Route::get('flot/{flot}/{employer}', [EmployersController::class, 'edit_flot'])->name('flot'); | 214 | Route::get('flot/{flot}/{employer}', [EmployersController::class, 'edit_flot'])->name('flot'); |
215 | Route::put('flot/{flot}', [EmployersController::class, 'edit_save_flot'])->name('flot_edit'); | 215 | Route::put('flot/{flot}', [EmployersController::class, 'edit_save_flot'])->name('flot_edit'); |
216 | Route::get('flot/{flot}/{employer_id}/delete', [EmployersController::class, 'delete_flot'])->name('flot_delete'); | 216 | Route::get('flot/{flot}/{employer_id}/delete', [EmployersController::class, 'delete_flot'])->name('flot_delete'); |
217 | 217 | ||
218 | // кабинет - соискатели | 218 | // кабинет - соискатели |
219 | Route::get('workers', [WorkersController::class, 'index'])->name('workers'); | 219 | Route::get('workers', [WorkersController::class, 'index'])->name('workers'); |
220 | 220 | ||
221 | // кабинет - база данных | 221 | // кабинет - база данных |
222 | Route::get('basedata', [UsersController::class, 'index_bd'])->name('basedata'); | 222 | Route::get('basedata', [UsersController::class, 'index_bd'])->name('basedata'); |
223 | Route::get('basedata/add', [UsersController::class, 'add_bd'])->name('add-basedata'); | 223 | Route::get('basedata/add', [UsersController::class, 'add_bd'])->name('add-basedata'); |
224 | Route::post('basedata/add', [UsersController::class, 'add_store_bd'])->name('add-store-basedata'); | 224 | Route::post('basedata/add', [UsersController::class, 'add_store_bd'])->name('add-store-basedata'); |
225 | Route::get('basedata/edit/{user}', [UsersController::class, 'edit_bd'])->name('edit-basedata'); | 225 | Route::get('basedata/edit/{user}', [UsersController::class, 'edit_bd'])->name('edit-basedata'); |
226 | Route::put('basedata/edit/{user}', [UsersController::class, 'update_bd'])->name('update-basedata'); | 226 | Route::put('basedata/edit/{user}', [UsersController::class, 'update_bd'])->name('update-basedata'); |
227 | Route::delete('basedata/delete/{user}', [UsersController::class, 'destroy_bd'])->name('delete-basedata'); | 227 | Route::delete('basedata/delete/{user}', [UsersController::class, 'destroy_bd'])->name('delete-basedata'); |
228 | Route::get('basedata/doc/{user}', [UsersController::class, 'doc_bd'])->name('doc-basedata'); | 228 | Route::get('basedata/doc/{user}', [UsersController::class, 'doc_bd'])->name('doc-basedata'); |
229 | 229 | ||
230 | // кабинет - вакансии | 230 | // кабинет - вакансии |
231 | Route::get('ad-employers', [Ad_EmployersController::class, 'index'])->name('ad-employers'); | 231 | Route::get('ad-employers', [Ad_EmployersController::class, 'index'])->name('ad-employers'); |
232 | Route::get('ad-employers/add', [Ad_EmployersController::class, 'create'])->name('add-ad-employers'); | 232 | Route::get('ad-employers/add', [Ad_EmployersController::class, 'create'])->name('add-ad-employers'); |
233 | Route::post('ad-employers/add', [Ad_EmployersController::class, 'store'])->name('store-ad-employers'); | 233 | Route::post('ad-employers/add', [Ad_EmployersController::class, 'store'])->name('store-ad-employers'); |
234 | Route::get('ad-employers/edit/{ad_employer}', [Ad_EmployersController::class, 'edit'])->name('edit-ad-employers'); | 234 | Route::get('ad-employers/edit/{ad_employer}', [Ad_EmployersController::class, 'edit'])->name('edit-ad-employers'); |
235 | Route::post('ad-employers/edit/{ad_employer}', [Ad_EmployersController::class, 'update'])->name('update-ad-employers'); | 235 | Route::post('ad-employers/edit/{ad_employer}', [Ad_EmployersController::class, 'update'])->name('update-ad-employers'); |
236 | Route::delete('ad-employers/delete/{ad_employer}', [Ad_EmployersController::class, 'destroy'])->name('delete-ad-employer'); | 236 | Route::delete('ad-employers/delete/{ad_employer}', [Ad_EmployersController::class, 'destroy'])->name('delete-ad-employer'); |
237 | 237 | ||
238 | // Редактирование должности в вакансии | 238 | // Редактирование должности в вакансии |
239 | Route::put('update-jobs/{ad_jobs}', [Ad_EmployersController::class, 'update_ad_jobs'])->name('update_jobs'); | 239 | Route::put('update-jobs/{ad_jobs}', [Ad_EmployersController::class, 'update_ad_jobs'])->name('update_jobs'); |
240 | Route::get('edit-jobs/{ad_jobs}', [Ad_EmployersController::class, 'edit_jobs'])->name('edit_jobs'); | 240 | Route::get('edit-jobs/{ad_jobs}', [Ad_EmployersController::class, 'edit_jobs'])->name('edit_jobs'); |
241 | 241 | ||
242 | 242 | ||
243 | // кабинет - категории | 243 | // кабинет - категории |
244 | //Route::get('categories', [AdminController::class, 'index'])->name('categories'); | 244 | //Route::get('categories', [AdminController::class, 'index'])->name('categories'); |
245 | 245 | ||
246 | // СRUD-операции над Справочником Категории | 246 | // СRUD-операции над Справочником Категории |
247 | 247 | ||
248 | Route::resource('categories', CategoryController::class, ['except' => ['show']]); | 248 | Route::resource('categories', CategoryController::class, ['except' => ['show']]); |
249 | 249 | ||
250 | // CRUD-операции над справочником Категории для работодателей | 250 | // CRUD-операции над справочником Категории для работодателей |
251 | Route::resource('category-emp', CategoryEmpController::class, ['except' => ['show']]); | 251 | Route::resource('category-emp', CategoryEmpController::class, ['except' => ['show']]); |
252 | 252 | ||
253 | // CRUD-операции над справочником Образование | 253 | // CRUD-операции над справочником Образование |
254 | Route::resource('education', EducationController::class, ['except' => ['show']]); | 254 | Route::resource('education', EducationController::class, ['except' => ['show']]); |
255 | 255 | ||
256 | Route::get('rename-program-education', [EducationController::class, 'rename_program'])->name('rename-program-education'); | 256 | Route::get('rename-program-education', [EducationController::class, 'rename_program'])->name('rename-program-education'); |
257 | Route::get('program-education', [EducationController::class, 'add_program'])->name('add-program-education'); | 257 | Route::get('program-education', [EducationController::class, 'add_program'])->name('add-program-education'); |
258 | Route::post('program-education', [EducationController::class, 'store_program'])->name('store-program-education'); | 258 | Route::post('program-education', [EducationController::class, 'store_program'])->name('store-program-education'); |
259 | 259 | ||
260 | Route::get('program-education/edit/{program}/{education}', [EducationController::class, 'edit_program'])->name('edit-program-education'); | 260 | Route::get('program-education/edit/{program}/{education}', [EducationController::class, 'edit_program'])->name('edit-program-education'); |
261 | Route::post('program-education/edit/{program}/{education}', [EducationController::class, 'update_program'])->name('update-program-education'); | 261 | Route::post('program-education/edit/{program}/{education}', [EducationController::class, 'update_program'])->name('update-program-education'); |
262 | 262 | ||
263 | Route::get('program-education/delete/{program}/{education}', [EducationController::class, 'delete_program'])->name('delete-program-education'); | 263 | Route::get('program-education/delete/{program}/{education}', [EducationController::class, 'delete_program'])->name('delete-program-education'); |
264 | 264 | ||
265 | //Route::get('job-titles', [AdminController::class, 'index'])->name('job-titles'); | 265 | //Route::get('job-titles', [AdminController::class, 'index'])->name('job-titles'); |
266 | /* | 266 | /* |
267 | * кабинет - CRUD-операции по справочнику должности | 267 | * кабинет - CRUD-операции по справочнику должности |
268 | * | 268 | * |
269 | */ | 269 | */ |
270 | Route::resource('job-titles', JobTitlesController::class, ['except' => ['show']]); | 270 | Route::resource('job-titles', JobTitlesController::class, ['except' => ['show']]); |
271 | 271 | ||
272 | // кабинет - сообщения (чтение чужих) | 272 | // кабинет - сообщения (чтение чужих) |
273 | Route::get('messages', [MsgAnswersController::class, 'messages'])->name('messages'); | 273 | Route::get('messages', [MsgAnswersController::class, 'messages'])->name('messages'); |
274 | // кабинет - просмотр сообщения чужого (чтение) | 274 | // кабинет - просмотр сообщения чужого (чтение) |
275 | Route::get('messages/{message}', [MsgAnswersController::class, 'read_message'])->name('read-message'); | 275 | Route::get('messages/{message}', [MsgAnswersController::class, 'read_message'])->name('read-message'); |
276 | 276 | ||
277 | // кабинет - сообщения (админские) | 277 | // кабинет - сообщения (админские) |
278 | Route::get('admin-messages', [MsgAnswersController::class, 'admin_messages'])->name('admin-messages'); | 278 | Route::get('admin-messages', [MsgAnswersController::class, 'admin_messages'])->name('admin-messages'); |
279 | // кабинет - сообщения (админские) | 279 | // кабинет - сообщения (админские) |
280 | Route::post('admin-messages', [MsgAnswersController::class, 'admin_messages_post'])->name('admin-messages-post'); | 280 | Route::post('admin-messages', [MsgAnswersController::class, 'admin_messages_post'])->name('admin-messages-post'); |
281 | // кабинет - sql - конструкция запросов | 281 | // кабинет - sql - конструкция запросов |
282 | Route::get('messages-sql', [MsgAnswersController::class, 'messages_sql'])->name('messages-sql'); | 282 | Route::get('messages-sql', [MsgAnswersController::class, 'messages_sql'])->name('messages-sql'); |
283 | 283 | ||
284 | /* | 284 | /* |
285 | * Расписанный подход в описании каждой директорий групп пользователей. | 285 | * Расписанный подход в описании каждой директорий групп пользователей. |
286 | */ | 286 | */ |
287 | // кабинет - группы пользователей | 287 | // кабинет - группы пользователей |
288 | Route::get('groups', [GroupsController::class, 'index'])->name('groups'); | 288 | Route::get('groups', [GroupsController::class, 'index'])->name('groups'); |
289 | // кабинет - добавление форма группы пользователей | 289 | // кабинет - добавление форма группы пользователей |
290 | Route::get('groups/add', [GroupsController::class, 'add'])->name('add-group'); | 290 | Route::get('groups/add', [GroupsController::class, 'add'])->name('add-group'); |
291 | // кабинет - сохранение формы группы пользователей | 291 | // кабинет - сохранение формы группы пользователей |
292 | Route::post('groups/add', [GroupsController::class, 'store'])->name('add-group-store'); | 292 | Route::post('groups/add', [GroupsController::class, 'store'])->name('add-group-store'); |
293 | // кабинет - редактирование форма группы пользователей | 293 | // кабинет - редактирование форма группы пользователей |
294 | Route::get('groups/edit/{group}', [GroupsController::class, 'edit'])->name('edit-group'); | 294 | Route::get('groups/edit/{group}', [GroupsController::class, 'edit'])->name('edit-group'); |
295 | // кабинет - сохранение редактированной формы группы пользователей | 295 | // кабинет - сохранение редактированной формы группы пользователей |
296 | Route::post('groups/edit/{group}', [GroupsController::class, 'update'])->name('update-group'); | 296 | Route::post('groups/edit/{group}', [GroupsController::class, 'update'])->name('update-group'); |
297 | // кабинет - удаление группы пользователей | 297 | // кабинет - удаление группы пользователей |
298 | Route::delete('groups/delete/{group}', [GroupsController::class, 'destroy'])->name('delete-group'); | 298 | Route::delete('groups/delete/{group}', [GroupsController::class, 'destroy'])->name('delete-group'); |
299 | 299 | ||
300 | 300 | ||
301 | // кабинет - список админов | 301 | // кабинет - список админов |
302 | Route::get('group-admin', [AdminController::class, 'index'])->name('group-admin'); | 302 | Route::get('group-admin', [AdminController::class, 'index'])->name('group-admin'); |
303 | 303 | ||
304 | // справочник Позиции | 304 | // справочник Позиции |
305 | Route::get('positions', [AdminController::class, 'position'])->name('position'); | 305 | Route::get('positions', [AdminController::class, 'position'])->name('position'); |
306 | Route::get('positions/add', [AdminController::class, 'position_add'])->name('add-position'); | 306 | Route::get('positions/add', [AdminController::class, 'position_add'])->name('add-position'); |
307 | Route::post('positions/add', [AdminController::class, 'position_add_save'])->name('add-save-position'); | 307 | Route::post('positions/add', [AdminController::class, 'position_add_save'])->name('add-save-position'); |
308 | Route::get('positions/edit/{position}', [AdminController::class, 'position_edit'])->name('edit-position'); | 308 | Route::get('positions/edit/{position}', [AdminController::class, 'position_edit'])->name('edit-position'); |
309 | Route::post('position/edit/{position}', [AdminController::class, 'position_update'])->name('update-position'); | 309 | Route::post('position/edit/{position}', [AdminController::class, 'position_update'])->name('update-position'); |
310 | Route::get('position/delete/{position}', [AdminController::class, 'position_delete'])->name('delete-position'); | 310 | Route::get('position/delete/{position}', [AdminController::class, 'position_delete'])->name('delete-position'); |
311 | 311 | ||
312 | /////редактор////// кабинет - редактор сайта//////////////////////// | 312 | /////редактор////// кабинет - редактор сайта//////////////////////// |
313 | Route::get('editor-site', function() { | 313 | Route::get('editor-site', function() { |
314 | return view('admin.editor.index'); | 314 | return view('admin.editor.index'); |
315 | })->name('editor-site'); | 315 | })->name('editor-site'); |
316 | 316 | ||
317 | 317 | ||
318 | // кабинет - редактор шапки-футера сайта | 318 | // кабинет - редактор шапки-футера сайта |
319 | Route::get('edit-blocks', [CompanyController::class, 'editblocks'])->name('edit-blocks'); | 319 | Route::get('edit-blocks', [CompanyController::class, 'editblocks'])->name('edit-blocks'); |
320 | Route::get('edit-bloks/add', [CompanyController::class, 'editblock_add'])->name('add-block'); | 320 | Route::get('edit-bloks/add', [CompanyController::class, 'editblock_add'])->name('add-block'); |
321 | Route::post('edit-bloks/add', [CompanyController::class, 'editblock_store'])->name('add-block-store'); | 321 | Route::post('edit-bloks/add', [CompanyController::class, 'editblock_store'])->name('add-block-store'); |
322 | Route::get('edit-bloks/ajax', [CompanyController::class, 'editblock_ajax'])->name('ajax.block'); | 322 | Route::get('edit-bloks/ajax', [CompanyController::class, 'editblock_ajax'])->name('ajax.block'); |
323 | Route::get('edit-bloks/edit/{block}', [CompanyController::class, 'editblock_edit'])->name('edit-block'); | 323 | Route::get('edit-bloks/edit/{block}', [CompanyController::class, 'editblock_edit'])->name('edit-block'); |
324 | Route::put('edit-bloks/edit/{block}', [CompanyController::class, 'editblock_update'])->name('update-block'); | 324 | Route::put('edit-bloks/edit/{block}', [CompanyController::class, 'editblock_update'])->name('update-block'); |
325 | Route::delete('edit-bloks/delete/{block}', [CompanyController::class, 'editblock_destroy'])->name('delete-block'); | 325 | Route::delete('edit-bloks/delete/{block}', [CompanyController::class, 'editblock_destroy'])->name('delete-block'); |
326 | 326 | ||
327 | 327 | ||
328 | // кабинет - редактор должности на главной | 328 | // кабинет - редактор должности на главной |
329 | Route::get('job-titles-main', [CompanyController::class, 'job_titles_main'])->name('job-titles-main'); | 329 | Route::get('job-titles-main', [CompanyController::class, 'job_titles_main'])->name('job-titles-main'); |
330 | 330 | ||
331 | // кабинет - счетчики на главной | 331 | // кабинет - счетчики на главной |
332 | Route::get('counters-main', [CompanyController::class, 'counters_main'])->name('counters-main'); | 332 | Route::get('counters-main', [CompanyController::class, 'counters_main'])->name('counters-main'); |
333 | Route::post('counters-main/edit/{name}', [CompanyController::class, 'counters_main_update'])->name('counters-main-update'); | 333 | Route::post('counters-main/edit/{name}', [CompanyController::class, 'counters_main_update'])->name('counters-main-update'); |
334 | 334 | ||
335 | // кабинет - редактор работодатели на главной | 335 | // кабинет - редактор работодатели на главной |
336 | Route::get('employers-main', [CompanyController::class, 'employers_main'])->name('employers-main'); | 336 | Route::get('employers-main', [CompanyController::class, 'employers_main'])->name('employers-main'); |
337 | 337 | ||
338 | 338 | ||
339 | // кабинет - редактор seo-сайта | 339 | // кабинет - редактор seo-сайта |
340 | Route::get('editor-seo', [CompanyController::class, 'editor_seo'])->name('editor-seo'); | 340 | Route::get('editor-seo', [CompanyController::class, 'editor_seo'])->name('editor-seo'); |
341 | Route::get('editor-seo/add', [CompanyController::class, 'editor_seo_add'])->name('add-seo'); | 341 | Route::get('editor-seo/add', [CompanyController::class, 'editor_seo_add'])->name('add-seo'); |
342 | Route::post('editor-seo/add', [CompanyController::class, 'editor_seo_store'])->name('add-seo-store'); | 342 | Route::post('editor-seo/add', [CompanyController::class, 'editor_seo_store'])->name('add-seo-store'); |
343 | Route::get('editor-seo/ajax', [CompanyController::class, 'editor_seo_ajax'])->name('ajax.seo'); | 343 | Route::get('editor-seo/ajax', [CompanyController::class, 'editor_seo_ajax'])->name('ajax.seo'); |
344 | Route::get('editor-seo/edit/{page}', [CompanyController::class, 'editor_seo_edit'])->name('edit-seo'); | 344 | Route::get('editor-seo/edit/{page}', [CompanyController::class, 'editor_seo_edit'])->name('edit-seo'); |
345 | Route::put('editor-seo/edit/{page}', [CompanyController::class, 'editor_seo_update'])->name('update-seo'); | 345 | Route::put('editor-seo/edit/{page}', [CompanyController::class, 'editor_seo_update'])->name('update-seo'); |
346 | Route::delete('editor-seo/delete/{page}', [CompanyController::class, 'editor_seo_destroy'])->name('delete-seo'); | 346 | Route::delete('editor-seo/delete/{page}', [CompanyController::class, 'editor_seo_destroy'])->name('delete-seo'); |
347 | 347 | ||
348 | 348 | ||
349 | // кабинет - редактор страниц | 349 | // кабинет - редактор страниц |
350 | Route::get('editor-pages', [CompanyController::class, 'editor_pages'])->name('editor-pages'); | 350 | Route::get('editor-pages', [CompanyController::class, 'editor_pages'])->name('editor-pages'); |
351 | // кабинет - добавление страницы | 351 | // кабинет - добавление страницы |
352 | Route::get('editor-pages/add', [CompanyController::class, 'editor_pages_add'])->name('add-page'); | 352 | Route::get('editor-pages/add', [CompanyController::class, 'editor_pages_add'])->name('add-page'); |
353 | // кабинет - сохранение формы страницы | 353 | // кабинет - сохранение формы страницы |
354 | Route::post('editor-page/add', [CompanyController::class, 'editor_pages_store'])->name('add-page-store'); | 354 | Route::post('editor-page/add', [CompanyController::class, 'editor_pages_store'])->name('add-page-store'); |
355 | // кабинет - редактирование форма страницы | 355 | // кабинет - редактирование форма страницы |
356 | Route::get('editor-pages/edit/{page}', [CompanyController::class, 'editor_pages_edit'])->name('edit-page'); | 356 | Route::get('editor-pages/edit/{page}', [CompanyController::class, 'editor_pages_edit'])->name('edit-page'); |
357 | // кабинет - сохранение редактированной формы страницы | 357 | // кабинет - сохранение редактированной формы страницы |
358 | Route::put('editor-pages/edit/{page}', [CompanyController::class, 'editor_pages_update'])->name('update-page'); | 358 | Route::put('editor-pages/edit/{page}', [CompanyController::class, 'editor_pages_update'])->name('update-page'); |
359 | // кабинет - удаление страницы | 359 | // кабинет - удаление страницы |
360 | Route::delete('editor-pages/delete/{page}', [CompanyController::class, 'editor_pages_destroy'])->name('delete-page'); | 360 | Route::delete('editor-pages/delete/{page}', [CompanyController::class, 'editor_pages_destroy'])->name('delete-page'); |
361 | 361 | ||
362 | 362 | ||
363 | // кабинет - реклама сайта | 363 | // кабинет - реклама сайта |
364 | Route::get('reclames', [CompanyController::class, 'reclames'])->name('reclames'); | 364 | Route::get('reclames', [CompanyController::class, 'reclames'])->name('reclames'); |
365 | Route::get('reclames/add', [CompanyController::class, 'reclames_add'])->name('add-reclames'); | 365 | Route::get('reclames/add', [CompanyController::class, 'reclames_add'])->name('add-reclames'); |
366 | Route::post('reclames/add', [CompanyController::class, 'reclames_store'])->name('add-reclames-store'); | 366 | Route::post('reclames/add', [CompanyController::class, 'reclames_store'])->name('add-reclames-store'); |
367 | Route::get('reclames/edit/{reclame}', [CompanyController::class, 'reclames_edit'])->name('edit-reclames'); | 367 | Route::get('reclames/edit/{reclame}', [CompanyController::class, 'reclames_edit'])->name('edit-reclames'); |
368 | Route::put('reclames/edit/{reclame}', [CompanyController::class, 'reclames_update'])->name('update-reclames'); | 368 | Route::put('reclames/edit/{reclame}', [CompanyController::class, 'reclames_update'])->name('update-reclames'); |
369 | Route::delete('reclames/delete/{reclame}', [CompanyController::class, 'reclames_destroy'])->name('delete-reclames'); | 369 | Route::delete('reclames/delete/{reclame}', [CompanyController::class, 'reclames_destroy'])->name('delete-reclames'); |
370 | //////////////////////////////////////////////////////////////////////// | 370 | //////////////////////////////////////////////////////////////////////// |
371 | 371 | ||
372 | 372 | ||
373 | // кабинет - отзывы о работодателе для модерации | 373 | // кабинет - отзывы о работодателе для модерации |
374 | Route::get('answers', [EmployersController::class, 'answers'])->name('answers'); | 374 | Route::get('answers', [EmployersController::class, 'answers'])->name('answers'); |
375 | 375 | ||
376 | // Общая страница статистики | 376 | // Общая страница статистики |
377 | Route::get('statics', function () { | 377 | Route::get('statics', function () { |
378 | return view('admin.static.index'); | 378 | return view('admin.static.index'); |
379 | })->name('statics'); | 379 | })->name('statics'); |
380 | 380 | ||
381 | // кабинет - статистика работников | 381 | // кабинет - статистика работников |
382 | Route::get('static-workers', [WorkersController::class, 'static_workers'])->name('static-workers'); | 382 | Route::get('static-workers', [WorkersController::class, 'static_workers'])->name('static-workers'); |
383 | 383 | ||
384 | // кабинет - статистика вакансий работодателя | 384 | // кабинет - статистика вакансий работодателя |
385 | Route::get('static-ads', [EmployersController::class, 'static_ads'])->name('static-ads'); | 385 | Route::get('static-ads', [EmployersController::class, 'static_ads'])->name('static-ads'); |
386 | 386 | ||
387 | // кабинет - справочник - блоки информации (дипломы и документы) для резюме работника | 387 | // кабинет - справочник - блоки информации (дипломы и документы) для резюме работника |
388 | /* | 388 | /* |
389 | * CRUD-операции над справочником дипломы и документы | 389 | * CRUD-операции над справочником дипломы и документы |
390 | */ | 390 | */ |
391 | //Route::get('infobloks', [WorkersController::class, 'infobloks'])->name('infobloks'); | 391 | //Route::get('infobloks', [WorkersController::class, 'infobloks'])->name('infobloks'); |
392 | Route::resource('infobloks', InfoBloksController::class, ['except' => ['show']]); | 392 | Route::resource('infobloks', InfoBloksController::class, ['except' => ['show']]); |
393 | 393 | ||
394 | // кабинет - роли пользователя | 394 | // кабинет - роли пользователя |
395 | Route::get('roles', [UsersController::class, 'roles'])->name('roles'); | 395 | Route::get('roles', [UsersController::class, 'roles'])->name('roles'); |
396 | 396 | ||
397 | Route::get('admin_roles', [UsersController::class, 'admin_roles'])->name('admin_roles'); | 397 | Route::get('admin_roles', [UsersController::class, 'admin_roles'])->name('admin_roles'); |
398 | 398 | ||
399 | Route::get('logs', function() { | 399 | Route::get('logs', function() { |
400 | $files = Storage::files('logs/laravel.log'); | 400 | $files = Storage::files('logs/laravel.log'); |
401 | })->name('logs'); | 401 | })->name('logs'); |
402 | }); | 402 | }); |
403 | 403 | ||
404 | // Инструментальные страницы | 404 | // Инструментальные страницы |
405 | Route::post('ckeditor/upload', [CKEditorController::class, 'upload'])->name('ckeditor.image-upload'); | 405 | Route::post('ckeditor/upload', [CKEditorController::class, 'upload'])->name('ckeditor.image-upload'); |
406 | 406 | ||
407 | Route::get('redis/', [PagesController::class, 'redis'])->name('redis'); | 407 | Route::get('redis/', [PagesController::class, 'redis'])->name('redis'); |
408 | 408 | ||
409 | Route::get('excel/', [PagesController::class, 'excel'])->name('excel'); | 409 | Route::get('excel/', [PagesController::class, 'excel'])->name('excel'); |
410 | 410 | ||
411 | // Страницы с произвольным контентом | 411 | // Страницы с произвольным контентом |
412 | Route::get('pages/{pages:slug}', [PagesController::class, 'pages'])->name('page'); | 412 | Route::get('pages/{pages:slug}', [PagesController::class, 'pages'])->name('page'); |
413 | 413 | ||
414 | // Форма обратной связи | 414 | // Форма обратной связи |
415 | Route::post('form_feedback', [PagesController::class, 'form_feedback'])->name('form_feedback'); | 415 | Route::post('form_feedback', [PagesController::class, 'form_feedback'])->name('form_feedback'); |
416 | 416 | ||
417 | // Публичные страницы соискателя | 417 | // Публичные страницы соискателя |
418 | Route::get('workers/profile/{worker}', [WorkerController::class, 'profile'])->name('worker_page'); | 418 | Route::get('workers/profile/{worker}', [WorkerController::class, 'profile'])->name('worker_page'); |
419 | 419 | ||
420 | //Страница вакансии | 420 | //Страница вакансии |
421 | Route::get('employer/ad/{ad_employer}', [AdEmployerController::class, 'ad_employer'])->name('ad-employer'); | 421 | Route::get('employer/ad/{ad_employer}', [AdEmployerController::class, 'ad_employer'])->name('ad-employer'); |
422 | 422 | ||
423 | //Вакансии | 423 | //Вакансии |
424 | Route::get('vacancies', [MainController::class, 'vacancies'])->name('vacancies'); | 424 | Route::get('vacancies', [MainController::class, 'vacancies'])->name('vacancies'); |
425 | 425 | ||
426 | //Вакансии поиск на главной | 426 | //Вакансии поиск на главной |
427 | Route::get('search-vacancies', [MainController::class, 'search_vacancies'])->name('search_vacancies'); | 427 | Route::get('search-vacancies', [MainController::class, 'search_vacancies'])->name('search_vacancies'); |
428 | 428 | ||
429 | //Вакансии категория детальная | 429 | //Вакансии категория детальная |
430 | Route::get('list-vacancies/{categories?}', [MainController::class, 'list_vacancies'])->name('list-vacancies'); | 430 | Route::get('list-vacancies/{categories?}', [MainController::class, 'list_vacancies'])->name('list-vacancies'); |
431 | 431 | ||
432 | // Лайк вакансии | 432 | // Лайк вакансии |
433 | Route::get('like-vacancy', [MainController::class, 'like_vacancy'])->name('like-vacancy'); | 433 | Route::get('like-vacancy', [MainController::class, 'like_vacancy'])->name('like-vacancy'); |
434 | 434 | ||
435 | //Детальная страница вакансии - работодателя | 435 | //Детальная страница вакансии - работодателя |
436 | Route::get('vacancie/{vacancy}', [FrontEmployersController::class, 'vacancie'])->name('vacancie'); | 436 | Route::get('vacancie/{vacancy}', [FrontEmployersController::class, 'vacancie'])->name('vacancie'); |
437 | 437 | ||
438 | //Судоходные компании | 438 | //Судоходные компании |
439 | Route::get('shipping-companies', [FrontCompanyController::class, 'shipping_companies'])->name('shipping_companies'); | 439 | Route::get('shipping-companies', [FrontCompanyController::class, 'shipping_companies'])->name('shipping_companies'); |
440 | 440 | ||
441 | //Детальная инфа о компании | 441 | //Детальная инфа о компании |
442 | Route::get('info-company/{company}', [FrontCompanyController::class, 'info_company'])->name('info_company'); | 442 | Route::get('info-company/{company}', [FrontCompanyController::class, 'info_company'])->name('info_company'); |
443 | 443 | ||
444 | //Образование | 444 | //Образование |
445 | Route::get('education', [EducationFrontController::class, 'index'])->name('education'); | 445 | Route::get('education', [EducationFrontController::class, 'index'])->name('education'); |
446 | Route::get('education/{education}', [EducationFrontController::class, 'show'])->name('show_education')->where('education', '[0-9]+');; | 446 | Route::get('education/{education}', [EducationFrontController::class, 'show'])->name('show_education')->where('education', '[0-9]+');; |
447 | 447 | ||
448 | //Новости | 448 | //Новости |
449 | Route::get('news', [MainController::class, 'news'])->name('news'); | 449 | Route::get('news', [MainController::class, 'news'])->name('news'); |
450 | Route::get('detail-new/{new}', [MainController::class, 'detail_new'])->name('detail_new'); | 450 | Route::get('detail-new/{new}', [MainController::class, 'detail_new'])->name('detail_new'); |
451 | 451 | ||
452 | //Контакты | 452 | //Контакты |
453 | Route::get('contacts', [MainController::class, 'contacts'])->name('contacts'); | 453 | Route::get('contacts', [MainController::class, 'contacts'])->name('contacts'); |
454 | 454 | ||
455 | //База резюме | 455 | //База резюме |
456 | Route::get('bd-resume', [WorkerController::class, 'bd_resume'])->name('bd_resume'); | 456 | Route::get('bd-resume', [WorkerController::class, 'bd_resume'])->name('bd_resume'); |
457 | Route::get('bd_resume_danger', function(){ | 457 | Route::get('bd_resume_danger', function(){ |
458 | return view('employers.bd_resume_danger'); | 458 | return view('employers.bd_resume_danger'); |
459 | })->name('bd_resume_danger'); | 459 | })->name('bd_resume_danger'); |
460 | 460 | ||
461 | Route::get('like-resume', [MainController::class, 'like_worker'])->name('like_resume'); | 461 | Route::get('like-resume', [MainController::class, 'like_worker'])->name('like_resume'); |
462 | 462 | ||
463 | //Анкета соискателя | 463 | //Анкета соискателя |
464 | Route::get('resume-profile/{worker}', [WorkerController::class, 'resume_profile'])->name('resume_profile'); | 464 | Route::get('resume-profile/{worker}', [WorkerController::class, 'resume_profile'])->name('resume_profile'); |
465 | 465 | ||
466 | //Скачать резюме | 466 | //Скачать резюме |
467 | Route::get('resume-download/{worker}', [WorkerController::class, 'resume_download'])->name('resume_download'); | 467 | Route::get('resume-download/{worker}', [WorkerController::class, 'resume_download'])->name('resume_download'); |
468 | Route::get('resume-download/all', [WorkerController::class, 'resume_download_all'])->name('resume_download_all2'); | 468 | Route::get('resume-download/all', [WorkerController::class, 'resume_download_all'])->name('resume_download_all2'); |
469 | Route::get('resume-download', [WorkerController::class, 'resume_download_all'])->name('resume_download_all'); | 469 | Route::get('resume-download', [WorkerController::class, 'resume_download_all'])->name('resume_download_all'); |
470 | 470 | ||
471 | 471 | ||
472 | //Вход в кабинет | 472 | //Вход в кабинет |
473 | Route::get('login', [MainController::class, 'input_login'])->name('login'); | 473 | Route::get('login', [MainController::class, 'input_login'])->name('login'); |
474 | 474 | ||
475 | // Выход из кабинета | 475 | // Выход из кабинета |
476 | Route::get('logout', [EmployerController::class, 'logout'])->name('logout'); | 476 | Route::get('logout', [EmployerController::class, 'logout'])->name('logout'); |
477 | 477 | ||
478 | Route::get( 'register_worker', [WorkerController::class, 'register_worker'])->name('register_worker'); | 478 | Route::get( 'register_worker', [WorkerController::class, 'register_worker'])->name('register_worker'); |
479 | Route::get('register_employer', [EmployerController::class, 'register_employer'])->name('register_employer'); | 479 | Route::get('register_employer', [EmployerController::class, 'register_employer'])->name('register_employer'); |
480 | 480 | ||
481 | //восстановление пароля | 481 | //восстановление пароля |
482 | Route::get('repair-password', [MainController::class, 'repair_password'])->name('repair_password'); | 482 | Route::get('repair-password', [MainController::class, 'repair_password'])->name('repair_password'); |
483 | // Звезда сообщения | 483 | // Звезда сообщения |
484 | Route::post('stars-answer', [WorkerController::class, 'stars_answer'])->name('stars_answer'); | 484 | Route::post('stars-answer', [WorkerController::class, 'stars_answer'])->name('stars_answer'); |
485 | 485 | ||
486 | // Борьба | 486 | // Борьба |
487 | Route::get('clear_cookie', function() { | 487 | Route::get('clear_cookie', function() { |
488 | \App\Classes\Cookies_vacancy::clear_vacancy(); | 488 | \App\Classes\Cookies_vacancy::clear_vacancy(); |
489 | return redirect()->route('index'); | 489 | return redirect()->route('index'); |
490 | })->name('clear_cookie'); | 490 | })->name('clear_cookie'); |
491 | 491 | ||
492 | Route::get('cookies', function() { | 492 | Route::get('cookies', function() { |
493 | return view('cookies'); | 493 | return view('cookies'); |
494 | })->name('cookies'); | 494 | })->name('cookies'); |
495 | 495 | ||
496 | // Личный кабинет работник | 496 | // Личный кабинет работник |
497 | Route::group([ | 497 | Route::group([ |
498 | 'as' => 'worker.', // имя маршрута, например auth.index | 498 | 'as' => 'worker.', // имя маршрута, например auth.index |
499 | 'prefix' => 'worker', // префикс маршрута, например auth/index | 499 | 'prefix' => 'worker', // префикс маршрута, например auth/index |
500 | 'middleware' => ['auth'], ['is_worker'], | 500 | 'middleware' => ['auth'], ['is_worker'], |
501 | ], function() { | 501 | ], function() { |
502 | // Формы редактирования | 502 | // Формы редактирования |
503 | Route::get('cabinet/basic_information', [WorkerController::class, 'basic_information'])->name('basic_information'); | 503 | Route::get('cabinet/basic_information', [WorkerController::class, 'basic_information'])->name('basic_information'); |
504 | Route::get('cabinet/additional_documents', [WorkerController::class, 'additional_documents'])->name('additional_documents'); | 504 | Route::get('cabinet/additional_documents', [WorkerController::class, 'additional_documents'])->name('additional_documents'); |
505 | 505 | ||
506 | // 1 страница - Моя анкета | 506 | // 1 страница - Моя анкета |
507 | Route::get('cabinet', [WorkerController::class, 'cabinet'])->name('cabinet'); | 507 | Route::get('cabinet', [WorkerController::class, 'cabinet'])->name('cabinet'); |
508 | Route::post('cabinet/{worker}', [WorkerController::class, 'cabinet_save'])->name('cabinet_save'); | 508 | Route::post('cabinet/{worker}', [WorkerController::class, 'cabinet_save'])->name('cabinet_save'); |
509 | Route::post('cabinet/cabinet_save_foto/{worker}', [WorkerController::class, 'cabinet_save_foto'])->name('cabinet_save_foto'); | 509 | Route::post('cabinet/cabinet_save_foto/{worker}', [WorkerController::class, 'cabinet_save_foto'])->name('cabinet_save_foto'); |
510 | 510 | ||
511 | 511 | ||
512 | // 2 страница - Сообщения | 512 | // 2 страница - Сообщения |
513 | Route::get('cabinet/messages/{type_message}', [WorkerController::class, 'messages'])->name('messages'); | 513 | Route::get('cabinet/messages/{type_message}', [WorkerController::class, 'messages'])->name('messages'); |
514 | Route::get('cabinet/dialog/{user1}/{user2}', [WorkerController::class, 'dialog'])->name('dialog'); | 514 | Route::get('cabinet/dialog/{user1}/{user2}', [WorkerController::class, 'dialog'])->name('dialog'); |
515 | // 3 страница - Избранные вакансии | 515 | // 3 страница - Избранные вакансии |
516 | Route::get('cabinet/favorite', [WorkerController::class, 'favorite'])->name('favorite'); | 516 | Route::get('cabinet/favorite', [WorkerController::class, 'favorite'])->name('favorite'); |
517 | // Продолжение борьбы против колорадов - избранные вакансии | 517 | // Продолжение борьбы против колорадов - избранные вакансии |
518 | Route::get('кабинет/favorite', [WorkerController::class, 'colorado'])->name('colorado'); | 518 | Route::get('кабинет/favorite', [WorkerController::class, 'colorado'])->name('colorado'); |
519 | 519 | ||
520 | // 4 страница - Сменить пароль | 520 | // 4 страница - Сменить пароль |
521 | Route::get('кабинет/new_password', [WorkerController::class, 'new_password'])->name('new_password'); | 521 | Route::get('кабинет/new_password', [WorkerController::class, 'new_password'])->name('new_password'); |
522 | Route::post('кабинет/new_password/save', [WorkerController::class, 'save_new_password'])->name('save_new_password'); | 522 | Route::post('кабинет/new_password/save', [WorkerController::class, 'save_new_password'])->name('save_new_password'); |
523 | 523 | ||
524 | // 5 страница - Удалить профиль | 524 | // 5 страница - Удалить профиль |
525 | Route::get('кабинет/delete_profile', [WorkerController::class, 'delete_profile'])->name('delete_profile'); | 525 | Route::get('кабинет/delete_profile', [WorkerController::class, 'delete_profile'])->name('delete_profile'); |
526 | Route::post('кабинет/delete_profile/delete', [WorkerController::class, 'delete_profile_result'])->name('deleteprofile_result'); | 526 | Route::post('кабинет/delete_profile/delete', [WorkerController::class, 'delete_profile_result'])->name('deleteprofile_result'); |
527 | 527 | ||
528 | // Резюме -pdf | 528 | // Резюме -pdf |
529 | Route::get('кабинет/download/{worker}', [WorkerController::class, 'download'])->name('download'); | 529 | Route::get('кабинет/download/{worker}', [WorkerController::class, 'download'])->name('download'); |
530 | 530 | ||
531 | // Поднятие анкеты | 531 | // Поднятие анкеты |
532 | Route::get('кабинет/up/{worker}', [WorkerController::class, 'up'])->name('up'); | 532 | Route::get('кабинет/up/{worker}', [WorkerController::class, 'up'])->name('up'); |
533 | 533 | ||
534 | Route::post('test123', [WorkerController::class, 'test123'])->name('test123'); | 534 | Route::post('test123', [WorkerController::class, 'test123'])->name('test123'); |
535 | 535 | ||
536 | // Добавление сертификата | 536 | // Добавление сертификата |
537 | Route::get('кабинет/new_sertificate/{worker}', [WorkerController::class, 'new_sertificate'])->name('new_sertificate'); | 537 | Route::get('кабинет/new_sertificate/{worker}', [WorkerController::class, 'new_sertificate'])->name('new_sertificate'); |
538 | Route::get('кабинет/add_sertificate', [WorkerController::class, 'add_serificate'])->name('add_serificate'); | 538 | Route::get('кабинет/add_sertificate', [WorkerController::class, 'add_serificate'])->name('add_serificate'); |
539 | Route::get('кабинет/edit_sertificate/{worker}/{doc}', [WorkerController::class, 'edit_sertificate'])->name('edit_sertificate'); | 539 | Route::get('кабинет/edit_sertificate/{worker}/{doc}', [WorkerController::class, 'edit_sertificate'])->name('edit_sertificate'); |
540 | Route::get('кабинет/edit_sertificate/{doc}', [WorkerController::class, 'update_serificate'])->name('update_serificate'); | 540 | Route::get('кабинет/edit_sertificate/{doc}', [WorkerController::class, 'update_serificate'])->name('update_serificate'); |
541 | Route::get('кабинет/delete_sertificate/{doc}', [WorkerController::class, 'delete_sertificate'])->name('delete_sertificate'); | 541 | Route::get('кабинет/delete_sertificate/{doc}', [WorkerController::class, 'delete_sertificate'])->name('delete_sertificate'); |
542 | 542 | ||
543 | // Добавление предыдущих контактов компании | 543 | // Добавление предыдущих контактов компании |
544 | Route::get('кабинет/prev_company/{worker}', [WorkerController::class, 'new_prev_company'])->name('new_prev_company'); | 544 | Route::get('кабинет/prev_company/{worker}', [WorkerController::class, 'new_prev_company'])->name('new_prev_company'); |
545 | Route::get('кабинет/add_prev_company', [WorkerController::class, 'add_prev_company'])->name('add_prev_company'); | 545 | Route::get('кабинет/add_prev_company', [WorkerController::class, 'add_prev_company'])->name('add_prev_company'); |
546 | Route::get('кабинет/edit_prev_company/{doc}/{worker}', [WorkerController::class, 'edit_prev_company'])->name('edit_prev_company'); | 546 | Route::get('кабинет/edit_prev_company/{doc}/{worker}', [WorkerController::class, 'edit_prev_company'])->name('edit_prev_company'); |
547 | Route::post('кабинет/update_prev_company/{doc}', [WorkerController::class, 'update_prev_company'])->name('update_prev_company'); | 547 | Route::post('кабинет/update_prev_company/{doc}', [WorkerController::class, 'update_prev_company'])->name('update_prev_company'); |
548 | Route::get('кабинет/delete_prev_company/{doc}', [WorkerController::class, 'delete_prev_company'])->name('delete_prev_company'); | 548 | Route::get('кабинет/delete_prev_company/{doc}', [WorkerController::class, 'delete_prev_company'])->name('delete_prev_company'); |
549 | 549 | ||
550 | // Добавление документа-диплома | 550 | // Добавление документа-диплома |
551 | Route::get('кабинет/add_diplom/{worker}', [WorkerController::class, 'add_diplom'])->name('add_diplom'); | 551 | Route::get('кабинет/add_diplom/{worker}', [WorkerController::class, 'add_diplom'])->name('add_diplom'); |
552 | Route::post('кабинет/add_diplom', [WorkerController::class, 'add_diplom_save'])->name('dop_info_save'); | 552 | Route::post('кабинет/add_diplom', [WorkerController::class, 'add_diplom_save'])->name('dop_info_save'); |
553 | Route::put('кабинет/edit_diploms/{worker}', [WorkerController::class, 'edit_diploms'])->name('edit_diploms'); | ||
553 | Route::get('кабинет/delete_ad_diplom/{worker}', [WorkerController::class, 'delete_add_diplom'])->name('delete_add_diplom'); | 554 | Route::get('кабинет/delete_ad_diplom/{worker}', [WorkerController::class, 'delete_add_diplom'])->name('delete_add_diplom'); |
554 | 555 | ||
555 | // Добавление стандартного диплома | 556 | // Добавление стандартного диплома |
556 | Route::get('кабинет/add_document/{worker}', [WorkerController::class, 'add_document'])->name('add_document'); | 557 | Route::get('кабинет/add_document/{worker}', [WorkerController::class, 'add_document'])->name('add_document'); |
557 | Route::post('кабинет/add_document/', [WorkerController::class, 'add_document_save'])->name('add_document_save'); | 558 | Route::post('кабинет/add_document/', [WorkerController::class, 'add_document_save'])->name('add_document_save'); |
558 | Route::get('кабинет/edit_document/{doc}/{worker}', [WorkerController::class, 'edit_document'])->name('edit_document'); | 559 | Route::get('кабинет/edit_document/{doc}/{worker}', [WorkerController::class, 'edit_document'])->name('edit_document'); |
559 | Route::post('кабинет/edit_document/{doc}', [WorkerController::class, 'edit_document_save'])->name('edit_document_save'); | 560 | Route::post('кабинет/edit_document/{doc}', [WorkerController::class, 'edit_document_save'])->name('edit_document_save'); |
560 | Route::get('кабинет/delete_document/{doc}', [WorkerController::class, 'delete_document'])->name('delete_document'); | 561 | Route::get('кабинет/delete_document/{doc}', [WorkerController::class, 'delete_document'])->name('delete_document'); |
561 | 562 | ||
562 | // Отправка сообщения работодателю от соискателя | 563 | // Отправка сообщения работодателю от соискателя |
563 | Route::post('сообщение/', [WorkerController::class, 'new_message'])->name('new_message'); | 564 | Route::post('сообщение/', [WorkerController::class, 'new_message'])->name('new_message'); |
564 | }); | 565 | }); |
565 | 566 | ||
566 | // Личный кабинет работодателя | 567 | // Личный кабинет работодателя |
567 | Route::group([ | 568 | Route::group([ |
568 | 'as' => 'employer.', // имя маршрута, например auth.index | 569 | 'as' => 'employer.', // имя маршрута, например auth.index |
569 | 'prefix' => 'employer', // префикс маршрута, например auth/index | 570 | 'prefix' => 'employer', // префикс маршрута, например auth/index |
570 | 'middleware' => ['auth'], !['is_worker'], | 571 | 'middleware' => ['auth'], !['is_worker'], |
571 | ], function() { | 572 | ], function() { |
572 | // 0 страница - Личные данные работодателя | 573 | // 0 страница - Личные данные работодателя |
573 | Route::get('cabinet/employer_info', [EmployerController::class, 'employer_info'])->name('employer_info'); | 574 | Route::get('cabinet/employer_info', [EmployerController::class, 'employer_info'])->name('employer_info'); |
574 | Route::post('cabinet/employer_info/{user}', [EmployerController::class, 'employer_info_save'])->name('employer_info_save'); | 575 | Route::post('cabinet/employer_info/{user}', [EmployerController::class, 'employer_info_save'])->name('employer_info_save'); |
575 | 576 | ||
576 | // 1 страница - Профиль | 577 | // 1 страница - Профиль |
577 | Route::get('cabinet', [EmployerController::class, 'cabinet'])->name('cabinet'); | 578 | Route::get('cabinet', [EmployerController::class, 'cabinet'])->name('cabinet'); |
578 | Route::post('cabinet/{Employer}', [EmployerController::class, 'cabinet_save'])->name('cabinet_save'); | 579 | Route::post('cabinet/{Employer}', [EmployerController::class, 'cabinet_save'])->name('cabinet_save'); |
579 | Route::post('flot_add_ajax', [EmployerController::class, 'save_add_flot'])->name('save_add_flot'); | 580 | Route::post('flot_add_ajax', [EmployerController::class, 'save_add_flot'])->name('save_add_flot'); |
580 | Route::get('flot_delete_ajax/{Flot}', [EmployerController::class, 'delete_flot'])->name('delete_flot'); | 581 | Route::get('flot_delete_ajax/{Flot}', [EmployerController::class, 'delete_flot'])->name('delete_flot'); |
581 | Route::get('cabinet/flot_edit/{Flot}/{Employer}', [EmployerController::class, 'edit_flot'])->name('edit_flot'); | 582 | Route::get('cabinet/flot_edit/{Flot}/{Employer}', [EmployerController::class, 'edit_flot'])->name('edit_flot'); |
582 | Route::post('cabinet/flot_edit/{Flot}', [EmployerController::class, 'update_flot'])->name('update_flot_save'); | 583 | Route::post('cabinet/flot_edit/{Flot}', [EmployerController::class, 'update_flot'])->name('update_flot_save'); |
583 | Route::get('cabinet/flot', [EmployerController::class, 'slider_flot'])->name('slider_flot'); | 584 | Route::get('cabinet/flot', [EmployerController::class, 'slider_flot'])->name('slider_flot'); |
584 | 585 | ||
585 | // 2 страница - Добавление вакансий | 586 | // 2 страница - Добавление вакансий |
586 | Route::get('cabinet/vacancie', [EmployerController::class, 'cabinet_vacancie'])->name('cabinet_vacancie'); | 587 | Route::get('cabinet/vacancie', [EmployerController::class, 'cabinet_vacancie'])->name('cabinet_vacancie'); |
587 | Route::post('vacancie', [EmployerController::class, 'cabinet_vacancy_save1'])->name('vac_save'); | 588 | Route::post('vacancie', [EmployerController::class, 'cabinet_vacancy_save1'])->name('vac_save'); |
588 | Route::get('cabinet/vacancie_danger', [EmployerController::class, 'cabinet_vacancie_danger'])->name('cabinet_vacancie_danger'); | 589 | Route::get('cabinet/vacancie_danger', [EmployerController::class, 'cabinet_vacancie_danger'])->name('cabinet_vacancie_danger'); |
589 | 590 | ||
590 | 591 | ||
591 | Route::get('selected_people', [EmployerController::class, 'selected_people'])->name('selected_people'); | 592 | Route::get('selected_people', [EmployerController::class, 'selected_people'])->name('selected_people'); |
592 | 593 | ||
593 | // 3 страница - Мои вакансии | 594 | // 3 страница - Мои вакансии |
594 | Route::get('cabinet/vacancy_list', [EmployerController::class, 'vacancy_list'])->name('vacancy_list'); | 595 | Route::get('cabinet/vacancy_list', [EmployerController::class, 'vacancy_list'])->name('vacancy_list'); |
595 | Route::get('cabinet/vacancy/{ad_employer}', [EmployerController::class, 'vacancy_edit'])->name('vacancy_edit'); | 596 | Route::get('cabinet/vacancy/{ad_employer}', [EmployerController::class, 'vacancy_edit'])->name('vacancy_edit'); |
596 | Route::get('cabinet/vacancy-delete/{ad_employer}', [EmployerController::class, 'vacancy_delete'])->name('vacancy_delete'); | 597 | Route::get('cabinet/vacancy-delete/{ad_employer}', [EmployerController::class, 'vacancy_delete'])->name('vacancy_delete'); |
597 | Route::get('cabinet/vacancy-up/{ad_employer}', [EmployerController::class, 'vacancy_up'])->name('vacancy_up'); | 598 | Route::get('cabinet/vacancy-up/{ad_employer}', [EmployerController::class, 'vacancy_up'])->name('vacancy_up'); |
598 | Route::get('cabinet/vacancy-eye/{ad_employer}/{status}', [EmployerController::class, 'vacancy_eye'])->name('vacancy_eye'); | 599 | Route::get('cabinet/vacancy-eye/{ad_employer}/{status}', [EmployerController::class, 'vacancy_eye'])->name('vacancy_eye'); |
599 | Route::get('cabinet/vacancy-edit/{ad_employer}', [EmployerController::class, 'vacancy_edit'])->name('vacancy_edit'); | 600 | Route::get('cabinet/vacancy-edit/{ad_employer}', [EmployerController::class, 'vacancy_edit'])->name('vacancy_edit'); |
600 | Route::post('cabinet/vacancy-edit/{ad_employer}', [EmployerController::class, 'vacancy_save_me'])->name('vacancy_save_me'); | 601 | Route::post('cabinet/vacancy-edit/{ad_employer}', [EmployerController::class, 'vacancy_save_me'])->name('vacancy_save_me'); |
601 | 602 | ||
602 | // 4.1Ю. | 603 | // 4.1Ю. |
603 | Route::get('cabinet/ad_jobs/create/{ad_employer}', [Ad_jobsController::class, 'add_job_in_vac'])->name('add_job_in_vac'); | 604 | Route::get('cabinet/ad_jobs/create/{ad_employer}', [Ad_jobsController::class, 'add_job_in_vac'])->name('add_job_in_vac'); |
604 | Route::post('cabinet/ad_jobs/create', [Ad_jobsController::class, 'add_job_in_vac_save'])->name('add_job_in_vac_save'); | 605 | Route::post('cabinet/ad_jobs/create', [Ad_jobsController::class, 'add_job_in_vac_save'])->name('add_job_in_vac_save'); |
605 | Route::get('cabinet/ad_jobs/edit/{ad_job}/{ad_employer}', [Ad_jobsController::class, 'edit_job_in_vac'])->name('edit_job_in_vac'); | 606 | Route::get('cabinet/ad_jobs/edit/{ad_job}/{ad_employer}', [Ad_jobsController::class, 'edit_job_in_vac'])->name('edit_job_in_vac'); |
606 | Route::post('cabinet/ad_jobs/edit/{ad_job}', [Ad_jobsController::class, 'edit_job_in_vac_save'])->name('edit_job_in_vac_save'); | 607 | Route::post('cabinet/ad_jobs/edit/{ad_job}', [Ad_jobsController::class, 'edit_job_in_vac_save'])->name('edit_job_in_vac_save'); |
607 | Route::get('cabinet/ad_jobs/delete/{ad_job}', [Ad_jobsController::class, 'delete_job_in_vac'])->name('delete_job_in_vac'); | 608 | Route::get('cabinet/ad_jobs/delete/{ad_job}', [Ad_jobsController::class, 'delete_job_in_vac'])->name('delete_job_in_vac'); |
608 | 609 | ||
609 | // 4 страница - Отклики на вакансии | 610 | // 4 страница - Отклики на вакансии |
610 | Route::get('cabinet/answers/{employer}', [EmployerController::class, 'answers'])->name('answers'); | 611 | Route::get('cabinet/answers/{employer}', [EmployerController::class, 'answers'])->name('answers'); |
611 | Route::get('cabinet/status/{employer}', [EmployerController::class, 'supple_status2'])->name('supple'); | 612 | Route::get('cabinet/status/{employer}', [EmployerController::class, 'supple_status2'])->name('supple'); |
612 | Route::get('status/{employer}/{ad_response}/{flag}', [EmployerController::class, 'supple_status'])->name('status_msg'); | 613 | Route::get('status/{employer}/{ad_response}/{flag}', [EmployerController::class, 'supple_status'])->name('status_msg'); |
613 | 614 | ||
614 | // 5 страница - Сообщения | 615 | // 5 страница - Сообщения |
615 | Route::get('cabinet/messages/{type_message}', [EmployerController::class, 'messages'])->name('messages'); | 616 | Route::get('cabinet/messages/{type_message}', [EmployerController::class, 'messages'])->name('messages'); |
616 | Route::get('cabinet/dialog/{user1}/{user2}', [EmployerController::class, 'dialog'])->name('dialog'); | 617 | Route::get('cabinet/dialog/{user1}/{user2}', [EmployerController::class, 'dialog'])->name('dialog'); |
617 | Route::post('cabinet/send-message', [EmployerController::class, 'send_message'])->name('send_message'); | 618 | Route::post('cabinet/send-message', [EmployerController::class, 'send_message'])->name('send_message'); |
618 | Route::post('test123', [EmployerController::class, 'test123'])->name('test123'); | 619 | Route::post('test123', [EmployerController::class, 'test123'])->name('test123'); |
619 | 620 | ||
620 | // 6 страница - Избранный | 621 | // 6 страница - Избранный |
621 | Route::get('cabinet/favorites', [EmployerController::class, 'favorites'])->name('favorites'); | 622 | Route::get('cabinet/favorites', [EmployerController::class, 'favorites'])->name('favorites'); |
622 | 623 | ||
623 | //7 страница - База данных | 624 | //7 страница - База данных |
624 | Route::get('cabinet/bd', [EmployerController::class, 'bd'])->name('bd'); | 625 | Route::get('cabinet/bd', [EmployerController::class, 'bd'])->name('bd'); |
625 | 626 | ||
626 | //8 страница - База резюме | 627 | //8 страница - База резюме |
627 | Route::get('cabinet/bd-tupe', [EmployerController::class, 'bd_tupe'])->name('bd-tupe'); | 628 | Route::get('cabinet/bd-tupe', [EmployerController::class, 'bd_tupe'])->name('bd-tupe'); |
628 | 629 | ||
629 | // 9 рассылка сообщений | 630 | // 9 рассылка сообщений |
630 | Route::get('cabinet/send-all-messages', [EmployerController::class, 'send_all_messages'])->name('send_all_messages'); | 631 | Route::get('cabinet/send-all-messages', [EmployerController::class, 'send_all_messages'])->name('send_all_messages'); |
631 | Route::post('cabinet/send-all-messages/send', [EmployerController::class, 'send_all_post'])->name('send_all_post'); | 632 | Route::post('cabinet/send-all-messages/send', [EmployerController::class, 'send_all_post'])->name('send_all_post'); |
632 | 633 | ||
633 | // 10 страница FAQ вопросы | 634 | // 10 страница FAQ вопросы |
634 | Route::get('cabinet/faq', [EmployerController::class, 'faq'])->name('faq'); | 635 | Route::get('cabinet/faq', [EmployerController::class, 'faq'])->name('faq'); |
635 | 636 | ||
636 | // 11 страница - Настройка уведомлений | 637 | // 11 страница - Настройка уведомлений |
637 | Route::get('cabinet/subscribe', [EmployerController::class, 'subscribe'])->name('subscribe'); | 638 | Route::get('cabinet/subscribe', [EmployerController::class, 'subscribe'])->name('subscribe'); |
638 | Route::get('cabinet/subscribe/save', [EmployerController::class, 'save_subscribe'])->name('save_subscribe'); | 639 | Route::get('cabinet/subscribe/save', [EmployerController::class, 'save_subscribe'])->name('save_subscribe'); |
639 | 640 | ||
640 | // 12 страница - Сменить пароль | 641 | // 12 страница - Сменить пароль |
641 | Route::get('cabinet/password-reset', [EmployerController::class, 'password_reset'])->name('password_reset'); | 642 | Route::get('cabinet/password-reset', [EmployerController::class, 'password_reset'])->name('password_reset'); |
642 | Route::get('cabinet/password-reset/new', [EmployerController::class, 'new_password'])->name('new_password'); | 643 | Route::get('cabinet/password-reset/new', [EmployerController::class, 'new_password'])->name('new_password'); |
643 | 644 | ||
644 | // 13 страница - Удаление профиля | 645 | // 13 страница - Удаление профиля |
645 | Route::get('cabinet/delete-people', [EmployerController::class, 'delete_people'])->name('delete_people'); | 646 | Route::get('cabinet/delete-people', [EmployerController::class, 'delete_people'])->name('delete_people'); |
646 | Route::get('cabinet/action-delete-people', [EmployerController::class, 'action_delete_user'])->name('action_delete_user'); | 647 | Route::get('cabinet/action-delete-people', [EmployerController::class, 'action_delete_user'])->name('action_delete_user'); |
647 | Route::get('cabinet/action-ajax-delete-people', [EmployerController::class, 'ajax_delete_user'])->name('ajax_delete_user'); | 648 | Route::get('cabinet/action-ajax-delete-people', [EmployerController::class, 'ajax_delete_user'])->name('ajax_delete_user'); |
648 | 649 | ||
649 | // Отправил сообщение | 650 | // Отправил сообщение |
650 | Route::post('сообщение/', [EmployerController::class, 'new_message'])->name('new_message'); | 651 | Route::post('сообщение/', [EmployerController::class, 'new_message'])->name('new_message'); |
651 | }); | 652 | }); |
652 | 653 | ||
653 | Route::get('TestWorker', [WorkerController::class, 'TestWorker'])->name('TestWorker'); | 654 | Route::get('TestWorker', [WorkerController::class, 'TestWorker'])->name('TestWorker'); |
654 | 655 | ||
655 | 656 |