Commit 7d97dde354d200da694ae162cb6cc39e5754fcea
1 parent
8ec6b44032
Exists in
master
task-132985 minor fixes
Showing 12 changed files with 127 additions and 108 deletions Inline Diff
- app/Console/Commands/DispatchResumeLiftJobCommand.php
- app/Console/Commands/DispatchVacancyLiftJobCommand.php
- app/Events/MessageSended.php
- app/Http/Controllers/EmployerController.php
- app/Http/Controllers/WorkerController.php
- app/Listeners/MessageAutoresponder.php
- app/Models/Message.php
- app/Observers/MessageObserver.php
- app/Providers/EventServiceProvider.php
- public/css/style_may2024.css
- resources/views/employers/vacancy_autolift.blade.php
- resources/views/workers/resume_autolift.blade.php
app/Console/Commands/DispatchResumeLiftJobCommand.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace App\Console\Commands; | 3 | namespace App\Console\Commands; |
4 | 4 | ||
5 | use App\Jobs\LiftVacancyJob; | 5 | use App\Jobs\LiftVacancyJob; |
6 | use App\Jobs\SendVacancyToTelegramJob; | 6 | use App\Jobs\SendVacancyToTelegramJob; |
7 | use App\Models\EmployerAutoliftOption; | 7 | use App\Models\EmployerAutoliftOption; |
8 | use App\Models\WorkerAutoliftOption; | 8 | use App\Models\WorkerAutoliftOption; |
9 | use Illuminate\Console\Command; | 9 | use Illuminate\Console\Command; |
10 | 10 | ||
11 | class DispatchResumeLiftJobCommand extends Command | 11 | class DispatchResumeLiftJobCommand extends Command |
12 | { | 12 | { |
13 | protected $signature ='resume:dispatch'; | 13 | protected $signature ='resume:dispatch'; |
14 | 14 | ||
15 | public function handle() | 15 | public function handle() |
16 | { | 16 | { |
17 | $now = now()->timezone('Europe/Moscow')->format('H:i'); | 17 | $now = now()->timezone('Europe/Moscow')->format('H:i'); |
18 | 18 | ||
19 | $employers = WorkerAutoliftOption::query() | 19 | $workers = WorkerAutoliftOption::query() |
20 | ->where(function ($query) use ($now) { | 20 | ->where(function ($query) use ($now) { |
21 | $query->where('times_per_day', 1) | 21 | $query->where('times_per_day', 1) |
22 | ->where('time_send_first', $now); | 22 | ->where('time_send_first', $now); |
23 | }) | 23 | }) |
24 | ->orWhere(function ($query) use ($now) { | 24 | ->orWhere(function ($query) use ($now) { |
25 | $query->where('times_per_day', 2) | 25 | $query->where('times_per_day', 2) |
26 | ->where('time_send_first', $now) | 26 | ->where(function ($query) use ($now) { |
27 | ->where('time_send_second', $now); | 27 | $query->where('time_send_first', $now) |
28 | ->orWhere('time_send_second', $now); | ||
29 | }); | ||
28 | }) | 30 | }) |
29 | ->orWhere(function ($query) use ($now) { | 31 | ->orWhere(function ($query) use ($now) { |
30 | $query->where('times_per_day', 3) | 32 | $query->where('times_per_day', 3) |
31 | ->where('time_send_first', $now) | 33 | ->where(function ($query) use ($now) { |
32 | ->where('time_send_second', $now) | 34 | $query->where('time_send_first', $now) |
33 | ->where('time_send_third', $now); | 35 | ->orWhere('time_send_second', $now) |
36 | ->orWhere('time_send_third', $now); | ||
37 | }); | ||
38 | |||
34 | }) | 39 | }) |
35 | ->get(); | 40 | ->get(); |
36 | 41 | ||
37 | LiftVacancyJob::dispatch($employers->pluck('employer_id')->toArray()); | 42 | LiftVacancyJob::dispatch($workers->pluck('worker_id')->toArray()); |
38 | 43 | ||
39 | return Command::SUCCESS; | 44 | return Command::SUCCESS; |
40 | } | 45 | } |
41 | } | 46 | } |
42 | 47 |
app/Console/Commands/DispatchVacancyLiftJobCommand.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace App\Console\Commands; | 3 | namespace App\Console\Commands; |
4 | 4 | ||
5 | use App\Jobs\LiftVacancyJob; | 5 | use App\Jobs\LiftVacancyJob; |
6 | use App\Jobs\SendVacancyToTelegramJob; | 6 | use App\Jobs\SendVacancyToTelegramJob; |
7 | use App\Models\EmployerAutoliftOption; | 7 | use App\Models\EmployerAutoliftOption; |
8 | use App\Models\WorkerAutoliftOption; | ||
8 | use Illuminate\Console\Command; | 9 | use Illuminate\Console\Command; |
9 | 10 | ||
10 | class DispatchVacancyLiftJobCommand extends Command | 11 | class DispatchVacancyLiftJobCommand extends Command |
11 | { | 12 | { |
12 | protected $signature ='vacancy:dispatch'; | 13 | protected $signature ='vacancy:dispatch'; |
13 | 14 | ||
14 | public function handle() | 15 | public function handle() |
15 | { | 16 | { |
16 | $now = now()->timezone('Europe/Moscow')->format('H:i'); | 17 | $now = now()->timezone('Europe/Moscow')->format('H:i'); |
17 | 18 | ||
18 | $employers = EmployerAutoliftOption::query() | 19 | $employers = EmployerAutoliftOption::query() |
19 | ->where(function ($query) use ($now) { | 20 | ->where(function ($query) use ($now) { |
20 | $query->where('times_per_day', 1) | 21 | $query->where('times_per_day', 1) |
21 | ->where('time_send_first', $now); | 22 | ->where('time_send_first', $now); |
22 | }) | 23 | }) |
23 | ->orWhere(function ($query) use ($now) { | 24 | ->orWhere(function ($query) use ($now) { |
24 | $query->where('times_per_day', 2) | 25 | $query->where('times_per_day', 2) |
25 | ->where('time_send_first', $now) | 26 | ->where(function ($query) use ($now) { |
26 | ->where('time_send_second', $now); | 27 | $query->where('time_send_first', $now) |
28 | ->orWhere('time_send_second', $now); | ||
29 | }); | ||
27 | }) | 30 | }) |
28 | ->orWhere(function ($query) use ($now) { | 31 | ->orWhere(function ($query) use ($now) { |
29 | $query->where('times_per_day', 3) | 32 | $query->where('times_per_day', 3) |
30 | ->where('time_send_first', $now) | 33 | ->where(function ($query) use ($now) { |
31 | ->where('time_send_second', $now) | 34 | $query->where('time_send_first', $now) |
32 | ->where('time_send_third', $now); | 35 | ->orWhere('time_send_second', $now) |
36 | ->orWhere('time_send_third', $now); | ||
37 | }); | ||
38 | |||
33 | }) | 39 | }) |
34 | ->orWhere('time_send_tg', $now) | 40 | ->orWhere('time_send_tg', $now) |
35 | ->get(); | 41 | ->get(); |
36 | 42 | ||
37 | LiftVacancyJob::dispatch( | 43 | LiftVacancyJob::dispatch( |
38 | $employers->whereNotNull('time_send_first')->pluck('employer_id')->toArray(), | 44 | $employers->whereNotNull('time_send_first')->pluck('employer_id')->toArray(), |
39 | ); | 45 | ); |
40 | 46 | ||
41 | SendVacancyToTelegramJob::dispatch( | 47 | SendVacancyToTelegramJob::dispatch( |
42 | $employers->whereNotNull('time_send_tg')->pluck('employer_id')->toArray() | 48 | $employers->whereNotNull('time_send_tg')->pluck('employer_id')->toArray() |
43 | ); | 49 | ); |
44 | 50 | ||
45 | return Command::SUCCESS; | 51 | return Command::SUCCESS; |
46 | } | 52 | } |
47 | } | 53 | } |
48 | 54 |
app/Events/MessageSended.php
File was created | 1 | <?php | |
2 | |||
3 | namespace App\Events; | ||
4 | |||
5 | use App\Models\Message; | ||
6 | use Illuminate\Broadcasting\InteractsWithSockets; | ||
7 | use Illuminate\Foundation\Events\Dispatchable; | ||
8 | use Illuminate\Queue\SerializesModels; | ||
9 | |||
10 | class MessageSended | ||
11 | { | ||
12 | use Dispatchable, InteractsWithSockets, SerializesModels; | ||
13 | |||
14 | public Message $message; | ||
15 | |||
16 | public function __construct(Message $message) | ||
17 | { | ||
18 | $this->message = $message; | ||
19 | } | ||
20 | } | ||
21 |
app/Http/Controllers/EmployerController.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace App\Http\Controllers; | 3 | namespace App\Http\Controllers; |
4 | 4 | ||
5 | use App\Classes\RusDate; | 5 | use App\Classes\RusDate; |
6 | use App\Classes\Tools; | 6 | use App\Classes\Tools; |
7 | use App\Http\Requests\BaseUser_min_Request; | 7 | use App\Http\Requests\BaseUser_min_Request; |
8 | use App\Http\Requests\FlotRequest; | 8 | use App\Http\Requests\FlotRequest; |
9 | use App\Http\Requests\MessagesRequiest; | 9 | use App\Http\Requests\MessagesRequiest; |
10 | use App\Http\Requests\VacancyRequestEdit; | 10 | use App\Http\Requests\VacancyRequestEdit; |
11 | use App\Mail\MailCreateEmployer; | 11 | use App\Mail\MailCreateEmployer; |
12 | use App\Mail\MailSotrudnichestvo; | 12 | use App\Mail\MailSotrudnichestvo; |
13 | use App\Mail\MassSendingMessages; | 13 | use App\Mail\MassSendingMessages; |
14 | use App\Mail\SendAllMessages; | 14 | use App\Mail\SendAllMessages; |
15 | use App\Models\Ad_employer; | 15 | use App\Models\Ad_employer; |
16 | use App\Models\ad_response; | 16 | use App\Models\ad_response; |
17 | use App\Models\Category; | 17 | use App\Models\Category; |
18 | use App\Models\Chat; | 18 | use App\Models\Chat; |
19 | use App\Models\Employer; | 19 | use App\Models\Employer; |
20 | use App\Models\EmployerAutoliftOption; | 20 | use App\Models\EmployerAutoliftOption; |
21 | use App\Models\Flot; | 21 | use App\Models\Flot; |
22 | use App\Models\Job_title; | 22 | use App\Models\Job_title; |
23 | use App\Models\Like_worker; | 23 | use App\Models\Like_worker; |
24 | use App\Models\Message; | 24 | use App\Models\Message; |
25 | use App\Models\Worker; | 25 | use App\Models\Worker; |
26 | use App\Models\MessagesRequests; | 26 | use App\Models\MessagesRequests; |
27 | use Carbon\Carbon; | 27 | use Carbon\Carbon; |
28 | use Illuminate\Auth\Events\Registered; | 28 | use Illuminate\Auth\Events\Registered; |
29 | use Illuminate\Database\Eloquent\Builder; | 29 | use Illuminate\Database\Eloquent\Builder; |
30 | use Illuminate\Http\RedirectResponse; | 30 | use Illuminate\Http\RedirectResponse; |
31 | use Illuminate\Http\Request; | 31 | use Illuminate\Http\Request; |
32 | use Illuminate\Support\Facades\Auth; | 32 | use Illuminate\Support\Facades\Auth; |
33 | use Illuminate\Support\Facades\Hash; | 33 | use Illuminate\Support\Facades\Hash; |
34 | use Illuminate\Support\Facades\Log; | 34 | use Illuminate\Support\Facades\Log; |
35 | use Illuminate\Support\Facades\Mail; | 35 | use Illuminate\Support\Facades\Mail; |
36 | use Illuminate\Support\Facades\Storage; | 36 | use Illuminate\Support\Facades\Storage; |
37 | use App\Models\User as User_Model; | 37 | use App\Models\User as User_Model; |
38 | use Illuminate\Support\Facades\Validator; | 38 | use Illuminate\Support\Facades\Validator; |
39 | use App\Enums\DbExportColumns; | 39 | use App\Enums\DbExportColumns; |
40 | use Illuminate\View\View; | 40 | use Illuminate\View\View; |
41 | use JsonException; | 41 | use JsonException; |
42 | use Throwable; | 42 | use Throwable; |
43 | 43 | ||
44 | class EmployerController extends Controller | 44 | class EmployerController extends Controller |
45 | { | 45 | { |
46 | public function vacancie($vacancy, Request $request) { | 46 | public function vacancie($vacancy, Request $request) { |
47 | $title = 'Заголовок вакансии'; | 47 | $title = 'Заголовок вакансии'; |
48 | $Query = Ad_employer::with('jobs')-> | 48 | $Query = Ad_employer::with('jobs')-> |
49 | with('cat')-> | 49 | with('cat')-> |
50 | with('employer')-> | 50 | with('employer')-> |
51 | with('jobs_code')-> | 51 | with('jobs_code')-> |
52 | select('ad_employers.*')-> | 52 | select('ad_employers.*')-> |
53 | where('id', '=', $vacancy)->get(); | 53 | where('id', '=', $vacancy)->get(); |
54 | 54 | ||
55 | if (isset(Auth()->user()->id)) | 55 | if (isset(Auth()->user()->id)) |
56 | $uid = Auth()->user()->id; | 56 | $uid = Auth()->user()->id; |
57 | else | 57 | else |
58 | $uid = 0; | 58 | $uid = 0; |
59 | $title = $Query[0]->name; | 59 | $title = $Query[0]->name; |
60 | if ($request->ajax()) { | 60 | if ($request->ajax()) { |
61 | return view('ajax.vacance-item', compact('Query','uid')); | 61 | return view('ajax.vacance-item', compact('Query','uid')); |
62 | } else { | 62 | } else { |
63 | return view('vacance-item', compact('title', 'Query', 'uid')); | 63 | return view('vacance-item', compact('title', 'Query', 'uid')); |
64 | } | 64 | } |
65 | } | 65 | } |
66 | 66 | ||
67 | public function logout() { | 67 | public function logout() { |
68 | Auth::logout(); | 68 | Auth::logout(); |
69 | return redirect()->route('index') | 69 | return redirect()->route('index') |
70 | ->with('success', 'Вы вышли из личного кабинета'); | 70 | ->with('success', 'Вы вышли из личного кабинета'); |
71 | } | 71 | } |
72 | 72 | ||
73 | public function employer_info() { | 73 | public function employer_info() { |
74 | // код юзера | 74 | // код юзера |
75 | $user_info = Auth()->user(); | 75 | $user_info = Auth()->user(); |
76 | // вьюшка для вывода данных | 76 | // вьюшка для вывода данных |
77 | return view('employers.info', compact('user_info')); | 77 | return view('employers.info', compact('user_info')); |
78 | } | 78 | } |
79 | 79 | ||
80 | public function employer_info_save(User_Model $user, BaseUser_min_Request $request) { | 80 | public function employer_info_save(User_Model $user, BaseUser_min_Request $request) { |
81 | // Все данные через реквест | 81 | // Все данные через реквест |
82 | $all = $request->all(); | 82 | $all = $request->all(); |
83 | unset($all['_token']); | 83 | unset($all['_token']); |
84 | // обновление | 84 | // обновление |
85 | $user->update($all); | 85 | $user->update($all); |
86 | return redirect()->route('employer.employer_info'); | 86 | return redirect()->route('employer.employer_info'); |
87 | } | 87 | } |
88 | 88 | ||
89 | public function cabinet() { | 89 | public function cabinet() { |
90 | $id = Auth()->user()->id; | 90 | $id = Auth()->user()->id; |
91 | $Employer = Employer::query()->with('users')->with('ads')->with('flots')-> | 91 | $Employer = Employer::query()->with('users')->with('ads')->with('flots')-> |
92 | WhereHas('users', | 92 | WhereHas('users', |
93 | function (Builder $query) use ($id) {$query->Where('id', $id); | 93 | function (Builder $query) use ($id) {$query->Where('id', $id); |
94 | })->get(); | 94 | })->get(); |
95 | return view('employers.cabinet45', compact('Employer')); | 95 | return view('employers.cabinet45', compact('Employer')); |
96 | } | 96 | } |
97 | 97 | ||
98 | public function slider_flot() { | 98 | public function slider_flot() { |
99 | $id = Auth()->user()->id; | 99 | $id = Auth()->user()->id; |
100 | $Employer = Employer::query()->with('users')->with('ads')->with('flots')-> | 100 | $Employer = Employer::query()->with('users')->with('ads')->with('flots')-> |
101 | WhereHas('users', | 101 | WhereHas('users', |
102 | function (Builder $query) use ($id) {$query->Where('id', $id); | 102 | function (Builder $query) use ($id) {$query->Where('id', $id); |
103 | })->get(); | 103 | })->get(); |
104 | return view('employers.fly-flot', compact('Employer')); | 104 | return view('employers.fly-flot', compact('Employer')); |
105 | } | 105 | } |
106 | 106 | ||
107 | public function cabinet_save(Employer $Employer, Request $request) { | 107 | public function cabinet_save(Employer $Employer, Request $request) { |
108 | $params = $request->all(); | 108 | $params = $request->all(); |
109 | $params['user_id'] = Auth()->user()->id; | 109 | $params['user_id'] = Auth()->user()->id; |
110 | $id = $Employer->id; | 110 | $id = $Employer->id; |
111 | 111 | ||
112 | if ($request->has('logo')) { | 112 | if ($request->has('logo')) { |
113 | if (!empty($Employer->logo)) { | 113 | if (!empty($Employer->logo)) { |
114 | Storage::delete($Employer->logo); | 114 | Storage::delete($Employer->logo); |
115 | } | 115 | } |
116 | $params['logo'] = $request->file('logo')->store("employer/$id", 'public'); | 116 | $params['logo'] = $request->file('logo')->store("employer/$id", 'public'); |
117 | } | 117 | } |
118 | 118 | ||
119 | $Employer->update($params); | 119 | $Employer->update($params); |
120 | 120 | ||
121 | return redirect()->route('employer.cabinet')->with('success', 'Данные были успешно сохранены'); | 121 | return redirect()->route('employer.cabinet')->with('success', 'Данные были успешно сохранены'); |
122 | } | 122 | } |
123 | 123 | ||
124 | public function save_add_flot(FlotRequest $request) { | 124 | public function save_add_flot(FlotRequest $request) { |
125 | // отмена | 125 | // отмена |
126 | $params = $request->all(); | 126 | $params = $request->all(); |
127 | 127 | ||
128 | if ($request->has('image')) { | 128 | if ($request->has('image')) { |
129 | $params['image'] = $request->file('image')->store("flot", 'public'); | 129 | $params['image'] = $request->file('image')->store("flot", 'public'); |
130 | } | 130 | } |
131 | Flot::create($params); | 131 | Flot::create($params); |
132 | $data_flots = Flot::query()->where('employer_id', $request->get('employer_if'))->get(); | 132 | $data_flots = Flot::query()->where('employer_id', $request->get('employer_if'))->get(); |
133 | return redirect()->route('employer.slider_flot')->with('success', 'Новый корабль был добавлен'); | 133 | return redirect()->route('employer.slider_flot')->with('success', 'Новый корабль был добавлен'); |
134 | } | 134 | } |
135 | 135 | ||
136 | public function edit_flot(Flot $Flot, Employer $Employer) { | 136 | public function edit_flot(Flot $Flot, Employer $Employer) { |
137 | return view('employers.edit-flot', compact('Flot', 'Employer')); | 137 | return view('employers.edit-flot', compact('Flot', 'Employer')); |
138 | } | 138 | } |
139 | 139 | ||
140 | public function update_flot(FlotRequest $request, Flot $Flot) { | 140 | public function update_flot(FlotRequest $request, Flot $Flot) { |
141 | $params = $request->all(); | 141 | $params = $request->all(); |
142 | 142 | ||
143 | if ($request->has('image')) { | 143 | if ($request->has('image')) { |
144 | if (!empty($flot->image)) { | 144 | if (!empty($flot->image)) { |
145 | Storage::delete($flot->image); | 145 | Storage::delete($flot->image); |
146 | } | 146 | } |
147 | $params['image'] = $request->file('image')->store("flot", 'public'); | 147 | $params['image'] = $request->file('image')->store("flot", 'public'); |
148 | } else { | 148 | } else { |
149 | if (!empty($flot->image)) $params['image'] = $flot->image; | 149 | if (!empty($flot->image)) $params['image'] = $flot->image; |
150 | } | 150 | } |
151 | 151 | ||
152 | $Flot->update($params); | 152 | $Flot->update($params); |
153 | return redirect()->route('employer.slider_flot')->with('success', 'Новый корабль был добавлен'); | 153 | return redirect()->route('employer.slider_flot')->with('success', 'Новый корабль был добавлен'); |
154 | } | 154 | } |
155 | 155 | ||
156 | public function delete_flot(Flot $Flot) { | 156 | public function delete_flot(Flot $Flot) { |
157 | $data_flots = Flot::query()->where('employer_id', $Flot->employer_id)->get(); | 157 | $data_flots = Flot::query()->where('employer_id', $Flot->employer_id)->get(); |
158 | 158 | ||
159 | if (isset($Flot->id)) $Flot->delete(); | 159 | if (isset($Flot->id)) $Flot->delete(); |
160 | return redirect()->route('employer.slider_flot')->with('success', 'Корабль был удален'); | 160 | return redirect()->route('employer.slider_flot')->with('success', 'Корабль был удален'); |
161 | } | 161 | } |
162 | 162 | ||
163 | // Форма добавления вакансий | 163 | // Форма добавления вакансий |
164 | public function cabinet_vacancie() { | 164 | public function cabinet_vacancie() { |
165 | /** @var User_Model $user */ | 165 | /** @var User_Model $user */ |
166 | $user = Auth()->user(); | 166 | $user = Auth()->user(); |
167 | 167 | ||
168 | if ($user->is_public) { | 168 | if ($user->is_public) { |
169 | $categories = Category::query()->active()->get(); | 169 | $categories = Category::query()->active()->get(); |
170 | 170 | ||
171 | $jobs = Job_title::query() | 171 | $jobs = Job_title::query() |
172 | ->orderByDesc('sort') | 172 | ->orderByDesc('sort') |
173 | ->OrderBy('name') | 173 | ->OrderBy('name') |
174 | ->where('is_remove', '=', '0') | 174 | ->where('is_remove', '=', '0') |
175 | ->where('is_bd', '=', '0') | 175 | ->where('is_bd', '=', '0') |
176 | ->get(); | 176 | ->get(); |
177 | 177 | ||
178 | $Employer = Employer::query() | 178 | $Employer = Employer::query() |
179 | ->with(['users', 'ads', 'flots']) | 179 | ->with(['users', 'ads', 'flots']) |
180 | ->whereHas('users', fn (Builder $query) => $query->where('id', $user->id)) | 180 | ->whereHas('users', fn (Builder $query) => $query->where('id', $user->id)) |
181 | ->get(); | 181 | ->get(); |
182 | 182 | ||
183 | return view('employers.add_vacancy', compact('Employer', 'jobs', 'categories')); | 183 | return view('employers.add_vacancy', compact('Employer', 'jobs', 'categories')); |
184 | } | 184 | } |
185 | 185 | ||
186 | return redirect()->route('employer.cabinet_vacancie_danger'); | 186 | return redirect()->route('employer.cabinet_vacancie_danger'); |
187 | } | 187 | } |
188 | 188 | ||
189 | // Форма предупреждения об оплате | 189 | // Форма предупреждения об оплате |
190 | public function cabinet_vacancie_danger() { | 190 | public function cabinet_vacancie_danger() { |
191 | return view('employers.add_vacancy_danger'); | 191 | return view('employers.add_vacancy_danger'); |
192 | } | 192 | } |
193 | 193 | ||
194 | // Сохранение вакансии | 194 | // Сохранение вакансии |
195 | public function cabinet_vacancy_save1(VacancyRequestEdit $request) { | 195 | public function cabinet_vacancy_save1(VacancyRequestEdit $request) { |
196 | $params_emp = $request->all(); | 196 | $params_emp = $request->all(); |
197 | 197 | ||
198 | $params_job["job_title_id"] = $params_emp['job_title_id']; | 198 | $params_job["job_title_id"] = $params_emp['job_title_id']; |
199 | 199 | ||
200 | $ad_jobs = Ad_employer::create($params_emp); | 200 | $ad_jobs = Ad_employer::create($params_emp); |
201 | $ad_jobs->jobs()->sync($request->get('job_title_id')); | 201 | $ad_jobs->jobs()->sync($request->get('job_title_id')); |
202 | 202 | ||
203 | return redirect()->route('employer.vacancy_list'); | 203 | return redirect()->route('employer.vacancy_list'); |
204 | } | 204 | } |
205 | 205 | ||
206 | // Список вакансий | 206 | // Список вакансий |
207 | public function vacancy_list(Request $request) { | 207 | public function vacancy_list(Request $request) { |
208 | $id = Auth()->user()->id; | 208 | $id = Auth()->user()->id; |
209 | 209 | ||
210 | $Employer = Employer::query()->where('user_id', $id)->first(); | 210 | $Employer = Employer::query()->where('user_id', $id)->first(); |
211 | $vacancy_list = Ad_employer::query() | 211 | $vacancy_list = Ad_employer::query() |
212 | ->with('jobs') | 212 | ->with('jobs') |
213 | ->with('jobs_code') | 213 | ->with('jobs_code') |
214 | ->where('employer_id', $Employer->id) | 214 | ->where('employer_id', $Employer->id) |
215 | ->where('is_remove', 0) | 215 | ->where('is_remove', 0) |
216 | ->orderbyDesc('updated_at') | 216 | ->orderbyDesc('updated_at') |
217 | ; | 217 | ; |
218 | 218 | ||
219 | if (($request->has('search')) && (!empty($request->get('search')))) { | 219 | if (($request->has('search')) && (!empty($request->get('search')))) { |
220 | $search = $request->get('search'); | 220 | $search = $request->get('search'); |
221 | $vacancy_list = $vacancy_list->where('name', 'LIKE', "%$search%"); | 221 | $vacancy_list = $vacancy_list->where('name', 'LIKE', "%$search%"); |
222 | } | 222 | } |
223 | 223 | ||
224 | if ($request->get('sort')) { | 224 | if ($request->get('sort')) { |
225 | $sort = $request->get('sort'); | 225 | $sort = $request->get('sort'); |
226 | switch ($sort) { | 226 | switch ($sort) { |
227 | case 'nopublic': $vacancy_list->orderByDesc('updated_at') | 227 | case 'nopublic': $vacancy_list->orderByDesc('updated_at') |
228 | ->where('active_is', 0); | 228 | ->where('active_is', 0); |
229 | break; | 229 | break; |
230 | case 'public': $vacancy_list->orderByDesc('updated_at') | 230 | case 'public': $vacancy_list->orderByDesc('updated_at') |
231 | ->where('active_is',1); | 231 | ->where('active_is',1); |
232 | break; | 232 | break; |
233 | default: $vacancy_list->orderByDesc('updated_at'); | 233 | default: $vacancy_list->orderByDesc('updated_at'); |
234 | break; | 234 | break; |
235 | } | 235 | } |
236 | } else { | 236 | } else { |
237 | $vacancy_list = $vacancy_list->orderByDesc('updated_at')->orderBy('id'); | 237 | $vacancy_list = $vacancy_list->orderByDesc('updated_at')->orderBy('id'); |
238 | } | 238 | } |
239 | 239 | ||
240 | $vacancy_list = $vacancy_list->paginate(10); | 240 | $vacancy_list = $vacancy_list->paginate(10); |
241 | 241 | ||
242 | if ($request->ajax()) { | 242 | if ($request->ajax()) { |
243 | return view('employers.ajax.list_vacancy', compact('vacancy_list', 'Employer')); | 243 | return view('employers.ajax.list_vacancy', compact('vacancy_list', 'Employer')); |
244 | } else { | 244 | } else { |
245 | return view('employers.list_vacancy', compact('vacancy_list', 'Employer')); | 245 | return view('employers.list_vacancy', compact('vacancy_list', 'Employer')); |
246 | } | 246 | } |
247 | } | 247 | } |
248 | 248 | ||
249 | // Карточка вакансии | 249 | // Карточка вакансии |
250 | public function vacancy_edit(Ad_employer $ad_employer) { | 250 | public function vacancy_edit(Ad_employer $ad_employer) { |
251 | $id = Auth()->user()->id; | 251 | $id = Auth()->user()->id; |
252 | $Positions = Category::query()->where('is_remove', '=', '0')->get(); | 252 | $Positions = Category::query()->where('is_remove', '=', '0')->get(); |
253 | 253 | ||
254 | $jobs = Job_title::query()->orderByDesc('sort')->OrderBy('name')-> | 254 | $jobs = Job_title::query()->orderByDesc('sort')->OrderBy('name')-> |
255 | where('is_remove', '=', '0')-> | 255 | where('is_remove', '=', '0')-> |
256 | where('is_bd', '=', '0')->get(); | 256 | where('is_bd', '=', '0')->get(); |
257 | 257 | ||
258 | $Employer = Employer::query()->with('users')->with('ads')-> | 258 | $Employer = Employer::query()->with('users')->with('ads')-> |
259 | with('flots')->where('user_id', $id)->first(); | 259 | with('flots')->where('user_id', $id)->first(); |
260 | 260 | ||
261 | return view('employers.edit_vacancy', compact('ad_employer', 'Positions','Employer', 'jobs')); | 261 | return view('employers.edit_vacancy', compact('ad_employer', 'Positions','Employer', 'jobs')); |
262 | } | 262 | } |
263 | 263 | ||
264 | // Сохранение-редактирование записи | 264 | // Сохранение-редактирование записи |
265 | public function vacancy_save_me(VacancyRequestEdit $request, Ad_employer $ad_employer) { | 265 | public function vacancy_save_me(VacancyRequestEdit $request, Ad_employer $ad_employer) { |
266 | $params = $request->all(); | 266 | $params = $request->all(); |
267 | $params_job["job_title_id"] = $params['job_title_id']; | 267 | $params_job["job_title_id"] = $params['job_title_id']; |
268 | 268 | ||
269 | $ad_employer->update($params); | 269 | $ad_employer->update($params); |
270 | $ad_employer->jobs()->sync($request->get('job_title_id')); | 270 | $ad_employer->jobs()->sync($request->get('job_title_id')); |
271 | 271 | ||
272 | $id = Auth()->user()->id; | 272 | $id = Auth()->user()->id; |
273 | $Positions = Category::query()->where('is_remove', '=', '0')->get(); | 273 | $Positions = Category::query()->where('is_remove', '=', '0')->get(); |
274 | $jobs = Job_title::query()->orderByDesc('sort')->OrderBy('name') | 274 | $jobs = Job_title::query()->orderByDesc('sort')->OrderBy('name') |
275 | ->where('is_remove', '=', '0') | 275 | ->where('is_remove', '=', '0') |
276 | ->where('is_bd', '=', '0') | 276 | ->where('is_bd', '=', '0') |
277 | ->get(); | 277 | ->get(); |
278 | 278 | ||
279 | $Employer = Employer::query() | 279 | $Employer = Employer::query() |
280 | ->with('users')->with('ads')->with('flots')->where('user_id', $id)->first(); | 280 | ->with('users')->with('ads')->with('flots')->where('user_id', $id)->first(); |
281 | return view('employers.edit_vacancy', compact('ad_employer', 'Positions','Employer', 'jobs')); | 281 | return view('employers.edit_vacancy', compact('ad_employer', 'Positions','Employer', 'jobs')); |
282 | } | 282 | } |
283 | 283 | ||
284 | // Сохранение карточки вакансии | 284 | // Сохранение карточки вакансии |
285 | public function vacancy_save(Request $request, Ad_employer $ad_employer) { | 285 | public function vacancy_save(Request $request, Ad_employer $ad_employer) { |
286 | $all = $request->all(); | 286 | $all = $request->all(); |
287 | $ad_employer->update($all); | 287 | $ad_employer->update($all); |
288 | return redirect()->route('employer.cabinet_vacancie'); | 288 | return redirect()->route('employer.cabinet_vacancie'); |
289 | } | 289 | } |
290 | 290 | ||
291 | // Удаление карточки вакансии | 291 | // Удаление карточки вакансии |
292 | public function vacancy_delete(Ad_employer $ad_employer) { | 292 | public function vacancy_delete(Ad_employer $ad_employer) { |
293 | $ad_employer->delete(); | 293 | $ad_employer->delete(); |
294 | 294 | ||
295 | return redirect()->route('employer.vacancy_list') | 295 | return redirect()->route('employer.vacancy_list') |
296 | ->with('success', 'Данные были успешно сохранены'); | 296 | ->with('success', 'Данные были успешно сохранены'); |
297 | } | 297 | } |
298 | 298 | ||
299 | // Обновление даты | 299 | // Обновление даты |
300 | public function vacancy_up(Ad_employer $ad_employer) { | 300 | public function vacancy_up(Ad_employer $ad_employer) { |
301 | $up = date('m/d/Y h:i:s', time()); | 301 | $up = date('m/d/Y h:i:s', time()); |
302 | $ad_employer->updated_at = $up; | 302 | $ad_employer->updated_at = $up; |
303 | $ad_employer->save(); | 303 | $ad_employer->save(); |
304 | 304 | ||
305 | return redirect()->back(); | 305 | return redirect()->back(); |
306 | } | 306 | } |
307 | 307 | ||
308 | //Видимость вакансии | 308 | //Видимость вакансии |
309 | public function vacancy_eye(Ad_employer $ad_employer, $status) { | 309 | public function vacancy_eye(Ad_employer $ad_employer, $status) { |
310 | $vac_emp = Ad_employer::findOrFail($ad_employer->id); | 310 | $vac_emp = Ad_employer::findOrFail($ad_employer->id); |
311 | $vac_emp->active_is = $status; | 311 | $vac_emp->active_is = $status; |
312 | $vac_emp->save(); | 312 | $vac_emp->save(); |
313 | 313 | ||
314 | return redirect()->route('employer.vacancy_list'); | 314 | return redirect()->route('employer.vacancy_list'); |
315 | } | 315 | } |
316 | 316 | ||
317 | //Вакансия редактирования (шаблон) | 317 | //Вакансия редактирования (шаблон) |
318 | public function vacancy_update(Ad_employer $id) { | 318 | public function vacancy_update(Ad_employer $id) { |
319 | 319 | ||
320 | } | 320 | } |
321 | 321 | ||
322 | //Отклики на вакансию - лист | 322 | //Отклики на вакансию - лист |
323 | public function answers(Employer $employer, Request $request) { | 323 | public function answers(Employer $employer, Request $request) { |
324 | $user_id = Auth()->user()->id; | 324 | $user_id = Auth()->user()->id; |
325 | $answer = Ad_employer::query()->where('employer_id', $employer->id); | 325 | $answer = Ad_employer::query()->where('employer_id', $employer->id); |
326 | if ($request->has('search')) { | 326 | if ($request->has('search')) { |
327 | $search = trim($request->get('search')); | 327 | $search = trim($request->get('search')); |
328 | if (!empty($search)) $answer = $answer->where('name', 'LIKE', "%$search%"); | 328 | if (!empty($search)) $answer = $answer->where('name', 'LIKE', "%$search%"); |
329 | } | 329 | } |
330 | 330 | ||
331 | $answer = $answer->with('response')->OrderByDESC('id')->get(); | 331 | $answer = $answer->with('response')->OrderByDESC('id')->get(); |
332 | 332 | ||
333 | return view('employers.list_answer', compact('answer', 'user_id', 'employer')); | 333 | return view('employers.list_answer', compact('answer', 'user_id', 'employer')); |
334 | } | 334 | } |
335 | 335 | ||
336 | //Обновление статуса | 336 | //Обновление статуса |
337 | public function supple_status(employer $employer, ad_response $ad_response, $flag) { | 337 | public function supple_status(employer $employer, ad_response $ad_response, $flag) { |
338 | $ad_response->update(Array('flag' => $flag)); | 338 | $ad_response->update(Array('flag' => $flag)); |
339 | return redirect()->route('employer.answers', ['employer' => $employer->id]); | 339 | return redirect()->route('employer.answers', ['employer' => $employer->id]); |
340 | } | 340 | } |
341 | 341 | ||
342 | //Страницы сообщений список | 342 | //Страницы сообщений список |
343 | public function messages($type_message) { | 343 | public function messages($type_message) { |
344 | $user_id = Auth()->user()->id; | 344 | $user_id = Auth()->user()->id; |
345 | 345 | ||
346 | $chats = Chat::get_user_chats($user_id); | 346 | $chats = Chat::get_user_chats($user_id); |
347 | $user_type = 'employer'; | 347 | $user_type = 'employer'; |
348 | $admin_chat = false; | 348 | $admin_chat = false; |
349 | 349 | ||
350 | return view('employers.messages', compact('chats', 'admin_chat', 'user_id', 'user_type')); | 350 | return view('employers.messages', compact('chats', 'admin_chat', 'user_id', 'user_type')); |
351 | } | 351 | } |
352 | 352 | ||
353 | // Диалог между пользователями | 353 | // Диалог между пользователями |
354 | public function dialog(Chat $chat, Request $request) { | 354 | public function dialog(Chat $chat, Request $request) { |
355 | // Получение параметров. | 355 | // Получение параметров. |
356 | if ($request->has('ad_employer')){ | 356 | if ($request->has('ad_employer')){ |
357 | $ad_employer = $request->get('ad_employer'); | 357 | $ad_employer = $request->get('ad_employer'); |
358 | } else { | 358 | } else { |
359 | $ad_employer = 0; | 359 | $ad_employer = 0; |
360 | } | 360 | } |
361 | 361 | ||
362 | $sender = User_Model::query()->with('workers')->with('employers')->where('id', $chat->user_id)->first(); | 362 | $sender = User_Model::query()->with('workers')->with('employers')->where('id', $chat->user_id)->first(); |
363 | $companion = User_Model::query()->with('workers')->with('employers')->where('id', $chat->to_user_id)->first(); | 363 | $companion = User_Model::query()->with('workers')->with('employers')->where('id', $chat->to_user_id)->first(); |
364 | 364 | ||
365 | $Messages = Chat::get_chat_messages($chat); | 365 | $Messages = Chat::get_chat_messages($chat); |
366 | 366 | ||
367 | Message::where('user_id', '=', $chat->to_user_id)->where('to_user_id', '=', $chat->user_id)->update(['flag_new' => 0]); | 367 | Message::where('user_id', '=', $chat->to_user_id)->where('to_user_id', '=', $chat->user_id)->update(['flag_new' => 0]); |
368 | 368 | ||
369 | return view('employers.dialog', compact('companion', 'sender', 'ad_employer', 'Messages')); | 369 | return view('employers.dialog', compact('companion', 'sender', 'ad_employer', 'Messages')); |
370 | } | 370 | } |
371 | 371 | ||
372 | public function pin_chat(Request $request){ | 372 | public function pin_chat(Request $request){ |
373 | $chat_id = $request->get('id'); | 373 | $chat_id = $request->get('id'); |
374 | $is_fixed = $request->get('is_fixed'); | 374 | $is_fixed = $request->get('is_fixed'); |
375 | 375 | ||
376 | Chat::pin_chat($chat_id, $is_fixed); | 376 | Chat::pin_chat($chat_id, $is_fixed); |
377 | } | 377 | } |
378 | 378 | ||
379 | public function remove_chat(Request $request){ | 379 | public function remove_chat(Request $request){ |
380 | $chat_id = $request->get('id'); | 380 | $chat_id = $request->get('id'); |
381 | Chat::remove_chat($chat_id); | 381 | Chat::remove_chat($chat_id); |
382 | } | 382 | } |
383 | 383 | ||
384 | // Регистрация работодателя | 384 | // Регистрация работодателя |
385 | public function register_employer(Request $request) { | 385 | public function register_employer(Request $request) { |
386 | $params = $request->all(); | 386 | $params = $request->all(); |
387 | 387 | ||
388 | $rules = [ | 388 | $rules = [ |
389 | //'surname' => ['required', 'string', 'max:255'], | 389 | //'surname' => ['required', 'string', 'max:255'], |
390 | //'name_man' => ['required', 'string', 'max:255'], | 390 | //'name_man' => ['required', 'string', 'max:255'], |
391 | 'email' => ['required', 'string', 'email', 'max:255', 'unique:users'], | 391 | 'email' => ['required', 'string', 'email', 'max:255', 'unique:users'], |
392 | 'name_company' => ['required', 'string', 'max:255'], | 392 | 'name_company' => ['required', 'string', 'max:255'], |
393 | 'password' => ['required', 'string', 'min:6'], | 393 | 'password' => ['required', 'string', 'min:6'], |
394 | ]; | 394 | ]; |
395 | 395 | ||
396 | $messages = [ | 396 | $messages = [ |
397 | 'required' => 'Укажите обязательное поле', | 397 | 'required' => 'Укажите обязательное поле', |
398 | 'min' => [ | 398 | 'min' => [ |
399 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 399 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
400 | 'integer' => 'Поле «:attribute» должно быть :min или больше', | 400 | 'integer' => 'Поле «:attribute» должно быть :min или больше', |
401 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 401 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
402 | ], | 402 | ], |
403 | 'max' => [ | 403 | 'max' => [ |
404 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 404 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
405 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', | 405 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', |
406 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 406 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
407 | ] | 407 | ] |
408 | ]; | 408 | ]; |
409 | 409 | ||
410 | $email = $request->get('email'); | 410 | $email = $request->get('email'); |
411 | if (!preg_match("/^[a-zA-Z0-9_\-.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-.]+$/", $email)) { | 411 | if (!preg_match("/^[a-zA-Z0-9_\-.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-.]+$/", $email)) { |
412 | return json_encode(Array("ERROR" => "Error: Отсутствует емайл или некорректный емайл")); | 412 | return json_encode(Array("ERROR" => "Error: Отсутствует емайл или некорректный емайл")); |
413 | } | 413 | } |
414 | 414 | ||
415 | if ($request->get('password') !== $request->get('confirmed')){ | 415 | if ($request->get('password') !== $request->get('confirmed')){ |
416 | return json_encode(Array("ERROR" => "Error: Не совпадают пароль и подтверждение пароля")); | 416 | return json_encode(Array("ERROR" => "Error: Не совпадают пароль и подтверждение пароля")); |
417 | } | 417 | } |
418 | 418 | ||
419 | if (strlen($request->get('password')) < 6) { | 419 | if (strlen($request->get('password')) < 6) { |
420 | return json_encode(Array("ERROR" => "Error: Недостаточная длина пароля! Увеличьте себе длину пароля!")); | 420 | return json_encode(Array("ERROR" => "Error: Недостаточная длина пароля! Увеличьте себе длину пароля!")); |
421 | } | 421 | } |
422 | 422 | ||
423 | if (empty($request->get('surname'))) { | 423 | if (empty($request->get('surname'))) { |
424 | $params['surname'] = 'Неизвестно'; | 424 | $params['surname'] = 'Неизвестно'; |
425 | } | 425 | } |
426 | if (empty($request->get('name_man'))) { | 426 | if (empty($request->get('name_man'))) { |
427 | $params['name_man'] = 'Неизвестно'; | 427 | $params['name_man'] = 'Неизвестно'; |
428 | } | 428 | } |
429 | $validator = Validator::make($params, $rules, $messages); | 429 | $validator = Validator::make($params, $rules, $messages); |
430 | 430 | ||
431 | if ($validator->fails()) { | 431 | if ($validator->fails()) { |
432 | return json_encode(Array("ERROR" => "Error: Регистрация оборвалась ошибкой! Не все обязательные поля заполнены. Либо вы уже были зарегистрированы в системе.")); | 432 | return json_encode(Array("ERROR" => "Error: Регистрация оборвалась ошибкой! Не все обязательные поля заполнены. Либо вы уже были зарегистрированы в системе.")); |
433 | } else { | 433 | } else { |
434 | $user = $this->create($params); | 434 | $user = $this->create($params); |
435 | event(new Registered($user)); | 435 | event(new Registered($user)); |
436 | 436 | ||
437 | try { | 437 | try { |
438 | Mail::to(env('EMAIL_ADMIN'))->send(new MailCreateEmployer($params)); | 438 | Mail::to(env('EMAIL_ADMIN'))->send(new MailCreateEmployer($params)); |
439 | } catch (Throwable $e) { | 439 | } catch (Throwable $e) { |
440 | Log::error($e); | 440 | Log::error($e); |
441 | } | 441 | } |
442 | 442 | ||
443 | Auth::guard()->login($user); | 443 | Auth::guard()->login($user); |
444 | } | 444 | } |
445 | 445 | ||
446 | if ($user) { | 446 | if ($user) { |
447 | return json_encode(Array("REDIRECT" => redirect()->route('employer.cabinet')->getTargetUrl()));; | 447 | return json_encode(Array("REDIRECT" => redirect()->route('employer.cabinet')->getTargetUrl()));; |
448 | } else { | 448 | } else { |
449 | return json_encode(Array("ERROR" => "Error2: Данные были утеряны!")); | 449 | return json_encode(Array("ERROR" => "Error2: Данные были утеряны!")); |
450 | } | 450 | } |
451 | } | 451 | } |
452 | 452 | ||
453 | // Создание пользователя | 453 | // Создание пользователя |
454 | protected function create(array $data) | 454 | protected function create(array $data) |
455 | { | 455 | { |
456 | $Use = new User_Model(); | 456 | $Use = new User_Model(); |
457 | $Code_user = $Use->create([ | 457 | $Code_user = $Use->create([ |
458 | 'name' => $data['surname']." ".$data['name_man'], | 458 | 'name' => $data['surname']." ".$data['name_man'], |
459 | 'name_man' => $data['name_man'], | 459 | 'name_man' => $data['name_man'], |
460 | 'surname' => $data['surname'], | 460 | 'surname' => $data['surname'], |
461 | 'surname2' => $data['surname2'], | 461 | 'surname2' => $data['surname2'], |
462 | 'subscribe_email' => $data['email'], | 462 | 'subscribe_email' => $data['email'], |
463 | 'email' => $data['email'], | 463 | 'email' => $data['email'], |
464 | 'telephone' => $data['telephone'], | 464 | 'telephone' => $data['telephone'], |
465 | 'is_worker' => 0, | 465 | 'is_worker' => 0, |
466 | 'password' => Hash::make($data['password']), | 466 | 'password' => Hash::make($data['password']), |
467 | 'pubpassword' => base64_encode($data['password']), | 467 | 'pubpassword' => base64_encode($data['password']), |
468 | 'email_verified_at' => Carbon::now() | 468 | 'email_verified_at' => Carbon::now() |
469 | ]); | 469 | ]); |
470 | 470 | ||
471 | if ($Code_user->id > 0) { | 471 | if ($Code_user->id > 0) { |
472 | $Employer = new Employer(); | 472 | $Employer = new Employer(); |
473 | $Employer->user_id = $Code_user->id; | 473 | $Employer->user_id = $Code_user->id; |
474 | $Employer->name_company = $data['name_company']; | 474 | $Employer->name_company = $data['name_company']; |
475 | $Employer->email = $data['email']; | 475 | $Employer->email = $data['email']; |
476 | $Employer->telephone = $data['telephone']; | 476 | $Employer->telephone = $data['telephone']; |
477 | $Employer->code = Tools::generator_id(10); | 477 | $Employer->code = Tools::generator_id(10); |
478 | $Employer->save(); | 478 | $Employer->save(); |
479 | 479 | ||
480 | return $Code_user; | 480 | return $Code_user; |
481 | } | 481 | } |
482 | } | 482 | } |
483 | 483 | ||
484 | // Отправка сообщения от работодателя | 484 | // Отправка сообщения от работодателя |
485 | public function send_message(MessagesRequiest $request) { | 485 | public function send_message(MessagesRequiest $request) { |
486 | $params = $request->all(); | 486 | $params = $request->all(); |
487 | dd($params); | 487 | dd($params); |
488 | $user1 = $params['user_id']; | 488 | $user1 = $params['user_id']; |
489 | $user2 = $params['to_user_id']; | 489 | $user2 = $params['to_user_id']; |
490 | 490 | ||
491 | if ($request->has('file')) { | 491 | if ($request->has('file')) { |
492 | $params['file'] = $request->file('file')->store("messages", 'public'); | 492 | $params['file'] = $request->file('file')->store("messages", 'public'); |
493 | } | 493 | } |
494 | Message::create($params); | 494 | Message::create($params); |
495 | return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]); | 495 | return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]); |
496 | } | 496 | } |
497 | 497 | ||
498 | public function test123(Request $request) { | 498 | public function test123(Request $request) { |
499 | $params = $request->all(); | 499 | $params = $request->all(); |
500 | $user1 = $params['user_id']; | 500 | $user1 = $params['user_id']; |
501 | $user2 = $params['to_user_id']; | 501 | $user2 = $params['to_user_id']; |
502 | 502 | ||
503 | $rules = [ | 503 | $rules = [ |
504 | 'text' => 'nullable|required_without:file|min:1|max:150000', | 504 | 'text' => 'nullable|required_without:file|min:1|max:150000', |
505 | 'file' => 'nullable|file|mimes:doc,docx,xlsx,csv,txt,xlx,xls,pdf|max:150000' | 505 | 'file' => 'nullable|file|mimes:doc,docx,xlsx,csv,txt,xlx,xls,pdf|max:150000' |
506 | ]; | 506 | ]; |
507 | $messages = [ | 507 | $messages = [ |
508 | 'required_without' => 'Поле «:attribute» обязательно, если файл не прикреплен', | 508 | 'required_without' => 'Поле «:attribute» обязательно, если файл не прикреплен', |
509 | 'min' => [ | 509 | 'min' => [ |
510 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 510 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
511 | 'integer' => 'Поле «:attribute» должно быть :min или больше', | 511 | 'integer' => 'Поле «:attribute» должно быть :min или больше', |
512 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 512 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
513 | ], | 513 | ], |
514 | 'max' => [ | 514 | 'max' => [ |
515 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 515 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
516 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', | 516 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', |
517 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 517 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
518 | ] | 518 | ] |
519 | ]; | 519 | ]; |
520 | 520 | ||
521 | $validator = Validator::make($request->all(), $rules, $messages); | 521 | $validator = Validator::make($request->all(), $rules, $messages); |
522 | 522 | ||
523 | if ($validator->fails()) { | 523 | if ($validator->fails()) { |
524 | return redirect()->route('cabinet.messages', ['type_message' => 'input'])->withErrors($validator); | 524 | return redirect()->route('cabinet.messages', ['type_message' => 'input'])->withErrors($validator); |
525 | } | 525 | } |
526 | 526 | ||
527 | $new_message = Message::add_message($request, $user1, $user2, $request->all(), file_store_path: 'messages'); | 527 | $new_message = Message::add_message($request, $user1, $user2, $request->all(), file_store_path: 'messages'); |
528 | return redirect()->route('employer.dialog', ['chat' => $new_message->chat_id_from]); | 528 | return redirect()->route('employer.dialog', ['chat' => $new_message->chat_id_from]); |
529 | 529 | ||
530 | } | 530 | } |
531 | 531 | ||
532 | //Избранные люди | 532 | //Избранные люди |
533 | public function favorites(Request $request) | 533 | public function favorites(Request $request) |
534 | { | 534 | { |
535 | $likedWorkersIds = Like_worker::query() | 535 | $likedWorkersIds = Like_worker::query() |
536 | ->where('user_id', Auth::user()->id) | 536 | ->where('user_id', Auth::user()->id) |
537 | ->get() | 537 | ->get() |
538 | ->pluck('code_record') | 538 | ->pluck('code_record') |
539 | ->toArray(); | 539 | ->toArray(); |
540 | 540 | ||
541 | $workerBuilder = Worker::query() | 541 | $workerBuilder = Worker::query() |
542 | ->whereIn('id', $likedWorkersIds); | 542 | ->whereIn('id', $likedWorkersIds); |
543 | 543 | ||
544 | if (($request->has('search')) && (!empty($request->get('search')))) { | 544 | if (($request->has('search')) && (!empty($request->get('search')))) { |
545 | $search = $request->get('search'); | 545 | $search = $request->get('search'); |
546 | 546 | ||
547 | $workerBuilder->whereHas('users', function (Builder $query) use ($search) { | 547 | $workerBuilder->whereHas('users', function (Builder $query) use ($search) { |
548 | $query->where('surname', 'LIKE', "%$search%") | 548 | $query->where('surname', 'LIKE', "%$search%") |
549 | ->orWhere('name_man', 'LIKE', "%$search%") | 549 | ->orWhere('name_man', 'LIKE', "%$search%") |
550 | ->orWhere('surname2', 'LIKE', "%$search%"); | 550 | ->orWhere('surname2', 'LIKE', "%$search%"); |
551 | }); | 551 | }); |
552 | } | 552 | } |
553 | 553 | ||
554 | $Workers = $workerBuilder->get(); | 554 | $Workers = $workerBuilder->get(); |
555 | 555 | ||
556 | return view('employers.favorite', compact('Workers')); | 556 | return view('employers.favorite', compact('Workers')); |
557 | } | 557 | } |
558 | 558 | ||
559 | // База данных | 559 | // База данных |
560 | public function bd(Request $request) { | 560 | public function bd(Request $request) { |
561 | $users = User_Model::query()->with('workers')->with('jobtitles'); | 561 | $users = User_Model::query()->with('workers')->with('jobtitles'); |
562 | 562 | ||
563 | if ($request->has('search')) { | 563 | if ($request->has('search')) { |
564 | $find_key = $request->get('search'); | 564 | $find_key = $request->get('search'); |
565 | $users = $users->where('name', 'LIKE', "%$find_key%") | 565 | $users = $users->where('name', 'LIKE', "%$find_key%") |
566 | ->orWhere('surname', 'LIKE', "%$find_key%") | 566 | ->orWhere('surname', 'LIKE', "%$find_key%") |
567 | ->orWhere('name_man', 'LIKE', "%$find_key%") | 567 | ->orWhere('name_man', 'LIKE', "%$find_key%") |
568 | ->orWhere('email', 'LIKE', "%$find_key%") | 568 | ->orWhere('email', 'LIKE', "%$find_key%") |
569 | ->orWhere('telephone', 'LIKE', "%$find_key%"); | 569 | ->orWhere('telephone', 'LIKE', "%$find_key%"); |
570 | } | 570 | } |
571 | 571 | ||
572 | // Данные | 572 | // Данные |
573 | $users = $users | 573 | $users = $users |
574 | ->Baseuser() | 574 | ->Baseuser() |
575 | ->orderByDesc(Worker::select('created_at') | 575 | ->orderByDesc(Worker::select('created_at') |
576 | ->whereColumn('workers.user_id', 'users.id')); | 576 | ->whereColumn('workers.user_id', 'users.id')); |
577 | $count_users = $users->count(); | 577 | $count_users = $users->count(); |
578 | $users = $users->paginate(10); | 578 | $users = $users->paginate(10); |
579 | 579 | ||
580 | $export_options = DbExportColumns::toArray(); | 580 | $export_options = DbExportColumns::toArray(); |
581 | 581 | ||
582 | $jobs_titles = Job_title::select('id', 'name') | 582 | $jobs_titles = Job_title::select('id', 'name') |
583 | ->where('is_remove', '=', 0) | 583 | ->where('is_remove', '=', 0) |
584 | ->where('is_bd', '=', 2) | 584 | ->where('is_bd', '=', 2) |
585 | ->orderByDesc('sort') | 585 | ->orderByDesc('sort') |
586 | ->orderBy('name', 'asc') | 586 | ->orderBy('name', 'asc') |
587 | ->get() | 587 | ->get() |
588 | ->toArray() | 588 | ->toArray() |
589 | ; | 589 | ; |
590 | 590 | ||
591 | return view('employers.bd', compact('users', 'count_users', 'export_options', 'jobs_titles')); | 591 | return view('employers.bd', compact('users', 'count_users', 'export_options', 'jobs_titles')); |
592 | } | 592 | } |
593 | 593 | ||
594 | //Настройка уведомлений | 594 | //Настройка уведомлений |
595 | public function subscribe() { | 595 | public function subscribe() { |
596 | return view('employers.subcribe'); | 596 | return view('employers.subcribe'); |
597 | } | 597 | } |
598 | 598 | ||
599 | //Установка уведомлений сохранение | 599 | //Установка уведомлений сохранение |
600 | public function save_subscribe(Request $request) { | 600 | public function save_subscribe(Request $request) { |
601 | dd($request->all()); | 601 | dd($request->all()); |
602 | $msg = $request->validate([ | 602 | $msg = $request->validate([ |
603 | 'subscribe_email' => 'required|email|min:5|max:255', | 603 | 'subscribe_email' => 'required|email|min:5|max:255', |
604 | ]); | 604 | ]); |
605 | return redirect()->route('employer.subscribe')->with('Вы успешно подписались на рассылку'); | 605 | return redirect()->route('employer.subscribe')->with('Вы успешно подписались на рассылку'); |
606 | } | 606 | } |
607 | 607 | ||
608 | //Сбросить форму с паролем | 608 | //Сбросить форму с паролем |
609 | public function password_reset() { | 609 | public function password_reset() { |
610 | $email = Auth()->user()->email; | 610 | $email = Auth()->user()->email; |
611 | return view('employers.password-reset', compact('email')); | 611 | return view('employers.password-reset', compact('email')); |
612 | } | 612 | } |
613 | 613 | ||
614 | //Обновление пароля | 614 | //Обновление пароля |
615 | public function new_password(Request $request) { | 615 | public function new_password(Request $request) { |
616 | $use = Auth()->user(); | 616 | $use = Auth()->user(); |
617 | $request->validate([ | 617 | $request->validate([ |
618 | 'password' => 'required|string', | 618 | 'password' => 'required|string', |
619 | 'new_password' => 'required|string', | 619 | 'new_password' => 'required|string', |
620 | 'new_password2' => 'required|string' | 620 | 'new_password2' => 'required|string' |
621 | ]); | 621 | ]); |
622 | 622 | ||
623 | if ($request->get('new_password') == $request->get('new_password2')) | 623 | if ($request->get('new_password') == $request->get('new_password2')) |
624 | if ($request->get('password') !== $request->get('new_password')) { | 624 | if ($request->get('password') !== $request->get('new_password')) { |
625 | $credentials = $request->only('email', 'password'); | 625 | $credentials = $request->only('email', 'password'); |
626 | if (Auth::attempt($credentials)) { | 626 | if (Auth::attempt($credentials)) { |
627 | 627 | ||
628 | if (!is_null($use->email_verified_at)){ | 628 | if (!is_null($use->email_verified_at)){ |
629 | 629 | ||
630 | $user_data = User_Model::find($use->id); | 630 | $user_data = User_Model::find($use->id); |
631 | $user_data->update([ | 631 | $user_data->update([ |
632 | 'password' => Hash::make($request->get('new_password')), | 632 | 'password' => Hash::make($request->get('new_password')), |
633 | 'pubpassword' => base64_encode($request->get('new_password')), | 633 | 'pubpassword' => base64_encode($request->get('new_password')), |
634 | ]); | 634 | ]); |
635 | return redirect() | 635 | return redirect() |
636 | ->route('employer.password_reset') | 636 | ->route('employer.password_reset') |
637 | ->with('success', 'Поздравляю! Вы обновили свой пароль!'); | 637 | ->with('success', 'Поздравляю! Вы обновили свой пароль!'); |
638 | } | 638 | } |
639 | 639 | ||
640 | return redirect() | 640 | return redirect() |
641 | ->route('employer.password_reset') | 641 | ->route('employer.password_reset') |
642 | ->withError('Данная учетная запись не было верифицированна!'); | 642 | ->withError('Данная учетная запись не было верифицированна!'); |
643 | } | 643 | } |
644 | } | 644 | } |
645 | 645 | ||
646 | return redirect() | 646 | return redirect() |
647 | ->route('employer.password_reset') | 647 | ->route('employer.password_reset') |
648 | ->withErrors('Не совпадение данных, обновите пароли!'); | 648 | ->withErrors('Не совпадение данных, обновите пароли!'); |
649 | } | 649 | } |
650 | 650 | ||
651 | 651 | ||
652 | 652 | ||
653 | // Форма Удаление пипла | 653 | // Форма Удаление пипла |
654 | public function delete_people() { | 654 | public function delete_people() { |
655 | $login = Auth()->user()->email; | 655 | $login = Auth()->user()->email; |
656 | return view('employers.delete_people', compact('login')); | 656 | return view('employers.delete_people', compact('login')); |
657 | } | 657 | } |
658 | 658 | ||
659 | // Удаление аккаунта | 659 | // Удаление аккаунта |
660 | public function action_delete_user(Request $request) { | 660 | public function action_delete_user(Request $request) { |
661 | $Answer = $request->all(); | 661 | $Answer = $request->all(); |
662 | $user_id = Auth()->user()->id; | 662 | $user_id = Auth()->user()->id; |
663 | $request->validate([ | 663 | $request->validate([ |
664 | 'password' => 'required|string', | 664 | 'password' => 'required|string', |
665 | ]); | 665 | ]); |
666 | 666 | ||
667 | $credentials = $request->only('email', 'password'); | 667 | $credentials = $request->only('email', 'password'); |
668 | if (Auth::attempt($credentials)) { | 668 | if (Auth::attempt($credentials)) { |
669 | Auth::logout(); | 669 | Auth::logout(); |
670 | $it = User_Model::find($user_id); | 670 | $it = User_Model::find($user_id); |
671 | $it->delete(); | 671 | $it->delete(); |
672 | return redirect()->route('index')->with('success', 'Вы успешно удалили свой аккаунт'); | 672 | return redirect()->route('index')->with('success', 'Вы успешно удалили свой аккаунт'); |
673 | } else { | 673 | } else { |
674 | return redirect()->route('employer.delete_people') | 674 | return redirect()->route('employer.delete_people') |
675 | ->withErrors( 'Неверный пароль! Нужен корректный пароль'); | 675 | ->withErrors( 'Неверный пароль! Нужен корректный пароль'); |
676 | } | 676 | } |
677 | } | 677 | } |
678 | 678 | ||
679 | public function ajax_delete_user(Request $request) { | 679 | public function ajax_delete_user(Request $request) { |
680 | $Answer = $request->all(); | 680 | $Answer = $request->all(); |
681 | $user_id = Auth()->user()->id; | 681 | $user_id = Auth()->user()->id; |
682 | $request->validate([ | 682 | $request->validate([ |
683 | 'password' => 'required|string', | 683 | 'password' => 'required|string', |
684 | ]); | 684 | ]); |
685 | $credentials = $request->only('email', 'password'); | 685 | $credentials = $request->only('email', 'password'); |
686 | if (Auth::attempt($credentials)) { | 686 | if (Auth::attempt($credentials)) { |
687 | 687 | ||
688 | return json_encode(Array('SUCCESS' => 'Вы успешно удалили свой аккаунт', | 688 | return json_encode(Array('SUCCESS' => 'Вы успешно удалили свой аккаунт', |
689 | 'email' => $request->get('email'), | 689 | 'email' => $request->get('email'), |
690 | 'password' => $request->get('password'))); | 690 | 'password' => $request->get('password'))); |
691 | } else { | 691 | } else { |
692 | return json_encode(Array('ERROR' => 'Неверный пароль! Нужен корректный пароль')); | 692 | return json_encode(Array('ERROR' => 'Неверный пароль! Нужен корректный пароль')); |
693 | } | 693 | } |
694 | } | 694 | } |
695 | 695 | ||
696 | // Рассылка сообщений | 696 | // Рассылка сообщений |
697 | public function send_all_messages() { | 697 | public function send_all_messages() { |
698 | $id = Auth()->user()->id; | 698 | $id = Auth()->user()->id; |
699 | $sending = Employer::query()->where('user_id', '=', "$id")->first(); | 699 | $sending = Employer::query()->where('user_id', '=', "$id")->first(); |
700 | 700 | ||
701 | $job_titles = Job_title::query() | 701 | $job_titles = Job_title::query() |
702 | ->where('is_remove', '=', 0) | 702 | ->where('is_remove', '=', 0) |
703 | ->where('is_bd', '=', 1) | 703 | ->where('is_bd', '=', 1) |
704 | ->orderByDesc('sort') | 704 | ->orderByDesc('sort') |
705 | ->get(); | 705 | ->get(); |
706 | 706 | ||
707 | if ($sending->sending_is) | 707 | if ($sending->sending_is) |
708 | return view('employers.send_all', compact('job_titles')); | 708 | return view('employers.send_all', compact('job_titles')); |
709 | else | 709 | else |
710 | return view('employers.send_all_danger'); | 710 | return view('employers.send_all_danger'); |
711 | } | 711 | } |
712 | 712 | ||
713 | // Отправка сообщений для информации | 713 | // Отправка сообщений для информации |
714 | public function send_all_post(Request $request) { | 714 | public function send_all_post(Request $request) { |
715 | $data = $request->all(); | 715 | $data = $request->all(); |
716 | $data['user'] = Auth()->user(); | 716 | $data['user'] = Auth()->user(); |
717 | 717 | ||
718 | $id = MessagesRequests::create([ | 718 | $id = MessagesRequests::create([ |
719 | 'user_id' => $data['user']->id, | 719 | 'user_id' => $data['user']->id, |
720 | 'job_titles' => isset($data['job_title_ids']) ? json_encode($data['job_title_ids']) : null, | 720 | 'job_titles' => isset($data['job_title_ids']) ? json_encode($data['job_title_ids']) : null, |
721 | 'text' => $data['message_text'], | 721 | 'text' => $data['message_text'], |
722 | ]); | 722 | ]); |
723 | 723 | ||
724 | try { | 724 | try { |
725 | if (!empty($id)) { | 725 | if (!empty($id)) { |
726 | Mail::to(env('EMAIL_ADMIN'))->send(new MassSendingMessages($data)); | 726 | Mail::to(env('EMAIL_ADMIN'))->send(new MassSendingMessages($data)); |
727 | } | 727 | } |
728 | } catch (Throwable $e) { | 728 | } catch (Throwable $e) { |
729 | Log::error($e); | 729 | Log::error($e); |
730 | return redirect()->route('employer.send_all_messages')->with('error', 'Ошибка почтового сервера, пожалуйста, повторите рассылку позднее'); | 730 | return redirect()->route('employer.send_all_messages')->with('error', 'Ошибка почтового сервера, пожалуйста, повторите рассылку позднее'); |
731 | } | 731 | } |
732 | 732 | ||
733 | return redirect()->route('employer.send_all_messages')->with('success', 'Запрос на рассылку был успешно отправлен.'); | 733 | return redirect()->route('employer.send_all_messages')->with('success', 'Запрос на рассылку был успешно отправлен.'); |
734 | } | 734 | } |
735 | 735 | ||
736 | // База резюме | 736 | // База резюме |
737 | public function bd_tupe(Request $request) { | 737 | public function bd_tupe(Request $request) { |
738 | $Resume = User_Model::query()->with('workers')->where('is_bd', '=', '1')->get(); | 738 | $Resume = User_Model::query()->with('workers')->where('is_bd', '=', '1')->get(); |
739 | 739 | ||
740 | return view('employers.bd_tupe', compact('Resume')); | 740 | return view('employers.bd_tupe', compact('Resume')); |
741 | } | 741 | } |
742 | 742 | ||
743 | ////////////////////////////////////////////////////////////////// | 743 | ////////////////////////////////////////////////////////////////// |
744 | // Отправил сообщение | 744 | // Отправил сообщение |
745 | ////////////////////////////////////////////////////////////////// | 745 | ////////////////////////////////////////////////////////////////// |
746 | public function new_message(Request $request) | 746 | public function new_message(Request $request) |
747 | { | 747 | { |
748 | $params = $request->all(); | 748 | $params = $request->all(); |
749 | 749 | ||
750 | $id = $params['_user_id']; | 750 | $id = $params['_user_id']; |
751 | $message_params = [ | 751 | $message_params = [ |
752 | 'title' => $params['title'], | 752 | 'title' => $params['title'], |
753 | 'text' => $params['text'], | 753 | 'text' => $params['text'], |
754 | 'ad_employer_id' => $params['_vacancy'], | 754 | 'ad_employer_id' => $params['_vacancy'], |
755 | 'flag_new' => 1 | 755 | 'flag_new' => 1 |
756 | ]; | 756 | ]; |
757 | 757 | ||
758 | $message = Message::add_message( | 758 | $message = Message::add_message( |
759 | $request, | 759 | $request, |
760 | $params['_user_id'], | 760 | $params['_user_id'], |
761 | $params['_to_user_id'], | 761 | $params['_to_user_id'], |
762 | $message_params, | 762 | $message_params, |
763 | file_store_path: "worker/$id" | 763 | file_store_path: "worker/$id" |
764 | ); | 764 | ); |
765 | 765 | ||
766 | return redirect()->route('employer.dialog', ['chat' => $message->chat_id_to]); | 766 | return redirect()->route('employer.dialog', ['chat' => $message->chat_id_to]); |
767 | } | 767 | } |
768 | 768 | ||
769 | // Восстановление пароля | 769 | // Восстановление пароля |
770 | public function repair_password(Request $request) { | 770 | public function repair_password(Request $request) { |
771 | $params = $request->get('email'); | 771 | $params = $request->get('email'); |
772 | } | 772 | } |
773 | 773 | ||
774 | // Избранные люди на корабль | 774 | // Избранные люди на корабль |
775 | public function selected_people(Request $request) { | 775 | public function selected_people(Request $request) { |
776 | $id = $request->get('id'); | 776 | $id = $request->get('id'); |
777 | $favorite_people = Job_title::query()->orderByDesc('sort')->OrderBy('name')-> | 777 | $favorite_people = Job_title::query()->orderByDesc('sort')->OrderBy('name')-> |
778 | where('is_remove', '=', '0')-> | 778 | where('is_remove', '=', '0')-> |
779 | where('is_bd', '=', '0')-> | 779 | where('is_bd', '=', '0')-> |
780 | where('position_id', $id)-> | 780 | where('position_id', $id)-> |
781 | get(); | 781 | get(); |
782 | return view('favorite_people', compact('favorite_people')); | 782 | return view('favorite_people', compact('favorite_people')); |
783 | } | 783 | } |
784 | 784 | ||
785 | /** | 785 | /** |
786 | * @throws JsonException | 786 | * @throws JsonException |
787 | */ | 787 | */ |
788 | public function vacancyAutoLiftForm(): View | 788 | public function vacancyAutoLiftForm(): View |
789 | { | 789 | { |
790 | $employer = Auth::user()->employers[0]; | 790 | $employer = Auth::user()->employers[0]; |
791 | $vacancies = $employer | 791 | $vacancies = $employer |
792 | ->ads() | 792 | ->ads() |
793 | ->where('is_remove', 0) | 793 | ->where('is_remove', 0) |
794 | ->where('active_is', 1) | 794 | ->where('active_is', 1) |
795 | ->get(); | 795 | ->get(); |
796 | 796 | ||
797 | $options = $employer->autoliftOptions ?? new EmployerAutoliftOption(); | 797 | $options = $employer->autoliftOptions ?? new EmployerAutoliftOption(); |
798 | 798 | ||
799 | return view('employers.vacancy_autolift', compact('vacancies', 'options')); | 799 | return view('employers.vacancy_autolift', compact('vacancies', 'options')); |
800 | } | 800 | } |
801 | 801 | ||
802 | /** | 802 | /** |
803 | * @throws JsonException | 803 | * @throws JsonException |
804 | */ | 804 | */ |
805 | public function vacancyAutoLiftSave(Request $request) | 805 | public function vacancyAutoLiftSave(Request $request) |
806 | { | 806 | { |
807 | $employer = Auth::user()->employers[0]; | 807 | $employer = Auth::user()->employers[0]; |
808 | 808 | ||
809 | $employer->autoliftOptions()->updateOrCreate( | 809 | $employer->autoliftOptions()->updateOrCreate( |
810 | [ | 810 | [ |
811 | 'employer_id' => $employer->id, | 811 | 'employer_id' => $employer->id, |
812 | ], | 812 | ], |
813 | [ | 813 | [ |
814 | 'is_enabled' => $request->get('is_enabled'), | 814 | 'is_enabled' => $request->get('is_enabled') === 'on', |
815 | 'times_per_day' => $request->get('times_per_day'), | 815 | 'times_per_day' => $request->get('times_per_day'), |
816 | 'days_repeat' => $request->get('days_repeat'), | 816 | 'days_repeat' => $request->get('days_repeat'), |
817 | 'time_send_first' => $request->get('time_send_first'), | 817 | 'time_send_first' => $request->get('time_send_first'), |
818 | 'time_send_second' => $request->get('time_send_second'), | 818 | 'time_send_second' => $request->get('time_send_second'), |
819 | 'time_send_third' => $request->get('time_send_third'), | 819 | 'time_send_third' => $request->get('time_send_third'), |
820 | 'time_send_tg' => $request->get('time_send_tg'), | 820 | 'time_send_tg' => $request->get('time_send_tg'), |
821 | ] | 821 | ] |
822 | ); | 822 | ); |
823 | 823 | ||
824 | foreach ($request->get('vacancies') as $vacancy) { | 824 | foreach ($request->get('vacancies') as $vacancy) { |
825 | Ad_employer::query() | 825 | Ad_employer::query() |
826 | ->where('id', $vacancy['id']) | 826 | ->where('id', $vacancy['id']) |
827 | ->update([ | 827 | ->update([ |
828 | 'autolift_site' => $vacancy['autolift_site'] === 'true', //they're arriving as strings | 828 | 'autolift_site' => $vacancy['autolift_site'] === 'true', //they're arriving as strings |
829 | 'autosend_tg' => $vacancy['autosend_tg'] === 'true', | 829 | 'autosend_tg' => $vacancy['autosend_tg'] === 'true', |
830 | ]); | 830 | ]); |
831 | } | 831 | } |
832 | 832 | ||
833 | return response(['success' => true]); | 833 | return response(['success' => true]); |
834 | } | 834 | } |
835 | 835 | ||
836 | public function autoresponder() | 836 | public function autoresponder() |
837 | { | 837 | { |
838 | $user = Auth::user(); | 838 | $user = Auth::user(); |
839 | return view('employers.autoresponder', compact('user')); | 839 | return view('employers.autoresponder', compact('user')); |
840 | } | 840 | } |
841 | 841 | ||
842 | public function autoresponderSave(Request $request): RedirectResponse | 842 | public function autoresponderSave(Request $request): RedirectResponse |
843 | { | 843 | { |
844 | $user = Auth::user(); | 844 | $user = Auth::user(); |
845 | $user->autoresponder = $request->get('autoresponder', false) === 'on'; | 845 | $user->autoresponder = $request->get('autoresponder', false) === 'on'; |
846 | $user->autoresponder_message = $request->get('autoresponder_message'); | 846 | $user->autoresponder_message = $request->get('autoresponder_message'); |
847 | $user->save(); | 847 | $user->save(); |
848 | 848 | ||
849 | return redirect(route('employer.autoresponder')); | 849 | return redirect(route('employer.autoresponder')); |
850 | } | 850 | } |
851 | } | 851 | } |
852 | 852 |
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\Classes\Tools; | 6 | use App\Classes\Tools; |
7 | use App\Http\Requests\DocumentsRequest; | 7 | use App\Http\Requests\DocumentsRequest; |
8 | use App\Http\Requests\PrevCompanyRequest; | 8 | use App\Http\Requests\PrevCompanyRequest; |
9 | use App\Http\Requests\SertificationRequest; | 9 | use App\Http\Requests\SertificationRequest; |
10 | use App\Models\Ad_employer; | 10 | use App\Models\Ad_employer; |
11 | use App\Models\ad_response; | 11 | use App\Models\ad_response; |
12 | use App\Models\Chat; | 12 | use App\Models\Chat; |
13 | use App\Models\Dop_info; | 13 | use App\Models\Dop_info; |
14 | use App\Models\Employer; | 14 | use App\Models\Employer; |
15 | use App\Models\EmployerAutoliftOption; | 15 | use App\Models\EmployerAutoliftOption; |
16 | use App\Models\infobloks; | 16 | use App\Models\infobloks; |
17 | use App\Models\Job_title; | 17 | use App\Models\Job_title; |
18 | use App\Models\Like_vacancy; | 18 | use App\Models\Like_vacancy; |
19 | use App\Models\Message; | 19 | use App\Models\Message; |
20 | use App\Models\place_works; | 20 | use App\Models\place_works; |
21 | use App\Models\PrevCompany; | 21 | use App\Models\PrevCompany; |
22 | use App\Models\ResponseWork; | 22 | use App\Models\ResponseWork; |
23 | use App\Models\sertification; | 23 | use App\Models\sertification; |
24 | use App\Models\Static_worker; | 24 | use App\Models\Static_worker; |
25 | use App\Models\Title_worker; | 25 | use App\Models\Title_worker; |
26 | use App\Models\User; | 26 | use App\Models\User; |
27 | use App\Models\User as User_Model; | 27 | use App\Models\User as User_Model; |
28 | use App\Models\Worker; | 28 | use App\Models\Worker; |
29 | use App\Models\WorkerAutoliftOption; | 29 | use App\Models\WorkerAutoliftOption; |
30 | use Barryvdh\DomPDF\Facade\Pdf; | 30 | use Barryvdh\DomPDF\Facade\Pdf; |
31 | use Carbon\Carbon; | 31 | use Carbon\Carbon; |
32 | use Illuminate\Auth\Events\Registered; | 32 | use Illuminate\Auth\Events\Registered; |
33 | use Illuminate\Database\Eloquent\Builder; | 33 | use Illuminate\Database\Eloquent\Builder; |
34 | use Illuminate\Http\RedirectResponse; | 34 | use Illuminate\Http\RedirectResponse; |
35 | use Illuminate\Http\Request; | 35 | use Illuminate\Http\Request; |
36 | use Illuminate\Pagination\LengthAwarePaginator; | 36 | use Illuminate\Pagination\LengthAwarePaginator; |
37 | use Illuminate\Support\Facades\Auth; | 37 | use Illuminate\Support\Facades\Auth; |
38 | use Illuminate\Support\Facades\DB; | 38 | use Illuminate\Support\Facades\DB; |
39 | use Illuminate\Support\Facades\Hash; | 39 | use Illuminate\Support\Facades\Hash; |
40 | use Illuminate\Support\Facades\Storage; | 40 | use Illuminate\Support\Facades\Storage; |
41 | use Illuminate\Support\Facades\Validator; | 41 | use Illuminate\Support\Facades\Validator; |
42 | use Illuminate\View\View; | 42 | use Illuminate\View\View; |
43 | use JsonException; | 43 | use JsonException; |
44 | use PhpOffice\PhpSpreadsheet\Spreadsheet; | 44 | use PhpOffice\PhpSpreadsheet\Spreadsheet; |
45 | use PhpOffice\PhpSpreadsheet\Writer\Xlsx; | 45 | use PhpOffice\PhpSpreadsheet\Writer\Xlsx; |
46 | use Symfony\Component\HttpFoundation\StreamedResponse; | 46 | use Symfony\Component\HttpFoundation\StreamedResponse; |
47 | use App\Enums\DbExportColumns; | 47 | use App\Enums\DbExportColumns; |
48 | use App\Enums\WorkerStatuses; | 48 | use App\Enums\WorkerStatuses; |
49 | use DateTime; | 49 | use DateTime; |
50 | 50 | ||
51 | class WorkerController extends Controller | 51 | class WorkerController extends Controller |
52 | { | 52 | { |
53 | //профиль | 53 | //профиль |
54 | public function profile(Worker $worker) | 54 | public function profile(Worker $worker) |
55 | { | 55 | { |
56 | $get_date = date('Y.m'); | 56 | $get_date = date('Y.m'); |
57 | 57 | ||
58 | $c = Static_worker::query()->where('year_month', '=', $get_date) | 58 | $c = Static_worker::query()->where('year_month', '=', $get_date) |
59 | ->where('user_id', '=', $worker->users->id) | 59 | ->where('user_id', '=', $worker->users->id) |
60 | ->get(); | 60 | ->get(); |
61 | 61 | ||
62 | if ($c->count() > 0) { | 62 | if ($c->count() > 0) { |
63 | $upd = Static_worker::find($c[0]->id); | 63 | $upd = Static_worker::find($c[0]->id); |
64 | $upd->lookin = $upd->lookin + 1; | 64 | $upd->lookin = $upd->lookin + 1; |
65 | $upd->save(); | 65 | $upd->save(); |
66 | } else { | 66 | } else { |
67 | $crt = new Static_worker(); | 67 | $crt = new Static_worker(); |
68 | $crt->lookin = 1; | 68 | $crt->lookin = 1; |
69 | $crt->year_month = $get_date; | 69 | $crt->year_month = $get_date; |
70 | $crt->user_id = $worker->user_id; | 70 | $crt->user_id = $worker->user_id; |
71 | $crt->save(); | 71 | $crt->save(); |
72 | } | 72 | } |
73 | 73 | ||
74 | $stat = Static_worker::query()->where('year_month', '=', $get_date) | 74 | $stat = Static_worker::query()->where('year_month', '=', $get_date) |
75 | ->where('user_id', '=', $worker->users->id) | 75 | ->where('user_id', '=', $worker->users->id) |
76 | ->get(); | 76 | ->get(); |
77 | 77 | ||
78 | return view('public.workers.profile', compact('worker', 'stat')); | 78 | return view('public.workers.profile', compact('worker', 'stat')); |
79 | } | 79 | } |
80 | 80 | ||
81 | // лист база резюме | 81 | // лист база резюме |
82 | public function bd_resume(Request $request) | 82 | public function bd_resume(Request $request) |
83 | { | 83 | { |
84 | if (isset(Auth()->user()->id)) { | 84 | if (isset(Auth()->user()->id)) { |
85 | if ((Auth()->user()->is_worker) || (!Auth()->user()->is_lookin)) | 85 | if ((Auth()->user()->is_worker) || (!Auth()->user()->is_lookin)) |
86 | return redirect()->route('index')->withErrors(['errors' => ['Вы не можете просматривать базу резюме. Подробнее в меню: "Условия размещения"']]); | 86 | return redirect()->route('index')->withErrors(['errors' => ['Вы не можете просматривать базу резюме. Подробнее в меню: "Условия размещения"']]); |
87 | } | 87 | } |
88 | 88 | ||
89 | $status_work = WorkerStatuses::getWorkerStatuses(); | 89 | $status_work = WorkerStatuses::getWorkerStatuses(); |
90 | 90 | ||
91 | $resumes = Worker::query()->with('users')->with('job_titles')->orderByDesc('updated_at'); | 91 | $resumes = Worker::query()->with('users')->with('job_titles')->orderByDesc('updated_at'); |
92 | $resumes = $resumes->whereHas('users', function (Builder $query) { | 92 | $resumes = $resumes->whereHas('users', function (Builder $query) { |
93 | $query->Where('is_worker', '=', '1') | 93 | $query->Where('is_worker', '=', '1') |
94 | ->Where('is_bd', '=', '0'); | 94 | ->Where('is_bd', '=', '0'); |
95 | }); | 95 | }); |
96 | 96 | ||
97 | if (($request->has('job')) && ($request->get('job') > 0)) { | 97 | if (($request->has('job')) && ($request->get('job') > 0)) { |
98 | $resumes = $resumes->whereHas('job_titles', function (Builder $query) use ($request) { | 98 | $resumes = $resumes->whereHas('job_titles', function (Builder $query) use ($request) { |
99 | $query->Where('job_titles.id', $request->get('job')); | 99 | $query->Where('job_titles.id', $request->get('job')); |
100 | }); | 100 | }); |
101 | } | 101 | } |
102 | 102 | ||
103 | $Job_title = Job_title::query() | 103 | $Job_title = Job_title::query() |
104 | ->where('is_remove', '=', '0') | 104 | ->where('is_remove', '=', '0') |
105 | ->where('is_bd', '=' , '1') | 105 | ->where('is_bd', '=' , '1') |
106 | ->orderByDesc('sort') | 106 | ->orderByDesc('sort') |
107 | ->get(); | 107 | ->get(); |
108 | 108 | ||
109 | if ($request->get('sort')) { | 109 | if ($request->get('sort')) { |
110 | $sort = $request->get('sort'); | 110 | $sort = $request->get('sort'); |
111 | switch ($sort) { | 111 | switch ($sort) { |
112 | case 'looking_for_work': | 112 | case 'looking_for_work': |
113 | $resumes->where('status_work', '=', WorkerStatuses::LookingForWork->value); | 113 | $resumes->where('status_work', '=', WorkerStatuses::LookingForWork->value); |
114 | break; | 114 | break; |
115 | case 'considering_offers': | 115 | case 'considering_offers': |
116 | $resumes->where('status_work', '=', WorkerStatuses::ConsideringOffers->value); | 116 | $resumes->where('status_work', '=', WorkerStatuses::ConsideringOffers->value); |
117 | break; | 117 | break; |
118 | case 'not_looking_for_work': | 118 | case 'not_looking_for_work': |
119 | $resumes->where('status_work', '=', WorkerStatuses::NotLookingForWork->value); | 119 | $resumes->where('status_work', '=', WorkerStatuses::NotLookingForWork->value); |
120 | break; | 120 | break; |
121 | } | 121 | } |
122 | } | 122 | } |
123 | 123 | ||
124 | $resumes = $resumes->get()->filter(function ($worker) { | 124 | $resumes = $resumes->get()->filter(function ($worker) { |
125 | return Tools::getWorkerProfilePercent($worker) >= 50; | 125 | return Tools::getWorkerProfilePercent($worker) >= 50; |
126 | }); | 126 | }); |
127 | 127 | ||
128 | $res_count = $resumes->count(); | 128 | $res_count = $resumes->count(); |
129 | 129 | ||
130 | $currentPage = $_GET['page'] ?? 1; | 130 | $currentPage = $_GET['page'] ?? 1; |
131 | $resumes = new LengthAwarePaginator( | 131 | $resumes = new LengthAwarePaginator( |
132 | items: $resumes->slice(4 * ($currentPage - 1), 4), | 132 | items: $resumes->slice(4 * ($currentPage - 1), 4), |
133 | total: $res_count, | 133 | total: $res_count, |
134 | perPage: 4, | 134 | perPage: 4, |
135 | ); | 135 | ); |
136 | $resumes->setPath('bd-resume'); | 136 | $resumes->setPath('bd-resume'); |
137 | 137 | ||
138 | if ($request->ajax()) { | 138 | if ($request->ajax()) { |
139 | // Условия обставлены | 139 | // Условия обставлены |
140 | if ($request->has('block') && ($request->get('block') == 1)) { | 140 | if ($request->has('block') && ($request->get('block') == 1)) { |
141 | return view('ajax.resume_1', compact('resumes', 'status_work', 'res_count')); | 141 | return view('ajax.resume_1', compact('resumes', 'status_work', 'res_count')); |
142 | } | 142 | } |
143 | } else { | 143 | } else { |
144 | return view('resume', compact('resumes', 'status_work', 'res_count', 'Job_title')); | 144 | return view('resume', compact('resumes', 'status_work', 'res_count', 'Job_title')); |
145 | } | 145 | } |
146 | } | 146 | } |
147 | 147 | ||
148 | public function basic_information(){ | 148 | public function basic_information(){ |
149 | if (!isset(Auth()->user()->id)) { | 149 | if (!isset(Auth()->user()->id)) { |
150 | abort(404); | 150 | abort(404); |
151 | } | 151 | } |
152 | 152 | ||
153 | $user_id = Auth()->user()->id; | 153 | $user_id = Auth()->user()->id; |
154 | 154 | ||
155 | $user = User::query() | 155 | $user = User::query() |
156 | ->with('workers') | 156 | ->with('workers') |
157 | ->with(['jobtitles' => function ($query) { | 157 | ->with(['jobtitles' => function ($query) { |
158 | $query->select('job_titles.id'); | 158 | $query->select('job_titles.id'); |
159 | }]) | 159 | }]) |
160 | ->where('id', '=', $user_id) | 160 | ->where('id', '=', $user_id) |
161 | ->first(); | 161 | ->first(); |
162 | $user->workers[0]->job_titles = $user->workers[0]->job_titles->pluck('id')->toArray(); | 162 | $user->workers[0]->job_titles = $user->workers[0]->job_titles->pluck('id')->toArray(); |
163 | 163 | ||
164 | $job_titles = Job_title::query() | 164 | $job_titles = Job_title::query() |
165 | ->where('is_remove', '=', 0) | 165 | ->where('is_remove', '=', 0) |
166 | ->where('is_bd', '=', 1) | 166 | ->where('is_bd', '=', 1) |
167 | ->orderByDesc('sort') | 167 | ->orderByDesc('sort') |
168 | ->get() | 168 | ->get() |
169 | ; | 169 | ; |
170 | 170 | ||
171 | return view('workers.form_basic_information', compact('user', 'job_titles')); | 171 | return view('workers.form_basic_information', compact('user', 'job_titles')); |
172 | } | 172 | } |
173 | 173 | ||
174 | public function additional_documents(){ | 174 | public function additional_documents(){ |
175 | if (!isset(Auth()->user()->id)) { | 175 | if (!isset(Auth()->user()->id)) { |
176 | abort(404); | 176 | abort(404); |
177 | } | 177 | } |
178 | 178 | ||
179 | $user_id = Auth()->user()->id; | 179 | $user_id = Auth()->user()->id; |
180 | 180 | ||
181 | $info_blocks = infobloks::query()->OrderBy('name')->get(); | 181 | $info_blocks = infobloks::query()->OrderBy('name')->get(); |
182 | $additional_document_statuses = [0 => 'Не указано', 1 => 'В наличии', 2 => 'Отсутствует']; | 182 | $additional_document_statuses = [0 => 'Не указано', 1 => 'В наличии', 2 => 'Отсутствует']; |
183 | 183 | ||
184 | $worker = Worker::query() | 184 | $worker = Worker::query() |
185 | ->with('users') | 185 | ->with('users') |
186 | ->with('infobloks') | 186 | ->with('infobloks') |
187 | ->WhereHas('users', function (Builder $query) use ($user_id) { | 187 | ->WhereHas('users', function (Builder $query) use ($user_id) { |
188 | $query->Where('id', $user_id); | 188 | $query->Where('id', $user_id); |
189 | }) | 189 | }) |
190 | ->first(); | 190 | ->first(); |
191 | if ($worker->dop_info->count()){ | 191 | if ($worker->dop_info->count()){ |
192 | $worker->dop_info = $worker->dop_info->keyBy('infoblok_id')->toArray(); | 192 | $worker->dop_info = $worker->dop_info->keyBy('infoblok_id')->toArray(); |
193 | } | 193 | } |
194 | 194 | ||
195 | return view('workers.form_additional_documents', compact('worker', 'info_blocks', 'additional_document_statuses')); | 195 | return view('workers.form_additional_documents', compact('worker', 'info_blocks', 'additional_document_statuses')); |
196 | } | 196 | } |
197 | 197 | ||
198 | //Лайк резюме | 198 | //Лайк резюме |
199 | public function like_controller() { | 199 | public function like_controller() { |
200 | 200 | ||
201 | } | 201 | } |
202 | 202 | ||
203 | // анкета соискателя | 203 | // анкета соискателя |
204 | public function resume_profile(Worker $worker) | 204 | public function resume_profile(Worker $worker) |
205 | { | 205 | { |
206 | if (isset(Auth()->user()->id)) { | 206 | if (isset(Auth()->user()->id)) { |
207 | $idiot = Auth()->user()->id; | 207 | $idiot = Auth()->user()->id; |
208 | } else { | 208 | } else { |
209 | $idiot = 0; | 209 | $idiot = 0; |
210 | } | 210 | } |
211 | 211 | ||
212 | $status_work = WorkerStatuses::getWorkerStatuses(); | 212 | $status_work = WorkerStatuses::getWorkerStatuses(); |
213 | $Query = Worker::query()->with('users')->with('job_titles') | 213 | $Query = Worker::query()->with('users')->with('job_titles') |
214 | ->with('place_worker')->with('sertificate')->with('prev_company') | 214 | ->with('place_worker')->with('sertificate')->with('prev_company') |
215 | ->with('infobloks')->with('response'); | 215 | ->with('infobloks')->with('response'); |
216 | $Query = $Query->where('id', '=', $worker->id); | 216 | $Query = $Query->where('id', '=', $worker->id); |
217 | $Query = $Query->get(); | 217 | $Query = $Query->get(); |
218 | 218 | ||
219 | $get_date = date('Y.m'); | 219 | $get_date = date('Y.m'); |
220 | 220 | ||
221 | $infoblocks = infobloks::query()->get(); | 221 | $infoblocks = infobloks::query()->get(); |
222 | 222 | ||
223 | $c = Static_worker::query()->where('year_month', '=', $get_date) | 223 | $c = Static_worker::query()->where('year_month', '=', $get_date) |
224 | ->where('user_id', '=', $worker->user_id) | 224 | ->where('user_id', '=', $worker->user_id) |
225 | ->get(); | 225 | ->get(); |
226 | 226 | ||
227 | if ($c->count() > 0) { | 227 | if ($c->count() > 0) { |
228 | $upd = Static_worker::find($c[0]->id); | 228 | $upd = Static_worker::find($c[0]->id); |
229 | $upd->lookin = $upd->lookin + 1; | 229 | $upd->lookin = $upd->lookin + 1; |
230 | $upd->save(); | 230 | $upd->save(); |
231 | } else { | 231 | } else { |
232 | $crt = new Static_worker(); | 232 | $crt = new Static_worker(); |
233 | $crt->lookin = 1; | 233 | $crt->lookin = 1; |
234 | $crt->year_month = $get_date; | 234 | $crt->year_month = $get_date; |
235 | $crt->user_id = $worker->user_id; | 235 | $crt->user_id = $worker->user_id; |
236 | $status = $crt->save(); | 236 | $status = $crt->save(); |
237 | } | 237 | } |
238 | 238 | ||
239 | $stat = Static_worker::query()->where('year_month', '=', $get_date) | 239 | $stat = Static_worker::query()->where('year_month', '=', $get_date) |
240 | ->where('user_id', '=', $worker->user_id) | 240 | ->where('user_id', '=', $worker->user_id) |
241 | ->get(); | 241 | ->get(); |
242 | 242 | ||
243 | return view('worker', compact('Query', 'infoblocks', 'status_work', 'idiot', 'stat')); | 243 | return view('worker', compact('Query', 'infoblocks', 'status_work', 'idiot', 'stat')); |
244 | } | 244 | } |
245 | 245 | ||
246 | // скачать анкету соискателя | 246 | // скачать анкету соискателя |
247 | public function resume_download(Worker $worker) | 247 | public function resume_download(Worker $worker) |
248 | { | 248 | { |
249 | $status_work = WorkerStatuses::getWorkerStatuses(); | 249 | $status_work = WorkerStatuses::getWorkerStatuses(); |
250 | $Query = Worker::query()->with('users')->with('job_titles') | 250 | $Query = Worker::query()->with('users')->with('job_titles') |
251 | ->with('place_worker')->with('sertificate')->with('prev_company') | 251 | ->with('place_worker')->with('sertificate')->with('prev_company') |
252 | ->with('infobloks'); | 252 | ->with('infobloks'); |
253 | $Query = $Query->where('id', '=', $worker->id); | 253 | $Query = $Query->where('id', '=', $worker->id); |
254 | $Query = $Query->get(); | 254 | $Query = $Query->get(); |
255 | 255 | ||
256 | view()->share('Query',$Query); | 256 | view()->share('Query',$Query); |
257 | 257 | ||
258 | $status_work = WorkerStatuses::getWorkerStatuses(); | 258 | $status_work = WorkerStatuses::getWorkerStatuses(); |
259 | $infoblocks = infobloks::query()->get(); | 259 | $infoblocks = infobloks::query()->get(); |
260 | 260 | ||
261 | //return view('layout.pdf', compact('Query', 'status_work', 'infoblocks')); | 261 | //return view('layout.pdf', compact('Query', 'status_work', 'infoblocks')); |
262 | $pdf = PDF::loadView('layout.pdf', [ | 262 | $pdf = PDF::loadView('layout.pdf', [ |
263 | 'Query' => $Query, | 263 | 'Query' => $Query, |
264 | 'status_work' => $status_work, | 264 | 'status_work' => $status_work, |
265 | 'infoblocks' => $infoblocks | 265 | 'infoblocks' => $infoblocks |
266 | ])->setPaper('a4', 'landscape'); | 266 | ])->setPaper('a4', 'landscape'); |
267 | 267 | ||
268 | return $pdf->download(); | 268 | return $pdf->download(); |
269 | } | 269 | } |
270 | 270 | ||
271 | public function resume_download_all(Request $request) { | 271 | public function resume_download_all(Request $request) { |
272 | $spreadsheet = new Spreadsheet(); | 272 | $spreadsheet = new Spreadsheet(); |
273 | $sheet = $spreadsheet->getActiveSheet(); | 273 | $sheet = $spreadsheet->getActiveSheet(); |
274 | 274 | ||
275 | $columnMap = range('A', 'Z'); | 275 | $columnMap = range('A', 'Z'); |
276 | $columns = []; | 276 | $columns = []; |
277 | 277 | ||
278 | foreach (DbExportColumns::toArray() as $key => $value){ | 278 | foreach (DbExportColumns::toArray() as $key => $value){ |
279 | if ($request->input($key, 0)){ | 279 | if ($request->input($key, 0)){ |
280 | $sheet->setCellValue("{$columnMap[count($columns)]}1", ucfirst($value)); | 280 | $sheet->setCellValue("{$columnMap[count($columns)]}1", ucfirst($value)); |
281 | $columns[] = str_replace('__', '.', $key); | 281 | $columns[] = str_replace('__', '.', $key); |
282 | } | 282 | } |
283 | } | 283 | } |
284 | 284 | ||
285 | if (empty($columns)) { | 285 | if (empty($columns)) { |
286 | return redirect()->back()->with('error', 'Пожалуйста выберите хотя бы 1 колонку для экспорта.'); | 286 | return redirect()->back()->with('error', 'Пожалуйста выберите хотя бы 1 колонку для экспорта.'); |
287 | } | 287 | } |
288 | 288 | ||
289 | $jobIds = $request->input('job_title_list', []); | 289 | $jobIds = $request->input('job_title_list', []); |
290 | 290 | ||
291 | /* //query for mysql ver 8.0 or higher | 291 | /* //query for mysql ver 8.0 or higher |
292 | $users = DB::select( | 292 | $users = DB::select( |
293 | "select `job_titles`.`name`, `users`.`surname`, `users`.`name_man`, `users`.`surname2`, `users`.`email`, `users`.`telephone` | 293 | "select `job_titles`.`name`, `users`.`surname`, `users`.`name_man`, `users`.`surname2`, `users`.`email`, `users`.`telephone` |
294 | from users | 294 | from users |
295 | join workers on `users`.`id` = `workers`.`user_id` | 295 | join workers on `users`.`id` = `workers`.`user_id` |
296 | join `job_titles` | 296 | join `job_titles` |
297 | where `users`.`is_bd` = 1 | 297 | where `users`.`is_bd` = 1 |
298 | and (`workers`.`position_work` = `job_titles`.`id` | 298 | and (`workers`.`position_work` = `job_titles`.`id` |
299 | or exists (select 1 | 299 | or exists (select 1 |
300 | from JSON_TABLE( | 300 | from JSON_TABLE( |
301 | workers.positions_work, | 301 | workers.positions_work, |
302 | '$[*]' COLUMNS (id INT PATH '$')) pw | 302 | '$[*]' COLUMNS (id INT PATH '$')) pw |
303 | where pw.id = job_titles.id) | 303 | where pw.id = job_titles.id) |
304 | )". ((!empty($jobIds)) ? 'and job_titles.id in ('. implode(',', $jobIds).')' : '') | 304 | )". ((!empty($jobIds)) ? 'and job_titles.id in ('. implode(',', $jobIds).')' : '') |
305 | );*/ | 305 | );*/ |
306 | 306 | ||
307 | $users = DB::select( | 307 | $users = DB::select( |
308 | "select `job_titles`.`name`, `users`.`surname`, `users`.`name_man`, `users`.`surname2`, `users`.`email`, `users`.`telephone` | 308 | "select `job_titles`.`name`, `users`.`surname`, `users`.`name_man`, `users`.`surname2`, `users`.`email`, `users`.`telephone` |
309 | from users | 309 | from users |
310 | join workers on `users`.`id` = `workers`.`user_id` | 310 | join workers on `users`.`id` = `workers`.`user_id` |
311 | join `job_titles` | 311 | join `job_titles` |
312 | where `users`.`is_bd` = 1 | 312 | where `users`.`is_bd` = 1 |
313 | and (`workers`.`position_work` = `job_titles`.`id` | 313 | and (`workers`.`position_work` = `job_titles`.`id` |
314 | or `workers`.`positions_work` | 314 | or `workers`.`positions_work` |
315 | )". ((!empty($jobIds)) ? 'and job_titles.id in ('. implode(',', $jobIds).')' : '') | 315 | )". ((!empty($jobIds)) ? 'and job_titles.id in ('. implode(',', $jobIds).')' : '') |
316 | ); | 316 | ); |
317 | 317 | ||
318 | $users = collect($users); | 318 | $users = collect($users); |
319 | 319 | ||
320 | if ($users->count()) { | 320 | if ($users->count()) { |
321 | $i = 2; | 321 | $i = 2; |
322 | foreach ($users->toArray() as $user){ | 322 | foreach ($users->toArray() as $user){ |
323 | $j = 0; | 323 | $j = 0; |
324 | foreach ($user as $field){ | 324 | foreach ($user as $field){ |
325 | $sheet->setCellValue("{$columnMap[$j++]}$i", $field); | 325 | $sheet->setCellValue("{$columnMap[$j++]}$i", $field); |
326 | } | 326 | } |
327 | $i++; | 327 | $i++; |
328 | } | 328 | } |
329 | } | 329 | } |
330 | $writer = new Xlsx($spreadsheet); | 330 | $writer = new Xlsx($spreadsheet); |
331 | $fileName = 'DB.xlsx'; | 331 | $fileName = 'DB.xlsx'; |
332 | 332 | ||
333 | $response = new StreamedResponse(function() use ($writer) { | 333 | $response = new StreamedResponse(function() use ($writer) { |
334 | $writer->save('php://output'); | 334 | $writer->save('php://output'); |
335 | }); | 335 | }); |
336 | 336 | ||
337 | $response->headers->set('Content-Type', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'); | 337 | $response->headers->set('Content-Type', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'); |
338 | $response->headers->set('Content-Disposition', 'attachment;filename="' . $fileName . '"'); | 338 | $response->headers->set('Content-Disposition', 'attachment;filename="' . $fileName . '"'); |
339 | $response->headers->set('Cache-Control', 'max-age=0'); | 339 | $response->headers->set('Cache-Control', 'max-age=0'); |
340 | 340 | ||
341 | return $response; | 341 | return $response; |
342 | } | 342 | } |
343 | 343 | ||
344 | // Кабинет работника | 344 | // Кабинет работника |
345 | public function cabinet(Request $request) | 345 | public function cabinet(Request $request) |
346 | { | 346 | { |
347 | // дата год и месяц | 347 | // дата год и месяц |
348 | $get_date = date('Y.m'); | 348 | $get_date = date('Y.m'); |
349 | 349 | ||
350 | $id = Auth()->user()->id; | 350 | $id = Auth()->user()->id; |
351 | 351 | ||
352 | $Infobloks = infobloks::query()->get(); | 352 | $Infobloks = infobloks::query()->get(); |
353 | 353 | ||
354 | $Worker = Worker::query() | 354 | $Worker = Worker::query() |
355 | ->with(['users', 'sertificate', 'prev_company', 'infobloks', 'place_worker']) | 355 | ->with(['users', 'sertificate', 'prev_company', 'infobloks', 'place_worker']) |
356 | ->WhereHas('users', function (Builder $query) use ($id) { | 356 | ->WhereHas('users', function (Builder $query) use ($id) { |
357 | $query->Where('id', $id); | 357 | $query->Where('id', $id); |
358 | })->first(); | 358 | })->first(); |
359 | 359 | ||
360 | $Job_titles = Job_title::query()->where('is_remove', '=', '0') | 360 | $Job_titles = Job_title::query()->where('is_remove', '=', '0') |
361 | ->where('is_bd', '=' , '1') | 361 | ->where('is_bd', '=' , '1') |
362 | ->OrderByDesc('sort')->OrderBy('name') | 362 | ->OrderByDesc('sort')->OrderBy('name') |
363 | ->get(); | 363 | ->get(); |
364 | 364 | ||
365 | $stat = Static_worker::query()->where('year_month', '=', $get_date) | 365 | $stat = Static_worker::query()->where('year_month', '=', $get_date) |
366 | ->where('user_id', '=', $id) | 366 | ->where('user_id', '=', $id) |
367 | ->get(); | 367 | ->get(); |
368 | 368 | ||
369 | $persent = Tools::getWorkerProfilePercent($Worker); | 369 | $persent = Tools::getWorkerProfilePercent($Worker); |
370 | 370 | ||
371 | $status_work = WorkerStatuses::getWorkerStatuses(); | 371 | $status_work = WorkerStatuses::getWorkerStatuses(); |
372 | $additional_document_statuses = [0 => 'Не указано', 1 => 'В наличии', 2 => 'Отсутствует']; | 372 | $additional_document_statuses = [0 => 'Не указано', 1 => 'В наличии', 2 => 'Отсутствует']; |
373 | $info_blocks = infobloks::query()->OrderBy('name')->get(); | 373 | $info_blocks = infobloks::query()->OrderBy('name')->get(); |
374 | 374 | ||
375 | $worker = Worker::query() | 375 | $worker = Worker::query() |
376 | ->with('users') | 376 | ->with('users') |
377 | ->with('sertificate') | 377 | ->with('sertificate') |
378 | ->with('prev_company') | 378 | ->with('prev_company') |
379 | ->with('infobloks') | 379 | ->with('infobloks') |
380 | ->with('place_worker') | 380 | ->with('place_worker') |
381 | ->with('job_titles') | 381 | ->with('job_titles') |
382 | ->WhereHas('users', function (Builder $query) use ($id) { | 382 | ->WhereHas('users', function (Builder $query) use ($id) { |
383 | $query->Where('id', $id); | 383 | $query->Where('id', $id); |
384 | }) | 384 | }) |
385 | ->first(); | 385 | ->first(); |
386 | if ($worker->dop_info->count()){ | 386 | if ($worker->dop_info->count()){ |
387 | $worker->dop_info = $worker->dop_info->keyBy('infoblok_id')->toArray(); | 387 | $worker->dop_info = $worker->dop_info->keyBy('infoblok_id')->toArray(); |
388 | } | 388 | } |
389 | 389 | ||
390 | //dd($worker->dop_info); | 390 | //dd($worker->dop_info); |
391 | 391 | ||
392 | if ($request->has('print')) { | 392 | if ($request->has('print')) { |
393 | dd($Worker); | 393 | dd($Worker); |
394 | } else { | 394 | } else { |
395 | return view('workers.cabinet', compact( 'persent', 'Job_titles', 'stat', | 395 | return view('workers.cabinet', compact( 'persent', 'Job_titles', 'stat', |
396 | 'worker', 'info_blocks', 'status_work', 'additional_document_statuses' | 396 | 'worker', 'info_blocks', 'status_work', 'additional_document_statuses' |
397 | )); | 397 | )); |
398 | } | 398 | } |
399 | } | 399 | } |
400 | 400 | ||
401 | // Сохранение данных | 401 | // Сохранение данных |
402 | public function cabinet_save(Worker $worker, Request $request) | 402 | public function cabinet_save(Worker $worker, Request $request) |
403 | { | 403 | { |
404 | $id = $worker->id; | 404 | $id = $worker->id; |
405 | $params = $request->all(); | 405 | $params = $request->all(); |
406 | $job_title_id = $request->get('job_title_id'); | 406 | $job_title_id = $request->get('job_title_id'); |
407 | 407 | ||
408 | $rules = [ | 408 | $rules = [ |
409 | 'surname' => ['required', 'string', 'max:255'], | 409 | 'surname' => ['required', 'string', 'max:255'], |
410 | 'name_man' => ['required', 'string', 'max:255'], | 410 | 'name_man' => ['required', 'string', 'max:255'], |
411 | 'email' => ['required', 'string', 'email', 'max:255'], | 411 | 'email' => ['required', 'string', 'email', 'max:255'], |
412 | 412 | ||
413 | ]; | 413 | ]; |
414 | 414 | ||
415 | $messages = [ | 415 | $messages = [ |
416 | 'required' => 'Укажите обязательное поле', | 416 | 'required' => 'Укажите обязательное поле', |
417 | 'min' => [ | 417 | 'min' => [ |
418 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 418 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
419 | 'integer' => 'Поле «:attribute» должно быть :min или больше', | 419 | 'integer' => 'Поле «:attribute» должно быть :min или больше', |
420 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 420 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
421 | ], | 421 | ], |
422 | 'max' => [ | 422 | 'max' => [ |
423 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 423 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
424 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', | 424 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', |
425 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 425 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
426 | ] | 426 | ] |
427 | ]; | 427 | ]; |
428 | 428 | ||
429 | $validator = Validator::make($params, $rules, $messages); | 429 | $validator = Validator::make($params, $rules, $messages); |
430 | 430 | ||
431 | if ($validator->fails()) { | 431 | if ($validator->fails()) { |
432 | return redirect()->route('worker.cabinet')->withErrors($validator); | 432 | return redirect()->route('worker.cabinet')->withErrors($validator); |
433 | } else { | 433 | } else { |
434 | 434 | ||
435 | if ($request->has('photo')) { | 435 | if ($request->has('photo')) { |
436 | if (!empty($worker->photo)) { | 436 | if (!empty($worker->photo)) { |
437 | Storage::delete($worker->photo); | 437 | Storage::delete($worker->photo); |
438 | } | 438 | } |
439 | $params['photo'] = $request->file('photo')->store("worker/$id", 'public'); | 439 | $params['photo'] = $request->file('photo')->store("worker/$id", 'public'); |
440 | } | 440 | } |
441 | 441 | ||
442 | if ($request->has('file')) { | 442 | if ($request->has('file')) { |
443 | if (!empty($worker->file)) { | 443 | if (!empty($worker->file)) { |
444 | Storage::delete($worker->file); | 444 | Storage::delete($worker->file); |
445 | } | 445 | } |
446 | $params['file'] = $request->file('file')->store("worker/$id", 'public'); | 446 | $params['file'] = $request->file('file')->store("worker/$id", 'public'); |
447 | } | 447 | } |
448 | 448 | ||
449 | $worker->update($params); | 449 | $worker->update($params); |
450 | $use = User::find($worker->user_id); | 450 | $use = User::find($worker->user_id); |
451 | $use->surname = $request->get('surname'); | 451 | $use->surname = $request->get('surname'); |
452 | $use->name_man = $request->get('name_man'); | 452 | $use->name_man = $request->get('name_man'); |
453 | $use->surname2 = $request->get('surname2'); | 453 | $use->surname2 = $request->get('surname2'); |
454 | 454 | ||
455 | $use->save(); | 455 | $use->save(); |
456 | $worker->job_titles()->sync($job_title_id); | 456 | $worker->job_titles()->sync($job_title_id); |
457 | 457 | ||
458 | return redirect()->route('worker.cabinet')->with('success', 'Данные были успешно сохранены'); | 458 | return redirect()->route('worker.cabinet')->with('success', 'Данные были успешно сохранены'); |
459 | } | 459 | } |
460 | } | 460 | } |
461 | 461 | ||
462 | public function cabinet_save_foto(Worker $worker, Request $request){ | 462 | public function cabinet_save_foto(Worker $worker, Request $request){ |
463 | $params = ['photo' => null]; | 463 | $params = ['photo' => null]; |
464 | 464 | ||
465 | if ($request->has('photo')) { | 465 | if ($request->has('photo')) { |
466 | if (!empty($worker->photo)) { | 466 | if (!empty($worker->photo)) { |
467 | Storage::delete($worker->photo); | 467 | Storage::delete($worker->photo); |
468 | } | 468 | } |
469 | $params['photo'] = $request->file('photo')->store("worker/$worker->id", 'public'); | 469 | $params['photo'] = $request->file('photo')->store("worker/$worker->id", 'public'); |
470 | } | 470 | } |
471 | 471 | ||
472 | if ($request->has('file')) { | 472 | if ($request->has('file')) { |
473 | if (!empty($worker->file)) { | 473 | if (!empty($worker->file)) { |
474 | Storage::delete($worker->file); | 474 | Storage::delete($worker->file); |
475 | } | 475 | } |
476 | $params['file'] = $request->file('file')->store("worker/$worker->id", 'public'); | 476 | $params['file'] = $request->file('file')->store("worker/$worker->id", 'public'); |
477 | } | 477 | } |
478 | 478 | ||
479 | $worker->update($params); | 479 | $worker->update($params); |
480 | 480 | ||
481 | return redirect()->route('worker.cabinet'); | 481 | return redirect()->route('worker.cabinet'); |
482 | } | 482 | } |
483 | 483 | ||
484 | // Сообщения данные | 484 | // Сообщения данные |
485 | public function messages($type_message) | 485 | public function messages($type_message) |
486 | { | 486 | { |
487 | $user_id = Auth()->user()->id; | 487 | $user_id = Auth()->user()->id; |
488 | 488 | ||
489 | $chats = Chat::get_user_chats($user_id); | 489 | $chats = Chat::get_user_chats($user_id); |
490 | $admin_chat = Chat::get_user_admin_chat($user_id); | 490 | $admin_chat = Chat::get_user_admin_chat($user_id); |
491 | $user_type = 'worker'; | 491 | $user_type = 'worker'; |
492 | 492 | ||
493 | return view('workers.messages', compact('chats', 'admin_chat','user_id', 'user_type')); | 493 | return view('workers.messages', compact('chats', 'admin_chat','user_id', 'user_type')); |
494 | } | 494 | } |
495 | 495 | ||
496 | // Избранный | 496 | // Избранный |
497 | public function favorite() | 497 | public function favorite() |
498 | { | 498 | { |
499 | return view('workers.favorite'); | 499 | return view('workers.favorite'); |
500 | } | 500 | } |
501 | 501 | ||
502 | // Сменить пароль | 502 | // Сменить пароль |
503 | public function new_password() | 503 | public function new_password() |
504 | { | 504 | { |
505 | $email = Auth()->user()->email; | 505 | $email = Auth()->user()->email; |
506 | return view('workers.new_password', compact('email')); | 506 | return view('workers.new_password', compact('email')); |
507 | } | 507 | } |
508 | 508 | ||
509 | // Обновление пароля | 509 | // Обновление пароля |
510 | public function save_new_password(Request $request) { | 510 | public function save_new_password(Request $request) { |
511 | $use = Auth()->user(); | 511 | $use = Auth()->user(); |
512 | $request->validate([ | 512 | $request->validate([ |
513 | 'password' => 'required|string', | 513 | 'password' => 'required|string', |
514 | 'new_password' => 'required|string', | 514 | 'new_password' => 'required|string', |
515 | 'new_password2' => 'required|string' | 515 | 'new_password2' => 'required|string' |
516 | ]); | 516 | ]); |
517 | 517 | ||
518 | if ($request->get('new_password') == $request->get('new_password2')) | 518 | if ($request->get('new_password') == $request->get('new_password2')) |
519 | if ($request->get('password') !== $request->get('new_password')) { | 519 | if ($request->get('password') !== $request->get('new_password')) { |
520 | $credentials = $request->only('email', 'password'); | 520 | $credentials = $request->only('email', 'password'); |
521 | if (Auth::attempt($credentials, $request->has('save_me'))) { | 521 | if (Auth::attempt($credentials, $request->has('save_me'))) { |
522 | 522 | ||
523 | if (!is_null($use->email_verified_at)){ | 523 | if (!is_null($use->email_verified_at)){ |
524 | 524 | ||
525 | $user_data = User_Model::find($use->id); | 525 | $user_data = User_Model::find($use->id); |
526 | $user_data->update([ | 526 | $user_data->update([ |
527 | 'password' => Hash::make($request->get('new_password')), | 527 | 'password' => Hash::make($request->get('new_password')), |
528 | 'pubpassword' => base64_encode($request->get('new_password')), | 528 | 'pubpassword' => base64_encode($request->get('new_password')), |
529 | ]); | 529 | ]); |
530 | return redirect() | 530 | return redirect() |
531 | ->route('worker.new_password') | 531 | ->route('worker.new_password') |
532 | ->with('success', 'Поздравляю! Вы обновили свой пароль!'); | 532 | ->with('success', 'Поздравляю! Вы обновили свой пароль!'); |
533 | } | 533 | } |
534 | 534 | ||
535 | return redirect() | 535 | return redirect() |
536 | ->route('worker.new_password') | 536 | ->route('worker.new_password') |
537 | ->withError('Данная учетная запись не было верифицированна!'); | 537 | ->withError('Данная учетная запись не было верифицированна!'); |
538 | } | 538 | } |
539 | } | 539 | } |
540 | 540 | ||
541 | return redirect() | 541 | return redirect() |
542 | ->route('worker.new_password') | 542 | ->route('worker.new_password') |
543 | ->withErrors('Не совпадение данных, обновите пароли!'); | 543 | ->withErrors('Не совпадение данных, обновите пароли!'); |
544 | } | 544 | } |
545 | 545 | ||
546 | // Удаление профиля форма | 546 | // Удаление профиля форма |
547 | public function delete_profile() | 547 | public function delete_profile() |
548 | { | 548 | { |
549 | $login = Auth()->user()->email; | 549 | $login = Auth()->user()->email; |
550 | return view('workers.delete_profile', compact('login')); | 550 | return view('workers.delete_profile', compact('login')); |
551 | } | 551 | } |
552 | 552 | ||
553 | // Удаление профиля код | 553 | // Удаление профиля код |
554 | public function delete_profile_result(Request $request) { | 554 | public function delete_profile_result(Request $request) { |
555 | $Answer = $request->all(); | 555 | $Answer = $request->all(); |
556 | $user_id = Auth()->user()->id; | 556 | $user_id = Auth()->user()->id; |
557 | $request->validate([ | 557 | $request->validate([ |
558 | 'password' => 'required|string', | 558 | 'password' => 'required|string', |
559 | ]); | 559 | ]); |
560 | 560 | ||
561 | $credentials = $request->only('email', 'password'); | 561 | $credentials = $request->only('email', 'password'); |
562 | if (Auth::attempt($credentials)) { | 562 | if (Auth::attempt($credentials)) { |
563 | Auth::logout(); | 563 | Auth::logout(); |
564 | $it = User_Model::find($user_id); | 564 | $it = User_Model::find($user_id); |
565 | $it->delete(); | 565 | $it->delete(); |
566 | return redirect()->route('index')->with('success', 'Вы успешно удалили свой аккаунт'); | 566 | return redirect()->route('index')->with('success', 'Вы успешно удалили свой аккаунт'); |
567 | } else { | 567 | } else { |
568 | return redirect()->route('worker.delete_profile') | 568 | return redirect()->route('worker.delete_profile') |
569 | ->withErrors( 'Неверный пароль! Нужен корректный пароль'); | 569 | ->withErrors( 'Неверный пароль! Нужен корректный пароль'); |
570 | } | 570 | } |
571 | } | 571 | } |
572 | 572 | ||
573 | // Регистрация соискателя | 573 | // Регистрация соискателя |
574 | public function register_worker(Request $request) | 574 | public function register_worker(Request $request) |
575 | { | 575 | { |
576 | $params = $request->all(); | 576 | $params = $request->all(); |
577 | $params['is_worker'] = 1; | 577 | $params['is_worker'] = 1; |
578 | 578 | ||
579 | $rules = [ | 579 | $rules = [ |
580 | 'surname' => ['required', 'string', 'max:255'], | 580 | 'surname' => ['required', 'string', 'max:255'], |
581 | 'name_man' => ['required', 'string', 'max:255'], | 581 | 'name_man' => ['required', 'string', 'max:255'], |
582 | 'email' => ['required', 'email', 'max:255', 'unique:users'], | 582 | 'email' => ['required', 'email', 'max:255', 'unique:users'], |
583 | 'password' => ['required', 'string', 'min:6'] | 583 | 'password' => ['required', 'string', 'min:6'] |
584 | ]; | 584 | ]; |
585 | 585 | ||
586 | $messages = [ | 586 | $messages = [ |
587 | 'required' => 'Укажите обязательное поле', | 587 | 'required' => 'Укажите обязательное поле', |
588 | 'min' => [ | 588 | 'min' => [ |
589 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 589 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
590 | 'integer' => 'Поле «:attribute» должно быть :min или больше', | 590 | 'integer' => 'Поле «:attribute» должно быть :min или больше', |
591 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 591 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
592 | ], | 592 | ], |
593 | 'max' => [ | 593 | 'max' => [ |
594 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 594 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
595 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', | 595 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', |
596 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 596 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
597 | ] | 597 | ] |
598 | ]; | 598 | ]; |
599 | 599 | ||
600 | $email = $request->get('email'); | 600 | $email = $request->get('email'); |
601 | if (!preg_match("/^[a-zA-Z0-9_\-.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-.]+$/", $email)) { | 601 | if (!preg_match("/^[a-zA-Z0-9_\-.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-.]+$/", $email)) { |
602 | return json_encode(Array("ERROR" => "Error: Отсутствует емайл или некорректный емайл")); | 602 | return json_encode(Array("ERROR" => "Error: Отсутствует емайл или некорректный емайл")); |
603 | } | 603 | } |
604 | 604 | ||
605 | if ($request->get('password') !== $request->get('confirmed')){ | 605 | if ($request->get('password') !== $request->get('confirmed')){ |
606 | return json_encode(Array("ERROR" => "Error: Не совпадают пароль и подтверждение пароля")); | 606 | return json_encode(Array("ERROR" => "Error: Не совпадают пароль и подтверждение пароля")); |
607 | } | 607 | } |
608 | 608 | ||
609 | if (strlen($request->get('password')) < 6) { | 609 | if (strlen($request->get('password')) < 6) { |
610 | return json_encode(Array("ERROR" => "Error: Недостаточная длина пароля! Увеличьте себе длину пароля!")); | 610 | return json_encode(Array("ERROR" => "Error: Недостаточная длина пароля! Увеличьте себе длину пароля!")); |
611 | } | 611 | } |
612 | 612 | ||
613 | if (($request->has('politik')) && ($request->get('politik') == 1)) { | 613 | if (($request->has('politik')) && ($request->get('politik') == 1)) { |
614 | $validator = Validator::make($params, $rules, $messages); | 614 | $validator = Validator::make($params, $rules, $messages); |
615 | 615 | ||
616 | if ($validator->fails()) { | 616 | if ($validator->fails()) { |
617 | return json_encode(array("ERROR" => "Error1: Регистрация оборвалась ошибкой! Не все обязательные поля заполнены. Либо вы уже были зарегистрированы в системе.")); | 617 | return json_encode(array("ERROR" => "Error1: Регистрация оборвалась ошибкой! Не все обязательные поля заполнены. Либо вы уже были зарегистрированы в системе.")); |
618 | } else { | 618 | } else { |
619 | $user = $this->create($params); | 619 | $user = $this->create($params); |
620 | event(new Registered($user)); | 620 | event(new Registered($user)); |
621 | Auth::guard()->login($user); | 621 | Auth::guard()->login($user); |
622 | } | 622 | } |
623 | if ($user) { | 623 | if ($user) { |
624 | return json_encode(Array("REDIRECT" => redirect()->route('worker.cabinet')->getTargetUrl()));; | 624 | return json_encode(Array("REDIRECT" => redirect()->route('worker.cabinet')->getTargetUrl()));; |
625 | } else { | 625 | } else { |
626 | return json_encode(Array("ERROR" => "Error2: Данные были утеряны!")); | 626 | return json_encode(Array("ERROR" => "Error2: Данные были утеряны!")); |
627 | } | 627 | } |
628 | 628 | ||
629 | } else { | 629 | } else { |
630 | return json_encode(Array("ERROR" => "Error3: Вы не согласились с политикой конфидициальности!")); | 630 | return json_encode(Array("ERROR" => "Error3: Вы не согласились с политикой конфидициальности!")); |
631 | } | 631 | } |
632 | } | 632 | } |
633 | 633 | ||
634 | // Звездная оценка и ответ | 634 | // Звездная оценка и ответ |
635 | public function stars_answer(Request $request) { | 635 | public function stars_answer(Request $request) { |
636 | $params = $request->all(); | 636 | $params = $request->all(); |
637 | $rules = [ | 637 | $rules = [ |
638 | 'message' => ['required', 'string', 'max:255'], | 638 | 'message' => ['required', 'string', 'max:255'], |
639 | ]; | 639 | ]; |
640 | 640 | ||
641 | $messages = [ | 641 | $messages = [ |
642 | 'required' => 'Укажите обязательное поле', | 642 | 'required' => 'Укажите обязательное поле', |
643 | 'min' => [ | 643 | 'min' => [ |
644 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 644 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
645 | 'integer' => 'Поле «:attribute» должно быть :min или больше', | 645 | 'integer' => 'Поле «:attribute» должно быть :min или больше', |
646 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 646 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
647 | ], | 647 | ], |
648 | 'max' => [ | 648 | 'max' => [ |
649 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 649 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
650 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', | 650 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', |
651 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 651 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
652 | ] | 652 | ] |
653 | ]; | 653 | ]; |
654 | $response_worker = ResponseWork::create($params); | 654 | $response_worker = ResponseWork::create($params); |
655 | return redirect()->route('resume_profile', ['worker' => $request->get('worker_id')])->with('success', 'Ваше сообщение было отправлено!'); | 655 | return redirect()->route('resume_profile', ['worker' => $request->get('worker_id')])->with('success', 'Ваше сообщение было отправлено!'); |
656 | } | 656 | } |
657 | 657 | ||
658 | public function TestWorker() | 658 | public function TestWorker() |
659 | { | 659 | { |
660 | $Use = new User(); | 660 | $Use = new User(); |
661 | 661 | ||
662 | $Code_user = $Use->create([ | 662 | $Code_user = $Use->create([ |
663 | 'name' => 'surname name_man', | 663 | 'name' => 'surname name_man', |
664 | 'name_man' => 'name_man', | 664 | 'name_man' => 'name_man', |
665 | 'surname' => 'surname', | 665 | 'surname' => 'surname', |
666 | 'surname2' => 'surname2', | 666 | 'surname2' => 'surname2', |
667 | 'subscribe_email' => '1', | 667 | 'subscribe_email' => '1', |
668 | 'email' => 'email@mail.com', | 668 | 'email' => 'email@mail.com', |
669 | 'telephone' => '1234567890', | 669 | 'telephone' => '1234567890', |
670 | 'password' => Hash::make('password'), | 670 | 'password' => Hash::make('password'), |
671 | 'pubpassword' => base64_encode('password'), | 671 | 'pubpassword' => base64_encode('password'), |
672 | 'email_verified_at' => Carbon::now(), | 672 | 'email_verified_at' => Carbon::now(), |
673 | 'is_worker' => 1, | 673 | 'is_worker' => 1, |
674 | ]); | 674 | ]); |
675 | 675 | ||
676 | if ($Code_user->id > 0) { | 676 | if ($Code_user->id > 0) { |
677 | $Worker = new Worker(); | 677 | $Worker = new Worker(); |
678 | $Worker->user_id = $Code_user->id; | 678 | $Worker->user_id = $Code_user->id; |
679 | $Worker->position_work = 1; //'job_titles'; | 679 | $Worker->position_work = 1; //'job_titles'; |
680 | $Worker->email = 'email@email.com'; | 680 | $Worker->email = 'email@email.com'; |
681 | $Worker->telephone = '1234567890'; | 681 | $Worker->telephone = '1234567890'; |
682 | $status = $Worker->save(); | 682 | $status = $Worker->save(); |
683 | 683 | ||
684 | $Title_Worker = new Title_worker(); | 684 | $Title_Worker = new Title_worker(); |
685 | $Title_Worker->worker_id = $Worker->id; | 685 | $Title_Worker->worker_id = $Worker->id; |
686 | $Title_Worker->job_title_id = 1; | 686 | $Title_Worker->job_title_id = 1; |
687 | $Title_Worker->save(); | 687 | $Title_Worker->save(); |
688 | } | 688 | } |
689 | } | 689 | } |
690 | 690 | ||
691 | // Создание пользователя | 691 | // Создание пользователя |
692 | protected function create(array $data) | 692 | protected function create(array $data) |
693 | { | 693 | { |
694 | $Use = new User(); | 694 | $Use = new User(); |
695 | 695 | ||
696 | $Code_user = $Use->create([ | 696 | $Code_user = $Use->create([ |
697 | 'name' => $data['surname']." ".$data['name_man'], | 697 | 'name' => $data['surname']." ".$data['name_man'], |
698 | 'name_man' => $data['name_man'], | 698 | 'name_man' => $data['name_man'], |
699 | 'surname' => $data['surname'], | 699 | 'surname' => $data['surname'], |
700 | 'surname2' => $data['surname2'], | 700 | 'surname2' => $data['surname2'], |
701 | 'subscribe_email' => $data['email'], | 701 | 'subscribe_email' => $data['email'], |
702 | 'email' => $data['email'], | 702 | 'email' => $data['email'], |
703 | 'telephone' => $data['telephone'], | 703 | 'telephone' => $data['telephone'], |
704 | 'password' => Hash::make($data['password']), | 704 | 'password' => Hash::make($data['password']), |
705 | 'pubpassword' => base64_encode($data['password']), | 705 | 'pubpassword' => base64_encode($data['password']), |
706 | 'email_verified_at' => Carbon::now(), | 706 | 'email_verified_at' => Carbon::now(), |
707 | 'is_worker' => $data['is_worker'], | 707 | 'is_worker' => $data['is_worker'], |
708 | ]); | 708 | ]); |
709 | 709 | ||
710 | if ($Code_user->id > 0) { | 710 | if ($Code_user->id > 0) { |
711 | $Worker = new Worker(); | 711 | $Worker = new Worker(); |
712 | $Worker->user_id = $Code_user->id; | 712 | $Worker->user_id = $Code_user->id; |
713 | $Worker->position_work = $data['job_titles']; | 713 | $Worker->position_work = $data['job_titles']; |
714 | $Worker->email = $data['email']; | 714 | $Worker->email = $data['email']; |
715 | $Worker->telephone = $data['telephone']; | 715 | $Worker->telephone = $data['telephone']; |
716 | $Worker->save(); | 716 | $Worker->save(); |
717 | 717 | ||
718 | if (isset($Worker->id)) { | 718 | if (isset($Worker->id)) { |
719 | $Title_Worker = new Title_worker(); | 719 | $Title_Worker = new Title_worker(); |
720 | $Title_Worker->worker_id = $Worker->id; | 720 | $Title_Worker->worker_id = $Worker->id; |
721 | $Title_Worker->job_title_id = $data['job_titles']; | 721 | $Title_Worker->job_title_id = $data['job_titles']; |
722 | $Title_Worker->save(); | 722 | $Title_Worker->save(); |
723 | } | 723 | } |
724 | 724 | ||
725 | return $Code_user; | 725 | return $Code_user; |
726 | } | 726 | } |
727 | } | 727 | } |
728 | 728 | ||
729 | // Вакансии избранные | 729 | // Вакансии избранные |
730 | public function colorado(Request $request) { | 730 | public function colorado(Request $request) { |
731 | $Arr = Like_vacancy::Query() | 731 | $Arr = Like_vacancy::Query() |
732 | ->select('code_record') | 732 | ->select('code_record') |
733 | ->where('user_id', Auth::user()->id) | 733 | ->where('user_id', Auth::user()->id) |
734 | ->get(); | 734 | ->get(); |
735 | 735 | ||
736 | if ($Arr->count()) { | 736 | if ($Arr->count()) { |
737 | $A = Array(); | 737 | $A = Array(); |
738 | foreach ($Arr as $it) { | 738 | foreach ($Arr as $it) { |
739 | $A[] = $it->code_record; | 739 | $A[] = $it->code_record; |
740 | } | 740 | } |
741 | 741 | ||
742 | $Query = Ad_employer::query()->whereIn('id', $A); | 742 | $Query = Ad_employer::query()->whereIn('id', $A); |
743 | } else { | 743 | } else { |
744 | $Query = Ad_employer::query()->where('id', '=', '0'); | 744 | $Query = Ad_employer::query()->where('id', '=', '0'); |
745 | } | 745 | } |
746 | 746 | ||
747 | $Query = $Query->with(['jobs', 'cat', 'employer']) | 747 | $Query = $Query->with(['jobs', 'cat', 'employer']) |
748 | ->whereHas('jobs_code', function ($query) use ($request) { | 748 | ->whereHas('jobs_code', function ($query) use ($request) { |
749 | if ($request->ajax()) { | 749 | if ($request->ajax()) { |
750 | if (null !== ($request->get('job'))) { | 750 | if (null !== ($request->get('job'))) { |
751 | $query->where('job_title_id', $request->get('job')); | 751 | $query->where('job_title_id', $request->get('job')); |
752 | } | 752 | } |
753 | } | 753 | } |
754 | }) | 754 | }) |
755 | ->select('ad_employers.*'); | 755 | ->select('ad_employers.*'); |
756 | 756 | ||
757 | if ($request->get('search') !== null) { | 757 | if ($request->get('search') !== null) { |
758 | $search = $request->get('search'); | 758 | $search = $request->get('search'); |
759 | $Query->where('name', 'LIKE', "%$search%"); | 759 | $Query->where('name', 'LIKE', "%$search%"); |
760 | } | 760 | } |
761 | 761 | ||
762 | //dd($Query->get()); | 762 | //dd($Query->get()); |
763 | 763 | ||
764 | $Job_title = Job_title::query()->OrderBy('name')->get(); | 764 | $Job_title = Job_title::query()->OrderBy('name')->get(); |
765 | 765 | ||
766 | $Query_count = $Query->count(); | 766 | $Query_count = $Query->count(); |
767 | 767 | ||
768 | $Query = $Query->OrderBy('updated_at')->paginate(3); | 768 | $Query = $Query->OrderBy('updated_at')->paginate(3); |
769 | 769 | ||
770 | return view('workers.favorite', compact('Query', | 770 | return view('workers.favorite', compact('Query', |
771 | 'Query_count', | 771 | 'Query_count', |
772 | 'Job_title')); | 772 | 'Job_title')); |
773 | 773 | ||
774 | } | 774 | } |
775 | 775 | ||
776 | //Переписка | 776 | //Переписка |
777 | public function dialog(Chat $chat, Request $request) { | 777 | public function dialog(Chat $chat, Request $request) { |
778 | // Получение параметров. | 778 | // Получение параметров. |
779 | if ($request->has('ad_employer')){ | 779 | if ($request->has('ad_employer')){ |
780 | $ad_employer = $request->get('ad_employer'); | 780 | $ad_employer = $request->get('ad_employer'); |
781 | } else { | 781 | } else { |
782 | $ad_employer = 0; | 782 | $ad_employer = 0; |
783 | } | 783 | } |
784 | 784 | ||
785 | $sender = User_Model::query()->with('workers')->with('employers')->where('id', $chat->user_id)->first(); | 785 | $sender = User_Model::query()->with('workers')->with('employers')->where('id', $chat->user_id)->first(); |
786 | $companion = User_Model::query()->with('workers')->with('employers')->where('id', $chat->to_user_id)->first(); | 786 | $companion = User_Model::query()->with('workers')->with('employers')->where('id', $chat->to_user_id)->first(); |
787 | 787 | ||
788 | $Messages = Chat::get_chat_messages($chat); | 788 | $Messages = Chat::get_chat_messages($chat); |
789 | 789 | ||
790 | Message::where('chat_id_to', '=', $chat->id)->update(['flag_new' => 0]); | 790 | Message::where('chat_id_to', '=', $chat->id)->update(['flag_new' => 0]); |
791 | 791 | ||
792 | return view('workers.dialog', compact('companion', 'sender', 'chat', 'Messages', 'ad_employer')); | 792 | return view('workers.dialog', compact('companion', 'sender', 'chat', 'Messages', 'ad_employer')); |
793 | } | 793 | } |
794 | 794 | ||
795 | // Даунылоады | 795 | // Даунылоады |
796 | public function download(Worker $worker) { | 796 | public function download(Worker $worker) { |
797 | $arr_house = ['0' => 'Проверка, проверка, проверка, проверка, проверка...']; | 797 | $arr_house = ['0' => 'Проверка, проверка, проверка, проверка, проверка...']; |
798 | view()->share('house',$arr_house); | 798 | view()->share('house',$arr_house); |
799 | $pdf = PDF::loadView('layout.pdf', $arr_house)->setPaper('a4', 'landscape'); | 799 | $pdf = PDF::loadView('layout.pdf', $arr_house)->setPaper('a4', 'landscape'); |
800 | return $pdf->stream(); | 800 | return $pdf->stream(); |
801 | } | 801 | } |
802 | 802 | ||
803 | // Поднятие анкеты | 803 | // Поднятие анкеты |
804 | public function up(Worker $worker) { | 804 | public function up(Worker $worker) { |
805 | $worker->updated_at = Carbon::now(); | 805 | $worker->updated_at = Carbon::now(); |
806 | $worker->save(); | 806 | $worker->save(); |
807 | // 0 | 807 | // 0 |
808 | return redirect()->route('worker.cabinet')->with('success', 'Ваша анкета была поднята выше остальных'); | 808 | return redirect()->route('worker.cabinet')->with('success', 'Ваша анкета была поднята выше остальных'); |
809 | } | 809 | } |
810 | 810 | ||
811 | // Форма сертификате | 811 | // Форма сертификате |
812 | public function new_sertificate(Worker $worker) { | 812 | public function new_sertificate(Worker $worker) { |
813 | return view('workers.sertificate_add', compact('worker')); | 813 | return view('workers.sertificate_add', compact('worker')); |
814 | } | 814 | } |
815 | 815 | ||
816 | // Добавление сертификата | 816 | // Добавление сертификата |
817 | public function add_serificate(SertificationRequest $request) { | 817 | public function add_serificate(SertificationRequest $request) { |
818 | $request->validate([ | 818 | $request->validate([ |
819 | 'name' => 'required|string|max:255', | 819 | 'name' => 'required|string|max:255', |
820 | 'end_begin' => 'required|date|date_format:d.m.Y' | 820 | 'end_begin' => 'required|date|date_format:d.m.Y' |
821 | ], | 821 | ], |
822 | [ | 822 | [ |
823 | 'name' => 'Навание сертификата обязательно для заполнения.', | 823 | 'name' => 'Навание сертификата обязательно для заполнения.', |
824 | 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг' | 824 | 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг' |
825 | ]); | 825 | ]); |
826 | 826 | ||
827 | $params = $request->all(); | 827 | $params = $request->all(); |
828 | 828 | ||
829 | $end_begin = DateTime::createFromFormat('d.m.Y', $params['end_begin']); | 829 | $end_begin = DateTime::createFromFormat('d.m.Y', $params['end_begin']); |
830 | $params['end_begin'] = $end_begin->format('Y-m-d'); | 830 | $params['end_begin'] = $end_begin->format('Y-m-d'); |
831 | 831 | ||
832 | $Sertificate = new sertification(); | 832 | $Sertificate = new sertification(); |
833 | $Sertificate->create($params); | 833 | $Sertificate->create($params); |
834 | 834 | ||
835 | return response()->json([ | 835 | return response()->json([ |
836 | 'success' => true | 836 | 'success' => true |
837 | ]); | 837 | ]); |
838 | } | 838 | } |
839 | 839 | ||
840 | // Удалить сертификат | 840 | // Удалить сертификат |
841 | public function delete_sertificate(sertification $doc) { | 841 | public function delete_sertificate(sertification $doc) { |
842 | $doc->delete(); | 842 | $doc->delete(); |
843 | 843 | ||
844 | return redirect()->route('worker.cabinet'); | 844 | return redirect()->route('worker.cabinet'); |
845 | } | 845 | } |
846 | 846 | ||
847 | // Редактирование сертификата | 847 | // Редактирование сертификата |
848 | public function edit_sertificate(Worker $worker, sertification $doc) { | 848 | public function edit_sertificate(Worker $worker, sertification $doc) { |
849 | return view('workers.sertificate_edit', compact('doc', 'worker')); | 849 | return view('workers.sertificate_edit', compact('doc', 'worker')); |
850 | } | 850 | } |
851 | 851 | ||
852 | // Редактирование обновление сертификата | 852 | // Редактирование обновление сертификата |
853 | public function update_serificate(SertificationRequest $request, sertification $doc) { | 853 | public function update_serificate(SertificationRequest $request, sertification $doc) { |
854 | $request->validate([ | 854 | $request->validate([ |
855 | 'name' => 'required|string|max:255', | 855 | 'name' => 'required|string|max:255', |
856 | 'end_begin' => 'required|date|date_format:d.m.Y' | 856 | 'end_begin' => 'required|date|date_format:d.m.Y' |
857 | ], | 857 | ], |
858 | [ | 858 | [ |
859 | 'name' => 'Навание сертификата обязательно для заполнения.', | 859 | 'name' => 'Навание сертификата обязательно для заполнения.', |
860 | 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг' | 860 | 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг' |
861 | ]); | 861 | ]); |
862 | 862 | ||
863 | $all = $request->all(); | 863 | $all = $request->all(); |
864 | 864 | ||
865 | $end_begin = DateTime::createFromFormat('d.m.Y', $all['end_begin']); | 865 | $end_begin = DateTime::createFromFormat('d.m.Y', $all['end_begin']); |
866 | $all['end_begin'] = $end_begin->format('Y-m-d'); | 866 | $all['end_begin'] = $end_begin->format('Y-m-d'); |
867 | 867 | ||
868 | $doc->worker_id = $all['worker_id']; | 868 | $doc->worker_id = $all['worker_id']; |
869 | $doc->name = $all['name']; | 869 | $doc->name = $all['name']; |
870 | $doc->end_begin = $all['end_begin']; | 870 | $doc->end_begin = $all['end_begin']; |
871 | $doc->save(); | 871 | $doc->save(); |
872 | 872 | ||
873 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!'); | 873 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!'); |
874 | } | 874 | } |
875 | 875 | ||
876 | public function edit_diploms(Request $request, Worker $worker) { | 876 | public function edit_diploms(Request $request, Worker $worker) { |
877 | $dop_info_data = $request->input('diploms'); | 877 | $dop_info_data = $request->input('diploms'); |
878 | 878 | ||
879 | if (empty($dop_info_data)) { | 879 | if (empty($dop_info_data)) { |
880 | return redirect()->route('worker.additional_documents')->with('error', 'Данные не предоставлены!'); | 880 | return redirect()->route('worker.additional_documents')->with('error', 'Данные не предоставлены!'); |
881 | } | 881 | } |
882 | 882 | ||
883 | foreach ($dop_info_data as $infoblok_id => $status) { | 883 | foreach ($dop_info_data as $infoblok_id => $status) { |
884 | Dop_info::updateOrCreate( | 884 | Dop_info::updateOrCreate( |
885 | ['worker_id' => $worker->id, 'infoblok_id' => $infoblok_id], | 885 | ['worker_id' => $worker->id, 'infoblok_id' => $infoblok_id], |
886 | ['status' => $status] | 886 | ['status' => $status] |
887 | ); | 887 | ); |
888 | } | 888 | } |
889 | 889 | ||
890 | return redirect()->route('worker.additional_documents')->with('success', 'Успешно сохранено!'); | 890 | return redirect()->route('worker.additional_documents')->with('success', 'Успешно сохранено!'); |
891 | } | 891 | } |
892 | 892 | ||
893 | public function delete_add_diplom(Request $request, Worker $worker) { | 893 | public function delete_add_diplom(Request $request, Worker $worker) { |
894 | $infoblok_id = $request->get('infoblok_id'); | 894 | $infoblok_id = $request->get('infoblok_id'); |
895 | 895 | ||
896 | if (Dop_info::query()->where('worker_id', $worker->id)->where('infoblok_id', $infoblok_id)->count() > 0) | 896 | if (Dop_info::query()->where('worker_id', $worker->id)->where('infoblok_id', $infoblok_id)->count() > 0) |
897 | $id = Dop_info::query()->where('worker_id', $worker->id)->where('infoblok_id', $infoblok_id)->delete(); | 897 | $id = Dop_info::query()->where('worker_id', $worker->id)->where('infoblok_id', $infoblok_id)->delete(); |
898 | else { | 898 | else { |
899 | $params['infoblok_id'] = $infoblok_id; | 899 | $params['infoblok_id'] = $infoblok_id; |
900 | $params['worker_id'] = $worker->id; | 900 | $params['worker_id'] = $worker->id; |
901 | $params['status'] = $request->get('val'); | 901 | $params['status'] = $request->get('val'); |
902 | $id = Dop_info::create($params); | 902 | $id = Dop_info::create($params); |
903 | //$id = $worker->infobloks()->sync([$infoblok_id]); | 903 | //$id = $worker->infobloks()->sync([$infoblok_id]); |
904 | } | 904 | } |
905 | 905 | ||
906 | //$Infoblocks = infobloks::query()->get(); | 906 | //$Infoblocks = infobloks::query()->get(); |
907 | return $id; //redirect()->route('worker.cabinet')->getTargetUrl(); //view('workers.ajax.diploms_dop', compact('worker', 'Infoblocks')); | 907 | return $id; //redirect()->route('worker.cabinet')->getTargetUrl(); //view('workers.ajax.diploms_dop', compact('worker', 'Infoblocks')); |
908 | } | 908 | } |
909 | 909 | ||
910 | 910 | ||
911 | 911 | ||
912 | // Добавление диплома | 912 | // Добавление диплома |
913 | public function add_diplom_ajax(Request $request) { | 913 | public function add_diplom_ajax(Request $request) { |
914 | // конец | 914 | // конец |
915 | $params = $request->all(); | 915 | $params = $request->all(); |
916 | $count = Dop_info::query()->where('worker_id', $request->get('worker_id'))->where('infoblok_id', $request->get('infoblok_id'))->count(); | 916 | $count = Dop_info::query()->where('worker_id', $request->get('worker_id'))->where('infoblok_id', $request->get('infoblok_id'))->count(); |
917 | 917 | ||
918 | if ($count == 0) $dop_info = Dop_info::create($params); | 918 | if ($count == 0) $dop_info = Dop_info::create($params); |
919 | $Infoblocks = infobloks::query()->get(); | 919 | $Infoblocks = infobloks::query()->get(); |
920 | $Worker = Worker::query()->where('id', $request->get('worker_id'))->get(); | 920 | $Worker = Worker::query()->where('id', $request->get('worker_id'))->get(); |
921 | $data = Dop_info::query()->where('worker_id', $request->has('worker_id')); | 921 | $data = Dop_info::query()->where('worker_id', $request->has('worker_id')); |
922 | return view('ajax.dop_info', compact('data', 'Infoblocks', 'Worker')); | 922 | return view('ajax.dop_info', compact('data', 'Infoblocks', 'Worker')); |
923 | } | 923 | } |
924 | 924 | ||
925 | // Добавление диплома без ajax | 925 | // Добавление диплома без ajax |
926 | public function add_diplom(Worker $worker) { | 926 | public function add_diplom(Worker $worker) { |
927 | $worker_id = $worker->id; | 927 | $worker_id = $worker->id; |
928 | $Infoblocks = infobloks::query()->get(); | 928 | $Infoblocks = infobloks::query()->get(); |
929 | return view('workers.dop_info', compact('worker_id', 'worker', 'Infoblocks')); | 929 | return view('workers.dop_info', compact('worker_id', 'worker', 'Infoblocks')); |
930 | } | 930 | } |
931 | // Сохранить | 931 | // Сохранить |
932 | // Сохраняю диплом | 932 | // Сохраняю диплом |
933 | public function add_diplom_save(Request $request) { | 933 | public function add_diplom_save(Request $request) { |
934 | $params = $request->all(); | 934 | $params = $request->all(); |
935 | $count = Dop_info::query()->where('worker_id', $request->get('worker_id'))->where('infoblok_id', $request->get('infoblok_id'))->count(); | 935 | $count = Dop_info::query()->where('worker_id', $request->get('worker_id'))->where('infoblok_id', $request->get('infoblok_id'))->count(); |
936 | if ($count == 0) $dop_info = Dop_info::create($params); | 936 | if ($count == 0) $dop_info = Dop_info::create($params); |
937 | return redirect()->route('worker.cabinet'); | 937 | return redirect()->route('worker.cabinet'); |
938 | } | 938 | } |
939 | 939 | ||
940 | // Добавление стандартного документа | 940 | // Добавление стандартного документа |
941 | public function add_document(Worker $worker) { | 941 | public function add_document(Worker $worker) { |
942 | return view('workers.docs', compact('worker')); | 942 | return view('workers.docs', compact('worker')); |
943 | } | 943 | } |
944 | 944 | ||
945 | //Сохранение стандартого документа | 945 | //Сохранение стандартого документа |
946 | public function add_document_save(DocumentsRequest $request) { | 946 | public function add_document_save(DocumentsRequest $request) { |
947 | $params = $request->all(); | 947 | $params = $request->all(); |
948 | place_works::create($params); | 948 | place_works::create($params); |
949 | return response()->json(['success' => true]); | 949 | return response()->json(['success' => true]); |
950 | } | 950 | } |
951 | 951 | ||
952 | // Редактирование документа | 952 | // Редактирование документа |
953 | public function edit_document(place_works $doc, Worker $worker) { | 953 | public function edit_document(place_works $doc, Worker $worker) { |
954 | return view('workers.docs-edit', compact('doc', 'worker')); | 954 | return view('workers.docs-edit', compact('doc', 'worker')); |
955 | } | 955 | } |
956 | 956 | ||
957 | //Сохранение отредактированного документа | 957 | //Сохранение отредактированного документа |
958 | public function edit_document_save(DocumentsRequest $request, place_works $doc) { | 958 | public function edit_document_save(DocumentsRequest $request, place_works $doc) { |
959 | $params = $request->all(); | 959 | $params = $request->all(); |
960 | $doc->update($params); | 960 | $doc->update($params); |
961 | 961 | ||
962 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!'); | 962 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!'); |
963 | } | 963 | } |
964 | 964 | ||
965 | // Удаление документа | 965 | // Удаление документа |
966 | public function delete_document(place_works $doc) { | 966 | public function delete_document(place_works $doc) { |
967 | $doc->delete(); | 967 | $doc->delete(); |
968 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!'); | 968 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!'); |
969 | } | 969 | } |
970 | 970 | ||
971 | //Отправка нового сообщения | 971 | //Отправка нового сообщения |
972 | public function new_message(Request $request) | 972 | public function new_message(Request $request) |
973 | { | 973 | { |
974 | $params = $request->all(); | 974 | $params = $request->all(); |
975 | 975 | ||
976 | $id = $params['user_from']; | 976 | $id = $params['user_from']; |
977 | 977 | ||
978 | Message::add_message( | 978 | Message::add_message( |
979 | $request, | 979 | $request, |
980 | $params['user_from'], | 980 | $params['user_from'], |
981 | $params['user_to'], | 981 | $params['user_to'], |
982 | [ | 982 | [ |
983 | 'text' => $params['comment'] ?? null, | 983 | 'text' => $params['comment'] ?? null, |
984 | 'ad_employer_id' => $params['vacancy'], | 984 | 'ad_employer_id' => $params['vacancy'], |
985 | 'flag_new' => 1 | 985 | 'flag_new' => 1 |
986 | ], | 986 | ], |
987 | file_store_path: "worker/$id" | 987 | file_store_path: "worker/$id" |
988 | ); | 988 | ); |
989 | 989 | ||
990 | if ($request->ajax()) { | 990 | if ($request->ajax()) { |
991 | return response([]); | 991 | return response([]); |
992 | } | 992 | } |
993 | return redirect()->back(); | 993 | return redirect()->back(); |
994 | } | 994 | } |
995 | 995 | ||
996 | 996 | ||
997 | public function test123(Request $request) { | 997 | public function test123(Request $request) { |
998 | $params = $request->all(); | 998 | $params = $request->all(); |
999 | $user1 = $params['user_id']; | 999 | $user1 = $params['user_id']; |
1000 | $user2 = $params['to_user_id']; | 1000 | $user2 = $params['to_user_id']; |
1001 | 1001 | ||
1002 | $rules = [ | 1002 | $rules = [ |
1003 | 'text' => 'nullable|required_without:file|min:1|max:150000', | 1003 | 'text' => 'nullable|required_without:file|min:1|max:150000', |
1004 | 'file' => 'nullable|file|mimes:doc,docx,xlsx,csv,txt,xlx,xls,pdf|max:150000' | 1004 | 'file' => 'nullable|file|mimes:doc,docx,xlsx,csv,txt,xlx,xls,pdf|max:150000' |
1005 | ]; | 1005 | ]; |
1006 | $messages = [ | 1006 | $messages = [ |
1007 | 'required_without' => 'Поле «:attribute» обязательно, если файл не прикреплен', | 1007 | 'required_without' => 'Поле «:attribute» обязательно, если файл не прикреплен', |
1008 | 'min' => [ | 1008 | 'min' => [ |
1009 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 1009 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
1010 | 'integer' => 'Поле «:attribute» должно быть :min или больше', | 1010 | 'integer' => 'Поле «:attribute» должно быть :min или больше', |
1011 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 1011 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
1012 | ], | 1012 | ], |
1013 | 'max' => [ | 1013 | 'max' => [ |
1014 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 1014 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
1015 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', | 1015 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', |
1016 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 1016 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
1017 | ] | 1017 | ] |
1018 | ]; | 1018 | ]; |
1019 | 1019 | ||
1020 | $validator = Validator::make($request->all(), $rules, $messages); | 1020 | $validator = Validator::make($request->all(), $rules, $messages); |
1021 | 1021 | ||
1022 | if ($validator->fails()) { | 1022 | if ($validator->fails()) { |
1023 | $chat = Chat::where('user_id', $user1) | 1023 | $chat = Chat::where('user_id', $user1) |
1024 | ->where('to_user_id', $user2) | 1024 | ->where('to_user_id', $user2) |
1025 | ->where('is_removed', 0) | 1025 | ->where('is_removed', 0) |
1026 | ->first() | 1026 | ->first(); |
1027 | ; | ||
1028 | 1027 | ||
1029 | if ($chat->id){ | 1028 | if ($chat->id){ |
1030 | return redirect()->route('worker.dialog', ['chat' => $chat->id])->withErrors($validator); | 1029 | return redirect()->route('worker.dialog', ['chat' => $chat->id])->withErrors($validator); |
1031 | } else { | 1030 | } else { |
1032 | return redirect()->route('cabinet.messages', ['type_message' => 'input'])->withErrors($validator); | 1031 | return redirect()->route('cabinet.messages', ['type_message' => 'input'])->withErrors($validator); |
1033 | } | 1032 | } |
1034 | } else { | 1033 | } else { |
1035 | $new_message = Message::add_message($request, $user1, $user2, $request->all(), file_store_path: 'messages'); | 1034 | $new_message = Message::add_message($request, $user1, $user2, $request->all(), file_store_path: 'messages'); |
1036 | 1035 | ||
1036 | //dd('new message', $new_message); | ||
1037 | return redirect()->route('worker.dialog', ['chat' => $new_message->chat_id_from]); | 1037 | return redirect()->route('worker.dialog', ['chat' => $new_message->chat_id_from]); |
1038 | |||
1039 | } | 1038 | } |
1040 | } | 1039 | } |
1041 | 1040 | ||
1042 | // Информация о предыдущих компаниях | 1041 | // Информация о предыдущих компаниях |
1043 | public function new_prev_company(Worker $worker) { | 1042 | public function new_prev_company(Worker $worker) { |
1044 | return view('workers.prev_company_form', compact('worker')); | 1043 | return view('workers.prev_company_form', compact('worker')); |
1045 | } | 1044 | } |
1046 | 1045 | ||
1047 | // Добавление контакта компании | 1046 | // Добавление контакта компании |
1048 | public function add_prev_company(PrevCompanyRequest $request) { | 1047 | public function add_prev_company(PrevCompanyRequest $request) { |
1049 | // Возвращение параметров | 1048 | // Возвращение параметров |
1050 | $all = $request->all(); | 1049 | $all = $request->all(); |
1051 | PrevCompany::create($all); | 1050 | PrevCompany::create($all); |
1052 | 1051 | ||
1053 | return response()->json(['success' => true]); | 1052 | return response()->json(['success' => true]); |
1054 | } | 1053 | } |
1055 | 1054 | ||
1056 | // Редактирование контакта компании | 1055 | // Редактирование контакта компании |
1057 | public function edit_prev_company(PrevCompany $doc, Worker $worker) { | 1056 | public function edit_prev_company(PrevCompany $doc, Worker $worker) { |
1058 | return view('workers.prev_company_edit_form', compact('doc', 'worker')); | 1057 | return view('workers.prev_company_edit_form', compact('doc', 'worker')); |
1059 | } | 1058 | } |
1060 | 1059 | ||
1061 | //Сохранение редактирования контакта компании | 1060 | //Сохранение редактирования контакта компании |
1062 | public function update_prev_company(PrevCompany $doc, Request $request){ | 1061 | public function update_prev_company(PrevCompany $doc, Request $request){ |
1063 | $all = $request->all(); | 1062 | $all = $request->all(); |
1064 | $doc->update($all); | 1063 | $doc->update($all); |
1065 | 1064 | ||
1066 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись'); | 1065 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись'); |
1067 | } | 1066 | } |
1068 | 1067 | ||
1069 | // Удаление контакта предыдущей компании | 1068 | // Удаление контакта предыдущей компании |
1070 | public function delete_prev_company(PrevCompany $doc) { | 1069 | public function delete_prev_company(PrevCompany $doc) { |
1071 | $doc->delete(); | 1070 | $doc->delete(); |
1072 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!'); | 1071 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!'); |
1073 | } | 1072 | } |
1074 | 1073 | ||
1075 | public function autoresponder() | 1074 | public function autoresponder() |
1076 | { | 1075 | { |
1077 | $user = Auth::user(); | 1076 | $user = Auth::user(); |
1078 | return view('workers.autoresponder', compact('user')); | 1077 | return view('workers.autoresponder', compact('user')); |
1079 | } | 1078 | } |
1080 | 1079 | ||
1081 | public function autoresponderSave(Request $request): RedirectResponse | 1080 | public function autoresponderSave(Request $request): RedirectResponse |
1082 | { | 1081 | { |
1083 | /** @var Employer $employer */ | 1082 | /** @var Employer $employer */ |
1084 | $employer = Auth::user(); | 1083 | $employer = Auth::user(); |
1085 | $employer->autoresponder = $request->get('autoresponder', false) === 'on'; | 1084 | $employer->autoresponder = $request->get('autoresponder', false) === 'on'; |
1086 | $employer->autoresponder_message = $request->get('autoresponder_message'); | 1085 | $employer->autoresponder_message = $request->get('autoresponder_message'); |
1087 | $employer->save(); | 1086 | $employer->save(); |
1088 | 1087 | ||
1089 | return redirect(route('worker.autoresponder')); | 1088 | return redirect(route('worker.autoresponder')); |
1090 | } | 1089 | } |
1091 | /** | 1090 | /** |
1092 | * @throws JsonException | 1091 | * @throws JsonException |
1093 | */ | 1092 | */ |
1094 | public function resumeAutoLiftForm(): View | 1093 | public function resumeAutoLiftForm(): View |
1095 | { | 1094 | { |
1096 | $worker = Auth::user()->workers[0]; | 1095 | $worker = Auth::user()->workers[0]; |
1097 | 1096 | ||
1098 | $options = $worker->autoliftOptions ?? new WorkerAutoliftOption(); | 1097 | $options = $worker->autoliftOptions ?? new WorkerAutoliftOption(); |
1099 | 1098 | ||
1100 | return view('workers.resume_autolift', compact('worker', 'options')); | 1099 | return view('workers.resume_autolift', compact('worker', 'options')); |
1101 | } | 1100 | } |
1102 | 1101 | ||
1103 | /** | 1102 | /** |
1104 | * @throws JsonException | 1103 | * @throws JsonException |
1105 | */ | 1104 | */ |
1106 | public function resumeAutoLiftSave(Request $request) | 1105 | public function resumeAutoLiftSave(Request $request) |
1107 | { | 1106 | { |
1108 | $worker = Auth::user()->workers[0]; | 1107 | $worker = Auth::user()->workers[0]; |
1109 | 1108 | ||
1110 | $worker->autoliftOptions()->updateOrCreate( | 1109 | $worker->autoliftOptions()->updateOrCreate( |
1111 | [ | 1110 | [ |
1112 | 'worker_id' => $worker->id, | 1111 | 'worker_id' => $worker->id, |
1113 | ], | 1112 | ], |
1114 | [ | 1113 | [ |
1115 | 'is_enabled' => $request->get('is_enabled') === 'on', | 1114 | 'is_enabled' => $request->get('is_enabled') === 'on', |
1116 | 'times_per_day' => $request->get('times_per_day'), | 1115 | 'times_per_day' => $request->get('times_per_day'), |
1117 | 'days_repeat' => $request->get('days_repeat'), | 1116 | 'days_repeat' => $request->get('days_repeat'), |
1118 | 'time_send_first' => $request->get('time_send_first'), | 1117 | 'time_send_first' => $request->get('time_send_first'), |
1119 | 'time_send_second' => $request->get('time_send_second'), | 1118 | 'time_send_second' => $request->get('time_send_second'), |
1120 | 'time_send_third' => $request->get('time_send_third'), | 1119 | 'time_send_third' => $request->get('time_send_third'), |
1121 | 'time_send_tg' => $request->get('time_send_tg'), | 1120 | 'time_send_tg' => $request->get('time_send_tg'), |
1122 | 'autolift_site' => $request->get('autolift_site') === 'on', | 1121 | 'autolift_site' => $request->get('autolift_site') === 'on', |
1123 | ] | 1122 | ] |
1124 | ); | 1123 | ); |
1125 | 1124 | ||
1126 | return response()->json(['success' => true]); | 1125 | return response()->json(['success' => true]); |
1127 | } | 1126 | } |
1128 | } | 1127 | } |
1129 | 1128 |
app/Listeners/MessageAutoresponder.php
File was created | 1 | <?php | |
2 | |||
3 | namespace App\Listeners; | ||
4 | |||
5 | use App\Events\MessageSended; | ||
6 | use App\Models\Message; | ||
7 | use App\Models\User; | ||
8 | use Illuminate\Contracts\Queue\ShouldQueue; | ||
9 | use Illuminate\Database\Query\Builder; | ||
10 | use Illuminate\Http\Request; | ||
11 | use Illuminate\Queue\InteractsWithQueue; | ||
12 | |||
13 | class MessageAutoresponder | ||
14 | { | ||
15 | /** | ||
16 | * Create the event listener. | ||
17 | * | ||
18 | * @return void | ||
19 | */ | ||
20 | public function __construct() | ||
21 | { | ||
22 | // | ||
23 | } | ||
24 | |||
25 | /** | ||
26 | * Handle the event. | ||
27 | * | ||
28 | * @param \App\Events\MessageSended $event | ||
29 | * @return void | ||
30 | */ | ||
31 | public function handle(MessageSended $event) | ||
32 | { | ||
33 | $message = $event->message; | ||
34 | |||
35 | /** @var User $user */ | ||
36 | $user = User::find($message->to_user_id); | ||
37 | |||
38 | if ($user === null || !$user->autoresponder) { | ||
39 | return; | ||
40 | } | ||
41 | |||
42 | $recentAutoresponderMessage = Message::query() | ||
43 | ->where('user_id', $message->to_user_id) | ||
44 | ->where('to_user_id', $message->user_id) | ||
45 | ->where('text', $user->autoresponder_message) | ||
46 | ->where('created_at', '>', now()->subDays(4)) | ||
47 | ->orWhereExists(function (Builder $query) use ($message) { | ||
48 | $query->from('messages', 'm2') | ||
49 | ->where('m2.created_at', '>', now()->subMinutes(5)) | ||
50 | ->where('m2.chat_id_from', $message->chat_id_to); | ||
51 | }) | ||
52 | ->orderBy('id', 'desc') | ||
53 | ->first(); | ||
54 | |||
55 | if ($recentAutoresponderMessage !== null) { | ||
56 | return; | ||
57 | } | ||
58 | |||
59 | Message::add_message( | ||
60 | request: new Request(), | ||
61 | user_id: $message->to_user_id, | ||
62 | to_user_id: $message->user_id, | ||
63 | message_params: [ | ||
64 | 'text' => $user->autoresponder_message, | ||
65 | 'flag_new' => 1 | ||
66 | ] | ||
67 | ); | ||
68 | //dump('after listener'); | ||
69 | } | ||
70 | } | ||
71 |
app/Models/Message.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace App\Models; | 3 | namespace App\Models; |
4 | 4 | ||
5 | use App\Events\MessageSended; | ||
5 | use Illuminate\Database\Eloquent\Factories\HasFactory; | 6 | use Illuminate\Database\Eloquent\Factories\HasFactory; |
6 | use Illuminate\Database\Eloquent\Model; | 7 | use Illuminate\Database\Eloquent\Model; |
7 | use Illuminate\Http\Request; | 8 | use Illuminate\Http\Request; |
8 | use Illuminate\Support\Facades\Validator; | 9 | use Illuminate\Support\Facades\Validator; |
9 | use mysql_xdevapi\Collection; | 10 | use mysql_xdevapi\Collection; |
10 | 11 | ||
11 | class Message extends Model | 12 | class Message extends Model |
12 | { | 13 | { |
13 | use HasFactory; | 14 | use HasFactory; |
14 | 15 | ||
15 | protected $fillable = [ | 16 | protected $fillable = [ |
16 | 'user_id', | 17 | 'user_id', |
17 | 'to_user_id', | 18 | 'to_user_id', |
18 | 'title', | 19 | 'title', |
19 | 'text', | 20 | 'text', |
20 | 'file', | 21 | 'file', |
21 | 'flag_new', | 22 | 'flag_new', |
22 | 'ad_employer_id', | 23 | 'ad_employer_id', |
23 | 'job_title_id', | 24 | 'job_title_id', |
24 | 'chat_id_from', | 25 | 'chat_id_from', |
25 | 'chat_id_to', | 26 | 'chat_id_to', |
26 | 'reply_message_id', | 27 | 'reply_message_id', |
27 | 'original_file_name', | 28 | 'original_file_name', |
28 | ]; | 29 | ]; |
29 | 30 | ||
30 | 31 | ||
31 | /* | 32 | /* |
32 | * Связь таблицы Message с таблицей User (Отправитель) | 33 | * Связь таблицы Message с таблицей User (Отправитель) |
33 | */ | 34 | */ |
34 | public function user_from() { | 35 | public function user_from() { |
35 | return $this->belongsTo(User::class, 'user_id'); | 36 | return $this->belongsTo(User::class, 'user_id'); |
36 | } | 37 | } |
37 | 38 | ||
38 | /* | 39 | /* |
39 | * Связь таблицы Message с таблицей User (Получатель) | 40 | * Связь таблицы Message с таблицей User (Получатель) |
40 | */ | 41 | */ |
41 | public function user_to() { | 42 | public function user_to() { |
42 | return $this->belongsTo(User::class, 'to_user_id'); | 43 | return $this->belongsTo(User::class, 'to_user_id'); |
43 | } | 44 | } |
44 | 45 | ||
45 | // Связь модели Сообщения (Message) с моделью Вакансии (Ad_employer) | 46 | // Связь модели Сообщения (Message) с моделью Вакансии (Ad_employer) |
46 | public function vacancies() { | 47 | public function vacancies() { |
47 | return $this->belongsTo(Ad_employer::class, 'ad_employer_id', 'id'); | 48 | return $this->belongsTo(Ad_employer::class, 'ad_employer_id', 'id'); |
48 | } | 49 | } |
49 | 50 | ||
50 | public static function add_message( | 51 | public static function add_message( |
51 | Request $request, | 52 | Request $request, |
52 | int $user_id, | 53 | int $user_id, |
53 | int $to_user_id, | 54 | int $to_user_id, |
54 | array $message_params, | 55 | array $message_params, |
55 | string $file_store_path = '/', | 56 | string $file_store_path = '/', |
56 | bool $is_admin_chat = false | 57 | bool $is_admin_chat = false |
57 | ) { | 58 | ) { |
58 | $message_params['user_id'] = $user_id; | 59 | $message_params['user_id'] = $user_id; |
59 | $message_params['to_user_id'] = $to_user_id; | 60 | $message_params['to_user_id'] = $to_user_id; |
60 | $files = $request->file(); | 61 | $files = $request->file(); |
61 | if (count($files) > 0) { | 62 | if (count($files) > 0) { |
62 | $file = reset($files); | 63 | $file = reset($files); |
63 | $message_params['file'] = $file->store($file_store_path, 'public'); | 64 | $message_params['file'] = $file->store($file_store_path, 'public'); |
64 | $message_params['original_file_name'] = $file->getClientOriginalName(); | 65 | $message_params['original_file_name'] = $file->getClientOriginalName(); |
65 | } | 66 | } |
66 | 67 | ||
67 | $chat_form = Chat::firstOrCreate([ | 68 | $chat_form = Chat::firstOrCreate([ |
68 | 'user_id' => $is_admin_chat ? 0 : $user_id, | 69 | 'user_id' => $is_admin_chat ? 0 : $user_id, |
69 | 'to_user_id' => $to_user_id, | 70 | 'to_user_id' => $to_user_id, |
70 | 'is_removed' => 0, | 71 | 'is_removed' => 0, |
71 | 'is_admin_chat' => $is_admin_chat ? 1 : 0, | 72 | 'is_admin_chat' => $is_admin_chat ? 1 : 0, |
72 | ]); | 73 | ]); |
73 | $message_params[$is_admin_chat ? 'chat_id_to' : 'chat_id_from'] = $chat_form->id; | 74 | $message_params[$is_admin_chat ? 'chat_id_to' : 'chat_id_from'] = $chat_form->id; |
74 | 75 | ||
75 | if (!$is_admin_chat) { | 76 | if (!$is_admin_chat) { |
76 | $chat_to = Chat::firstOrCreate([ | 77 | $chat_to = Chat::firstOrCreate([ |
77 | 'user_id' => $to_user_id, | 78 | 'user_id' => $to_user_id, |
78 | 'to_user_id' => $user_id, | 79 | 'to_user_id' => $user_id, |
79 | 'is_removed' => 0 | 80 | 'is_removed' => 0 |
80 | ]); | 81 | ]); |
81 | $message_params['chat_id_to'] = $chat_to->id; | 82 | $message_params['chat_id_to'] = $chat_to->id; |
82 | } | 83 | } |
83 | 84 | ||
85 | //dump('before creation '.$message_params['text']); | ||
84 | $new_message = Message::create($message_params); | 86 | $new_message = Message::create($message_params); |
87 | //dump('after creation '.$new_message->id, [$new_message->id , $chat_form->last_message_id, $chat_to->last_message_id]); | ||
85 | 88 | ||
86 | if (!empty($new_message->id)) { | 89 | if ($new_message->id > $chat_form->last_message_id) { |
87 | $chat_form->update(['last_message_date' => date("Y-m-d H:i:s"), 'last_message_id' => $new_message->id]); | 90 | $chat_form->update(['last_message_date' => date("Y-m-d H:i:s"), 'last_message_id' => $new_message->id]); |
88 | 91 | ||
89 | if (!$is_admin_chat) { | 92 | if (!$is_admin_chat) { |
90 | $chat_to->update(['last_message_date' => date("Y-m-d H:i:s"), 'last_message_id' => $new_message->id]); | 93 | $chat_to->update(['last_message_date' => date("Y-m-d H:i:s"), 'last_message_id' => $new_message->id]); |
91 | } | 94 | } |
92 | } | 95 | } |
96 | MessageSended::dispatch($new_message); | ||
93 | 97 | ||
94 | return $new_message ?? false; | 98 | return $new_message ?? false; |
95 | } | 99 | } |
96 | 100 | ||
97 | public function getReplyMessageAttribute() | 101 | public function getReplyMessageAttribute() |
98 | { | 102 | { |
99 | $reply_message = false; | 103 | $reply_message = false; |
100 | if ($this->attributes['reply_message_id']){ | 104 | if ($this->attributes['reply_message_id']){ |
101 | $reply_message = self::find($this->attributes['reply_message_id']); | 105 | $reply_message = self::find($this->attributes['reply_message_id']); |
102 | } | 106 | } |
103 | 107 | ||
104 | return $reply_message; | 108 | return $reply_message; |
105 | } | 109 | } |
106 | 110 | ||
107 | } | 111 | } |
108 | 112 |
app/Observers/MessageObserver.php
1 | <?php | File was deleted | |
2 | |||
3 | namespace App\Observers; | ||
4 | |||
5 | use App\Models\Chat; | ||
6 | use App\Models\Employer; | ||
7 | use App\Models\Message; | ||
8 | use App\Models\User; | ||
9 | use Illuminate\Http\Request; | ||
10 | |||
11 | class MessageObserver | ||
12 | { | ||
13 | public function created(Message $message): void | ||
14 | { | ||
15 | /** @var User $user */ | ||
16 | $user = User::find($message->to_user_id); | ||
17 | |||
18 | if ($user === null || !$user->autoresponder) { | ||
19 | return; | ||
20 | } | ||
21 | |||
22 | $recentAutoresponderMessage = Message::query() | ||
23 | ->where('user_id', $message->to_user_id) | ||
24 | ->where('to_user_id', $message->user_id) | ||
25 | ->where('text', $user->autoresponder_message) | ||
26 | ->where('created_at', '>', now()->subDays(4)) | ||
27 | ->orderBy('id', 'desc') | ||
28 | ->first(); | ||
29 | |||
30 | if ($recentAutoresponderMessage !== null) { | ||
31 | return; | ||
32 | } | ||
33 | |||
34 | Message::add_message( | ||
35 | request: new Request(), | ||
36 | user_id: $message->to_user_id, | ||
37 | to_user_id: $message->user_id, | ||
38 | message_params: [ | ||
39 | 'text' => $user->autoresponder_message, | ||
40 | 'flag_new' => 1 | ||
41 | ] | ||
42 | ); | ||
43 | } | ||
44 | |||
45 | /** | ||
46 | * Handle the Message "updated" event. | ||
47 | * | ||
48 | * @param \App\Models\Message $message | ||
49 | * @return void | ||
50 | */ | ||
51 | public function updated(Message $message) | ||
52 | { | ||
53 | // | ||
54 | } | ||
55 | |||
56 | /** | ||
57 | * Handle the Message "deleted" event. | ||
58 | * | ||
59 | * @param \App\Models\Message $message | ||
60 | * @return void | ||
61 | */ | ||
62 | public function deleted(Message $message) | ||
63 | { | ||
64 | // | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * Handle the Message "restored" event. | ||
69 | * | ||
70 | * @param \App\Models\Message $message | ||
71 | * @return void | ||
72 | */ | ||
73 | public function restored(Message $message) | ||
74 | { | ||
75 | // | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * Handle the Message "force deleted" event. | ||
80 | * | ||
81 | * @param \App\Models\Message $message | ||
82 | * @return void | ||
83 | */ | ||
84 | public function forceDeleted(Message $message) | ||
85 | { | ||
86 | // | ||
87 | } | ||
88 | } | ||
89 | 1 | <?php |
app/Providers/EventServiceProvider.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace App\Providers; | 3 | namespace App\Providers; |
4 | 4 | ||
5 | use App\Events\MessageSended; | ||
6 | use App\Listeners\MessageAutoresponder; | ||
5 | use App\Models\Message; | 7 | use App\Models\Message; |
6 | use App\Observers\MessageObserver; | 8 | use App\Observers\MessageObserver; |
7 | use Illuminate\Auth\Events\Registered; | 9 | use Illuminate\Auth\Events\Registered; |
8 | use Illuminate\Auth\Listeners\SendEmailVerificationNotification; | 10 | use Illuminate\Auth\Listeners\SendEmailVerificationNotification; |
9 | use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; | 11 | use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; |
10 | use Illuminate\Support\Facades\Event; | 12 | use Illuminate\Support\Facades\Event; |
11 | 13 | ||
12 | class EventServiceProvider extends ServiceProvider | 14 | class EventServiceProvider extends ServiceProvider |
13 | { | 15 | { |
14 | /** | 16 | /** |
15 | * The event to listener mappings for the application. | 17 | * The event to listener mappings for the application. |
16 | * | 18 | * |
17 | * @var array<class-string, array<int, class-string>> | 19 | * @var array<class-string, array<int, class-string>> |
18 | */ | 20 | */ |
19 | protected $listen = [ | 21 | protected $listen = [ |
20 | Registered::class => [ | 22 | Registered::class => [ |
21 | SendEmailVerificationNotification::class, | 23 | SendEmailVerificationNotification::class, |
22 | ], | 24 | ], |
23 | ]; | 25 | ]; |
24 | 26 | ||
25 | /** | 27 | /** |
26 | * Register any events for your application. | 28 | * Register any events for your application. |
27 | * | 29 | * |
28 | * @return void | 30 | * @return void |
29 | */ | 31 | */ |
30 | public function boot() | 32 | public function boot() |
31 | { | 33 | { |
32 | Message::observe(MessageObserver::class); | 34 | Event::listen(MessageSended::class, MessageAutoresponder::class); |
33 | } | 35 | } |
34 | 36 | ||
35 | /** | 37 | /** |
36 | * Determine if events and listeners should be automatically discovered. | 38 | * Determine if events and listeners should be automatically discovered. |
37 | * | 39 | * |
38 | * @return bool | 40 | * @return bool |
39 | */ | 41 | */ |
40 | public function shouldDiscoverEvents() | 42 | public function shouldDiscoverEvents() |
41 | { | 43 | { |
42 | return false; | 44 | return false; |
43 | } | 45 | } |
44 | } | 46 | } |
45 | 47 |
public/css/style_may2024.css
1 | /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ | 1 | /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ |
2 | /* Document | 2 | /* Document |
3 | ========================================================================== */ | 3 | ========================================================================== */ |
4 | /** | 4 | /** |
5 | * 1. Correct the line height in all browsers. | 5 | * 1. Correct the line height in all browsers. |
6 | * 2. Prevent adjustments of font size after orientation changes in iOS. | 6 | * 2. Prevent adjustments of font size after orientation changes in iOS. |
7 | */ | 7 | */ |
8 | @import url(fonts.css); | 8 | @import url(fonts.css); |
9 | @import url(jquery.fancybox.css); | 9 | @import url(jquery.fancybox.css); |
10 | @import url(jquery.select2.css); | 10 | @import url(jquery.select2.css); |
11 | @import url(star-rating.min.css); | 11 | @import url(star-rating.min.css); |
12 | @import url(swiper.css); | 12 | @import url(swiper.css); |
13 | @import url(picker.min.css); | 13 | @import url(picker.min.css); |
14 | @import url(general.css); | 14 | @import url(general.css); |
15 | html { | 15 | html { |
16 | line-height: 1.15; /* 1 */ | 16 | line-height: 1.15; /* 1 */ |
17 | -webkit-text-size-adjust: 100%; /* 2 */ | 17 | -webkit-text-size-adjust: 100%; /* 2 */ |
18 | } | 18 | } |
19 | 19 | ||
20 | /* Sections | 20 | /* Sections |
21 | ========================================================================== */ | 21 | ========================================================================== */ |
22 | /** | 22 | /** |
23 | * Remove the margin in all browsers. | 23 | * Remove the margin in all browsers. |
24 | */ | 24 | */ |
25 | body { | 25 | body { |
26 | margin: 0; | 26 | margin: 0; |
27 | } | 27 | } |
28 | 28 | ||
29 | /** | 29 | /** |
30 | * Render the `main` element consistently in IE. | 30 | * Render the `main` element consistently in IE. |
31 | */ | 31 | */ |
32 | main { | 32 | main { |
33 | display: block; | 33 | display: block; |
34 | } | 34 | } |
35 | 35 | ||
36 | /** | 36 | /** |
37 | * Correct the font size and margin on `h1` elements within `section` and | 37 | * Correct the font size and margin on `h1` elements within `section` and |
38 | * `article` contexts in Chrome, Firefox, and Safari. | 38 | * `article` contexts in Chrome, Firefox, and Safari. |
39 | */ | 39 | */ |
40 | h1 { | 40 | h1 { |
41 | font-size: 2em; | 41 | font-size: 2em; |
42 | margin: 0.67em 0; | 42 | margin: 0.67em 0; |
43 | } | 43 | } |
44 | 44 | ||
45 | /* Grouping content | 45 | /* Grouping content |
46 | ========================================================================== */ | 46 | ========================================================================== */ |
47 | /** | 47 | /** |
48 | * 1. Add the correct box sizing in Firefox. | 48 | * 1. Add the correct box sizing in Firefox. |
49 | * 2. Show the overflow in Edge and IE. | 49 | * 2. Show the overflow in Edge and IE. |
50 | */ | 50 | */ |
51 | hr { | 51 | hr { |
52 | -webkit-box-sizing: content-box; | 52 | -webkit-box-sizing: content-box; |
53 | box-sizing: content-box; /* 1 */ | 53 | box-sizing: content-box; /* 1 */ |
54 | height: 0; /* 1 */ | 54 | height: 0; /* 1 */ |
55 | overflow: visible; /* 2 */ | 55 | overflow: visible; /* 2 */ |
56 | } | 56 | } |
57 | 57 | ||
58 | /** | 58 | /** |
59 | * 1. Correct the inheritance and scaling of font size in all browsers. | 59 | * 1. Correct the inheritance and scaling of font size in all browsers. |
60 | * 2. Correct the odd `em` font sizing in all browsers. | 60 | * 2. Correct the odd `em` font sizing in all browsers. |
61 | */ | 61 | */ |
62 | pre { | 62 | pre { |
63 | font-family: monospace, monospace; /* 1 */ | 63 | font-family: monospace, monospace; /* 1 */ |
64 | font-size: 1em; /* 2 */ | 64 | font-size: 1em; /* 2 */ |
65 | } | 65 | } |
66 | 66 | ||
67 | /* Text-level semantics | 67 | /* Text-level semantics |
68 | ========================================================================== */ | 68 | ========================================================================== */ |
69 | /** | 69 | /** |
70 | * Remove the gray background on active links in IE 10. | 70 | * Remove the gray background on active links in IE 10. |
71 | */ | 71 | */ |
72 | a { | 72 | a { |
73 | background-color: transparent; | 73 | background-color: transparent; |
74 | } | 74 | } |
75 | 75 | ||
76 | /** | 76 | /** |
77 | * 1. Remove the bottom border in Chrome 57- | 77 | * 1. Remove the bottom border in Chrome 57- |
78 | * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. | 78 | * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. |
79 | */ | 79 | */ |
80 | abbr[title] { | 80 | abbr[title] { |
81 | border-bottom: none; /* 1 */ | 81 | border-bottom: none; /* 1 */ |
82 | text-decoration: underline; /* 2 */ | 82 | text-decoration: underline; /* 2 */ |
83 | -webkit-text-decoration: underline dotted; | 83 | -webkit-text-decoration: underline dotted; |
84 | text-decoration: underline dotted; /* 2 */ | 84 | text-decoration: underline dotted; /* 2 */ |
85 | } | 85 | } |
86 | 86 | ||
87 | /** | 87 | /** |
88 | * Add the correct font weight in Chrome, Edge, and Safari. | 88 | * Add the correct font weight in Chrome, Edge, and Safari. |
89 | */ | 89 | */ |
90 | b, | 90 | b, |
91 | strong { | 91 | strong { |
92 | font-weight: bolder; | 92 | font-weight: bolder; |
93 | } | 93 | } |
94 | 94 | ||
95 | /** | 95 | /** |
96 | * 1. Correct the inheritance and scaling of font size in all browsers. | 96 | * 1. Correct the inheritance and scaling of font size in all browsers. |
97 | * 2. Correct the odd `em` font sizing in all browsers. | 97 | * 2. Correct the odd `em` font sizing in all browsers. |
98 | */ | 98 | */ |
99 | code, | 99 | code, |
100 | kbd, | 100 | kbd, |
101 | samp { | 101 | samp { |
102 | font-family: monospace, monospace; /* 1 */ | 102 | font-family: monospace, monospace; /* 1 */ |
103 | font-size: 1em; /* 2 */ | 103 | font-size: 1em; /* 2 */ |
104 | } | 104 | } |
105 | 105 | ||
106 | /** | 106 | /** |
107 | * Add the correct font size in all browsers. | 107 | * Add the correct font size in all browsers. |
108 | */ | 108 | */ |
109 | small { | 109 | small { |
110 | font-size: 80%; | 110 | font-size: 80%; |
111 | } | 111 | } |
112 | 112 | ||
113 | /** | 113 | /** |
114 | * Prevent `sub` and `sup` elements from affecting the line height in | 114 | * Prevent `sub` and `sup` elements from affecting the line height in |
115 | * all browsers. | 115 | * all browsers. |
116 | */ | 116 | */ |
117 | sub, | 117 | sub, |
118 | sup { | 118 | sup { |
119 | font-size: 75%; | 119 | font-size: 75%; |
120 | line-height: 0; | 120 | line-height: 0; |
121 | position: relative; | 121 | position: relative; |
122 | vertical-align: baseline; | 122 | vertical-align: baseline; |
123 | } | 123 | } |
124 | 124 | ||
125 | sub { | 125 | sub { |
126 | bottom: -0.25em; | 126 | bottom: -0.25em; |
127 | } | 127 | } |
128 | 128 | ||
129 | sup { | 129 | sup { |
130 | top: -0.5em; | 130 | top: -0.5em; |
131 | } | 131 | } |
132 | 132 | ||
133 | /* Embedded content | 133 | /* Embedded content |
134 | ========================================================================== */ | 134 | ========================================================================== */ |
135 | /** | 135 | /** |
136 | * Remove the border on images inside links in IE 10. | 136 | * Remove the border on images inside links in IE 10. |
137 | */ | 137 | */ |
138 | img { | 138 | img { |
139 | border-style: none; | 139 | border-style: none; |
140 | } | 140 | } |
141 | 141 | ||
142 | /* Forms | 142 | /* Forms |
143 | ========================================================================== */ | 143 | ========================================================================== */ |
144 | /** | 144 | /** |
145 | * 1. Change the font styles in all browsers. | 145 | * 1. Change the font styles in all browsers. |
146 | * 2. Remove the margin in Firefox and Safari. | 146 | * 2. Remove the margin in Firefox and Safari. |
147 | */ | 147 | */ |
148 | button, | 148 | button, |
149 | input, | 149 | input, |
150 | optgroup, | 150 | optgroup, |
151 | select, | 151 | select, |
152 | textarea { | 152 | textarea { |
153 | font-family: inherit; /* 1 */ | 153 | font-family: inherit; /* 1 */ |
154 | font-size: 100%; /* 1 */ | 154 | font-size: 100%; /* 1 */ |
155 | line-height: 1.15; /* 1 */ | 155 | line-height: 1.15; /* 1 */ |
156 | margin: 0; /* 2 */ | 156 | margin: 0; /* 2 */ |
157 | } | 157 | } |
158 | 158 | ||
159 | /** | 159 | /** |
160 | * Show the overflow in IE. | 160 | * Show the overflow in IE. |
161 | * 1. Show the overflow in Edge. | 161 | * 1. Show the overflow in Edge. |
162 | */ | 162 | */ |
163 | button, | 163 | button, |
164 | input { /* 1 */ | 164 | input { /* 1 */ |
165 | overflow: visible; | 165 | overflow: visible; |
166 | } | 166 | } |
167 | 167 | ||
168 | /** | 168 | /** |
169 | * Remove the inheritance of text transform in Edge, Firefox, and IE. | 169 | * Remove the inheritance of text transform in Edge, Firefox, and IE. |
170 | * 1. Remove the inheritance of text transform in Firefox. | 170 | * 1. Remove the inheritance of text transform in Firefox. |
171 | */ | 171 | */ |
172 | button, | 172 | button, |
173 | select { /* 1 */ | 173 | select { /* 1 */ |
174 | text-transform: none; | 174 | text-transform: none; |
175 | } | 175 | } |
176 | 176 | ||
177 | /** | 177 | /** |
178 | * Correct the inability to style clickable types in iOS and Safari. | 178 | * Correct the inability to style clickable types in iOS and Safari. |
179 | */ | 179 | */ |
180 | button, | 180 | button, |
181 | [type=button], | 181 | [type=button], |
182 | [type=reset], | 182 | [type=reset], |
183 | [type=submit] { | 183 | [type=submit] { |
184 | -webkit-appearance: button; | 184 | -webkit-appearance: button; |
185 | } | 185 | } |
186 | 186 | ||
187 | /** | 187 | /** |
188 | * Remove the inner border and padding in Firefox. | 188 | * Remove the inner border and padding in Firefox. |
189 | */ | 189 | */ |
190 | button::-moz-focus-inner, | 190 | button::-moz-focus-inner, |
191 | [type=button]::-moz-focus-inner, | 191 | [type=button]::-moz-focus-inner, |
192 | [type=reset]::-moz-focus-inner, | 192 | [type=reset]::-moz-focus-inner, |
193 | [type=submit]::-moz-focus-inner { | 193 | [type=submit]::-moz-focus-inner { |
194 | border-style: none; | 194 | border-style: none; |
195 | padding: 0; | 195 | padding: 0; |
196 | } | 196 | } |
197 | 197 | ||
198 | /** | 198 | /** |
199 | * Restore the focus styles unset by the previous rule. | 199 | * Restore the focus styles unset by the previous rule. |
200 | */ | 200 | */ |
201 | button:-moz-focusring, | 201 | button:-moz-focusring, |
202 | [type=button]:-moz-focusring, | 202 | [type=button]:-moz-focusring, |
203 | [type=reset]:-moz-focusring, | 203 | [type=reset]:-moz-focusring, |
204 | [type=submit]:-moz-focusring { | 204 | [type=submit]:-moz-focusring { |
205 | outline: 1px dotted ButtonText; | 205 | outline: 1px dotted ButtonText; |
206 | } | 206 | } |
207 | 207 | ||
208 | /** | 208 | /** |
209 | * Correct the padding in Firefox. | 209 | * Correct the padding in Firefox. |
210 | */ | 210 | */ |
211 | fieldset { | 211 | fieldset { |
212 | padding: 0.35em 0.75em 0.625em; | 212 | padding: 0.35em 0.75em 0.625em; |
213 | } | 213 | } |
214 | 214 | ||
215 | /** | 215 | /** |
216 | * 1. Correct the text wrapping in Edge and IE. | 216 | * 1. Correct the text wrapping in Edge and IE. |
217 | * 2. Correct the color inheritance from `fieldset` elements in IE. | 217 | * 2. Correct the color inheritance from `fieldset` elements in IE. |
218 | * 3. Remove the padding so developers are not caught out when they zero out | 218 | * 3. Remove the padding so developers are not caught out when they zero out |
219 | * `fieldset` elements in all browsers. | 219 | * `fieldset` elements in all browsers. |
220 | */ | 220 | */ |
221 | legend { | 221 | legend { |
222 | -webkit-box-sizing: border-box; | 222 | -webkit-box-sizing: border-box; |
223 | box-sizing: border-box; /* 1 */ | 223 | box-sizing: border-box; /* 1 */ |
224 | color: inherit; /* 2 */ | 224 | color: inherit; /* 2 */ |
225 | display: table; /* 1 */ | 225 | display: table; /* 1 */ |
226 | max-width: 100%; /* 1 */ | 226 | max-width: 100%; /* 1 */ |
227 | padding: 0; /* 3 */ | 227 | padding: 0; /* 3 */ |
228 | white-space: normal; /* 1 */ | 228 | white-space: normal; /* 1 */ |
229 | } | 229 | } |
230 | 230 | ||
231 | /** | 231 | /** |
232 | * Add the correct vertical alignment in Chrome, Firefox, and Opera. | 232 | * Add the correct vertical alignment in Chrome, Firefox, and Opera. |
233 | */ | 233 | */ |
234 | progress { | 234 | progress { |
235 | vertical-align: baseline; | 235 | vertical-align: baseline; |
236 | } | 236 | } |
237 | 237 | ||
238 | /** | 238 | /** |
239 | * Remove the default vertical scrollbar in IE 10+. | 239 | * Remove the default vertical scrollbar in IE 10+. |
240 | */ | 240 | */ |
241 | textarea { | 241 | textarea { |
242 | overflow: auto; | 242 | overflow: auto; |
243 | } | 243 | } |
244 | 244 | ||
245 | /** | 245 | /** |
246 | * 1. Add the correct box sizing in IE 10. | 246 | * 1. Add the correct box sizing in IE 10. |
247 | * 2. Remove the padding in IE 10. | 247 | * 2. Remove the padding in IE 10. |
248 | */ | 248 | */ |
249 | [type=checkbox], | 249 | [type=checkbox], |
250 | [type=radio] { | 250 | [type=radio] { |
251 | -webkit-box-sizing: border-box; | 251 | -webkit-box-sizing: border-box; |
252 | box-sizing: border-box; /* 1 */ | 252 | box-sizing: border-box; /* 1 */ |
253 | padding: 0; /* 2 */ | 253 | padding: 0; /* 2 */ |
254 | } | 254 | } |
255 | 255 | ||
256 | /** | 256 | /** |
257 | * Correct the cursor style of increment and decrement buttons in Chrome. | 257 | * Correct the cursor style of increment and decrement buttons in Chrome. |
258 | */ | 258 | */ |
259 | [type=number]::-webkit-inner-spin-button, | 259 | [type=number]::-webkit-inner-spin-button, |
260 | [type=number]::-webkit-outer-spin-button { | 260 | [type=number]::-webkit-outer-spin-button { |
261 | height: auto; | 261 | height: auto; |
262 | } | 262 | } |
263 | 263 | ||
264 | /** | 264 | /** |
265 | * 1. Correct the odd appearance in Chrome and Safari. | 265 | * 1. Correct the odd appearance in Chrome and Safari. |
266 | * 2. Correct the outline style in Safari. | 266 | * 2. Correct the outline style in Safari. |
267 | */ | 267 | */ |
268 | [type=search] { | 268 | [type=search] { |
269 | -webkit-appearance: textfield; /* 1 */ | 269 | -webkit-appearance: textfield; /* 1 */ |
270 | outline-offset: -2px; /* 2 */ | 270 | outline-offset: -2px; /* 2 */ |
271 | } | 271 | } |
272 | 272 | ||
273 | /** | 273 | /** |
274 | * Remove the inner padding in Chrome and Safari on macOS. | 274 | * Remove the inner padding in Chrome and Safari on macOS. |
275 | */ | 275 | */ |
276 | [type=search]::-webkit-search-decoration { | 276 | [type=search]::-webkit-search-decoration { |
277 | -webkit-appearance: none; | 277 | -webkit-appearance: none; |
278 | } | 278 | } |
279 | 279 | ||
280 | /** | 280 | /** |
281 | * 1. Correct the inability to style clickable types in iOS and Safari. | 281 | * 1. Correct the inability to style clickable types in iOS and Safari. |
282 | * 2. Change font properties to `inherit` in Safari. | 282 | * 2. Change font properties to `inherit` in Safari. |
283 | */ | 283 | */ |
284 | ::-webkit-file-upload-button { | 284 | ::-webkit-file-upload-button { |
285 | -webkit-appearance: button; /* 1 */ | 285 | -webkit-appearance: button; /* 1 */ |
286 | font: inherit; /* 2 */ | 286 | font: inherit; /* 2 */ |
287 | } | 287 | } |
288 | 288 | ||
289 | /* Interactive | 289 | /* Interactive |
290 | ========================================================================== */ | 290 | ========================================================================== */ |
291 | /* | 291 | /* |
292 | * Add the correct display in Edge, IE 10+, and Firefox. | 292 | * Add the correct display in Edge, IE 10+, and Firefox. |
293 | */ | 293 | */ |
294 | details { | 294 | details { |
295 | display: block; | 295 | display: block; |
296 | } | 296 | } |
297 | 297 | ||
298 | /* | 298 | /* |
299 | * Add the correct display in all browsers. | 299 | * Add the correct display in all browsers. |
300 | */ | 300 | */ |
301 | summary { | 301 | summary { |
302 | display: list-item; | 302 | display: list-item; |
303 | } | 303 | } |
304 | 304 | ||
305 | /* Misc | 305 | /* Misc |
306 | ========================================================================== */ | 306 | ========================================================================== */ |
307 | /** | 307 | /** |
308 | * Add the correct display in IE 10+. | 308 | * Add the correct display in IE 10+. |
309 | */ | 309 | */ |
310 | template { | 310 | template { |
311 | display: none; | 311 | display: none; |
312 | } | 312 | } |
313 | 313 | ||
314 | /** | 314 | /** |
315 | * Add the correct display in IE 10. | 315 | * Add the correct display in IE 10. |
316 | */ | 316 | */ |
317 | [hidden] { | 317 | [hidden] { |
318 | display: none; | 318 | display: none; |
319 | } | 319 | } |
320 | 320 | ||
321 | .green { | 321 | .green { |
322 | color: #377d87; | 322 | color: #377d87; |
323 | } | 323 | } |
324 | 324 | ||
325 | .red { | 325 | .red { |
326 | color: #eb5757; | 326 | color: #eb5757; |
327 | } | 327 | } |
328 | 328 | ||
329 | .rotate180 { | 329 | .rotate180 { |
330 | -webkit-transform: rotate(180deg); | 330 | -webkit-transform: rotate(180deg); |
331 | -ms-transform: rotate(180deg); | 331 | -ms-transform: rotate(180deg); |
332 | transform: rotate(180deg); | 332 | transform: rotate(180deg); |
333 | } | 333 | } |
334 | 334 | ||
335 | ::-moz-selection { | 335 | ::-moz-selection { |
336 | color: #000; | 336 | color: #000; |
337 | background: #acc0e6; | 337 | background: #acc0e6; |
338 | } | 338 | } |
339 | 339 | ||
340 | ::selection { | 340 | ::selection { |
341 | color: #000; | 341 | color: #000; |
342 | background: #acc0e6; | 342 | background: #acc0e6; |
343 | } | 343 | } |
344 | 344 | ||
345 | ::-webkit-scrollbar { | 345 | ::-webkit-scrollbar { |
346 | width: 8px; | 346 | width: 8px; |
347 | height: 8px; | 347 | height: 8px; |
348 | } | 348 | } |
349 | 349 | ||
350 | ::-webkit-scrollbar-track { | 350 | ::-webkit-scrollbar-track { |
351 | border-radius: 999px; | 351 | border-radius: 999px; |
352 | background-color: #fff; | 352 | background-color: #fff; |
353 | } | 353 | } |
354 | 354 | ||
355 | ::-webkit-scrollbar-thumb { | 355 | ::-webkit-scrollbar-thumb { |
356 | border-radius: 999px; | 356 | border-radius: 999px; |
357 | background-color: #377d87; | 357 | background-color: #377d87; |
358 | } | 358 | } |
359 | 359 | ||
360 | ::-webkit-input-placeholder { | 360 | ::-webkit-input-placeholder { |
361 | color: #9c9d9d; | 361 | color: #9c9d9d; |
362 | opacity: 1; | 362 | opacity: 1; |
363 | } | 363 | } |
364 | 364 | ||
365 | :focus::-webkit-input-placeholder { | 365 | :focus::-webkit-input-placeholder { |
366 | color: transparent; | 366 | color: transparent; |
367 | } | 367 | } |
368 | 368 | ||
369 | :-ms-input-placeholder { | 369 | :-ms-input-placeholder { |
370 | color: #9c9d9d; | 370 | color: #9c9d9d; |
371 | opacity: 1; | 371 | opacity: 1; |
372 | } | 372 | } |
373 | 373 | ||
374 | :focus:-ms-input-placeholder { | 374 | :focus:-ms-input-placeholder { |
375 | color: transparent; | 375 | color: transparent; |
376 | } | 376 | } |
377 | 377 | ||
378 | ::-ms-input-placeholder { | 378 | ::-ms-input-placeholder { |
379 | color: #9c9d9d; | 379 | color: #9c9d9d; |
380 | opacity: 1; | 380 | opacity: 1; |
381 | } | 381 | } |
382 | 382 | ||
383 | :focus::-ms-input-placeholder { | 383 | :focus::-ms-input-placeholder { |
384 | color: transparent; | 384 | color: transparent; |
385 | } | 385 | } |
386 | 386 | ||
387 | ::-moz-placeholder { | 387 | ::-moz-placeholder { |
388 | color: #9c9d9d; | 388 | color: #9c9d9d; |
389 | opacity: 1; | 389 | opacity: 1; |
390 | } | 390 | } |
391 | 391 | ||
392 | :focus::-moz-placeholder { | 392 | :focus::-moz-placeholder { |
393 | color: transparent; | 393 | color: transparent; |
394 | } | 394 | } |
395 | 395 | ||
396 | ::-webkit-input-placeholder { | 396 | ::-webkit-input-placeholder { |
397 | color: #9c9d9d; | 397 | color: #9c9d9d; |
398 | opacity: 1; | 398 | opacity: 1; |
399 | } | 399 | } |
400 | 400 | ||
401 | ::-moz-placeholder { | 401 | ::-moz-placeholder { |
402 | color: #9c9d9d; | 402 | color: #9c9d9d; |
403 | opacity: 1; | 403 | opacity: 1; |
404 | } | 404 | } |
405 | 405 | ||
406 | :-ms-input-placeholder { | 406 | :-ms-input-placeholder { |
407 | color: #9c9d9d; | 407 | color: #9c9d9d; |
408 | opacity: 1; | 408 | opacity: 1; |
409 | } | 409 | } |
410 | 410 | ||
411 | ::-ms-input-placeholder { | 411 | ::-ms-input-placeholder { |
412 | color: #9c9d9d; | 412 | color: #9c9d9d; |
413 | opacity: 1; | 413 | opacity: 1; |
414 | } | 414 | } |
415 | 415 | ||
416 | ::placeholder { | 416 | ::placeholder { |
417 | color: #9c9d9d; | 417 | color: #9c9d9d; |
418 | opacity: 1; | 418 | opacity: 1; |
419 | } | 419 | } |
420 | 420 | ||
421 | :focus::-webkit-input-placeholder { | 421 | :focus::-webkit-input-placeholder { |
422 | color: transparent; | 422 | color: transparent; |
423 | } | 423 | } |
424 | 424 | ||
425 | :focus::-moz-placeholder { | 425 | :focus::-moz-placeholder { |
426 | color: transparent; | 426 | color: transparent; |
427 | } | 427 | } |
428 | 428 | ||
429 | :focus:-ms-input-placeholder { | 429 | :focus:-ms-input-placeholder { |
430 | color: transparent; | 430 | color: transparent; |
431 | } | 431 | } |
432 | 432 | ||
433 | :focus::-ms-input-placeholder { | 433 | :focus::-ms-input-placeholder { |
434 | color: transparent; | 434 | color: transparent; |
435 | } | 435 | } |
436 | 436 | ||
437 | :focus::placeholder { | 437 | :focus::placeholder { |
438 | color: transparent; | 438 | color: transparent; |
439 | } | 439 | } |
440 | 440 | ||
441 | *, | 441 | *, |
442 | *:before, | 442 | *:before, |
443 | *:after { | 443 | *:after { |
444 | -webkit-box-sizing: border-box; | 444 | -webkit-box-sizing: border-box; |
445 | box-sizing: border-box; | 445 | box-sizing: border-box; |
446 | -webkit-appearance: none; | 446 | -webkit-appearance: none; |
447 | -moz-appearance: none; | 447 | -moz-appearance: none; |
448 | appearance: none; | 448 | appearance: none; |
449 | outline: none; | 449 | outline: none; |
450 | -webkit-box-shadow: none; | 450 | -webkit-box-shadow: none; |
451 | box-shadow: none; | 451 | box-shadow: none; |
452 | } | 452 | } |
453 | 453 | ||
454 | a, | 454 | a, |
455 | button, | 455 | button, |
456 | select { | 456 | select { |
457 | color: inherit; | 457 | color: inherit; |
458 | } | 458 | } |
459 | 459 | ||
460 | a { | 460 | a { |
461 | text-decoration: none; | 461 | text-decoration: none; |
462 | } | 462 | } |
463 | 463 | ||
464 | a, | 464 | a, |
465 | input[type=button], | 465 | input[type=button], |
466 | input[type=submit], | 466 | input[type=submit], |
467 | button { | 467 | button { |
468 | -webkit-user-select: none; | 468 | -webkit-user-select: none; |
469 | -moz-user-select: none; | 469 | -moz-user-select: none; |
470 | -ms-user-select: none; | 470 | -ms-user-select: none; |
471 | user-select: none; | 471 | user-select: none; |
472 | -webkit-transition: 0.3s; | 472 | -webkit-transition: 0.3s; |
473 | transition: 0.3s; | 473 | transition: 0.3s; |
474 | cursor: pointer; | 474 | cursor: pointer; |
475 | } | 475 | } |
476 | 476 | ||
477 | [type=tel] { | 477 | [type=tel] { |
478 | letter-spacing: 1px; | 478 | letter-spacing: 1px; |
479 | } | 479 | } |
480 | 480 | ||
481 | .br, | 481 | .br, |
482 | img, | 482 | img, |
483 | svg { | 483 | svg { |
484 | display: block; | 484 | display: block; |
485 | } | 485 | } |
486 | 486 | ||
487 | .float-left { | 487 | .float-left { |
488 | float: left; | 488 | float: left; |
489 | } | 489 | } |
490 | 490 | ||
491 | .float-right { | 491 | .float-right { |
492 | float: right; | 492 | float: right; |
493 | } | 493 | } |
494 | 494 | ||
495 | .clear-both:after { | 495 | .clear-both:after { |
496 | content: ""; | 496 | content: ""; |
497 | display: block; | 497 | display: block; |
498 | clear: both; | 498 | clear: both; |
499 | } | 499 | } |
500 | 500 | ||
501 | h1, | 501 | h1, |
502 | h2, | 502 | h2, |
503 | h3, | 503 | h3, |
504 | h4, | 504 | h4, |
505 | h5, | 505 | h5, |
506 | h6 { | 506 | h6 { |
507 | margin: 0; | 507 | margin: 0; |
508 | } | 508 | } |
509 | 509 | ||
510 | #body { | 510 | #body { |
511 | font-family: "Circe", sans-serif; | 511 | font-family: "Circe", sans-serif; |
512 | color: #000; | 512 | color: #000; |
513 | background: #fff; | 513 | background: #fff; |
514 | display: -webkit-box; | 514 | display: -webkit-box; |
515 | display: -ms-flexbox; | 515 | display: -ms-flexbox; |
516 | display: flex; | 516 | display: flex; |
517 | -webkit-box-orient: vertical; | 517 | -webkit-box-orient: vertical; |
518 | -webkit-box-direction: normal; | 518 | -webkit-box-direction: normal; |
519 | -ms-flex-direction: column; | 519 | -ms-flex-direction: column; |
520 | flex-direction: column; | 520 | flex-direction: column; |
521 | -webkit-box-pack: justify; | 521 | -webkit-box-pack: justify; |
522 | -ms-flex-pack: justify; | 522 | -ms-flex-pack: justify; |
523 | justify-content: space-between; | 523 | justify-content: space-between; |
524 | gap: 50px; | 524 | gap: 50px; |
525 | min-width: 320px; | 525 | min-width: 320px; |
526 | min-height: 100vh; | 526 | min-height: 100vh; |
527 | line-height: 1.25; | 527 | line-height: 1.25; |
528 | } | 528 | } |
529 | @media (min-width: 768px) { | 529 | @media (min-width: 768px) { |
530 | #body { | 530 | #body { |
531 | gap: 60px; | 531 | gap: 60px; |
532 | } | 532 | } |
533 | } | 533 | } |
534 | #body.pdf { | 534 | #body.pdf { |
535 | gap: 0; | 535 | gap: 0; |
536 | } | 536 | } |
537 | 537 | ||
538 | .container { | 538 | .container { |
539 | width: 100%; | 539 | width: 100%; |
540 | max-width: 1280px; | 540 | max-width: 1280px; |
541 | margin-left: auto; | 541 | margin-left: auto; |
542 | margin-right: auto; | 542 | margin-right: auto; |
543 | padding-left: 10px; | 543 | padding-left: 10px; |
544 | padding-right: 10px; | 544 | padding-right: 10px; |
545 | } | 545 | } |
546 | @media (min-width: 768px) { | 546 | @media (min-width: 768px) { |
547 | .container { | 547 | .container { |
548 | padding-left: 20px; | 548 | padding-left: 20px; |
549 | padding-right: 20px; | 549 | padding-right: 20px; |
550 | } | 550 | } |
551 | } | 551 | } |
552 | 552 | ||
553 | .to-top { | 553 | .to-top { |
554 | position: fixed; | 554 | position: fixed; |
555 | right: 10px; | 555 | right: 10px; |
556 | bottom: 10px; | 556 | bottom: 10px; |
557 | border-radius: 999px; | 557 | border-radius: 999px; |
558 | display: -webkit-box; | 558 | display: -webkit-box; |
559 | display: -ms-flexbox; | 559 | display: -ms-flexbox; |
560 | display: flex; | 560 | display: flex; |
561 | -webkit-box-pack: center; | 561 | -webkit-box-pack: center; |
562 | -ms-flex-pack: center; | 562 | -ms-flex-pack: center; |
563 | justify-content: center; | 563 | justify-content: center; |
564 | -webkit-box-align: center; | 564 | -webkit-box-align: center; |
565 | -ms-flex-align: center; | 565 | -ms-flex-align: center; |
566 | align-items: center; | 566 | align-items: center; |
567 | color: #fff; | 567 | color: #fff; |
568 | background: #377d87; | 568 | background: #377d87; |
569 | width: 40px; | 569 | width: 40px; |
570 | height: 40px; | 570 | height: 40px; |
571 | -webkit-transition: 0.3s; | 571 | -webkit-transition: 0.3s; |
572 | transition: 0.3s; | 572 | transition: 0.3s; |
573 | margin-right: -100px; | 573 | margin-right: -100px; |
574 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 574 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
575 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 575 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
576 | z-index: 99; | 576 | z-index: 99; |
577 | border: 1px solid #377d87; | 577 | border: 1px solid #377d87; |
578 | } | 578 | } |
579 | .to-top:hover { | 579 | .to-top:hover { |
580 | background: #fff; | 580 | background: #fff; |
581 | color: #377d87; | 581 | color: #377d87; |
582 | } | 582 | } |
583 | .to-top svg { | 583 | .to-top svg { |
584 | width: 10px; | 584 | width: 10px; |
585 | height: 10px; | 585 | height: 10px; |
586 | } | 586 | } |
587 | @media (min-width: 768px) { | 587 | @media (min-width: 768px) { |
588 | .to-top { | 588 | .to-top { |
589 | width: 50px; | 589 | width: 50px; |
590 | height: 50px; | 590 | height: 50px; |
591 | right: 20px; | 591 | right: 20px; |
592 | bottom: 20px; | 592 | bottom: 20px; |
593 | } | 593 | } |
594 | .to-top svg { | 594 | .to-top svg { |
595 | width: 12px; | 595 | width: 12px; |
596 | height: 12px; | 596 | height: 12px; |
597 | } | 597 | } |
598 | } | 598 | } |
599 | 599 | ||
600 | .begin .to-top { | 600 | .begin .to-top { |
601 | margin-right: 0; | 601 | margin-right: 0; |
602 | } | 602 | } |
603 | 603 | ||
604 | .socials { | 604 | .socials { |
605 | display: -webkit-box; | 605 | display: -webkit-box; |
606 | display: -ms-flexbox; | 606 | display: -ms-flexbox; |
607 | display: flex; | 607 | display: flex; |
608 | -webkit-box-align: center; | 608 | -webkit-box-align: center; |
609 | -ms-flex-align: center; | 609 | -ms-flex-align: center; |
610 | align-items: center; | 610 | align-items: center; |
611 | -webkit-box-pack: center; | 611 | -webkit-box-pack: center; |
612 | -ms-flex-pack: center; | 612 | -ms-flex-pack: center; |
613 | justify-content: center; | 613 | justify-content: center; |
614 | gap: 8px; | 614 | gap: 8px; |
615 | } | 615 | } |
616 | .socials a { | 616 | .socials a { |
617 | display: -webkit-box; | 617 | display: -webkit-box; |
618 | display: -ms-flexbox; | 618 | display: -ms-flexbox; |
619 | display: flex; | 619 | display: flex; |
620 | -webkit-box-align: center; | 620 | -webkit-box-align: center; |
621 | -ms-flex-align: center; | 621 | -ms-flex-align: center; |
622 | align-items: center; | 622 | align-items: center; |
623 | -webkit-box-pack: center; | 623 | -webkit-box-pack: center; |
624 | -ms-flex-pack: center; | 624 | -ms-flex-pack: center; |
625 | justify-content: center; | 625 | justify-content: center; |
626 | border: 1px solid #377d87; | 626 | border: 1px solid #377d87; |
627 | color: #377d87; | 627 | color: #377d87; |
628 | border-radius: 999px; | 628 | border-radius: 999px; |
629 | width: 38px; | 629 | width: 38px; |
630 | height: 38px; | 630 | height: 38px; |
631 | } | 631 | } |
632 | .socials a:hover { | 632 | .socials a:hover { |
633 | background: #377d87; | 633 | background: #377d87; |
634 | color: #fff; | 634 | color: #fff; |
635 | } | 635 | } |
636 | .socials svg { | 636 | .socials svg { |
637 | width: 12px; | 637 | width: 12px; |
638 | height: 12px; | 638 | height: 12px; |
639 | } | 639 | } |
640 | 640 | ||
641 | .nls { | 641 | .nls { |
642 | display: -webkit-box; | 642 | display: -webkit-box; |
643 | display: -ms-flexbox; | 643 | display: -ms-flexbox; |
644 | display: flex; | 644 | display: flex; |
645 | color: #000; | 645 | color: #000; |
646 | text-align: left; | 646 | text-align: left; |
647 | } | 647 | } |
648 | .nls:hover { | 648 | .nls:hover { |
649 | color: #377d87; | 649 | color: #377d87; |
650 | } | 650 | } |
651 | .nls svg { | 651 | .nls svg { |
652 | width: 30px; | 652 | width: 30px; |
653 | height: 40px; | 653 | height: 40px; |
654 | } | 654 | } |
655 | @media (min-width: 768px) { | 655 | @media (min-width: 768px) { |
656 | .nls svg { | 656 | .nls svg { |
657 | width: 24px; | 657 | width: 24px; |
658 | height: 31px; | 658 | height: 31px; |
659 | } | 659 | } |
660 | } | 660 | } |
661 | .nls span { | 661 | .nls span { |
662 | width: calc(100% - 30px); | 662 | width: calc(100% - 30px); |
663 | padding-left: 12px; | 663 | padding-left: 12px; |
664 | display: -webkit-box; | 664 | display: -webkit-box; |
665 | display: -ms-flexbox; | 665 | display: -ms-flexbox; |
666 | display: flex; | 666 | display: flex; |
667 | -webkit-box-orient: vertical; | 667 | -webkit-box-orient: vertical; |
668 | -webkit-box-direction: normal; | 668 | -webkit-box-direction: normal; |
669 | -ms-flex-direction: column; | 669 | -ms-flex-direction: column; |
670 | flex-direction: column; | 670 | flex-direction: column; |
671 | -webkit-box-pack: center; | 671 | -webkit-box-pack: center; |
672 | -ms-flex-pack: center; | 672 | -ms-flex-pack: center; |
673 | justify-content: center; | 673 | justify-content: center; |
674 | font-size: 12px; | 674 | font-size: 12px; |
675 | line-height: 1.4; | 675 | line-height: 1.4; |
676 | } | 676 | } |
677 | @media (min-width: 768px) { | 677 | @media (min-width: 768px) { |
678 | .nls span { | 678 | .nls span { |
679 | width: calc(100% - 24px); | 679 | width: calc(100% - 24px); |
680 | } | 680 | } |
681 | } | 681 | } |
682 | .nls b { | 682 | .nls b { |
683 | font-weight: 400; | 683 | font-weight: 400; |
684 | } | 684 | } |
685 | 685 | ||
686 | .title, | 686 | .title, |
687 | h1 { | 687 | h1 { |
688 | margin: 0; | 688 | margin: 0; |
689 | font-weight: 700; | 689 | font-weight: 700; |
690 | font-size: 32px; | 690 | font-size: 32px; |
691 | } | 691 | } |
692 | @media (min-width: 768px) { | 692 | @media (min-width: 768px) { |
693 | .title, | 693 | .title, |
694 | h1 { | 694 | h1 { |
695 | font-size: 40px; | 695 | font-size: 40px; |
696 | } | 696 | } |
697 | } | 697 | } |
698 | @media (min-width: 992px) { | 698 | @media (min-width: 992px) { |
699 | .title, | 699 | .title, |
700 | h1 { | 700 | h1 { |
701 | font-size: 48px; | 701 | font-size: 48px; |
702 | } | 702 | } |
703 | } | 703 | } |
704 | @media (min-width: 1280px) { | 704 | @media (min-width: 1280px) { |
705 | .title, | 705 | .title, |
706 | h1 { | 706 | h1 { |
707 | font-size: 64px; | 707 | font-size: 64px; |
708 | } | 708 | } |
709 | } | 709 | } |
710 | 710 | ||
711 | .swiper-pagination { | 711 | .swiper-pagination { |
712 | display: -webkit-box; | 712 | display: -webkit-box; |
713 | display: -ms-flexbox; | 713 | display: -ms-flexbox; |
714 | display: flex; | 714 | display: flex; |
715 | -webkit-box-pack: center; | 715 | -webkit-box-pack: center; |
716 | -ms-flex-pack: center; | 716 | -ms-flex-pack: center; |
717 | justify-content: center; | 717 | justify-content: center; |
718 | -webkit-box-align: center; | 718 | -webkit-box-align: center; |
719 | -ms-flex-align: center; | 719 | -ms-flex-align: center; |
720 | align-items: center; | 720 | align-items: center; |
721 | position: static; | 721 | position: static; |
722 | margin-top: 20px; | 722 | margin-top: 20px; |
723 | gap: 8px; | 723 | gap: 8px; |
724 | } | 724 | } |
725 | @media (min-width: 768px) { | 725 | @media (min-width: 768px) { |
726 | .swiper-pagination { | 726 | .swiper-pagination { |
727 | margin-top: 30px; | 727 | margin-top: 30px; |
728 | } | 728 | } |
729 | } | 729 | } |
730 | .swiper-pagination-bullet { | 730 | .swiper-pagination-bullet { |
731 | width: 16px; | 731 | width: 16px; |
732 | height: 16px; | 732 | height: 16px; |
733 | opacity: 1; | 733 | opacity: 1; |
734 | border: 1px solid #cdcece; | 734 | border: 1px solid #cdcece; |
735 | -webkit-transition: 0.3s; | 735 | -webkit-transition: 0.3s; |
736 | transition: 0.3s; | 736 | transition: 0.3s; |
737 | background: transparent; | 737 | background: transparent; |
738 | display: -webkit-box; | 738 | display: -webkit-box; |
739 | display: -ms-flexbox; | 739 | display: -ms-flexbox; |
740 | display: flex; | 740 | display: flex; |
741 | -webkit-box-pack: center; | 741 | -webkit-box-pack: center; |
742 | -ms-flex-pack: center; | 742 | -ms-flex-pack: center; |
743 | justify-content: center; | 743 | justify-content: center; |
744 | -webkit-box-align: center; | 744 | -webkit-box-align: center; |
745 | -ms-flex-align: center; | 745 | -ms-flex-align: center; |
746 | align-items: center; | 746 | align-items: center; |
747 | margin: 0 !important; | 747 | margin: 0 !important; |
748 | } | 748 | } |
749 | .swiper-pagination-bullet:before { | 749 | .swiper-pagination-bullet:before { |
750 | content: ""; | 750 | content: ""; |
751 | width: 6px; | 751 | width: 6px; |
752 | height: 6px; | 752 | height: 6px; |
753 | border-radius: 999px; | 753 | border-radius: 999px; |
754 | background: #377d87; | 754 | background: #377d87; |
755 | opacity: 0; | 755 | opacity: 0; |
756 | -webkit-transition: 0.3s; | 756 | -webkit-transition: 0.3s; |
757 | transition: 0.3s; | 757 | transition: 0.3s; |
758 | } | 758 | } |
759 | .swiper-pagination-bullet:hover { | 759 | .swiper-pagination-bullet:hover { |
760 | border-color: #377d87; | 760 | border-color: #377d87; |
761 | } | 761 | } |
762 | .swiper-pagination-bullet-active { | 762 | .swiper-pagination-bullet-active { |
763 | border-color: #377d87; | 763 | border-color: #377d87; |
764 | } | 764 | } |
765 | .swiper-pagination-bullet-active:before { | 765 | .swiper-pagination-bullet-active:before { |
766 | opacity: 1; | 766 | opacity: 1; |
767 | } | 767 | } |
768 | 768 | ||
769 | .navs { | 769 | .navs { |
770 | display: -webkit-box; | 770 | display: -webkit-box; |
771 | display: -ms-flexbox; | 771 | display: -ms-flexbox; |
772 | display: flex; | 772 | display: flex; |
773 | -webkit-box-align: center; | 773 | -webkit-box-align: center; |
774 | -ms-flex-align: center; | 774 | -ms-flex-align: center; |
775 | align-items: center; | 775 | align-items: center; |
776 | -webkit-box-pack: justify; | 776 | -webkit-box-pack: justify; |
777 | -ms-flex-pack: justify; | 777 | -ms-flex-pack: justify; |
778 | justify-content: space-between; | 778 | justify-content: space-between; |
779 | gap: 20px; | 779 | gap: 20px; |
780 | width: 80px; | 780 | width: 80px; |
781 | } | 781 | } |
782 | .navs button { | 782 | .navs button { |
783 | color: #377d87; | 783 | color: #377d87; |
784 | background: none; | 784 | background: none; |
785 | border: none; | 785 | border: none; |
786 | padding: 0; | 786 | padding: 0; |
787 | } | 787 | } |
788 | .navs button[disabled] { | 788 | .navs button[disabled] { |
789 | cursor: not-allowed; | 789 | cursor: not-allowed; |
790 | color: #cddee1; | 790 | color: #cddee1; |
791 | } | 791 | } |
792 | .navs svg { | 792 | .navs svg { |
793 | width: 14px; | 793 | width: 14px; |
794 | height: 28px; | 794 | height: 28px; |
795 | } | 795 | } |
796 | 796 | ||
797 | .select { | 797 | .select { |
798 | position: relative; | 798 | position: relative; |
799 | } | 799 | } |
800 | .select2 { | 800 | .select2 { |
801 | width: 100% !important; | 801 | width: 100% !important; |
802 | } | 802 | } |
803 | .select2-container { | 803 | .select2-container { |
804 | font-size: 12px; | 804 | font-size: 12px; |
805 | } | 805 | } |
806 | @media (min-width: 768px) { | 806 | @media (min-width: 768px) { |
807 | .select2-container { | 807 | .select2-container { |
808 | font-size: 16px; | 808 | font-size: 16px; |
809 | } | 809 | } |
810 | } | 810 | } |
811 | .select2-container--open .select2-selection { | 811 | .select2-container--open .select2-selection { |
812 | border-color: #377d87 !important; | 812 | border-color: #377d87 !important; |
813 | } | 813 | } |
814 | .select2-container--open .select2-selection__arrow svg { | 814 | .select2-container--open .select2-selection__arrow svg { |
815 | -webkit-transform: rotate(180deg); | 815 | -webkit-transform: rotate(180deg); |
816 | -ms-transform: rotate(180deg); | 816 | -ms-transform: rotate(180deg); |
817 | transform: rotate(180deg); | 817 | transform: rotate(180deg); |
818 | } | 818 | } |
819 | .select2-selection { | 819 | .select2-selection { |
820 | min-height: 30px !important; | 820 | min-height: 30px !important; |
821 | border-radius: 8px !important; | 821 | border-radius: 8px !important; |
822 | border-color: #e7e7e7 !important; | 822 | border-color: #e7e7e7 !important; |
823 | -webkit-transition: 0.3s; | 823 | -webkit-transition: 0.3s; |
824 | transition: 0.3s; | 824 | transition: 0.3s; |
825 | } | 825 | } |
826 | @media (min-width: 768px) { | 826 | @media (min-width: 768px) { |
827 | .select2-selection { | 827 | .select2-selection { |
828 | min-height: 50px !important; | 828 | min-height: 50px !important; |
829 | } | 829 | } |
830 | } | 830 | } |
831 | .select2-selection__rendered { | 831 | .select2-selection__rendered { |
832 | line-height: 28px !important; | 832 | line-height: 28px !important; |
833 | padding: 0 30px 0 10px !important; | 833 | padding: 0 30px 0 10px !important; |
834 | } | 834 | } |
835 | @media (min-width: 768px) { | 835 | @media (min-width: 768px) { |
836 | .select2-selection__rendered { | 836 | .select2-selection__rendered { |
837 | line-height: 48px !important; | 837 | line-height: 48px !important; |
838 | padding: 0 46px 0 20px !important; | 838 | padding: 0 46px 0 20px !important; |
839 | } | 839 | } |
840 | } | 840 | } |
841 | .select2-selection--multiple .select2-selection__rendered { | 841 | .select2-selection--multiple .select2-selection__rendered { |
842 | display: -webkit-box !important; | 842 | display: -webkit-box !important; |
843 | display: -ms-flexbox !important; | 843 | display: -ms-flexbox !important; |
844 | display: flex !important; | 844 | display: flex !important; |
845 | -webkit-box-align: center; | 845 | -webkit-box-align: center; |
846 | -ms-flex-align: center; | 846 | -ms-flex-align: center; |
847 | align-items: center; | 847 | align-items: center; |
848 | -ms-flex-wrap: wrap; | 848 | -ms-flex-wrap: wrap; |
849 | flex-wrap: wrap; | 849 | flex-wrap: wrap; |
850 | gap: 10px; | 850 | gap: 10px; |
851 | padding-top: 10px !important; | 851 | padding-top: 10px !important; |
852 | padding-bottom: 10px !important; | 852 | padding-bottom: 10px !important; |
853 | } | 853 | } |
854 | .select2-selection--multiple .select2-selection__rendered .select2-selection__choice { | 854 | .select2-selection--multiple .select2-selection__rendered .select2-selection__choice { |
855 | margin: 0; | 855 | margin: 0; |
856 | } | 856 | } |
857 | .select2-selection__arrow { | 857 | .select2-selection__arrow { |
858 | top: 0 !important; | 858 | top: 0 !important; |
859 | right: 0 !important; | 859 | right: 0 !important; |
860 | width: 30px !important; | 860 | width: 30px !important; |
861 | height: 100% !important; | 861 | height: 100% !important; |
862 | display: -webkit-box; | 862 | display: -webkit-box; |
863 | display: -ms-flexbox; | 863 | display: -ms-flexbox; |
864 | display: flex; | 864 | display: flex; |
865 | -webkit-box-pack: center; | 865 | -webkit-box-pack: center; |
866 | -ms-flex-pack: center; | 866 | -ms-flex-pack: center; |
867 | justify-content: center; | 867 | justify-content: center; |
868 | -webkit-box-align: center; | 868 | -webkit-box-align: center; |
869 | -ms-flex-align: center; | 869 | -ms-flex-align: center; |
870 | align-items: center; | 870 | align-items: center; |
871 | color: #377d87; | 871 | color: #377d87; |
872 | } | 872 | } |
873 | @media (min-width: 768px) { | 873 | @media (min-width: 768px) { |
874 | .select2-selection__arrow { | 874 | .select2-selection__arrow { |
875 | width: 50px !important; | 875 | width: 50px !important; |
876 | } | 876 | } |
877 | } | 877 | } |
878 | .select2-selection__arrow svg { | 878 | .select2-selection__arrow svg { |
879 | width: 12px; | 879 | width: 12px; |
880 | height: 12px; | 880 | height: 12px; |
881 | -webkit-transition: 0.3s; | 881 | -webkit-transition: 0.3s; |
882 | transition: 0.3s; | 882 | transition: 0.3s; |
883 | } | 883 | } |
884 | @media (min-width: 768px) { | 884 | @media (min-width: 768px) { |
885 | .select2-selection__arrow svg { | 885 | .select2-selection__arrow svg { |
886 | width: 14px; | 886 | width: 14px; |
887 | height: 14px; | 887 | height: 14px; |
888 | } | 888 | } |
889 | } | 889 | } |
890 | .select2-selection__choice { | 890 | .select2-selection__choice { |
891 | display: -webkit-box; | 891 | display: -webkit-box; |
892 | display: -ms-flexbox; | 892 | display: -ms-flexbox; |
893 | display: flex; | 893 | display: flex; |
894 | -webkit-box-orient: horizontal; | 894 | -webkit-box-orient: horizontal; |
895 | -webkit-box-direction: reverse; | 895 | -webkit-box-direction: reverse; |
896 | -ms-flex-direction: row-reverse; | 896 | -ms-flex-direction: row-reverse; |
897 | flex-direction: row-reverse; | 897 | flex-direction: row-reverse; |
898 | -webkit-box-align: center; | 898 | -webkit-box-align: center; |
899 | -ms-flex-align: center; | 899 | -ms-flex-align: center; |
900 | align-items: center; | 900 | align-items: center; |
901 | -webkit-box-pack: center; | 901 | -webkit-box-pack: center; |
902 | -ms-flex-pack: center; | 902 | -ms-flex-pack: center; |
903 | justify-content: center; | 903 | justify-content: center; |
904 | gap: 4px; | 904 | gap: 4px; |
905 | padding: 0 4px 0 6px !important; | 905 | padding: 0 4px 0 6px !important; |
906 | background: #377d87 !important; | 906 | background: #377d87 !important; |
907 | border: none !important; | 907 | border: none !important; |
908 | border-radius: 6px !important; | 908 | border-radius: 6px !important; |
909 | line-height: 1 !important; | 909 | line-height: 1 !important; |
910 | color: #fff; | 910 | color: #fff; |
911 | height: 24px; | 911 | height: 24px; |
912 | } | 912 | } |
913 | @media (min-width: 768px) { | 913 | @media (min-width: 768px) { |
914 | .select2-selection__choice { | 914 | .select2-selection__choice { |
915 | height: 32px; | 915 | height: 32px; |
916 | gap: 6px; | 916 | gap: 6px; |
917 | padding: 0 6px 0 10px !important; | 917 | padding: 0 6px 0 10px !important; |
918 | border-radius: 8px !important; | 918 | border-radius: 8px !important; |
919 | } | 919 | } |
920 | } | 920 | } |
921 | .select2-selection__choice__remove { | 921 | .select2-selection__choice__remove { |
922 | width: 14px; | 922 | width: 14px; |
923 | height: 14px; | 923 | height: 14px; |
924 | padding-top: 4px; | 924 | padding-top: 4px; |
925 | display: -webkit-box !important; | 925 | display: -webkit-box !important; |
926 | display: -ms-flexbox !important; | 926 | display: -ms-flexbox !important; |
927 | display: flex !important; | 927 | display: flex !important; |
928 | -webkit-box-pack: center; | 928 | -webkit-box-pack: center; |
929 | -ms-flex-pack: center; | 929 | -ms-flex-pack: center; |
930 | justify-content: center; | 930 | justify-content: center; |
931 | -webkit-box-align: center; | 931 | -webkit-box-align: center; |
932 | -ms-flex-align: center; | 932 | -ms-flex-align: center; |
933 | align-items: center; | 933 | align-items: center; |
934 | color: #fff !important; | 934 | color: #fff !important; |
935 | font-weight: 400 !important; | 935 | font-weight: 400 !important; |
936 | font-size: 26px; | 936 | font-size: 26px; |
937 | } | 937 | } |
938 | .select2-search { | 938 | .select2-search { |
939 | display: none; | 939 | display: none; |
940 | } | 940 | } |
941 | .select2-dropdown { | 941 | .select2-dropdown { |
942 | z-index: 99999; | 942 | z-index: 99999; |
943 | border: none; | 943 | border: none; |
944 | border-radius: 0; | 944 | border-radius: 0; |
945 | background: none; | 945 | background: none; |
946 | padding: 5px 0; | 946 | padding: 5px 0; |
947 | } | 947 | } |
948 | @media (min-width: 768px) { | 948 | @media (min-width: 768px) { |
949 | .select2-dropdown { | 949 | .select2-dropdown { |
950 | padding: 10px 0; | 950 | padding: 10px 0; |
951 | } | 951 | } |
952 | } | 952 | } |
953 | .select2-results { | 953 | .select2-results { |
954 | background: #fff; | 954 | background: #fff; |
955 | border-radius: 8px; | 955 | border-radius: 8px; |
956 | border: 1px solid #377d87; | 956 | border: 1px solid #377d87; |
957 | overflow: hidden; | 957 | overflow: hidden; |
958 | } | 958 | } |
959 | @media (min-width: 768px) { | 959 | @media (min-width: 768px) { |
960 | .select2-results__option { | 960 | .select2-results__option { |
961 | padding: 10px 14px; | 961 | padding: 10px 14px; |
962 | } | 962 | } |
963 | } | 963 | } |
964 | .select2-results__option--highlighted { | 964 | .select2-results__option--highlighted { |
965 | background: #377d87 !important; | 965 | background: #377d87 !important; |
966 | } | 966 | } |
967 | @media (min-width: 768px) { | 967 | @media (min-width: 768px) { |
968 | .select_search .select2-selection__rendered { | 968 | .select_search .select2-selection__rendered { |
969 | padding-left: 60px !important; | 969 | padding-left: 60px !important; |
970 | } | 970 | } |
971 | } | 971 | } |
972 | .select_search .select__icon { | 972 | .select_search .select__icon { |
973 | display: none; | 973 | display: none; |
974 | height: 28px; | 974 | height: 28px; |
975 | -webkit-box-align: center; | 975 | -webkit-box-align: center; |
976 | -ms-flex-align: center; | 976 | -ms-flex-align: center; |
977 | align-items: center; | 977 | align-items: center; |
978 | padding-right: 12px; | 978 | padding-right: 12px; |
979 | z-index: 2; | 979 | z-index: 2; |
980 | position: absolute; | 980 | position: absolute; |
981 | top: 50%; | 981 | top: 50%; |
982 | left: 15px; | 982 | left: 15px; |
983 | margin-top: -14px; | 983 | margin-top: -14px; |
984 | } | 984 | } |
985 | @media (min-width: 768px) { | 985 | @media (min-width: 768px) { |
986 | .select_search .select__icon { | 986 | .select_search .select__icon { |
987 | display: -webkit-box; | 987 | display: -webkit-box; |
988 | display: -ms-flexbox; | 988 | display: -ms-flexbox; |
989 | display: flex; | 989 | display: flex; |
990 | } | 990 | } |
991 | } | 991 | } |
992 | .select_search .select__icon:after { | 992 | .select_search .select__icon:after { |
993 | content: ""; | 993 | content: ""; |
994 | width: 1px; | 994 | width: 1px; |
995 | height: 100%; | 995 | height: 100%; |
996 | border-radius: 999px; | 996 | border-radius: 999px; |
997 | position: absolute; | 997 | position: absolute; |
998 | top: 0; | 998 | top: 0; |
999 | right: 0; | 999 | right: 0; |
1000 | background: #cecece; | 1000 | background: #cecece; |
1001 | } | 1001 | } |
1002 | .select_search .select__icon svg { | 1002 | .select_search .select__icon svg { |
1003 | color: #9c9d9d; | 1003 | color: #9c9d9d; |
1004 | width: 20px; | 1004 | width: 20px; |
1005 | height: 20px; | 1005 | height: 20px; |
1006 | } | 1006 | } |
1007 | 1007 | ||
1008 | .form-group { | 1008 | .form-group { |
1009 | display: -webkit-box; | 1009 | display: -webkit-box; |
1010 | display: -ms-flexbox; | 1010 | display: -ms-flexbox; |
1011 | display: flex; | 1011 | display: flex; |
1012 | -webkit-box-orient: vertical; | 1012 | -webkit-box-orient: vertical; |
1013 | -webkit-box-direction: normal; | 1013 | -webkit-box-direction: normal; |
1014 | -ms-flex-direction: column; | 1014 | -ms-flex-direction: column; |
1015 | flex-direction: column; | 1015 | flex-direction: column; |
1016 | gap: 4px; | 1016 | gap: 4px; |
1017 | } | 1017 | } |
1018 | .form-group__label { | 1018 | .form-group__label { |
1019 | font-size: 12px; | 1019 | font-size: 12px; |
1020 | } | 1020 | } |
1021 | @media (min-width: 768px) { | 1021 | @media (min-width: 768px) { |
1022 | .form-group__label { | 1022 | .form-group__label { |
1023 | font-size: 16px; | 1023 | font-size: 16px; |
1024 | } | 1024 | } |
1025 | } | 1025 | } |
1026 | .form-group__item { | 1026 | .form-group__item { |
1027 | display: -webkit-box; | 1027 | display: -webkit-box; |
1028 | display: -ms-flexbox; | 1028 | display: -ms-flexbox; |
1029 | display: flex; | 1029 | display: flex; |
1030 | -webkit-box-orient: vertical; | 1030 | -webkit-box-orient: vertical; |
1031 | -webkit-box-direction: normal; | 1031 | -webkit-box-direction: normal; |
1032 | -ms-flex-direction: column; | 1032 | -ms-flex-direction: column; |
1033 | flex-direction: column; | 1033 | flex-direction: column; |
1034 | position: relative; | 1034 | position: relative; |
1035 | } | 1035 | } |
1036 | .form-group__item-icon { | 1036 | .form-group__item-icon { |
1037 | width: 16px; | 1037 | width: 16px; |
1038 | aspect-ratio: 1/1; | 1038 | aspect-ratio: 1/1; |
1039 | z-index: 2; | 1039 | z-index: 2; |
1040 | position: absolute; | 1040 | position: absolute; |
1041 | top: 50%; | 1041 | top: 50%; |
1042 | right: 4px; | 1042 | right: 4px; |
1043 | -webkit-transform: translate(0, -50%); | 1043 | -webkit-transform: translate(0, -50%); |
1044 | -ms-transform: translate(0, -50%); | 1044 | -ms-transform: translate(0, -50%); |
1045 | transform: translate(0, -50%); | 1045 | transform: translate(0, -50%); |
1046 | display: -webkit-box; | 1046 | display: -webkit-box; |
1047 | display: -ms-flexbox; | 1047 | display: -ms-flexbox; |
1048 | display: flex; | 1048 | display: flex; |
1049 | -webkit-box-pack: center; | 1049 | -webkit-box-pack: center; |
1050 | -ms-flex-pack: center; | 1050 | -ms-flex-pack: center; |
1051 | justify-content: center; | 1051 | justify-content: center; |
1052 | -webkit-box-align: center; | 1052 | -webkit-box-align: center; |
1053 | -ms-flex-align: center; | 1053 | -ms-flex-align: center; |
1054 | align-items: center; | 1054 | align-items: center; |
1055 | color: #377d87; | 1055 | color: #377d87; |
1056 | } | 1056 | } |
1057 | @media (min-width: 768px) { | 1057 | @media (min-width: 768px) { |
1058 | .form-group__item-icon { | 1058 | .form-group__item-icon { |
1059 | width: 22px; | 1059 | width: 22px; |
1060 | right: 20px; | 1060 | right: 20px; |
1061 | } | 1061 | } |
1062 | } | 1062 | } |
1063 | .form-group__item-icon svg { | 1063 | .form-group__item-icon svg { |
1064 | width: 14px; | 1064 | width: 14px; |
1065 | aspect-ratio: 1/1; | 1065 | aspect-ratio: 1/1; |
1066 | } | 1066 | } |
1067 | @media (min-width: 768px) { | 1067 | @media (min-width: 768px) { |
1068 | .form-group__item-icon svg { | 1068 | .form-group__item-icon svg { |
1069 | width: 20px; | 1069 | width: 20px; |
1070 | } | 1070 | } |
1071 | } | 1071 | } |
1072 | .form-group__item-icon + .input { | 1072 | .form-group__item-icon + .input { |
1073 | padding-right: 24px; | 1073 | padding-right: 24px; |
1074 | } | 1074 | } |
1075 | @media (min-width: 768px) { | 1075 | @media (min-width: 768px) { |
1076 | .form-group__item-icon + .input { | 1076 | .form-group__item-icon + .input { |
1077 | padding-right: 60px; | 1077 | padding-right: 60px; |
1078 | } | 1078 | } |
1079 | } | 1079 | } |
1080 | 1080 | ||
1081 | .input { | 1081 | .input { |
1082 | display: block; | 1082 | display: block; |
1083 | height: 30px; | 1083 | height: 30px; |
1084 | border: 1px solid #cecece; | 1084 | border: 1px solid #cecece; |
1085 | background: #fff; | 1085 | background: #fff; |
1086 | font-size: 12px; | 1086 | font-size: 12px; |
1087 | border-radius: 8px; | 1087 | border-radius: 8px; |
1088 | padding: 0 10px; | 1088 | padding: 0 10px; |
1089 | color: #000; | 1089 | color: #000; |
1090 | -webkit-transition: 0.3s; | 1090 | -webkit-transition: 0.3s; |
1091 | transition: 0.3s; | 1091 | transition: 0.3s; |
1092 | position: relative; | 1092 | position: relative; |
1093 | z-index: 1; | 1093 | z-index: 1; |
1094 | } | 1094 | } |
1095 | @media (min-width: 768px) { | 1095 | @media (min-width: 768px) { |
1096 | .input { | 1096 | .input { |
1097 | padding: 0 20px; | 1097 | padding: 0 20px; |
1098 | height: 44px; | 1098 | height: 44px; |
1099 | font-size: 16px; | 1099 | font-size: 16px; |
1100 | } | 1100 | } |
1101 | } | 1101 | } |
1102 | .input:focus { | 1102 | .input:focus { |
1103 | border-color: #377d87; | 1103 | border-color: #377d87; |
1104 | } | 1104 | } |
1105 | .input[disabled] { | 1105 | .input[disabled] { |
1106 | color: #9c9d9d; | 1106 | color: #9c9d9d; |
1107 | background: #e7e7e7; | 1107 | background: #e7e7e7; |
1108 | } | 1108 | } |
1109 | .input[type=date] { | 1109 | .input[type=date] { |
1110 | text-transform: uppercase; | 1110 | text-transform: uppercase; |
1111 | } | 1111 | } |
1112 | 1112 | ||
1113 | .textarea { | 1113 | .textarea { |
1114 | resize: none; | 1114 | resize: none; |
1115 | display: block; | 1115 | display: block; |
1116 | width: 100%; | 1116 | width: 100%; |
1117 | border-radius: 8px; | 1117 | border-radius: 8px; |
1118 | border: 1px solid #cecece; | 1118 | border: 1px solid #cecece; |
1119 | background: #fff; | 1119 | background: #fff; |
1120 | -webkit-transition: 0.3s; | 1120 | -webkit-transition: 0.3s; |
1121 | transition: 0.3s; | 1121 | transition: 0.3s; |
1122 | font-size: 12px; | 1122 | font-size: 12px; |
1123 | line-height: 1.4; | 1123 | line-height: 1.4; |
1124 | padding: 10px; | 1124 | padding: 10px; |
1125 | aspect-ratio: 8/3; | 1125 | aspect-ratio: 8/3; |
1126 | max-height: 250px; | 1126 | max-height: 250px; |
1127 | } | 1127 | } |
1128 | @media (min-width: 768px) { | 1128 | @media (min-width: 768px) { |
1129 | .textarea { | 1129 | .textarea { |
1130 | padding: 20px; | 1130 | padding: 20px; |
1131 | font-size: 16px; | 1131 | font-size: 16px; |
1132 | height: 280px; | 1132 | height: 280px; |
1133 | } | 1133 | } |
1134 | } | 1134 | } |
1135 | .textarea:focus { | 1135 | .textarea:focus { |
1136 | border-color: #377d87; | 1136 | border-color: #377d87; |
1137 | } | 1137 | } |
1138 | 1138 | ||
1139 | .button { | 1139 | .button { |
1140 | display: -webkit-box; | 1140 | display: -webkit-box; |
1141 | display: -ms-flexbox; | 1141 | display: -ms-flexbox; |
1142 | display: flex; | 1142 | display: flex; |
1143 | -webkit-box-pack: center; | 1143 | -webkit-box-pack: center; |
1144 | -ms-flex-pack: center; | 1144 | -ms-flex-pack: center; |
1145 | justify-content: center; | 1145 | justify-content: center; |
1146 | -webkit-box-align: center; | 1146 | -webkit-box-align: center; |
1147 | -ms-flex-align: center; | 1147 | -ms-flex-align: center; |
1148 | align-items: center; | 1148 | align-items: center; |
1149 | color: #fff; | 1149 | color: #fff; |
1150 | background: #377d87; | 1150 | background: #377d87; |
1151 | height: 30px; | 1151 | height: 30px; |
1152 | border-radius: 8px; | 1152 | border-radius: 8px; |
1153 | padding: 0 12px; | 1153 | padding: 0 12px; |
1154 | border: 1px solid #377d87; | 1154 | border: 1px solid #377d87; |
1155 | font-weight: 700; | 1155 | font-weight: 700; |
1156 | font-size: 12px; | 1156 | font-size: 12px; |
1157 | text-align: center; | 1157 | text-align: center; |
1158 | line-height: 1; | 1158 | line-height: 1; |
1159 | gap: 6px; | 1159 | gap: 6px; |
1160 | -webkit-transition: 0.3s; | 1160 | -webkit-transition: 0.3s; |
1161 | transition: 0.3s; | 1161 | transition: 0.3s; |
1162 | cursor: pointer; | 1162 | cursor: pointer; |
1163 | } | 1163 | } |
1164 | @media (min-width: 768px) { | 1164 | @media (min-width: 768px) { |
1165 | .button { | 1165 | .button { |
1166 | padding: 0 24px; | 1166 | padding: 0 24px; |
1167 | font-size: 16px; | 1167 | font-size: 16px; |
1168 | height: 44px; | 1168 | height: 44px; |
1169 | gap: 12px; | 1169 | gap: 12px; |
1170 | } | 1170 | } |
1171 | } | 1171 | } |
1172 | @media (min-width: 992px) { | 1172 | @media (min-width: 992px) { |
1173 | .button { | 1173 | .button { |
1174 | padding: 0 36px; | 1174 | padding: 0 36px; |
1175 | } | 1175 | } |
1176 | } | 1176 | } |
1177 | .button:hover { | 1177 | .button:hover { |
1178 | background: transparent; | 1178 | background: transparent; |
1179 | color: #377d87; | 1179 | color: #377d87; |
1180 | } | 1180 | } |
1181 | .button img, | 1181 | .button img, |
1182 | .button svg { | 1182 | .button svg { |
1183 | width: 12px; | 1183 | width: 12px; |
1184 | height: 12px; | 1184 | height: 12px; |
1185 | } | 1185 | } |
1186 | @media (min-width: 768px) { | 1186 | @media (min-width: 768px) { |
1187 | .button img, | 1187 | .button img, |
1188 | .button svg { | 1188 | .button svg { |
1189 | width: 18px; | 1189 | width: 18px; |
1190 | height: 18px; | 1190 | height: 18px; |
1191 | } | 1191 | } |
1192 | } | 1192 | } |
1193 | .button_more span + span { | 1193 | .button_more span + span { |
1194 | display: none; | 1194 | display: none; |
1195 | } | 1195 | } |
1196 | .button_more.active span { | 1196 | .button_more.active span { |
1197 | display: none; | 1197 | display: none; |
1198 | } | 1198 | } |
1199 | .button_more.active span + span { | 1199 | .button_more.active span + span { |
1200 | display: block; | 1200 | display: block; |
1201 | } | 1201 | } |
1202 | .button_light { | 1202 | .button_light { |
1203 | background: transparent; | 1203 | background: transparent; |
1204 | color: #377d87; | 1204 | color: #377d87; |
1205 | } | 1205 | } |
1206 | .button_light:hover { | 1206 | .button_light:hover { |
1207 | background: #377d87; | 1207 | background: #377d87; |
1208 | color: #fff; | 1208 | color: #fff; |
1209 | } | 1209 | } |
1210 | .button_whited { | 1210 | .button_whited { |
1211 | background: #fff; | 1211 | background: #fff; |
1212 | color: #377d87; | 1212 | color: #377d87; |
1213 | border-color: #fff; | 1213 | border-color: #fff; |
1214 | } | 1214 | } |
1215 | .button_whited:hover { | 1215 | .button_whited:hover { |
1216 | background: #377d87; | 1216 | background: #377d87; |
1217 | color: #fff; | 1217 | color: #fff; |
1218 | } | 1218 | } |
1219 | 1219 | ||
1220 | .search { | 1220 | .search { |
1221 | width: 100%; | 1221 | width: 100%; |
1222 | position: relative; | 1222 | position: relative; |
1223 | background: #fff; | 1223 | background: #fff; |
1224 | border-radius: 8px; | 1224 | border-radius: 8px; |
1225 | } | 1225 | } |
1226 | .search span { | 1226 | .search span { |
1227 | display: none; | 1227 | display: none; |
1228 | height: 28px; | 1228 | height: 28px; |
1229 | -webkit-box-align: center; | 1229 | -webkit-box-align: center; |
1230 | -ms-flex-align: center; | 1230 | -ms-flex-align: center; |
1231 | align-items: center; | 1231 | align-items: center; |
1232 | padding-right: 12px; | 1232 | padding-right: 12px; |
1233 | z-index: 1; | 1233 | z-index: 1; |
1234 | position: absolute; | 1234 | position: absolute; |
1235 | top: 50%; | 1235 | top: 50%; |
1236 | left: 15px; | 1236 | left: 15px; |
1237 | margin-top: -14px; | 1237 | margin-top: -14px; |
1238 | } | 1238 | } |
1239 | @media (min-width: 768px) { | 1239 | @media (min-width: 768px) { |
1240 | .search span { | 1240 | .search span { |
1241 | display: -webkit-box; | 1241 | display: -webkit-box; |
1242 | display: -ms-flexbox; | 1242 | display: -ms-flexbox; |
1243 | display: flex; | 1243 | display: flex; |
1244 | } | 1244 | } |
1245 | } | 1245 | } |
1246 | .search span:after { | 1246 | .search span:after { |
1247 | content: ""; | 1247 | content: ""; |
1248 | width: 1px; | 1248 | width: 1px; |
1249 | height: 100%; | 1249 | height: 100%; |
1250 | border-radius: 999px; | 1250 | border-radius: 999px; |
1251 | position: absolute; | 1251 | position: absolute; |
1252 | top: 0; | 1252 | top: 0; |
1253 | right: 0; | 1253 | right: 0; |
1254 | background: #cecece; | 1254 | background: #cecece; |
1255 | } | 1255 | } |
1256 | .search span svg { | 1256 | .search span svg { |
1257 | color: #9c9d9d; | 1257 | color: #9c9d9d; |
1258 | width: 20px; | 1258 | width: 20px; |
1259 | height: 20px; | 1259 | height: 20px; |
1260 | } | 1260 | } |
1261 | .search input { | 1261 | .search input { |
1262 | width: 100%; | 1262 | width: 100%; |
1263 | padding-right: 150px; | 1263 | padding-right: 150px; |
1264 | position: relative; | 1264 | position: relative; |
1265 | z-index: 2; | 1265 | z-index: 2; |
1266 | background: none; | 1266 | background: none; |
1267 | } | 1267 | } |
1268 | @media (min-width: 768px) { | 1268 | @media (min-width: 768px) { |
1269 | .search input { | 1269 | .search input { |
1270 | padding-left: 60px; | 1270 | padding-left: 60px; |
1271 | padding-right: 220px; | 1271 | padding-right: 220px; |
1272 | } | 1272 | } |
1273 | } | 1273 | } |
1274 | .search button { | 1274 | .search button { |
1275 | width: 140px; | 1275 | width: 140px; |
1276 | position: absolute; | 1276 | position: absolute; |
1277 | padding: 0; | 1277 | padding: 0; |
1278 | top: 0; | 1278 | top: 0; |
1279 | right: 0; | 1279 | right: 0; |
1280 | z-index: 3; | 1280 | z-index: 3; |
1281 | } | 1281 | } |
1282 | @media (min-width: 768px) { | 1282 | @media (min-width: 768px) { |
1283 | .search button { | 1283 | .search button { |
1284 | width: 200px; | 1284 | width: 200px; |
1285 | } | 1285 | } |
1286 | } | 1286 | } |
1287 | 1287 | ||
1288 | .breadcrumbs { | 1288 | .breadcrumbs { |
1289 | display: -webkit-box; | 1289 | display: -webkit-box; |
1290 | display: -ms-flexbox; | 1290 | display: -ms-flexbox; |
1291 | display: flex; | 1291 | display: flex; |
1292 | -webkit-box-align: center; | 1292 | -webkit-box-align: center; |
1293 | -ms-flex-align: center; | 1293 | -ms-flex-align: center; |
1294 | align-items: center; | 1294 | align-items: center; |
1295 | -ms-flex-wrap: wrap; | 1295 | -ms-flex-wrap: wrap; |
1296 | flex-wrap: wrap; | 1296 | flex-wrap: wrap; |
1297 | gap: 12px 6px; | 1297 | gap: 12px 6px; |
1298 | margin: 0; | 1298 | margin: 0; |
1299 | padding: 0; | 1299 | padding: 0; |
1300 | font-size: 11px; | 1300 | font-size: 11px; |
1301 | color: #cecece; | 1301 | color: #cecece; |
1302 | line-height: 1; | 1302 | line-height: 1; |
1303 | } | 1303 | } |
1304 | @media (min-width: 992px) { | 1304 | @media (min-width: 992px) { |
1305 | .breadcrumbs { | 1305 | .breadcrumbs { |
1306 | font-size: 13px; | 1306 | font-size: 13px; |
1307 | } | 1307 | } |
1308 | } | 1308 | } |
1309 | @media (min-width: 1280px) { | 1309 | @media (min-width: 1280px) { |
1310 | .breadcrumbs { | 1310 | .breadcrumbs { |
1311 | font-size: 16px; | 1311 | font-size: 16px; |
1312 | } | 1312 | } |
1313 | } | 1313 | } |
1314 | .breadcrumbs li { | 1314 | .breadcrumbs li { |
1315 | display: -webkit-box; | 1315 | display: -webkit-box; |
1316 | display: -ms-flexbox; | 1316 | display: -ms-flexbox; |
1317 | display: flex; | 1317 | display: flex; |
1318 | -webkit-box-align: center; | 1318 | -webkit-box-align: center; |
1319 | -ms-flex-align: center; | 1319 | -ms-flex-align: center; |
1320 | align-items: center; | 1320 | align-items: center; |
1321 | gap: 6px; | 1321 | gap: 6px; |
1322 | } | 1322 | } |
1323 | .breadcrumbs li:before { | 1323 | .breadcrumbs li:before { |
1324 | content: ""; | 1324 | content: ""; |
1325 | width: 4px; | 1325 | width: 4px; |
1326 | height: 4px; | 1326 | height: 4px; |
1327 | background: #cecece; | 1327 | background: #cecece; |
1328 | border-radius: 999px; | 1328 | border-radius: 999px; |
1329 | position: relative; | 1329 | position: relative; |
1330 | top: -1px; | 1330 | top: -1px; |
1331 | } | 1331 | } |
1332 | .breadcrumbs li:first-child:before { | 1332 | .breadcrumbs li:first-child:before { |
1333 | display: none; | 1333 | display: none; |
1334 | } | 1334 | } |
1335 | .breadcrumbs li:last-child:before { | 1335 | .breadcrumbs li:last-child:before { |
1336 | background: #377d87; | 1336 | background: #377d87; |
1337 | } | 1337 | } |
1338 | .breadcrumbs a:hover { | 1338 | .breadcrumbs a:hover { |
1339 | color: #377d87; | 1339 | color: #377d87; |
1340 | } | 1340 | } |
1341 | .breadcrumbs b { | 1341 | .breadcrumbs b { |
1342 | color: #377d87; | 1342 | color: #377d87; |
1343 | font-weight: 700; | 1343 | font-weight: 700; |
1344 | } | 1344 | } |
1345 | 1345 | ||
1346 | .pagination { | 1346 | .pagination { |
1347 | display: -webkit-box; | 1347 | display: -webkit-box; |
1348 | display: -ms-flexbox; | 1348 | display: -ms-flexbox; |
1349 | display: flex; | 1349 | display: flex; |
1350 | -webkit-box-align: center; | 1350 | -webkit-box-align: center; |
1351 | -ms-flex-align: center; | 1351 | -ms-flex-align: center; |
1352 | align-items: center; | 1352 | align-items: center; |
1353 | -webkit-box-pack: center; | 1353 | -webkit-box-pack: center; |
1354 | -ms-flex-pack: center; | 1354 | -ms-flex-pack: center; |
1355 | justify-content: center; | 1355 | justify-content: center; |
1356 | -ms-flex-wrap: wrap; | 1356 | -ms-flex-wrap: wrap; |
1357 | flex-wrap: wrap; | 1357 | flex-wrap: wrap; |
1358 | line-height: 1; | 1358 | line-height: 1; |
1359 | color: #000; | 1359 | color: #000; |
1360 | font-size: 12px; | 1360 | font-size: 12px; |
1361 | margin: 0 auto; | 1361 | margin: 0 auto; |
1362 | } | 1362 | } |
1363 | @media (min-width: 768px) { | 1363 | @media (min-width: 768px) { |
1364 | .pagination { | 1364 | .pagination { |
1365 | font-size: 14px; | 1365 | font-size: 14px; |
1366 | gap: 3px; | 1366 | gap: 3px; |
1367 | } | 1367 | } |
1368 | } | 1368 | } |
1369 | .pagination__item { | 1369 | .pagination__item { |
1370 | width: 40px; | 1370 | width: 40px; |
1371 | height: 40px; | 1371 | height: 40px; |
1372 | display: -webkit-box; | 1372 | display: -webkit-box; |
1373 | display: -ms-flexbox; | 1373 | display: -ms-flexbox; |
1374 | display: flex; | 1374 | display: flex; |
1375 | -webkit-box-pack: center; | 1375 | -webkit-box-pack: center; |
1376 | -ms-flex-pack: center; | 1376 | -ms-flex-pack: center; |
1377 | justify-content: center; | 1377 | justify-content: center; |
1378 | -webkit-box-align: center; | 1378 | -webkit-box-align: center; |
1379 | -ms-flex-align: center; | 1379 | -ms-flex-align: center; |
1380 | align-items: center; | 1380 | align-items: center; |
1381 | background: none; | 1381 | background: none; |
1382 | padding: 0; | 1382 | padding: 0; |
1383 | border: 1px solid transparent; | 1383 | border: 1px solid transparent; |
1384 | border-radius: 8px; | 1384 | border-radius: 8px; |
1385 | } | 1385 | } |
1386 | .pagination__item:hover { | 1386 | .pagination__item:hover { |
1387 | -webkit-transition: 0s; | 1387 | -webkit-transition: 0s; |
1388 | transition: 0s; | 1388 | transition: 0s; |
1389 | color: #377d87; | 1389 | color: #377d87; |
1390 | font-weight: 700; | 1390 | font-weight: 700; |
1391 | } | 1391 | } |
1392 | .pagination__item.active { | 1392 | .pagination__item.active { |
1393 | font-weight: 700; | 1393 | font-weight: 700; |
1394 | color: #fff; | 1394 | color: #fff; |
1395 | background: #377d87; | 1395 | background: #377d87; |
1396 | border-color: #377d87; | 1396 | border-color: #377d87; |
1397 | } | 1397 | } |
1398 | .pagination__dots { | 1398 | .pagination__dots { |
1399 | width: 40px; | 1399 | width: 40px; |
1400 | height: 40px; | 1400 | height: 40px; |
1401 | display: -webkit-box; | 1401 | display: -webkit-box; |
1402 | display: -ms-flexbox; | 1402 | display: -ms-flexbox; |
1403 | display: flex; | 1403 | display: flex; |
1404 | -webkit-box-pack: center; | 1404 | -webkit-box-pack: center; |
1405 | -ms-flex-pack: center; | 1405 | -ms-flex-pack: center; |
1406 | justify-content: center; | 1406 | justify-content: center; |
1407 | -webkit-box-align: center; | 1407 | -webkit-box-align: center; |
1408 | -ms-flex-align: center; | 1408 | -ms-flex-align: center; |
1409 | align-items: center; | 1409 | align-items: center; |
1410 | } | 1410 | } |
1411 | .pagination__dots svg { | 1411 | .pagination__dots svg { |
1412 | width: 15px; | 1412 | width: 15px; |
1413 | height: 15px; | 1413 | height: 15px; |
1414 | } | 1414 | } |
1415 | .pagination__nav { | 1415 | .pagination__nav { |
1416 | width: 40px; | 1416 | width: 40px; |
1417 | height: 40px; | 1417 | height: 40px; |
1418 | display: none; | 1418 | display: none; |
1419 | -webkit-box-pack: center; | 1419 | -webkit-box-pack: center; |
1420 | -ms-flex-pack: center; | 1420 | -ms-flex-pack: center; |
1421 | justify-content: center; | 1421 | justify-content: center; |
1422 | -webkit-box-align: center; | 1422 | -webkit-box-align: center; |
1423 | -ms-flex-align: center; | 1423 | -ms-flex-align: center; |
1424 | align-items: center; | 1424 | align-items: center; |
1425 | background: none; | 1425 | background: none; |
1426 | padding: 0; | 1426 | padding: 0; |
1427 | border: 1px solid #cddee1; | 1427 | border: 1px solid #cddee1; |
1428 | color: #377d87; | 1428 | color: #377d87; |
1429 | border-radius: 8px; | 1429 | border-radius: 8px; |
1430 | } | 1430 | } |
1431 | @media (min-width: 768px) { | 1431 | @media (min-width: 768px) { |
1432 | .pagination__nav { | 1432 | .pagination__nav { |
1433 | display: -webkit-box; | 1433 | display: -webkit-box; |
1434 | display: -ms-flexbox; | 1434 | display: -ms-flexbox; |
1435 | display: flex; | 1435 | display: flex; |
1436 | } | 1436 | } |
1437 | } | 1437 | } |
1438 | .pagination__nav:hover { | 1438 | .pagination__nav:hover { |
1439 | border-color: #377d87; | 1439 | border-color: #377d87; |
1440 | background: #377d87; | 1440 | background: #377d87; |
1441 | color: #fff; | 1441 | color: #fff; |
1442 | } | 1442 | } |
1443 | .pagination__nav svg { | 1443 | .pagination__nav svg { |
1444 | width: 10px; | 1444 | width: 10px; |
1445 | height: 10px; | 1445 | height: 10px; |
1446 | } | 1446 | } |
1447 | .pagination__nav_prev { | 1447 | .pagination__nav_prev { |
1448 | margin-right: 37px; | 1448 | margin-right: 37px; |
1449 | } | 1449 | } |
1450 | .pagination__nav_prev svg { | 1450 | .pagination__nav_prev svg { |
1451 | -webkit-transform: rotate(180deg); | 1451 | -webkit-transform: rotate(180deg); |
1452 | -ms-transform: rotate(180deg); | 1452 | -ms-transform: rotate(180deg); |
1453 | transform: rotate(180deg); | 1453 | transform: rotate(180deg); |
1454 | } | 1454 | } |
1455 | .pagination__nav_next { | 1455 | .pagination__nav_next { |
1456 | margin-left: 37px; | 1456 | margin-left: 37px; |
1457 | } | 1457 | } |
1458 | 1458 | ||
1459 | .filters { | 1459 | .filters { |
1460 | display: -webkit-box; | 1460 | display: -webkit-box; |
1461 | display: -ms-flexbox; | 1461 | display: -ms-flexbox; |
1462 | display: flex; | 1462 | display: flex; |
1463 | -webkit-box-orient: vertical; | 1463 | -webkit-box-orient: vertical; |
1464 | -webkit-box-direction: normal; | 1464 | -webkit-box-direction: normal; |
1465 | -ms-flex-direction: column; | 1465 | -ms-flex-direction: column; |
1466 | flex-direction: column; | 1466 | flex-direction: column; |
1467 | gap: 10px; | 1467 | gap: 10px; |
1468 | } | 1468 | } |
1469 | @media (min-width: 768px) { | 1469 | @media (min-width: 768px) { |
1470 | .filters { | 1470 | .filters { |
1471 | -webkit-box-orient: horizontal; | 1471 | -webkit-box-orient: horizontal; |
1472 | -webkit-box-direction: normal; | 1472 | -webkit-box-direction: normal; |
1473 | -ms-flex-direction: row; | 1473 | -ms-flex-direction: row; |
1474 | flex-direction: row; | 1474 | flex-direction: row; |
1475 | -webkit-box-align: center; | 1475 | -webkit-box-align: center; |
1476 | -ms-flex-align: center; | 1476 | -ms-flex-align: center; |
1477 | align-items: center; | 1477 | align-items: center; |
1478 | -webkit-box-pack: justify; | 1478 | -webkit-box-pack: justify; |
1479 | -ms-flex-pack: justify; | 1479 | -ms-flex-pack: justify; |
1480 | justify-content: space-between; | 1480 | justify-content: space-between; |
1481 | } | 1481 | } |
1482 | } | 1482 | } |
1483 | .filters__label { | 1483 | .filters__label { |
1484 | color: #377d87; | 1484 | color: #377d87; |
1485 | font-size: 12px; | 1485 | font-size: 12px; |
1486 | font-weight: 700; | 1486 | font-weight: 700; |
1487 | } | 1487 | } |
1488 | @media (min-width: 768px) { | 1488 | @media (min-width: 768px) { |
1489 | .filters__label { | 1489 | .filters__label { |
1490 | font-size: 16px; | 1490 | font-size: 16px; |
1491 | } | 1491 | } |
1492 | } | 1492 | } |
1493 | @media (min-width: 992px) { | 1493 | @media (min-width: 992px) { |
1494 | .filters__label { | 1494 | .filters__label { |
1495 | font-size: 18px; | 1495 | font-size: 18px; |
1496 | } | 1496 | } |
1497 | } | 1497 | } |
1498 | .filters__body { | 1498 | .filters__body { |
1499 | display: -webkit-box; | 1499 | display: -webkit-box; |
1500 | display: -ms-flexbox; | 1500 | display: -ms-flexbox; |
1501 | display: flex; | 1501 | display: flex; |
1502 | -webkit-box-orient: vertical; | 1502 | -webkit-box-orient: vertical; |
1503 | -webkit-box-direction: normal; | 1503 | -webkit-box-direction: normal; |
1504 | -ms-flex-direction: column; | 1504 | -ms-flex-direction: column; |
1505 | flex-direction: column; | 1505 | flex-direction: column; |
1506 | } | 1506 | } |
1507 | @media (min-width: 768px) { | 1507 | @media (min-width: 768px) { |
1508 | .filters__body { | 1508 | .filters__body { |
1509 | -webkit-box-orient: horizontal; | 1509 | -webkit-box-orient: horizontal; |
1510 | -webkit-box-direction: normal; | 1510 | -webkit-box-direction: normal; |
1511 | -ms-flex-direction: row; | 1511 | -ms-flex-direction: row; |
1512 | flex-direction: row; | 1512 | flex-direction: row; |
1513 | -webkit-box-align: center; | 1513 | -webkit-box-align: center; |
1514 | -ms-flex-align: center; | 1514 | -ms-flex-align: center; |
1515 | align-items: center; | 1515 | align-items: center; |
1516 | } | 1516 | } |
1517 | } | 1517 | } |
1518 | @media (min-width: 768px) { | 1518 | @media (min-width: 768px) { |
1519 | .filters__select { | 1519 | .filters__select { |
1520 | width: 250px; | 1520 | width: 250px; |
1521 | } | 1521 | } |
1522 | } | 1522 | } |
1523 | @media (min-width: 992px) { | 1523 | @media (min-width: 992px) { |
1524 | .filters__select { | 1524 | .filters__select { |
1525 | width: 310px; | 1525 | width: 310px; |
1526 | } | 1526 | } |
1527 | } | 1527 | } |
1528 | .filters__item { | 1528 | .filters__item { |
1529 | display: none; | 1529 | display: none; |
1530 | -webkit-box-pack: center; | 1530 | -webkit-box-pack: center; |
1531 | -ms-flex-pack: center; | 1531 | -ms-flex-pack: center; |
1532 | justify-content: center; | 1532 | justify-content: center; |
1533 | -webkit-box-align: center; | 1533 | -webkit-box-align: center; |
1534 | -ms-flex-align: center; | 1534 | -ms-flex-align: center; |
1535 | align-items: center; | 1535 | align-items: center; |
1536 | width: 50px; | 1536 | width: 50px; |
1537 | height: 50px; | 1537 | height: 50px; |
1538 | padding: 0; | 1538 | padding: 0; |
1539 | background: #fff; | 1539 | background: #fff; |
1540 | border: 1px solid #377d87; | 1540 | border: 1px solid #377d87; |
1541 | color: #377d87; | 1541 | color: #377d87; |
1542 | border-radius: 8px; | 1542 | border-radius: 8px; |
1543 | margin-left: 20px; | 1543 | margin-left: 20px; |
1544 | } | 1544 | } |
1545 | @media (min-width: 768px) { | 1545 | @media (min-width: 768px) { |
1546 | .filters__item { | 1546 | .filters__item { |
1547 | display: -webkit-box; | 1547 | display: -webkit-box; |
1548 | display: -ms-flexbox; | 1548 | display: -ms-flexbox; |
1549 | display: flex; | 1549 | display: flex; |
1550 | } | 1550 | } |
1551 | } | 1551 | } |
1552 | .filters__item svg { | 1552 | .filters__item svg { |
1553 | width: 24px; | 1553 | width: 24px; |
1554 | height: 24px; | 1554 | height: 24px; |
1555 | } | 1555 | } |
1556 | .filters__item.active { | 1556 | .filters__item.active { |
1557 | background: #377d87; | 1557 | background: #377d87; |
1558 | color: #fff; | 1558 | color: #fff; |
1559 | } | 1559 | } |
1560 | .filters__item + .filters__item { | 1560 | .filters__item + .filters__item { |
1561 | margin-left: 8px; | 1561 | margin-left: 8px; |
1562 | } | 1562 | } |
1563 | 1563 | ||
1564 | .like, | 1564 | .like, |
1565 | .chat { | 1565 | .chat { |
1566 | width: 30px; | 1566 | width: 30px; |
1567 | height: 30px; | 1567 | height: 30px; |
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-pack: center; | 1571 | -webkit-box-pack: center; |
1572 | -ms-flex-pack: center; | 1572 | -ms-flex-pack: center; |
1573 | justify-content: center; | 1573 | justify-content: center; |
1574 | -webkit-box-align: center; | 1574 | -webkit-box-align: center; |
1575 | -ms-flex-align: center; | 1575 | -ms-flex-align: center; |
1576 | align-items: center; | 1576 | align-items: center; |
1577 | background: none; | 1577 | background: none; |
1578 | border: 1px solid #377d87; | 1578 | border: 1px solid #377d87; |
1579 | padding: 0; | 1579 | padding: 0; |
1580 | color: #377d87; | 1580 | color: #377d87; |
1581 | border-radius: 6px; | 1581 | border-radius: 6px; |
1582 | } | 1582 | } |
1583 | @media (min-width: 768px) { | 1583 | @media (min-width: 768px) { |
1584 | .like, | 1584 | .like, |
1585 | .chat { | 1585 | .chat { |
1586 | width: 44px; | 1586 | width: 44px; |
1587 | height: 44px; | 1587 | height: 44px; |
1588 | } | 1588 | } |
1589 | } | 1589 | } |
1590 | .like.active, | 1590 | .like.active, |
1591 | .chat.active { | 1591 | .chat.active { |
1592 | background: #377d87; | 1592 | background: #377d87; |
1593 | color: #fff; | 1593 | color: #fff; |
1594 | } | 1594 | } |
1595 | .like svg, | 1595 | .like svg, |
1596 | .chat svg { | 1596 | .chat svg { |
1597 | width: 14px; | 1597 | width: 14px; |
1598 | height: 14px; | 1598 | height: 14px; |
1599 | } | 1599 | } |
1600 | @media (min-width: 768px) { | 1600 | @media (min-width: 768px) { |
1601 | .like svg, | 1601 | .like svg, |
1602 | .chat svg { | 1602 | .chat svg { |
1603 | width: 20px; | 1603 | width: 20px; |
1604 | height: 20px; | 1604 | height: 20px; |
1605 | } | 1605 | } |
1606 | } | 1606 | } |
1607 | 1607 | ||
1608 | .like.active { | 1608 | .like.active { |
1609 | background: #eb5757; | 1609 | background: #eb5757; |
1610 | border-color: #eb5757; | 1610 | border-color: #eb5757; |
1611 | } | 1611 | } |
1612 | 1612 | ||
1613 | .checkbox { | 1613 | .checkbox { |
1614 | display: -webkit-box; | 1614 | display: -webkit-box; |
1615 | display: -ms-flexbox; | 1615 | display: -ms-flexbox; |
1616 | display: flex; | 1616 | display: flex; |
1617 | -webkit-box-align: start; | 1617 | -webkit-box-align: start; |
1618 | -ms-flex-align: start; | 1618 | -ms-flex-align: start; |
1619 | align-items: flex-start; | 1619 | align-items: flex-start; |
1620 | cursor: pointer; | 1620 | cursor: pointer; |
1621 | position: relative; | 1621 | position: relative; |
1622 | } | 1622 | } |
1623 | .checkbox__input { | 1623 | .checkbox__input { |
1624 | position: absolute; | 1624 | position: absolute; |
1625 | z-index: 1; | 1625 | z-index: 1; |
1626 | width: 14px; | 1626 | width: 14px; |
1627 | height: 14px; | 1627 | height: 14px; |
1628 | padding: 0; | 1628 | padding: 0; |
1629 | background: none; | 1629 | background: none; |
1630 | border: none; | 1630 | border: none; |
1631 | opacity: 0; | 1631 | opacity: 0; |
1632 | } | 1632 | } |
1633 | @media (min-width: 768px) { | 1633 | @media (min-width: 768px) { |
1634 | .checkbox__input { | 1634 | .checkbox__input { |
1635 | width: 20px; | 1635 | width: 20px; |
1636 | height: 20px; | 1636 | height: 20px; |
1637 | } | 1637 | } |
1638 | } | 1638 | } |
1639 | .checkbox__icon { | 1639 | .checkbox__icon { |
1640 | width: 14px; | 1640 | width: 14px; |
1641 | height: 14px; | 1641 | height: 14px; |
1642 | border: 1px solid #cfcfcf; | 1642 | border: 1px solid #cfcfcf; |
1643 | background: #fff; | 1643 | background: #fff; |
1644 | color: #fff; | 1644 | color: #fff; |
1645 | display: -webkit-box; | 1645 | display: -webkit-box; |
1646 | display: -ms-flexbox; | 1646 | display: -ms-flexbox; |
1647 | display: flex; | 1647 | display: flex; |
1648 | -webkit-box-pack: center; | 1648 | -webkit-box-pack: center; |
1649 | -ms-flex-pack: center; | 1649 | -ms-flex-pack: center; |
1650 | justify-content: center; | 1650 | justify-content: center; |
1651 | -webkit-box-align: center; | 1651 | -webkit-box-align: center; |
1652 | -ms-flex-align: center; | 1652 | -ms-flex-align: center; |
1653 | align-items: center; | 1653 | align-items: center; |
1654 | border-radius: 4px; | 1654 | border-radius: 4px; |
1655 | -webkit-transition: 0.3s; | 1655 | -webkit-transition: 0.3s; |
1656 | transition: 0.3s; | 1656 | transition: 0.3s; |
1657 | position: relative; | 1657 | position: relative; |
1658 | z-index: 2; | 1658 | z-index: 2; |
1659 | } | 1659 | } |
1660 | @media (min-width: 768px) { | 1660 | @media (min-width: 768px) { |
1661 | .checkbox__icon { | 1661 | .checkbox__icon { |
1662 | width: 20px; | 1662 | width: 20px; |
1663 | height: 20px; | 1663 | height: 20px; |
1664 | } | 1664 | } |
1665 | } | 1665 | } |
1666 | .checkbox__icon svg { | 1666 | .checkbox__icon svg { |
1667 | width: 8px; | 1667 | width: 8px; |
1668 | height: 8px; | 1668 | height: 8px; |
1669 | opacity: 0; | 1669 | opacity: 0; |
1670 | } | 1670 | } |
1671 | @media (min-width: 768px) { | 1671 | @media (min-width: 768px) { |
1672 | .checkbox__icon svg { | 1672 | .checkbox__icon svg { |
1673 | width: 10px; | 1673 | width: 10px; |
1674 | height: 10px; | 1674 | height: 10px; |
1675 | } | 1675 | } |
1676 | } | 1676 | } |
1677 | .checkbox__input:checked + .checkbox__icon { | 1677 | .checkbox__input:checked + .checkbox__icon { |
1678 | border-color: #377d87; | 1678 | border-color: #377d87; |
1679 | background: #377d87; | 1679 | background: #377d87; |
1680 | } | 1680 | } |
1681 | .checkbox__input:checked + .checkbox__icon svg { | 1681 | .checkbox__input:checked + .checkbox__icon svg { |
1682 | opacity: 1; | 1682 | opacity: 1; |
1683 | } | 1683 | } |
1684 | .checkbox__text { | 1684 | .checkbox__text { |
1685 | width: calc(100% - 14px); | 1685 | width: calc(100% - 14px); |
1686 | padding-left: 6px; | 1686 | padding-left: 6px; |
1687 | font-size: 12px; | 1687 | font-size: 12px; |
1688 | line-height: 1; | 1688 | line-height: 1; |
1689 | display: -webkit-box; | 1689 | display: -webkit-box; |
1690 | display: -ms-flexbox; | 1690 | display: -ms-flexbox; |
1691 | display: flex; | 1691 | display: flex; |
1692 | -webkit-box-align: center; | 1692 | -webkit-box-align: center; |
1693 | -ms-flex-align: center; | 1693 | -ms-flex-align: center; |
1694 | align-items: center; | 1694 | align-items: center; |
1695 | min-height: 14px; | 1695 | min-height: 14px; |
1696 | } | 1696 | } |
1697 | @media (min-width: 768px) { | 1697 | @media (min-width: 768px) { |
1698 | .checkbox__text { | 1698 | .checkbox__text { |
1699 | width: calc(100% - 20px); | 1699 | width: calc(100% - 20px); |
1700 | padding-left: 12px; | 1700 | padding-left: 12px; |
1701 | font-size: 15px; | 1701 | font-size: 15px; |
1702 | min-height: 20px; | 1702 | min-height: 20px; |
1703 | } | 1703 | } |
1704 | } | 1704 | } |
1705 | .checkbox__text a { | 1705 | .checkbox__text a { |
1706 | color: #377d87; | 1706 | color: #377d87; |
1707 | text-decoration: underline; | 1707 | text-decoration: underline; |
1708 | } | 1708 | } |
1709 | .checkbox-empty { | 1709 | .checkbox-empty { |
1710 | display: -webkit-box; | 1710 | display: -webkit-box; |
1711 | display: -ms-flexbox; | 1711 | display: -ms-flexbox; |
1712 | display: flex; | 1712 | display: flex; |
1713 | -webkit-box-orient: vertical; | 1713 | -webkit-box-orient: vertical; |
1714 | -webkit-box-direction: normal; | 1714 | -webkit-box-direction: normal; |
1715 | -ms-flex-direction: column; | 1715 | -ms-flex-direction: column; |
1716 | flex-direction: column; | 1716 | flex-direction: column; |
1717 | -webkit-box-align: center; | 1717 | -webkit-box-align: center; |
1718 | -ms-flex-align: center; | 1718 | -ms-flex-align: center; |
1719 | align-items: center; | 1719 | align-items: center; |
1720 | } | 1720 | } |
1721 | .checkbox-empty .checkbox { | 1721 | .checkbox-empty .checkbox { |
1722 | width: 20px; | 1722 | width: 20px; |
1723 | } | 1723 | } |
1724 | 1724 | ||
1725 | .file { | 1725 | .file { |
1726 | display: -webkit-box; | 1726 | display: -webkit-box; |
1727 | display: -ms-flexbox; | 1727 | display: -ms-flexbox; |
1728 | display: flex; | 1728 | display: flex; |
1729 | -webkit-box-orient: vertical; | 1729 | -webkit-box-orient: vertical; |
1730 | -webkit-box-direction: normal; | 1730 | -webkit-box-direction: normal; |
1731 | -ms-flex-direction: column; | 1731 | -ms-flex-direction: column; |
1732 | flex-direction: column; | 1732 | flex-direction: column; |
1733 | } | 1733 | } |
1734 | .file__input input { | 1734 | .file__input input { |
1735 | display: none; | 1735 | display: none; |
1736 | } | 1736 | } |
1737 | .file__list { | 1737 | .file__list { |
1738 | display: -webkit-box; | 1738 | display: -webkit-box; |
1739 | display: -ms-flexbox; | 1739 | display: -ms-flexbox; |
1740 | display: flex; | 1740 | display: flex; |
1741 | -webkit-box-orient: vertical; | 1741 | -webkit-box-orient: vertical; |
1742 | -webkit-box-direction: normal; | 1742 | -webkit-box-direction: normal; |
1743 | -ms-flex-direction: column; | 1743 | -ms-flex-direction: column; |
1744 | flex-direction: column; | 1744 | flex-direction: column; |
1745 | } | 1745 | } |
1746 | .file__list-item { | 1746 | .file__list-item { |
1747 | display: -webkit-box; | 1747 | display: -webkit-box; |
1748 | display: -ms-flexbox; | 1748 | display: -ms-flexbox; |
1749 | display: flex; | 1749 | display: flex; |
1750 | -webkit-box-align: start; | 1750 | -webkit-box-align: start; |
1751 | -ms-flex-align: start; | 1751 | -ms-flex-align: start; |
1752 | align-items: flex-start; | 1752 | align-items: flex-start; |
1753 | margin-top: 16px; | 1753 | margin-top: 16px; |
1754 | } | 1754 | } |
1755 | .file__list-item-left { | 1755 | .file__list-item-left { |
1756 | width: calc(100% - 16px); | 1756 | width: calc(100% - 16px); |
1757 | min-height: 16px; | 1757 | min-height: 16px; |
1758 | color: #9c9d9d; | 1758 | color: #9c9d9d; |
1759 | font-size: 12px; | 1759 | font-size: 12px; |
1760 | display: -webkit-box; | 1760 | display: -webkit-box; |
1761 | display: -ms-flexbox; | 1761 | display: -ms-flexbox; |
1762 | display: flex; | 1762 | display: flex; |
1763 | -webkit-box-align: start; | 1763 | -webkit-box-align: start; |
1764 | -ms-flex-align: start; | 1764 | -ms-flex-align: start; |
1765 | align-items: flex-start; | 1765 | align-items: flex-start; |
1766 | } | 1766 | } |
1767 | @media (min-width: 768px) { | 1767 | @media (min-width: 768px) { |
1768 | .file__list-item-left { | 1768 | .file__list-item-left { |
1769 | width: auto; | 1769 | width: auto; |
1770 | max-width: calc(100% - 16px); | 1770 | max-width: calc(100% - 16px); |
1771 | font-size: 16px; | 1771 | font-size: 16px; |
1772 | } | 1772 | } |
1773 | } | 1773 | } |
1774 | .file__list-item-left svg { | 1774 | .file__list-item-left svg { |
1775 | width: 16px; | 1775 | width: 16px; |
1776 | height: 16px; | 1776 | height: 16px; |
1777 | } | 1777 | } |
1778 | .file__list-item-left span { | 1778 | .file__list-item-left span { |
1779 | width: calc(100% - 16px); | 1779 | width: calc(100% - 16px); |
1780 | min-height: 16px; | 1780 | min-height: 16px; |
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-align: center; | 1784 | -webkit-box-align: center; |
1785 | -ms-flex-align: center; | 1785 | -ms-flex-align: center; |
1786 | align-items: center; | 1786 | align-items: center; |
1787 | padding: 0 8px; | 1787 | padding: 0 8px; |
1788 | } | 1788 | } |
1789 | .file__list-item-right { | 1789 | .file__list-item-right { |
1790 | display: -webkit-box; | 1790 | display: -webkit-box; |
1791 | display: -ms-flexbox; | 1791 | display: -ms-flexbox; |
1792 | display: flex; | 1792 | display: flex; |
1793 | -webkit-box-pack: center; | 1793 | -webkit-box-pack: center; |
1794 | -ms-flex-pack: center; | 1794 | -ms-flex-pack: center; |
1795 | justify-content: center; | 1795 | justify-content: center; |
1796 | -webkit-box-align: center; | 1796 | -webkit-box-align: center; |
1797 | -ms-flex-align: center; | 1797 | -ms-flex-align: center; |
1798 | align-items: center; | 1798 | align-items: center; |
1799 | padding: 0; | 1799 | padding: 0; |
1800 | background: none; | 1800 | background: none; |
1801 | border: none; | 1801 | border: none; |
1802 | width: 16px; | 1802 | width: 16px; |
1803 | height: 16px; | 1803 | height: 16px; |
1804 | color: #377d87; | 1804 | color: #377d87; |
1805 | } | 1805 | } |
1806 | .file__list-item-right:hover { | 1806 | .file__list-item-right:hover { |
1807 | color: #000; | 1807 | color: #000; |
1808 | } | 1808 | } |
1809 | .file__list-item-right svg { | 1809 | .file__list-item-right svg { |
1810 | width: 10px; | 1810 | width: 10px; |
1811 | height: 10px; | 1811 | height: 10px; |
1812 | } | 1812 | } |
1813 | .file__list-item + .file__list-item { | 1813 | .file__list-item + .file__list-item { |
1814 | margin-top: 10px; | 1814 | margin-top: 10px; |
1815 | } | 1815 | } |
1816 | 1816 | ||
1817 | .toggle { | 1817 | .toggle { |
1818 | display: -webkit-box; | 1818 | display: -webkit-box; |
1819 | display: -ms-flexbox; | 1819 | display: -ms-flexbox; |
1820 | display: flex; | 1820 | display: flex; |
1821 | gap: 12px; | 1821 | gap: 12px; |
1822 | position: relative; | 1822 | position: relative; |
1823 | cursor: pointer; | 1823 | cursor: pointer; |
1824 | -webkit-user-select: none; | 1824 | -webkit-user-select: none; |
1825 | -moz-user-select: none; | 1825 | -moz-user-select: none; |
1826 | -ms-user-select: none; | 1826 | -ms-user-select: none; |
1827 | user-select: none; | 1827 | user-select: none; |
1828 | } | 1828 | } |
1829 | .toggle__input { | 1829 | .toggle__input { |
1830 | position: absolute; | 1830 | position: absolute; |
1831 | width: 1px; | 1831 | width: 1px; |
1832 | height: 1px; | 1832 | height: 1px; |
1833 | overflow: hidden; | 1833 | overflow: hidden; |
1834 | clip: rect(0 0 0 0); | 1834 | clip: rect(0 0 0 0); |
1835 | } | 1835 | } |
1836 | .toggle__input:checked + .toggle__icon { | 1836 | .toggle__input:checked + .toggle__icon { |
1837 | background: #377d87; | 1837 | background: #377d87; |
1838 | } | 1838 | } |
1839 | .toggle__input:checked + .toggle__icon:before { | 1839 | .toggle__input:checked + .toggle__icon:before { |
1840 | left: 18px; | 1840 | left: 18px; |
1841 | } | 1841 | } |
1842 | .toggle__input:checked:disabled + .toggle__icon { | 1842 | .toggle__input:checked:disabled + .toggle__icon { |
1843 | background: #9BBEC3; | 1843 | background: #9BBEC3; |
1844 | } | 1844 | } |
1845 | .toggle__input:checked ~ .toggle__text:nth-child(3) { | 1845 | .toggle__input:checked ~ .toggle__text:nth-child(3) { |
1846 | display: none; | 1846 | display: none; |
1847 | } | 1847 | } |
1848 | .toggle__input:checked ~ .toggle__text:nth-child(4) { | 1848 | .toggle__input:checked ~ .toggle__text:nth-child(4) { |
1849 | display: block; | 1849 | display: block; |
1850 | } | 1850 | } |
1851 | .toggle__icon { | 1851 | .toggle__icon { |
1852 | display: block; | 1852 | display: block; |
1853 | position: relative; | 1853 | position: relative; |
1854 | width: 36px; | 1854 | width: 36px; |
1855 | height: 20px; | 1855 | height: 20px; |
1856 | border-radius: 999px; | 1856 | border-radius: 999px; |
1857 | background: #c3c7d9; | 1857 | background: #c3c7d9; |
1858 | -webkit-transition: 0.3s; | 1858 | -webkit-transition: 0.3s; |
1859 | transition: 0.3s; | 1859 | transition: 0.3s; |
1860 | } | 1860 | } |
1861 | .toggle__icon:before { | 1861 | .toggle__icon:before { |
1862 | content: ""; | 1862 | content: ""; |
1863 | -webkit-transition: 0.3s; | 1863 | -webkit-transition: 0.3s; |
1864 | transition: 0.3s; | 1864 | transition: 0.3s; |
1865 | position: absolute; | 1865 | position: absolute; |
1866 | top: 50%; | 1866 | top: 50%; |
1867 | left: 2px; | 1867 | left: 2px; |
1868 | width: 16px; | 1868 | width: 16px; |
1869 | aspect-ratio: 1/1; | 1869 | aspect-ratio: 1/1; |
1870 | border-radius: 999px; | 1870 | border-radius: 999px; |
1871 | background: #fff; | 1871 | background: #fff; |
1872 | -webkit-transform: translate(0, -50%); | 1872 | -webkit-transform: translate(0, -50%); |
1873 | -ms-transform: translate(0, -50%); | 1873 | -ms-transform: translate(0, -50%); |
1874 | transform: translate(0, -50%); | 1874 | transform: translate(0, -50%); |
1875 | } | 1875 | } |
1876 | .toggle__input:checked + .toggle__icon { | 1876 | .toggle__input:checked + .toggle__icon { |
1877 | background: #377d87; | 1877 | background: #377d87; |
1878 | } | 1878 | } |
1879 | .toggle__text { | 1879 | .toggle__text { |
1880 | font-size: 14px; | 1880 | font-size: 14px; |
1881 | line-height: 20px; | 1881 | line-height: 20px; |
1882 | } | 1882 | } |
1883 | @media (min-width: 768px) { | 1883 | @media (min-width: 768px) { |
1884 | .toggle__text { | 1884 | .toggle__text { |
1885 | font-size: 16px; | 1885 | font-size: 16px; |
1886 | } | 1886 | } |
1887 | } | 1887 | } |
1888 | .toggle__text:nth-child(4) { | 1888 | .toggle__text:nth-child(4) { |
1889 | display: none; | 1889 | display: none; |
1890 | } | 1890 | } |
1891 | 1891 | ||
1892 | .rate { | 1892 | .rate { |
1893 | display: -webkit-box; | 1893 | display: -webkit-box; |
1894 | display: -ms-flexbox; | 1894 | display: -ms-flexbox; |
1895 | display: flex; | 1895 | display: flex; |
1896 | -webkit-box-align: center; | 1896 | -webkit-box-align: center; |
1897 | -ms-flex-align: center; | 1897 | -ms-flex-align: center; |
1898 | align-items: center; | 1898 | align-items: center; |
1899 | gap: 10px; | 1899 | gap: 10px; |
1900 | } | 1900 | } |
1901 | @media (min-width: 768px) { | 1901 | @media (min-width: 768px) { |
1902 | .rate { | 1902 | .rate { |
1903 | gap: 20px; | 1903 | gap: 20px; |
1904 | } | 1904 | } |
1905 | } | 1905 | } |
1906 | .rate__label { | 1906 | .rate__label { |
1907 | font-size: 12px; | 1907 | font-size: 12px; |
1908 | font-weight: 700; | 1908 | font-weight: 700; |
1909 | line-height: 1; | 1909 | line-height: 1; |
1910 | } | 1910 | } |
1911 | @media (min-width: 768px) { | 1911 | @media (min-width: 768px) { |
1912 | .rate__label { | 1912 | .rate__label { |
1913 | font-size: 18px; | 1913 | font-size: 18px; |
1914 | } | 1914 | } |
1915 | } | 1915 | } |
1916 | .rate__stars { | 1916 | .rate__stars { |
1917 | display: -webkit-box; | 1917 | display: -webkit-box; |
1918 | display: -ms-flexbox; | 1918 | display: -ms-flexbox; |
1919 | display: flex; | 1919 | display: flex; |
1920 | -webkit-box-orient: vertical; | 1920 | -webkit-box-orient: vertical; |
1921 | -webkit-box-direction: normal; | 1921 | -webkit-box-direction: normal; |
1922 | -ms-flex-direction: column; | 1922 | -ms-flex-direction: column; |
1923 | flex-direction: column; | 1923 | flex-direction: column; |
1924 | } | 1924 | } |
1925 | 1925 | ||
1926 | .back { | 1926 | .back { |
1927 | display: -webkit-box; | 1927 | display: -webkit-box; |
1928 | display: -ms-flexbox; | 1928 | display: -ms-flexbox; |
1929 | display: flex; | 1929 | display: flex; |
1930 | -webkit-box-align: center; | 1930 | -webkit-box-align: center; |
1931 | -ms-flex-align: center; | 1931 | -ms-flex-align: center; |
1932 | align-items: center; | 1932 | align-items: center; |
1933 | font-size: 14px; | 1933 | font-size: 14px; |
1934 | color: #377d87; | 1934 | color: #377d87; |
1935 | font-weight: 700; | 1935 | font-weight: 700; |
1936 | } | 1936 | } |
1937 | @media (min-width: 768px) { | 1937 | @media (min-width: 768px) { |
1938 | .back { | 1938 | .back { |
1939 | font-size: 18px; | 1939 | font-size: 18px; |
1940 | } | 1940 | } |
1941 | } | 1941 | } |
1942 | .back:hover { | 1942 | .back:hover { |
1943 | color: #4d88d9; | 1943 | color: #4d88d9; |
1944 | } | 1944 | } |
1945 | .back svg { | 1945 | .back svg { |
1946 | width: 16px; | 1946 | width: 16px; |
1947 | height: 16px; | 1947 | height: 16px; |
1948 | } | 1948 | } |
1949 | @media (min-width: 768px) { | 1949 | @media (min-width: 768px) { |
1950 | .back svg { | 1950 | .back svg { |
1951 | width: 26px; | 1951 | width: 26px; |
1952 | height: 26px; | 1952 | height: 26px; |
1953 | } | 1953 | } |
1954 | } | 1954 | } |
1955 | .back span { | 1955 | .back span { |
1956 | width: calc(100% - 16px); | 1956 | width: calc(100% - 16px); |
1957 | padding-left: 10px; | 1957 | padding-left: 10px; |
1958 | } | 1958 | } |
1959 | @media (min-width: 768px) { | 1959 | @media (min-width: 768px) { |
1960 | .back span { | 1960 | .back span { |
1961 | width: calc(100% - 26px); | 1961 | width: calc(100% - 26px); |
1962 | padding-left: 20px; | 1962 | padding-left: 20px; |
1963 | } | 1963 | } |
1964 | } | 1964 | } |
1965 | 1965 | ||
1966 | .callback { | 1966 | .callback { |
1967 | display: -webkit-box; | 1967 | display: -webkit-box; |
1968 | display: -ms-flexbox; | 1968 | display: -ms-flexbox; |
1969 | display: flex; | 1969 | display: flex; |
1970 | -webkit-box-orient: vertical; | 1970 | -webkit-box-orient: vertical; |
1971 | -webkit-box-direction: normal; | 1971 | -webkit-box-direction: normal; |
1972 | -ms-flex-direction: column; | 1972 | -ms-flex-direction: column; |
1973 | flex-direction: column; | 1973 | flex-direction: column; |
1974 | gap: 16px; | 1974 | gap: 16px; |
1975 | } | 1975 | } |
1976 | @media (min-width: 992px) { | 1976 | @media (min-width: 992px) { |
1977 | .callback { | 1977 | .callback { |
1978 | -webkit-box-orient: horizontal; | 1978 | -webkit-box-orient: horizontal; |
1979 | -webkit-box-direction: normal; | 1979 | -webkit-box-direction: normal; |
1980 | -ms-flex-direction: row; | 1980 | -ms-flex-direction: row; |
1981 | flex-direction: row; | 1981 | flex-direction: row; |
1982 | -webkit-box-pack: justify; | 1982 | -webkit-box-pack: justify; |
1983 | -ms-flex-pack: justify; | 1983 | -ms-flex-pack: justify; |
1984 | justify-content: space-between; | 1984 | justify-content: space-between; |
1985 | -ms-flex-wrap: wrap; | 1985 | -ms-flex-wrap: wrap; |
1986 | flex-wrap: wrap; | 1986 | flex-wrap: wrap; |
1987 | gap: 20px 0; | 1987 | gap: 20px 0; |
1988 | } | 1988 | } |
1989 | } | 1989 | } |
1990 | .callback__body { | 1990 | .callback__body { |
1991 | display: -webkit-box; | 1991 | display: -webkit-box; |
1992 | display: -ms-flexbox; | 1992 | display: -ms-flexbox; |
1993 | display: flex; | 1993 | display: flex; |
1994 | -webkit-box-orient: vertical; | 1994 | -webkit-box-orient: vertical; |
1995 | -webkit-box-direction: normal; | 1995 | -webkit-box-direction: normal; |
1996 | -ms-flex-direction: column; | 1996 | -ms-flex-direction: column; |
1997 | flex-direction: column; | 1997 | flex-direction: column; |
1998 | gap: 16px; | 1998 | gap: 16px; |
1999 | } | 1999 | } |
2000 | @media (min-width: 992px) { | 2000 | @media (min-width: 992px) { |
2001 | .callback__body { | 2001 | .callback__body { |
2002 | width: calc(50% - 10px); | 2002 | width: calc(50% - 10px); |
2003 | gap: 10px; | 2003 | gap: 10px; |
2004 | } | 2004 | } |
2005 | } | 2005 | } |
2006 | @media (min-width: 992px) { | 2006 | @media (min-width: 992px) { |
2007 | .callback__textarea { | 2007 | .callback__textarea { |
2008 | width: calc(50% - 10px); | 2008 | width: calc(50% - 10px); |
2009 | height: auto; | 2009 | height: auto; |
2010 | } | 2010 | } |
2011 | } | 2011 | } |
2012 | .callback__bottom { | 2012 | .callback__bottom { |
2013 | display: -webkit-box; | 2013 | display: -webkit-box; |
2014 | display: -ms-flexbox; | 2014 | display: -ms-flexbox; |
2015 | display: flex; | 2015 | display: flex; |
2016 | -webkit-box-orient: vertical; | 2016 | -webkit-box-orient: vertical; |
2017 | -webkit-box-direction: normal; | 2017 | -webkit-box-direction: normal; |
2018 | -ms-flex-direction: column; | 2018 | -ms-flex-direction: column; |
2019 | flex-direction: column; | 2019 | flex-direction: column; |
2020 | gap: 16px; | 2020 | gap: 16px; |
2021 | } | 2021 | } |
2022 | @media (min-width: 768px) { | 2022 | @media (min-width: 768px) { |
2023 | .callback__bottom { | 2023 | .callback__bottom { |
2024 | -webkit-box-align: start; | 2024 | -webkit-box-align: start; |
2025 | -ms-flex-align: start; | 2025 | -ms-flex-align: start; |
2026 | align-items: flex-start; | 2026 | align-items: flex-start; |
2027 | } | 2027 | } |
2028 | } | 2028 | } |
2029 | @media (min-width: 992px) { | 2029 | @media (min-width: 992px) { |
2030 | .callback__bottom { | 2030 | .callback__bottom { |
2031 | width: 100%; | 2031 | width: 100%; |
2032 | gap: 20px; | 2032 | gap: 20px; |
2033 | } | 2033 | } |
2034 | } | 2034 | } |
2035 | 2035 | ||
2036 | .error .input, | 2036 | .error .input, |
2037 | .error .textarea { | 2037 | .error .textarea { |
2038 | border-color: #eb5757; | 2038 | border-color: #eb5757; |
2039 | } | 2039 | } |
2040 | .error label { | 2040 | .error label { |
2041 | display: block; | 2041 | display: block; |
2042 | } | 2042 | } |
2043 | 2043 | ||
2044 | .eye { | 2044 | .eye { |
2045 | position: absolute; | 2045 | position: absolute; |
2046 | z-index: 2; | 2046 | z-index: 2; |
2047 | top: 50%; | 2047 | top: 50%; |
2048 | -webkit-transform: translate(0, -50%); | 2048 | -webkit-transform: translate(0, -50%); |
2049 | -ms-transform: translate(0, -50%); | 2049 | -ms-transform: translate(0, -50%); |
2050 | transform: translate(0, -50%); | 2050 | transform: translate(0, -50%); |
2051 | right: 10px; | 2051 | right: 10px; |
2052 | aspect-ratio: 1/1; | 2052 | aspect-ratio: 1/1; |
2053 | width: 16px; | 2053 | width: 16px; |
2054 | padding: 0; | 2054 | padding: 0; |
2055 | border: none; | 2055 | border: none; |
2056 | background: none; | 2056 | background: none; |
2057 | color: #9c9d9d; | 2057 | color: #9c9d9d; |
2058 | } | 2058 | } |
2059 | @media (min-width: 768px) { | 2059 | @media (min-width: 768px) { |
2060 | .eye { | 2060 | .eye { |
2061 | width: 24px; | 2061 | width: 24px; |
2062 | right: 20px; | 2062 | right: 20px; |
2063 | } | 2063 | } |
2064 | } | 2064 | } |
2065 | .eye svg { | 2065 | .eye svg { |
2066 | position: absolute; | 2066 | position: absolute; |
2067 | top: 0; | 2067 | top: 0; |
2068 | left: 0; | 2068 | left: 0; |
2069 | width: 100%; | 2069 | width: 100%; |
2070 | height: 100%; | 2070 | height: 100%; |
2071 | } | 2071 | } |
2072 | .eye svg + svg { | 2072 | .eye svg + svg { |
2073 | display: none; | 2073 | display: none; |
2074 | } | 2074 | } |
2075 | .eye.active { | 2075 | .eye.active { |
2076 | color: #377d87; | 2076 | color: #377d87; |
2077 | } | 2077 | } |
2078 | .eye.active svg { | 2078 | .eye.active svg { |
2079 | display: none; | 2079 | display: none; |
2080 | } | 2080 | } |
2081 | .eye.active svg + svg { | 2081 | .eye.active svg + svg { |
2082 | display: block; | 2082 | display: block; |
2083 | } | 2083 | } |
2084 | 2084 | ||
2085 | .del { | 2085 | .del { |
2086 | width: 32px; | 2086 | width: 32px; |
2087 | aspect-ratio: 1/1; | 2087 | aspect-ratio: 1/1; |
2088 | background: #377d87; | 2088 | background: #377d87; |
2089 | color: #fff; | 2089 | color: #fff; |
2090 | display: -webkit-box; | 2090 | display: -webkit-box; |
2091 | display: -ms-flexbox; | 2091 | display: -ms-flexbox; |
2092 | display: flex; | 2092 | display: flex; |
2093 | -webkit-box-pack: center; | 2093 | -webkit-box-pack: center; |
2094 | -ms-flex-pack: center; | 2094 | -ms-flex-pack: center; |
2095 | justify-content: center; | 2095 | justify-content: center; |
2096 | -webkit-box-align: center; | 2096 | -webkit-box-align: center; |
2097 | -ms-flex-align: center; | 2097 | -ms-flex-align: center; |
2098 | align-items: center; | 2098 | align-items: center; |
2099 | border-radius: 8px; | 2099 | border-radius: 8px; |
2100 | padding: 0; | 2100 | padding: 0; |
2101 | border: 1px solid #377d87; | 2101 | border: 1px solid #377d87; |
2102 | } | 2102 | } |
2103 | .del:hover { | 2103 | .del:hover { |
2104 | background: #fff; | 2104 | background: #fff; |
2105 | color: #377d87; | 2105 | color: #377d87; |
2106 | } | 2106 | } |
2107 | .del svg { | 2107 | .del svg { |
2108 | width: 50%; | 2108 | width: 50%; |
2109 | aspect-ratio: 1/1; | 2109 | aspect-ratio: 1/1; |
2110 | } | 2110 | } |
2111 | 2111 | ||
2112 | .notify { | 2112 | .notify { |
2113 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 2113 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
2114 | padding: 6px 12px; | 2114 | padding: 6px 12px; |
2115 | border-radius: 8px; | 2115 | border-radius: 8px; |
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: start; | 2119 | -webkit-box-align: start; |
2120 | -ms-flex-align: start; | 2120 | -ms-flex-align: start; |
2121 | align-items: flex-start; | 2121 | align-items: flex-start; |
2122 | } | 2122 | } |
2123 | @media (min-width: 768px) { | 2123 | @media (min-width: 768px) { |
2124 | .notify { | 2124 | .notify { |
2125 | padding: 12px 20px; | 2125 | padding: 12px 20px; |
2126 | } | 2126 | } |
2127 | } | 2127 | } |
2128 | .notify_red { | 2128 | .notify_red { |
2129 | background: #f9cdcd; | 2129 | background: #f9cdcd; |
2130 | } | 2130 | } |
2131 | .notify svg { | 2131 | .notify svg { |
2132 | color: #4d88d9; | 2132 | color: #4d88d9; |
2133 | width: 20px; | 2133 | width: 20px; |
2134 | aspect-ratio: 1/1; | 2134 | aspect-ratio: 1/1; |
2135 | } | 2135 | } |
2136 | .notify span { | 2136 | .notify span { |
2137 | font-size: 12px; | 2137 | font-size: 12px; |
2138 | padding-left: 10px; | 2138 | padding-left: 10px; |
2139 | min-height: 20px; | 2139 | min-height: 20px; |
2140 | display: -webkit-box; | 2140 | display: -webkit-box; |
2141 | display: -ms-flexbox; | 2141 | display: -ms-flexbox; |
2142 | display: flex; | 2142 | display: flex; |
2143 | -webkit-box-align: center; | 2143 | -webkit-box-align: center; |
2144 | -ms-flex-align: center; | 2144 | -ms-flex-align: center; |
2145 | align-items: center; | 2145 | align-items: center; |
2146 | } | 2146 | } |
2147 | @media (min-width: 768px) { | 2147 | @media (min-width: 768px) { |
2148 | .notify span { | 2148 | .notify span { |
2149 | font-size: 16px; | 2149 | font-size: 16px; |
2150 | } | 2150 | } |
2151 | } | 2151 | } |
2152 | 2152 | ||
2153 | .table { | 2153 | .table { |
2154 | margin: 0 -10px; | 2154 | margin: 0 -10px; |
2155 | display: -webkit-box; | 2155 | display: -webkit-box; |
2156 | display: -ms-flexbox; | 2156 | display: -ms-flexbox; |
2157 | display: flex; | 2157 | display: flex; |
2158 | -webkit-box-orient: vertical; | 2158 | -webkit-box-orient: vertical; |
2159 | -webkit-box-direction: reverse; | 2159 | -webkit-box-direction: reverse; |
2160 | -ms-flex-direction: column-reverse; | 2160 | -ms-flex-direction: column-reverse; |
2161 | flex-direction: column-reverse; | 2161 | flex-direction: column-reverse; |
2162 | -webkit-box-align: center; | 2162 | -webkit-box-align: center; |
2163 | -ms-flex-align: center; | 2163 | -ms-flex-align: center; |
2164 | align-items: center; | 2164 | align-items: center; |
2165 | gap: 20px; | 2165 | gap: 20px; |
2166 | } | 2166 | } |
2167 | @media (min-width: 768px) { | 2167 | @media (min-width: 768px) { |
2168 | .table { | 2168 | .table { |
2169 | margin: 0; | 2169 | margin: 0; |
2170 | gap: 30px; | 2170 | gap: 30px; |
2171 | } | 2171 | } |
2172 | } | 2172 | } |
2173 | .table__button { | 2173 | .table__button { |
2174 | display: none; | 2174 | display: none; |
2175 | } | 2175 | } |
2176 | .table_spoiler .table__button { | 2176 | .table_spoiler .table__button { |
2177 | display: -webkit-box; | 2177 | display: -webkit-box; |
2178 | display: -ms-flexbox; | 2178 | display: -ms-flexbox; |
2179 | display: flex; | 2179 | display: flex; |
2180 | } | 2180 | } |
2181 | .table__scroll { | 2181 | .table__scroll { |
2182 | overflow: hidden; | 2182 | overflow: hidden; |
2183 | overflow-x: auto; | 2183 | overflow-x: auto; |
2184 | padding: 0 10px; | 2184 | padding: 0 10px; |
2185 | width: 100%; | 2185 | width: 100%; |
2186 | } | 2186 | } |
2187 | @media (min-width: 768px) { | 2187 | @media (min-width: 768px) { |
2188 | .table__scroll { | 2188 | .table__scroll { |
2189 | padding: 0; | 2189 | padding: 0; |
2190 | } | 2190 | } |
2191 | } | 2191 | } |
2192 | .table__body { | 2192 | .table__body { |
2193 | border-radius: 8px; | 2193 | border-radius: 8px; |
2194 | overflow: hidden; | 2194 | overflow: hidden; |
2195 | } | 2195 | } |
2196 | .table__body_min-width { | 2196 | .table__body_min-width { |
2197 | min-width: 580px; | 2197 | min-width: 580px; |
2198 | } | 2198 | } |
2199 | .table table { | 2199 | .table table { |
2200 | border-collapse: collapse; | 2200 | border-collapse: collapse; |
2201 | width: 100%; | 2201 | width: 100%; |
2202 | font-size: 12px; | 2202 | font-size: 12px; |
2203 | border-radius: 8px; | 2203 | border-radius: 8px; |
2204 | } | 2204 | } |
2205 | @media (min-width: 768px) { | 2205 | @media (min-width: 768px) { |
2206 | .table table { | 2206 | .table table { |
2207 | font-size: 14px; | 2207 | font-size: 14px; |
2208 | } | 2208 | } |
2209 | } | 2209 | } |
2210 | @media (min-width: 1280px) { | 2210 | @media (min-width: 1280px) { |
2211 | .table table { | 2211 | .table table { |
2212 | font-size: 16px; | 2212 | font-size: 16px; |
2213 | } | 2213 | } |
2214 | } | 2214 | } |
2215 | .table thead tr th, | 2215 | .table thead tr th, |
2216 | .table thead tr td { | 2216 | .table thead tr td { |
2217 | background: #377d87; | 2217 | background: #377d87; |
2218 | color: #fff; | 2218 | color: #fff; |
2219 | font-weight: 700; | 2219 | font-weight: 700; |
2220 | border-top-color: #377d87; | 2220 | border-top-color: #377d87; |
2221 | } | 2221 | } |
2222 | .table thead tr th:first-child, | 2222 | .table thead tr th:first-child, |
2223 | .table thead tr td:first-child { | 2223 | .table thead tr td:first-child { |
2224 | border-left-color: #377d87; | 2224 | border-left-color: #377d87; |
2225 | } | 2225 | } |
2226 | .table thead tr th:last-child, | 2226 | .table thead tr th:last-child, |
2227 | .table thead tr td:last-child { | 2227 | .table thead tr td:last-child { |
2228 | border-right-color: #377d87; | 2228 | border-right-color: #377d87; |
2229 | } | 2229 | } |
2230 | .table_spoiler tr { | 2230 | .table_spoiler tr { |
2231 | /*display: none;*/ | 2231 | /*display: none;*/ |
2232 | } | 2232 | } |
2233 | .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) { | 2233 | .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) { |
2234 | display: table-row; | 2234 | display: table-row; |
2235 | } | 2235 | } |
2236 | .table_spoiler.active tr { | 2236 | .table_spoiler.active tr { |
2237 | display: table-row; | 2237 | display: table-row; |
2238 | } | 2238 | } |
2239 | .table th, | 2239 | .table th, |
2240 | .table td { | 2240 | .table td { |
2241 | text-align: left; | 2241 | text-align: left; |
2242 | padding: 10px; | 2242 | padding: 10px; |
2243 | border: 1px solid #cecece; | 2243 | border: 1px solid #cecece; |
2244 | } | 2244 | } |
2245 | @media (min-width: 768px) { | 2245 | @media (min-width: 768px) { |
2246 | .table td { | 2246 | .table td { |
2247 | padding: 14px 10px; | 2247 | padding: 14px 10px; |
2248 | } | 2248 | } |
2249 | } | 2249 | } |
2250 | .table__status { | 2250 | .table__status { |
2251 | color: #9c9d9d; | 2251 | color: #9c9d9d; |
2252 | display: -webkit-box; | 2252 | display: -webkit-box; |
2253 | display: -ms-flexbox; | 2253 | display: -ms-flexbox; |
2254 | display: flex; | 2254 | display: flex; |
2255 | -webkit-box-align: center; | 2255 | -webkit-box-align: center; |
2256 | -ms-flex-align: center; | 2256 | -ms-flex-align: center; |
2257 | align-items: center; | 2257 | align-items: center; |
2258 | gap: 6px; | 2258 | gap: 6px; |
2259 | position: relative; | 2259 | position: relative; |
2260 | padding-left: 14px; | 2260 | padding-left: 14px; |
2261 | } | 2261 | } |
2262 | .table__status i { | 2262 | .table__status i { |
2263 | background: #9c9d9d; | 2263 | background: #9c9d9d; |
2264 | width: 8px; | 2264 | width: 8px; |
2265 | aspect-ratio: 1/1; | 2265 | aspect-ratio: 1/1; |
2266 | border-radius: 999px; | 2266 | border-radius: 999px; |
2267 | position: absolute; | 2267 | position: absolute; |
2268 | top: 4px; | 2268 | top: 4px; |
2269 | left: 0; | 2269 | left: 0; |
2270 | } | 2270 | } |
2271 | .table__status.green { | 2271 | .table__status.green { |
2272 | color: #377d87; | 2272 | color: #377d87; |
2273 | } | 2273 | } |
2274 | .table__status.green i { | 2274 | .table__status.green i { |
2275 | background: #377d87; | 2275 | background: #377d87; |
2276 | } | 2276 | } |
2277 | .table__link { | 2277 | .table__link { |
2278 | display: -webkit-box; | 2278 | display: -webkit-box; |
2279 | display: -ms-flexbox; | 2279 | display: -ms-flexbox; |
2280 | display: flex; | 2280 | display: flex; |
2281 | -webkit-box-align: center; | 2281 | -webkit-box-align: center; |
2282 | -ms-flex-align: center; | 2282 | -ms-flex-align: center; |
2283 | align-items: center; | 2283 | align-items: center; |
2284 | gap: 4px; | 2284 | gap: 4px; |
2285 | color: #4d88d9; | 2285 | color: #4d88d9; |
2286 | } | 2286 | } |
2287 | @media (min-width: 768px) { | 2287 | @media (min-width: 768px) { |
2288 | .table__link { | 2288 | .table__link { |
2289 | gap: 6px; | 2289 | gap: 6px; |
2290 | } | 2290 | } |
2291 | } | 2291 | } |
2292 | .table__link:hover { | 2292 | .table__link:hover { |
2293 | color: #000; | 2293 | color: #000; |
2294 | } | 2294 | } |
2295 | .table__link svg { | 2295 | .table__link svg { |
2296 | width: 12px; | 2296 | width: 12px; |
2297 | aspect-ratio: 1/1; | 2297 | aspect-ratio: 1/1; |
2298 | } | 2298 | } |
2299 | @media (min-width: 768px) { | 2299 | @media (min-width: 768px) { |
2300 | .table__link svg { | 2300 | .table__link svg { |
2301 | width: 16px; | 2301 | width: 16px; |
2302 | } | 2302 | } |
2303 | } | 2303 | } |
2304 | .table__controls { | 2304 | .table__controls { |
2305 | display: -webkit-box; | 2305 | display: -webkit-box; |
2306 | display: -ms-flexbox; | 2306 | display: -ms-flexbox; |
2307 | display: flex; | 2307 | display: flex; |
2308 | -webkit-box-align: center; | 2308 | -webkit-box-align: center; |
2309 | -ms-flex-align: center; | 2309 | -ms-flex-align: center; |
2310 | align-items: center; | 2310 | align-items: center; |
2311 | gap: 8px; | 2311 | gap: 8px; |
2312 | } | 2312 | } |
2313 | @media (min-width: 1280px) { | 2313 | @media (min-width: 1280px) { |
2314 | .table__controls { | 2314 | .table__controls { |
2315 | gap: 12px; | 2315 | gap: 12px; |
2316 | } | 2316 | } |
2317 | } | 2317 | } |
2318 | .table__controls-item { | 2318 | .table__controls-item { |
2319 | width: 24px; | 2319 | width: 24px; |
2320 | aspect-ratio: 1/1; | 2320 | aspect-ratio: 1/1; |
2321 | display: -webkit-box; | 2321 | display: -webkit-box; |
2322 | display: -ms-flexbox; | 2322 | display: -ms-flexbox; |
2323 | display: flex; | 2323 | display: flex; |
2324 | -webkit-box-pack: center; | 2324 | -webkit-box-pack: center; |
2325 | -ms-flex-pack: center; | 2325 | -ms-flex-pack: center; |
2326 | justify-content: center; | 2326 | justify-content: center; |
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 | border: 1px solid #377d87; | 2330 | border: 1px solid #377d87; |
2331 | border-radius: 8px; | 2331 | border-radius: 8px; |
2332 | color: #377d87; | 2332 | color: #377d87; |
2333 | background: none; | 2333 | background: none; |
2334 | padding: 0; | 2334 | padding: 0; |
2335 | } | 2335 | } |
2336 | @media (min-width: 1280px) { | 2336 | @media (min-width: 1280px) { |
2337 | .table__controls-item { | 2337 | .table__controls-item { |
2338 | width: 30px; | 2338 | width: 30px; |
2339 | } | 2339 | } |
2340 | } | 2340 | } |
2341 | .table__controls-item:hover { | 2341 | .table__controls-item:hover { |
2342 | background: #377d87; | 2342 | background: #377d87; |
2343 | color: #fff; | 2343 | color: #fff; |
2344 | } | 2344 | } |
2345 | .table__controls-item svg { | 2345 | .table__controls-item svg { |
2346 | width: 60%; | 2346 | width: 60%; |
2347 | aspect-ratio: 1/1; | 2347 | aspect-ratio: 1/1; |
2348 | } | 2348 | } |
2349 | .table__controls-item:nth-of-type(4) svg { | 2349 | .table__controls-item:nth-of-type(4) svg { |
2350 | width: 80%; | 2350 | width: 80%; |
2351 | } | 2351 | } |
2352 | 2352 | ||
2353 | .gl-star-rating--stars:before, .gl-star-rating--stars:after { | 2353 | .gl-star-rating--stars:before, .gl-star-rating--stars:after { |
2354 | display: none; | 2354 | display: none; |
2355 | } | 2355 | } |
2356 | .gl-star-rating--stars span { | 2356 | .gl-star-rating--stars span { |
2357 | width: 22px !important; | 2357 | width: 22px !important; |
2358 | height: 22px !important; | 2358 | height: 22px !important; |
2359 | background-size: 22px 22px !important; | 2359 | background-size: 22px 22px !important; |
2360 | } | 2360 | } |
2361 | @media (min-width: 768px) { | 2361 | @media (min-width: 768px) { |
2362 | .gl-star-rating--stars span { | 2362 | .gl-star-rating--stars span { |
2363 | width: 30px !important; | 2363 | width: 30px !important; |
2364 | height: 30px !important; | 2364 | height: 30px !important; |
2365 | background-size: 30px 30px !important; | 2365 | background-size: 30px 30px !important; |
2366 | } | 2366 | } |
2367 | } | 2367 | } |
2368 | 2368 | ||
2369 | .more { | 2369 | .more { |
2370 | display: -webkit-box; | 2370 | display: -webkit-box; |
2371 | display: -ms-flexbox; | 2371 | display: -ms-flexbox; |
2372 | display: flex; | 2372 | display: flex; |
2373 | -webkit-box-orient: vertical; | 2373 | -webkit-box-orient: vertical; |
2374 | -webkit-box-direction: normal; | 2374 | -webkit-box-direction: normal; |
2375 | -ms-flex-direction: column; | 2375 | -ms-flex-direction: column; |
2376 | flex-direction: column; | 2376 | flex-direction: column; |
2377 | -webkit-box-align: center; | 2377 | -webkit-box-align: center; |
2378 | -ms-flex-align: center; | 2378 | -ms-flex-align: center; |
2379 | align-items: center; | 2379 | align-items: center; |
2380 | } | 2380 | } |
2381 | .more_mt { | 2381 | .more_mt { |
2382 | margin-top: 20px; | 2382 | margin-top: 20px; |
2383 | } | 2383 | } |
2384 | .more .button { | 2384 | .more .button { |
2385 | min-width: 100px; | 2385 | min-width: 100px; |
2386 | padding: 0; | 2386 | padding: 0; |
2387 | } | 2387 | } |
2388 | @media (min-width: 768px) { | 2388 | @media (min-width: 768px) { |
2389 | .more .button { | 2389 | .more .button { |
2390 | min-width: 180px; | 2390 | min-width: 180px; |
2391 | } | 2391 | } |
2392 | } | 2392 | } |
2393 | 2393 | ||
2394 | .header { | 2394 | .header { |
2395 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 2395 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
2396 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 2396 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
2397 | background: #fff; | 2397 | background: #fff; |
2398 | position: relative; | 2398 | position: relative; |
2399 | z-index: 5; | 2399 | z-index: 5; |
2400 | overflow: hidden; | 2400 | overflow: hidden; |
2401 | } | 2401 | } |
2402 | @media (min-width: 768px) { | 2402 | @media (min-width: 768px) { |
2403 | .header { | 2403 | .header { |
2404 | -webkit-box-shadow: none; | 2404 | -webkit-box-shadow: none; |
2405 | box-shadow: none; | 2405 | box-shadow: none; |
2406 | } | 2406 | } |
2407 | } | 2407 | } |
2408 | .header__body { | 2408 | .header__body { |
2409 | height: 42px; | 2409 | height: 42px; |
2410 | display: -webkit-box; | 2410 | display: -webkit-box; |
2411 | display: -ms-flexbox; | 2411 | display: -ms-flexbox; |
2412 | display: flex; | 2412 | display: flex; |
2413 | -webkit-box-pack: justify; | 2413 | -webkit-box-pack: justify; |
2414 | -ms-flex-pack: justify; | 2414 | -ms-flex-pack: justify; |
2415 | justify-content: space-between; | 2415 | justify-content: space-between; |
2416 | -webkit-box-align: center; | 2416 | -webkit-box-align: center; |
2417 | -ms-flex-align: center; | 2417 | -ms-flex-align: center; |
2418 | align-items: center; | 2418 | align-items: center; |
2419 | } | 2419 | } |
2420 | @media (min-width: 768px) { | 2420 | @media (min-width: 768px) { |
2421 | .header__body { | 2421 | .header__body { |
2422 | height: 70px; | 2422 | height: 70px; |
2423 | } | 2423 | } |
2424 | } | 2424 | } |
2425 | .header__left { | 2425 | .header__left { |
2426 | display: -webkit-box; | 2426 | display: -webkit-box; |
2427 | display: -ms-flexbox; | 2427 | display: -ms-flexbox; |
2428 | display: flex; | 2428 | display: flex; |
2429 | -webkit-box-align: center; | 2429 | -webkit-box-align: center; |
2430 | -ms-flex-align: center; | 2430 | -ms-flex-align: center; |
2431 | align-items: center; | 2431 | align-items: center; |
2432 | gap: 40px; | 2432 | gap: 40px; |
2433 | } | 2433 | } |
2434 | .header__right { | 2434 | .header__right { |
2435 | display: -webkit-box; | 2435 | display: -webkit-box; |
2436 | display: -ms-flexbox; | 2436 | display: -ms-flexbox; |
2437 | display: flex; | 2437 | display: flex; |
2438 | -webkit-box-align: center; | 2438 | -webkit-box-align: center; |
2439 | -ms-flex-align: center; | 2439 | -ms-flex-align: center; |
2440 | align-items: center; | 2440 | align-items: center; |
2441 | gap: 14px; | 2441 | gap: 14px; |
2442 | } | 2442 | } |
2443 | @media (min-width: 768px) { | 2443 | @media (min-width: 768px) { |
2444 | .header__right { | 2444 | .header__right { |
2445 | gap: 20px; | 2445 | gap: 20px; |
2446 | } | 2446 | } |
2447 | } | 2447 | } |
2448 | .header__right-line { | 2448 | .header__right-line { |
2449 | width: 1px; | 2449 | width: 1px; |
2450 | height: 32px; | 2450 | height: 32px; |
2451 | background: #e6e7e7; | 2451 | background: #e6e7e7; |
2452 | border-radius: 999px; | 2452 | border-radius: 999px; |
2453 | } | 2453 | } |
2454 | @media (min-width: 992px) { | 2454 | @media (min-width: 992px) { |
2455 | .header__right-line { | 2455 | .header__right-line { |
2456 | display: none; | 2456 | display: none; |
2457 | } | 2457 | } |
2458 | } | 2458 | } |
2459 | .header__logo { | 2459 | .header__logo { |
2460 | display: -webkit-box; | 2460 | display: -webkit-box; |
2461 | display: -ms-flexbox; | 2461 | display: -ms-flexbox; |
2462 | display: flex; | 2462 | display: flex; |
2463 | -webkit-box-align: center; | 2463 | -webkit-box-align: center; |
2464 | -ms-flex-align: center; | 2464 | -ms-flex-align: center; |
2465 | align-items: center; | 2465 | align-items: center; |
2466 | -webkit-box-pack: center; | 2466 | -webkit-box-pack: center; |
2467 | -ms-flex-pack: center; | 2467 | -ms-flex-pack: center; |
2468 | justify-content: center; | 2468 | justify-content: center; |
2469 | color: #377d87; | 2469 | color: #377d87; |
2470 | } | 2470 | } |
2471 | .header__logo svg { | 2471 | .header__logo svg { |
2472 | width: 105px; | 2472 | width: 105px; |
2473 | height: 31px; | 2473 | height: 31px; |
2474 | } | 2474 | } |
2475 | @media (min-width: 768px) { | 2475 | @media (min-width: 768px) { |
2476 | .header__logo svg { | 2476 | .header__logo svg { |
2477 | width: 182px; | 2477 | width: 182px; |
2478 | height: 54px; | 2478 | height: 54px; |
2479 | } | 2479 | } |
2480 | } | 2480 | } |
2481 | .header__menu { | 2481 | .header__menu { |
2482 | display: none; | 2482 | display: none; |
2483 | } | 2483 | } |
2484 | .header.active-menu{ | 2484 | .header.active-menu{ |
2485 | position: unset; | 2485 | position: unset; |
2486 | } | 2486 | } |
2487 | .header.active-menu .header__menu{ | 2487 | .header.active-menu .header__menu{ |
2488 | position: absolute; | 2488 | position: absolute; |
2489 | display: flex; | 2489 | display: flex; |
2490 | flex-direction: column; | 2490 | flex-direction: column; |
2491 | z-index: 999; | 2491 | z-index: 999; |
2492 | top: 48px; | 2492 | top: 48px; |
2493 | background: #fff; | 2493 | background: #fff; |
2494 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 2494 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
2495 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 2495 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
2496 | left: 0; | 2496 | left: 0; |
2497 | border: 1px solid #e9e9e9; | 2497 | border: 1px solid #e9e9e9; |
2498 | width: 100%; | 2498 | width: 100%; |
2499 | } | 2499 | } |
2500 | @media (min-width: 768px) { | 2500 | @media (min-width: 768px) { |
2501 | .header__menu { | 2501 | .header__menu { |
2502 | display: -webkit-box; | 2502 | display: -webkit-box; |
2503 | display: -ms-flexbox; | 2503 | display: -ms-flexbox; |
2504 | display: flex; | 2504 | display: flex; |
2505 | } | 2505 | } |
2506 | } | 2506 | } |
2507 | .header__menu-item{ | 2507 | .header__menu-item{ |
2508 | padding: 5px 10px; | 2508 | padding: 5px 10px; |
2509 | } | 2509 | } |
2510 | .header__menu-item:hover, .header__menu-item:active{ | 2510 | .header__menu-item:hover, .header__menu-item:active{ |
2511 | border: 1px solid #cfcfcf; | 2511 | border: 1px solid #cfcfcf; |
2512 | } | 2512 | } |
2513 | .header__menu-item:hover { | 2513 | .header__menu-item:hover { |
2514 | color: #377d87; | 2514 | color: #377d87; |
2515 | } | 2515 | } |
2516 | .header__notifs { | 2516 | .header__notifs { |
2517 | display: -webkit-box; | 2517 | display: -webkit-box; |
2518 | display: -ms-flexbox; | 2518 | display: -ms-flexbox; |
2519 | display: flex; | 2519 | display: flex; |
2520 | -webkit-box-align: center; | 2520 | -webkit-box-align: center; |
2521 | -ms-flex-align: center; | 2521 | -ms-flex-align: center; |
2522 | align-items: center; | 2522 | align-items: center; |
2523 | -webkit-box-pack: center; | 2523 | -webkit-box-pack: center; |
2524 | -ms-flex-pack: center; | 2524 | -ms-flex-pack: center; |
2525 | justify-content: center; | 2525 | justify-content: center; |
2526 | color: #377d87; | 2526 | color: #377d87; |
2527 | padding: 0; | 2527 | padding: 0; |
2528 | border: none; | 2528 | border: none; |
2529 | background: none; | 2529 | background: none; |
2530 | width: 24px; | 2530 | width: 24px; |
2531 | height: 24px; | 2531 | height: 24px; |
2532 | } | 2532 | } |
2533 | @media (min-width: 992px) { | 2533 | @media (min-width: 992px) { |
2534 | .header__notifs { | 2534 | .header__notifs { |
2535 | width: auto; | 2535 | width: auto; |
2536 | height: auto; | 2536 | height: auto; |
2537 | color: #000; | 2537 | color: #000; |
2538 | line-height: 1.4; | 2538 | line-height: 1.4; |
2539 | } | 2539 | } |
2540 | } | 2540 | } |
2541 | @media (min-width: 992px) { | 2541 | @media (min-width: 992px) { |
2542 | .header__notifs:hover { | 2542 | .header__notifs:hover { |
2543 | color: #377d87; | 2543 | color: #377d87; |
2544 | } | 2544 | } |
2545 | } | 2545 | } |
2546 | .header__notifs svg { | 2546 | .header__notifs svg { |
2547 | width: 20px; | 2547 | width: 20px; |
2548 | height: 20px; | 2548 | height: 20px; |
2549 | } | 2549 | } |
2550 | @media (min-width: 992px) { | 2550 | @media (min-width: 992px) { |
2551 | .header__notifs svg { | 2551 | .header__notifs svg { |
2552 | display: none; | 2552 | display: none; |
2553 | } | 2553 | } |
2554 | } | 2554 | } |
2555 | .header__notifs span { | 2555 | .header__notifs span { |
2556 | display: none; | 2556 | display: none; |
2557 | } | 2557 | } |
2558 | @media (min-width: 992px) { | 2558 | @media (min-width: 992px) { |
2559 | .header__notifs span { | 2559 | .header__notifs span { |
2560 | display: inline; | 2560 | display: inline; |
2561 | } | 2561 | } |
2562 | } | 2562 | } |
2563 | .header__notifs_actived { | 2563 | .header__notifs_actived { |
2564 | position: relative; | 2564 | position: relative; |
2565 | } | 2565 | } |
2566 | @media (min-width: 992px) { | 2566 | @media (min-width: 992px) { |
2567 | .header__notifs_actived { | 2567 | .header__notifs_actived { |
2568 | padding-right: 12px; | 2568 | padding-right: 12px; |
2569 | } | 2569 | } |
2570 | } | 2570 | } |
2571 | .header__notifs_actived:after { | 2571 | .header__notifs_actived:after { |
2572 | content: ""; | 2572 | content: ""; |
2573 | border: 1px solid #fff; | 2573 | border: 1px solid #fff; |
2574 | background: #377d87; | 2574 | background: #377d87; |
2575 | border-radius: 999px; | 2575 | border-radius: 999px; |
2576 | width: 10px; | 2576 | width: 10px; |
2577 | height: 10px; | 2577 | height: 10px; |
2578 | position: absolute; | 2578 | position: absolute; |
2579 | z-index: 1; | 2579 | z-index: 1; |
2580 | top: 0; | 2580 | top: 0; |
2581 | right: 0; | 2581 | right: 0; |
2582 | } | 2582 | } |
2583 | @media (min-width: 992px) { | 2583 | @media (min-width: 992px) { |
2584 | .header__notifs_actived:after { | 2584 | .header__notifs_actived:after { |
2585 | width: 8px; | 2585 | width: 8px; |
2586 | height: 8px; | 2586 | height: 8px; |
2587 | border: none; | 2587 | border: none; |
2588 | } | 2588 | } |
2589 | } | 2589 | } |
2590 | .header__burger { | 2590 | .header__burger { |
2591 | display: -webkit-box; | 2591 | display: -webkit-box; |
2592 | display: -ms-flexbox; | 2592 | display: -ms-flexbox; |
2593 | display: flex; | 2593 | display: flex; |
2594 | -webkit-box-align: center; | 2594 | -webkit-box-align: center; |
2595 | -ms-flex-align: center; | 2595 | -ms-flex-align: center; |
2596 | align-items: center; | 2596 | align-items: center; |
2597 | -webkit-box-pack: center; | 2597 | -webkit-box-pack: center; |
2598 | -ms-flex-pack: center; | 2598 | -ms-flex-pack: center; |
2599 | justify-content: center; | 2599 | justify-content: center; |
2600 | width: 24px; | 2600 | width: 24px; |
2601 | height: 24px; | 2601 | height: 24px; |
2602 | color: #377d87; | 2602 | color: #377d87; |
2603 | padding: 0; | 2603 | padding: 0; |
2604 | border: none; | 2604 | border: none; |
2605 | background: none; | 2605 | background: none; |
2606 | } | 2606 | } |
2607 | @media (min-width: 992px) { | 2607 | @media (min-width: 992px) { |
2608 | .header__burger { | 2608 | .header__burger { |
2609 | display: none; | 2609 | display: none; |
2610 | } | 2610 | } |
2611 | } | 2611 | } |
2612 | .header__burger svg { | 2612 | .header__burger svg { |
2613 | width: 20px; | 2613 | width: 20px; |
2614 | height: 20px; | 2614 | height: 20px; |
2615 | } | 2615 | } |
2616 | .header__burger svg + svg { | 2616 | .header__burger svg + svg { |
2617 | display: none; | 2617 | display: none; |
2618 | } | 2618 | } |
2619 | .header__sign { | 2619 | .header__sign { |
2620 | /*display: none;*/ | 2620 | /*display: none;*/ |
2621 | } | 2621 | } |
2622 | @media (min-width: 992px) { | 2622 | @media (min-width: 992px) { |
2623 | .header__sign { | 2623 | .header__sign { |
2624 | display: -webkit-box; | 2624 | display: -webkit-box; |
2625 | display: -ms-flexbox; | 2625 | display: -ms-flexbox; |
2626 | display: flex; | 2626 | display: flex; |
2627 | } | 2627 | } |
2628 | } | 2628 | } |
2629 | 2629 | ||
2630 | .mob-menu { | 2630 | .mob-menu { |
2631 | display: none; | 2631 | display: none; |
2632 | position: fixed; | 2632 | position: fixed; |
2633 | bottom: 0; | 2633 | bottom: 0; |
2634 | left: 0; | 2634 | left: 0; |
2635 | width: 100vw; | 2635 | width: 100vw; |
2636 | height: calc(100vh - 42px); | 2636 | height: calc(100vh - 42px); |
2637 | z-index: 4; | 2637 | z-index: 4; |
2638 | background: #fff; | 2638 | background: #fff; |
2639 | overflow: hidden; | 2639 | overflow: hidden; |
2640 | overflow-y: auto; | 2640 | overflow-y: auto; |
2641 | padding: 50px 0; | 2641 | padding: 50px 0; |
2642 | } | 2642 | } |
2643 | .mob-menu__bottom { | 2643 | .mob-menu__bottom { |
2644 | display: -webkit-box; | 2644 | display: -webkit-box; |
2645 | display: -ms-flexbox; | 2645 | display: -ms-flexbox; |
2646 | display: flex; | 2646 | display: flex; |
2647 | -webkit-box-orient: vertical; | 2647 | -webkit-box-orient: vertical; |
2648 | -webkit-box-direction: normal; | 2648 | -webkit-box-direction: normal; |
2649 | -ms-flex-direction: column; | 2649 | -ms-flex-direction: column; |
2650 | flex-direction: column; | 2650 | flex-direction: column; |
2651 | -webkit-box-align: center; | 2651 | -webkit-box-align: center; |
2652 | -ms-flex-align: center; | 2652 | -ms-flex-align: center; |
2653 | align-items: center; | 2653 | align-items: center; |
2654 | margin-top: 80px; | 2654 | margin-top: 80px; |
2655 | } | 2655 | } |
2656 | .mob-menu__bottom .button { | 2656 | .mob-menu__bottom .button { |
2657 | min-width: 120px; | 2657 | min-width: 120px; |
2658 | } | 2658 | } |
2659 | .mob-menu__bottom-link { | 2659 | .mob-menu__bottom-link { |
2660 | text-decoration: underline; | 2660 | text-decoration: underline; |
2661 | margin-top: 50px; | 2661 | margin-top: 50px; |
2662 | } | 2662 | } |
2663 | .mob-menu__bottom-link:hover { | 2663 | .mob-menu__bottom-link:hover { |
2664 | color: #377d87; | 2664 | color: #377d87; |
2665 | } | 2665 | } |
2666 | .mob-menu__bottom-link + .mob-menu__bottom-link { | 2666 | .mob-menu__bottom-link + .mob-menu__bottom-link { |
2667 | margin-top: 10px; | 2667 | margin-top: 10px; |
2668 | } | 2668 | } |
2669 | .mob-menu__bottom .socials { | 2669 | .mob-menu__bottom .socials { |
2670 | margin-top: 35px; | 2670 | margin-top: 35px; |
2671 | } | 2671 | } |
2672 | .mob-menu .footer__mobile-menu { | 2672 | .mob-menu .footer__mobile-menu { |
2673 | opacity: 1; | 2673 | opacity: 1; |
2674 | height: auto; | 2674 | height: auto; |
2675 | overflow: visible; | 2675 | overflow: visible; |
2676 | } | 2676 | } |
2677 | .mob-menu .footer__mobile-menu-item button { | 2677 | .mob-menu .footer__mobile-menu-item button { |
2678 | -webkit-box-align: center; | 2678 | -webkit-box-align: center; |
2679 | -ms-flex-align: center; | 2679 | -ms-flex-align: center; |
2680 | align-items: center; | 2680 | align-items: center; |
2681 | } | 2681 | } |
2682 | .mob-menu .footer__mobile-menu-item div { | 2682 | .mob-menu .footer__mobile-menu-item div { |
2683 | font-size: 20px; | 2683 | font-size: 20px; |
2684 | } | 2684 | } |
2685 | .mob-menu .footer__mobile-contacts a { | 2685 | .mob-menu .footer__mobile-contacts a { |
2686 | font-size: 20px; | 2686 | font-size: 20px; |
2687 | font-weight: 700; | 2687 | font-weight: 700; |
2688 | color: #000; | 2688 | color: #000; |
2689 | text-decoration: none; | 2689 | text-decoration: none; |
2690 | } | 2690 | } |
2691 | .mob-menu .footer__mobile-contacts a:hover { | 2691 | .mob-menu .footer__mobile-contacts a:hover { |
2692 | color: #377d87; | 2692 | color: #377d87; |
2693 | } | 2693 | } |
2694 | .mob-menu .footer__mobile-menu-item button b, | 2694 | .mob-menu .footer__mobile-menu-item button b, |
2695 | .mob-menu .footer__mobile-contacts a { | 2695 | .mob-menu .footer__mobile-contacts a { |
2696 | font-size: 30px; | 2696 | font-size: 30px; |
2697 | } | 2697 | } |
2698 | 2698 | ||
2699 | .menu-is-actived { | 2699 | .menu-is-actived { |
2700 | overflow: hidden; | 2700 | overflow: hidden; |
2701 | } | 2701 | } |
2702 | @media (min-width: 992px) { | 2702 | @media (min-width: 992px) { |
2703 | .menu-is-actived { | 2703 | .menu-is-actived { |
2704 | overflow: auto; | 2704 | overflow: auto; |
2705 | } | 2705 | } |
2706 | } | 2706 | } |
2707 | .menu-is-actived .header__burger svg { | 2707 | .menu-is-actived .header__burger svg { |
2708 | display: none; | 2708 | display: none; |
2709 | } | 2709 | } |
2710 | .menu-is-actived .header__burger svg + svg { | 2710 | .menu-is-actived .header__burger svg + svg { |
2711 | display: block; | 2711 | display: block; |
2712 | } | 2712 | } |
2713 | .menu-is-actived .mob-menu { | 2713 | .menu-is-actived .mob-menu { |
2714 | display: block; | 2714 | display: block; |
2715 | } | 2715 | } |
2716 | @media (min-width: 992px) { | 2716 | @media (min-width: 992px) { |
2717 | .menu-is-actived .mob-menu { | 2717 | .menu-is-actived .mob-menu { |
2718 | display: none; | 2718 | display: none; |
2719 | } | 2719 | } |
2720 | } | 2720 | } |
2721 | 2721 | ||
2722 | .footer { | 2722 | .footer { |
2723 | -webkit-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.25); | 2723 | -webkit-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.25); |
2724 | box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.25); | 2724 | box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.25); |
2725 | background: #fff; | 2725 | background: #fff; |
2726 | position: relative; | 2726 | position: relative; |
2727 | z-index: 1; | 2727 | z-index: 1; |
2728 | overflow: hidden; | 2728 | overflow: hidden; |
2729 | } | 2729 | } |
2730 | .footer__mobile { | 2730 | .footer__mobile { |
2731 | display: -webkit-box; | 2731 | display: -webkit-box; |
2732 | display: -ms-flexbox; | 2732 | display: -ms-flexbox; |
2733 | display: flex; | 2733 | display: flex; |
2734 | -webkit-box-orient: vertical; | 2734 | -webkit-box-orient: vertical; |
2735 | -webkit-box-direction: normal; | 2735 | -webkit-box-direction: normal; |
2736 | -ms-flex-direction: column; | 2736 | -ms-flex-direction: column; |
2737 | flex-direction: column; | 2737 | flex-direction: column; |
2738 | padding: 25px 0 30px 0; | 2738 | padding: 25px 0 30px 0; |
2739 | } | 2739 | } |
2740 | @media (min-width: 768px) { | 2740 | @media (min-width: 768px) { |
2741 | .footer__mobile { | 2741 | .footer__mobile { |
2742 | padding: 30px 0; | 2742 | padding: 30px 0; |
2743 | } | 2743 | } |
2744 | } | 2744 | } |
2745 | @media (min-width: 992px) { | 2745 | @media (min-width: 992px) { |
2746 | .footer__mobile { | 2746 | .footer__mobile { |
2747 | display: none; | 2747 | display: none; |
2748 | } | 2748 | } |
2749 | } | 2749 | } |
2750 | .footer__mobile-toper { | 2750 | .footer__mobile-toper { |
2751 | display: -webkit-box; | 2751 | display: -webkit-box; |
2752 | display: -ms-flexbox; | 2752 | display: -ms-flexbox; |
2753 | display: flex; | 2753 | display: flex; |
2754 | -webkit-box-pack: justify; | 2754 | -webkit-box-pack: justify; |
2755 | -ms-flex-pack: justify; | 2755 | -ms-flex-pack: justify; |
2756 | justify-content: space-between; | 2756 | justify-content: space-between; |
2757 | -webkit-box-align: center; | 2757 | -webkit-box-align: center; |
2758 | -ms-flex-align: center; | 2758 | -ms-flex-align: center; |
2759 | align-items: center; | 2759 | align-items: center; |
2760 | padding: 0; | 2760 | padding: 0; |
2761 | border: none; | 2761 | border: none; |
2762 | background: none; | 2762 | background: none; |
2763 | } | 2763 | } |
2764 | .footer__mobile-toper a, | 2764 | .footer__mobile-toper a, |
2765 | .footer__mobile-toper b { | 2765 | .footer__mobile-toper b { |
2766 | display: -webkit-box; | 2766 | display: -webkit-box; |
2767 | display: -ms-flexbox; | 2767 | display: -ms-flexbox; |
2768 | display: flex; | 2768 | display: flex; |
2769 | -webkit-box-pack: center; | 2769 | -webkit-box-pack: center; |
2770 | -ms-flex-pack: center; | 2770 | -ms-flex-pack: center; |
2771 | justify-content: center; | 2771 | justify-content: center; |
2772 | -webkit-box-align: center; | 2772 | -webkit-box-align: center; |
2773 | -ms-flex-align: center; | 2773 | -ms-flex-align: center; |
2774 | align-items: center; | 2774 | align-items: center; |
2775 | color: #377d87; | 2775 | color: #377d87; |
2776 | } | 2776 | } |
2777 | .footer__mobile-toper a svg, | 2777 | .footer__mobile-toper a svg, |
2778 | .footer__mobile-toper b svg { | 2778 | .footer__mobile-toper b svg { |
2779 | width: 137px; | 2779 | width: 137px; |
2780 | height: 40px; | 2780 | height: 40px; |
2781 | } | 2781 | } |
2782 | .footer__mobile-toper span { | 2782 | .footer__mobile-toper span { |
2783 | width: 40px; | 2783 | width: 40px; |
2784 | height: 40px; | 2784 | height: 40px; |
2785 | display: -webkit-box; | 2785 | display: -webkit-box; |
2786 | display: -ms-flexbox; | 2786 | display: -ms-flexbox; |
2787 | display: flex; | 2787 | display: flex; |
2788 | -webkit-box-pack: center; | 2788 | -webkit-box-pack: center; |
2789 | -ms-flex-pack: center; | 2789 | -ms-flex-pack: center; |
2790 | justify-content: center; | 2790 | justify-content: center; |
2791 | -webkit-box-align: center; | 2791 | -webkit-box-align: center; |
2792 | -ms-flex-align: center; | 2792 | -ms-flex-align: center; |
2793 | align-items: center; | 2793 | align-items: center; |
2794 | background: #377d87; | 2794 | background: #377d87; |
2795 | color: #fff; | 2795 | color: #fff; |
2796 | border-radius: 999px; | 2796 | border-radius: 999px; |
2797 | } | 2797 | } |
2798 | .footer__mobile-toper span svg { | 2798 | .footer__mobile-toper span svg { |
2799 | width: 10px; | 2799 | width: 10px; |
2800 | height: 10px; | 2800 | height: 10px; |
2801 | -webkit-transition: 0.3s; | 2801 | -webkit-transition: 0.3s; |
2802 | transition: 0.3s; | 2802 | transition: 0.3s; |
2803 | } | 2803 | } |
2804 | .footer__mobile-toper.active span svg { | 2804 | .footer__mobile-toper.active span svg { |
2805 | -webkit-transform: rotate(180deg); | 2805 | -webkit-transform: rotate(180deg); |
2806 | -ms-transform: rotate(180deg); | 2806 | -ms-transform: rotate(180deg); |
2807 | transform: rotate(180deg); | 2807 | transform: rotate(180deg); |
2808 | } | 2808 | } |
2809 | .footer__mobile-menu { | 2809 | .footer__mobile-menu { |
2810 | height: 0; | 2810 | height: 0; |
2811 | opacity: 0; | 2811 | opacity: 0; |
2812 | overflow: hidden; | 2812 | overflow: hidden; |
2813 | -webkit-transition: 0.3s; | 2813 | -webkit-transition: 0.3s; |
2814 | transition: 0.3s; | 2814 | transition: 0.3s; |
2815 | display: -webkit-box; | 2815 | display: -webkit-box; |
2816 | display: -ms-flexbox; | 2816 | display: -ms-flexbox; |
2817 | display: flex; | 2817 | display: flex; |
2818 | -webkit-box-orient: vertical; | 2818 | -webkit-box-orient: vertical; |
2819 | -webkit-box-direction: normal; | 2819 | -webkit-box-direction: normal; |
2820 | -ms-flex-direction: column; | 2820 | -ms-flex-direction: column; |
2821 | flex-direction: column; | 2821 | flex-direction: column; |
2822 | gap: 30px; | 2822 | gap: 30px; |
2823 | } | 2823 | } |
2824 | @media (min-width: 768px) { | 2824 | @media (min-width: 768px) { |
2825 | .footer__mobile-menu { | 2825 | .footer__mobile-menu { |
2826 | display: grid; | 2826 | display: grid; |
2827 | grid-template-columns: 1fr 1fr; | 2827 | grid-template-columns: 1fr 1fr; |
2828 | gap: 100px; | 2828 | gap: 100px; |
2829 | } | 2829 | } |
2830 | } | 2830 | } |
2831 | .footer__mobile-menu-item { | 2831 | .footer__mobile-menu-item { |
2832 | display: -webkit-box; | 2832 | display: -webkit-box; |
2833 | display: -ms-flexbox; | 2833 | display: -ms-flexbox; |
2834 | display: flex; | 2834 | display: flex; |
2835 | -webkit-box-orient: vertical; | 2835 | -webkit-box-orient: vertical; |
2836 | -webkit-box-direction: normal; | 2836 | -webkit-box-direction: normal; |
2837 | -ms-flex-direction: column; | 2837 | -ms-flex-direction: column; |
2838 | flex-direction: column; | 2838 | flex-direction: column; |
2839 | } | 2839 | } |
2840 | .footer__mobile-menu-item button { | 2840 | .footer__mobile-menu-item button { |
2841 | display: -webkit-box; | 2841 | display: -webkit-box; |
2842 | display: -ms-flexbox; | 2842 | display: -ms-flexbox; |
2843 | display: flex; | 2843 | display: flex; |
2844 | -webkit-box-align: start; | 2844 | -webkit-box-align: start; |
2845 | -ms-flex-align: start; | 2845 | -ms-flex-align: start; |
2846 | align-items: flex-start; | 2846 | align-items: flex-start; |
2847 | padding: 0; | 2847 | padding: 0; |
2848 | border: none; | 2848 | border: none; |
2849 | background: none; | 2849 | background: none; |
2850 | } | 2850 | } |
2851 | .footer__mobile-menu-item button.active { | 2851 | .footer__mobile-menu-item button.active { |
2852 | color: #377d87; | 2852 | color: #377d87; |
2853 | } | 2853 | } |
2854 | .footer__mobile-menu-item button b { | 2854 | .footer__mobile-menu-item button b { |
2855 | width: calc(100% - 24px); | 2855 | width: calc(100% - 24px); |
2856 | padding-right: 12px; | 2856 | padding-right: 12px; |
2857 | min-height: 24px; | 2857 | min-height: 24px; |
2858 | display: -webkit-box; | 2858 | display: -webkit-box; |
2859 | display: -ms-flexbox; | 2859 | display: -ms-flexbox; |
2860 | display: flex; | 2860 | display: flex; |
2861 | -webkit-box-align: center; | 2861 | -webkit-box-align: center; |
2862 | -ms-flex-align: center; | 2862 | -ms-flex-align: center; |
2863 | align-items: center; | 2863 | align-items: center; |
2864 | font-size: 20px; | 2864 | font-size: 20px; |
2865 | font-weight: 700; | 2865 | font-weight: 700; |
2866 | } | 2866 | } |
2867 | .footer__mobile-menu-item button span { | 2867 | .footer__mobile-menu-item button span { |
2868 | width: 24px; | 2868 | width: 24px; |
2869 | height: 24px; | 2869 | height: 24px; |
2870 | display: -webkit-box; | 2870 | display: -webkit-box; |
2871 | display: -ms-flexbox; | 2871 | display: -ms-flexbox; |
2872 | display: flex; | 2872 | display: flex; |
2873 | -webkit-box-pack: center; | 2873 | -webkit-box-pack: center; |
2874 | -ms-flex-pack: center; | 2874 | -ms-flex-pack: center; |
2875 | justify-content: center; | 2875 | justify-content: center; |
2876 | -webkit-box-align: center; | 2876 | -webkit-box-align: center; |
2877 | -ms-flex-align: center; | 2877 | -ms-flex-align: center; |
2878 | align-items: center; | 2878 | align-items: center; |
2879 | padding: 0; | 2879 | padding: 0; |
2880 | border: none; | 2880 | border: none; |
2881 | background: none; | 2881 | background: none; |
2882 | } | 2882 | } |
2883 | .footer__mobile-menu-item button svg { | 2883 | .footer__mobile-menu-item button svg { |
2884 | width: 12px; | 2884 | width: 12px; |
2885 | height: 12px; | 2885 | height: 12px; |
2886 | -webkit-transition: 0.3s; | 2886 | -webkit-transition: 0.3s; |
2887 | transition: 0.3s; | 2887 | transition: 0.3s; |
2888 | -webkit-transform: rotate(180deg); | 2888 | -webkit-transform: rotate(180deg); |
2889 | -ms-transform: rotate(180deg); | 2889 | -ms-transform: rotate(180deg); |
2890 | transform: rotate(180deg); | 2890 | transform: rotate(180deg); |
2891 | } | 2891 | } |
2892 | .footer__mobile-menu-item button.active svg { | 2892 | .footer__mobile-menu-item button.active svg { |
2893 | -webkit-transform: rotate(0deg); | 2893 | -webkit-transform: rotate(0deg); |
2894 | -ms-transform: rotate(0deg); | 2894 | -ms-transform: rotate(0deg); |
2895 | transform: rotate(0deg); | 2895 | transform: rotate(0deg); |
2896 | } | 2896 | } |
2897 | .footer__mobile-menu-item div { | 2897 | .footer__mobile-menu-item div { |
2898 | height: 0; | 2898 | height: 0; |
2899 | opacity: 0; | 2899 | opacity: 0; |
2900 | overflow: hidden; | 2900 | overflow: hidden; |
2901 | -webkit-transition: 0.3s; | 2901 | -webkit-transition: 0.3s; |
2902 | transition: 0.3s; | 2902 | transition: 0.3s; |
2903 | display: -webkit-box; | 2903 | display: -webkit-box; |
2904 | display: -ms-flexbox; | 2904 | display: -ms-flexbox; |
2905 | display: flex; | 2905 | display: flex; |
2906 | -webkit-box-orient: vertical; | 2906 | -webkit-box-orient: vertical; |
2907 | -webkit-box-direction: normal; | 2907 | -webkit-box-direction: normal; |
2908 | -ms-flex-direction: column; | 2908 | -ms-flex-direction: column; |
2909 | flex-direction: column; | 2909 | flex-direction: column; |
2910 | gap: 15px; | 2910 | gap: 15px; |
2911 | } | 2911 | } |
2912 | .footer__mobile-menu-item div a:hover { | 2912 | .footer__mobile-menu-item div a:hover { |
2913 | color: #377d87; | 2913 | color: #377d87; |
2914 | } | 2914 | } |
2915 | .footer__mobile-menu-item .active + div { | 2915 | .footer__mobile-menu-item .active + div { |
2916 | opacity: 1; | 2916 | opacity: 1; |
2917 | height: auto; | 2917 | height: auto; |
2918 | overflow: visible; | 2918 | overflow: visible; |
2919 | padding-top: 15px; | 2919 | padding-top: 15px; |
2920 | } | 2920 | } |
2921 | .active + .footer__mobile-menu { | 2921 | .active + .footer__mobile-menu { |
2922 | opacity: 1; | 2922 | opacity: 1; |
2923 | height: auto; | 2923 | height: auto; |
2924 | overflow: visible; | 2924 | overflow: visible; |
2925 | padding-top: 35px; | 2925 | padding-top: 35px; |
2926 | } | 2926 | } |
2927 | .footer__mobile-contacts { | 2927 | .footer__mobile-contacts { |
2928 | display: -webkit-box; | 2928 | display: -webkit-box; |
2929 | display: -ms-flexbox; | 2929 | display: -ms-flexbox; |
2930 | display: flex; | 2930 | display: flex; |
2931 | -webkit-box-pack: justify; | 2931 | -webkit-box-pack: justify; |
2932 | -ms-flex-pack: justify; | 2932 | -ms-flex-pack: justify; |
2933 | justify-content: space-between; | 2933 | justify-content: space-between; |
2934 | -webkit-box-align: start; | 2934 | -webkit-box-align: start; |
2935 | -ms-flex-align: start; | 2935 | -ms-flex-align: start; |
2936 | align-items: flex-start; | 2936 | align-items: flex-start; |
2937 | -ms-flex-wrap: wrap; | 2937 | -ms-flex-wrap: wrap; |
2938 | flex-wrap: wrap; | 2938 | flex-wrap: wrap; |
2939 | margin-top: 30px; | 2939 | margin-top: 30px; |
2940 | } | 2940 | } |
2941 | .footer__mobile-contacts b { | 2941 | .footer__mobile-contacts b { |
2942 | font-size: 20px; | 2942 | font-size: 20px; |
2943 | font-weight: 700; | 2943 | font-weight: 700; |
2944 | width: 100%; | 2944 | width: 100%; |
2945 | margin-bottom: 20px; | 2945 | margin-bottom: 20px; |
2946 | } | 2946 | } |
2947 | .footer__mobile-contacts a { | 2947 | .footer__mobile-contacts a { |
2948 | color: #377d87; | 2948 | color: #377d87; |
2949 | text-decoration: underline; | 2949 | text-decoration: underline; |
2950 | } | 2950 | } |
2951 | .footer__mobile-contacts a + a { | 2951 | .footer__mobile-contacts a + a { |
2952 | color: #000; | 2952 | color: #000; |
2953 | } | 2953 | } |
2954 | .footer__mobile-bottom { | 2954 | .footer__mobile-bottom { |
2955 | display: -webkit-box; | 2955 | display: -webkit-box; |
2956 | display: -ms-flexbox; | 2956 | display: -ms-flexbox; |
2957 | display: flex; | 2957 | display: flex; |
2958 | -webkit-box-orient: vertical; | 2958 | -webkit-box-orient: vertical; |
2959 | -webkit-box-direction: normal; | 2959 | -webkit-box-direction: normal; |
2960 | -ms-flex-direction: column; | 2960 | -ms-flex-direction: column; |
2961 | flex-direction: column; | 2961 | flex-direction: column; |
2962 | -webkit-box-align: center; | 2962 | -webkit-box-align: center; |
2963 | -ms-flex-align: center; | 2963 | -ms-flex-align: center; |
2964 | align-items: center; | 2964 | align-items: center; |
2965 | text-align: center; | 2965 | text-align: center; |
2966 | gap: 20px; | 2966 | gap: 20px; |
2967 | margin-top: 100px; | 2967 | margin-top: 100px; |
2968 | } | 2968 | } |
2969 | .footer__mobile-links { | 2969 | .footer__mobile-links { |
2970 | display: -webkit-box; | 2970 | display: -webkit-box; |
2971 | display: -ms-flexbox; | 2971 | display: -ms-flexbox; |
2972 | display: flex; | 2972 | display: flex; |
2973 | -webkit-box-orient: vertical; | 2973 | -webkit-box-orient: vertical; |
2974 | -webkit-box-direction: normal; | 2974 | -webkit-box-direction: normal; |
2975 | -ms-flex-direction: column; | 2975 | -ms-flex-direction: column; |
2976 | flex-direction: column; | 2976 | flex-direction: column; |
2977 | -webkit-box-align: center; | 2977 | -webkit-box-align: center; |
2978 | -ms-flex-align: center; | 2978 | -ms-flex-align: center; |
2979 | align-items: center; | 2979 | align-items: center; |
2980 | gap: 10px; | 2980 | gap: 10px; |
2981 | } | 2981 | } |
2982 | .footer__mobile-links a:hover { | 2982 | .footer__mobile-links a:hover { |
2983 | color: #377d87; | 2983 | color: #377d87; |
2984 | } | 2984 | } |
2985 | .footer__mobile-links span { | 2985 | .footer__mobile-links span { |
2986 | width: 60px; | 2986 | width: 60px; |
2987 | height: 1px; | 2987 | height: 1px; |
2988 | background: #377d87; | 2988 | background: #377d87; |
2989 | } | 2989 | } |
2990 | .footer__main { | 2990 | .footer__main { |
2991 | display: none; | 2991 | display: none; |
2992 | padding: 55px 0 20px 0; | 2992 | padding: 55px 0 20px 0; |
2993 | -webkit-box-orient: vertical; | 2993 | -webkit-box-orient: vertical; |
2994 | -webkit-box-direction: normal; | 2994 | -webkit-box-direction: normal; |
2995 | -ms-flex-direction: column; | 2995 | -ms-flex-direction: column; |
2996 | flex-direction: column; | 2996 | flex-direction: column; |
2997 | gap: 70px; | 2997 | gap: 70px; |
2998 | } | 2998 | } |
2999 | @media (min-width: 992px) { | 2999 | @media (min-width: 992px) { |
3000 | .footer__main { | 3000 | .footer__main { |
3001 | display: -webkit-box; | 3001 | display: -webkit-box; |
3002 | display: -ms-flexbox; | 3002 | display: -ms-flexbox; |
3003 | display: flex; | 3003 | display: flex; |
3004 | } | 3004 | } |
3005 | } | 3005 | } |
3006 | .footer__main-body { | 3006 | .footer__main-body { |
3007 | display: -webkit-box; | 3007 | display: -webkit-box; |
3008 | display: -ms-flexbox; | 3008 | display: -ms-flexbox; |
3009 | display: flex; | 3009 | display: flex; |
3010 | -webkit-box-pack: justify; | 3010 | -webkit-box-pack: justify; |
3011 | -ms-flex-pack: justify; | 3011 | -ms-flex-pack: justify; |
3012 | justify-content: space-between; | 3012 | justify-content: space-between; |
3013 | -webkit-box-align: start; | 3013 | -webkit-box-align: start; |
3014 | -ms-flex-align: start; | 3014 | -ms-flex-align: start; |
3015 | align-items: flex-start; | 3015 | align-items: flex-start; |
3016 | } | 3016 | } |
3017 | .footer__main-logo { | 3017 | .footer__main-logo { |
3018 | display: -webkit-box; | 3018 | display: -webkit-box; |
3019 | display: -ms-flexbox; | 3019 | display: -ms-flexbox; |
3020 | display: flex; | 3020 | display: flex; |
3021 | -webkit-box-pack: center; | 3021 | -webkit-box-pack: center; |
3022 | -ms-flex-pack: center; | 3022 | -ms-flex-pack: center; |
3023 | justify-content: center; | 3023 | justify-content: center; |
3024 | -webkit-box-align: center; | 3024 | -webkit-box-align: center; |
3025 | -ms-flex-align: center; | 3025 | -ms-flex-align: center; |
3026 | align-items: center; | 3026 | align-items: center; |
3027 | color: #377d87; | 3027 | color: #377d87; |
3028 | } | 3028 | } |
3029 | .footer__main-logo svg { | 3029 | .footer__main-logo svg { |
3030 | width: 182px; | 3030 | width: 182px; |
3031 | height: 54px; | 3031 | height: 54px; |
3032 | } | 3032 | } |
3033 | .footer__main-title { | 3033 | .footer__main-title { |
3034 | font-size: 20px; | 3034 | font-size: 20px; |
3035 | font-weight: 700; | 3035 | font-weight: 700; |
3036 | margin-bottom: 16px; | 3036 | margin-bottom: 16px; |
3037 | } | 3037 | } |
3038 | .footer__main-col { | 3038 | .footer__main-col { |
3039 | display: -webkit-box; | 3039 | display: -webkit-box; |
3040 | display: -ms-flexbox; | 3040 | display: -ms-flexbox; |
3041 | display: flex; | 3041 | display: flex; |
3042 | -webkit-box-orient: vertical; | 3042 | -webkit-box-orient: vertical; |
3043 | -webkit-box-direction: normal; | 3043 | -webkit-box-direction: normal; |
3044 | -ms-flex-direction: column; | 3044 | -ms-flex-direction: column; |
3045 | flex-direction: column; | 3045 | flex-direction: column; |
3046 | -webkit-box-align: start; | 3046 | -webkit-box-align: start; |
3047 | -ms-flex-align: start; | 3047 | -ms-flex-align: start; |
3048 | align-items: flex-start; | 3048 | align-items: flex-start; |
3049 | } | 3049 | } |
3050 | .footer__main-col nav { | 3050 | .footer__main-col nav { |
3051 | display: -webkit-box; | 3051 | display: -webkit-box; |
3052 | display: -ms-flexbox; | 3052 | display: -ms-flexbox; |
3053 | display: flex; | 3053 | display: flex; |
3054 | -webkit-box-orient: vertical; | 3054 | -webkit-box-orient: vertical; |
3055 | -webkit-box-direction: normal; | 3055 | -webkit-box-direction: normal; |
3056 | -ms-flex-direction: column; | 3056 | -ms-flex-direction: column; |
3057 | flex-direction: column; | 3057 | flex-direction: column; |
3058 | -webkit-box-align: start; | 3058 | -webkit-box-align: start; |
3059 | -ms-flex-align: start; | 3059 | -ms-flex-align: start; |
3060 | align-items: flex-start; | 3060 | align-items: flex-start; |
3061 | gap: 8px; | 3061 | gap: 8px; |
3062 | } | 3062 | } |
3063 | .footer__main-col nav a:hover { | 3063 | .footer__main-col nav a:hover { |
3064 | color: #377d87; | 3064 | color: #377d87; |
3065 | } | 3065 | } |
3066 | .footer__main-contacts { | 3066 | .footer__main-contacts { |
3067 | display: -webkit-box; | 3067 | display: -webkit-box; |
3068 | display: -ms-flexbox; | 3068 | display: -ms-flexbox; |
3069 | display: flex; | 3069 | display: flex; |
3070 | -webkit-box-orient: vertical; | 3070 | -webkit-box-orient: vertical; |
3071 | -webkit-box-direction: normal; | 3071 | -webkit-box-direction: normal; |
3072 | -ms-flex-direction: column; | 3072 | -ms-flex-direction: column; |
3073 | flex-direction: column; | 3073 | flex-direction: column; |
3074 | -webkit-box-align: start; | 3074 | -webkit-box-align: start; |
3075 | -ms-flex-align: start; | 3075 | -ms-flex-align: start; |
3076 | align-items: flex-start; | 3076 | align-items: flex-start; |
3077 | gap: 16px; | 3077 | gap: 16px; |
3078 | margin-bottom: 16px; | 3078 | margin-bottom: 16px; |
3079 | } | 3079 | } |
3080 | .footer__main-contacts a { | 3080 | .footer__main-contacts a { |
3081 | color: #377d87; | 3081 | color: #377d87; |
3082 | text-decoration: underline; | 3082 | text-decoration: underline; |
3083 | } | 3083 | } |
3084 | .footer__main-contacts a + a { | 3084 | .footer__main-contacts a + a { |
3085 | color: #000; | 3085 | color: #000; |
3086 | } | 3086 | } |
3087 | .footer__main-copy { | 3087 | .footer__main-copy { |
3088 | display: -webkit-box; | 3088 | display: -webkit-box; |
3089 | display: -ms-flexbox; | 3089 | display: -ms-flexbox; |
3090 | display: flex; | 3090 | display: flex; |
3091 | -webkit-box-pack: justify; | 3091 | -webkit-box-pack: justify; |
3092 | -ms-flex-pack: justify; | 3092 | -ms-flex-pack: justify; |
3093 | justify-content: space-between; | 3093 | justify-content: space-between; |
3094 | -webkit-box-align: center; | 3094 | -webkit-box-align: center; |
3095 | -ms-flex-align: center; | 3095 | -ms-flex-align: center; |
3096 | align-items: center; | 3096 | align-items: center; |
3097 | font-size: 14px; | 3097 | font-size: 14px; |
3098 | line-height: 1.4; | 3098 | line-height: 1.4; |
3099 | } | 3099 | } |
3100 | .footer__main-copy nav { | 3100 | .footer__main-copy nav { |
3101 | display: -webkit-box; | 3101 | display: -webkit-box; |
3102 | display: -ms-flexbox; | 3102 | display: -ms-flexbox; |
3103 | display: flex; | 3103 | display: flex; |
3104 | -webkit-box-align: center; | 3104 | -webkit-box-align: center; |
3105 | -ms-flex-align: center; | 3105 | -ms-flex-align: center; |
3106 | align-items: center; | 3106 | align-items: center; |
3107 | gap: 10px; | 3107 | gap: 10px; |
3108 | } | 3108 | } |
3109 | .footer__main-copy nav a:hover { | 3109 | .footer__main-copy nav a:hover { |
3110 | color: #377d87; | 3110 | color: #377d87; |
3111 | } | 3111 | } |
3112 | .footer__main-copy nav span { | 3112 | .footer__main-copy nav span { |
3113 | width: 1px; | 3113 | width: 1px; |
3114 | height: 20px; | 3114 | height: 20px; |
3115 | background: #000; | 3115 | background: #000; |
3116 | } | 3116 | } |
3117 | 3117 | ||
3118 | .main { | 3118 | .main { |
3119 | position: relative; | 3119 | position: relative; |
3120 | overflow: hidden; | 3120 | overflow: hidden; |
3121 | padding: 30px 0; | 3121 | padding: 30px 0; |
3122 | } | 3122 | } |
3123 | @media (min-width: 768px) { | 3123 | @media (min-width: 768px) { |
3124 | .main { | 3124 | .main { |
3125 | padding: 40px 0; | 3125 | padding: 40px 0; |
3126 | } | 3126 | } |
3127 | } | 3127 | } |
3128 | @media (min-width: 992px) { | 3128 | @media (min-width: 992px) { |
3129 | .main { | 3129 | .main { |
3130 | padding: 50px 0; | 3130 | padding: 50px 0; |
3131 | } | 3131 | } |
3132 | } | 3132 | } |
3133 | @media (min-width: 1280px) { | 3133 | @media (min-width: 1280px) { |
3134 | .main { | 3134 | .main { |
3135 | padding: 60px 0; | 3135 | padding: 60px 0; |
3136 | } | 3136 | } |
3137 | } | 3137 | } |
3138 | .main h2 { | 3138 | .main h2 { |
3139 | margin: 0; | 3139 | margin: 0; |
3140 | font-weight: 700; | 3140 | font-weight: 700; |
3141 | font-size: 30px; | 3141 | font-size: 30px; |
3142 | } | 3142 | } |
3143 | @media (min-width: 768px) { | 3143 | @media (min-width: 768px) { |
3144 | .main h2 { | 3144 | .main h2 { |
3145 | font-size: 44px; | 3145 | font-size: 44px; |
3146 | } | 3146 | } |
3147 | } | 3147 | } |
3148 | .main h3 { | 3148 | .main h3 { |
3149 | margin: 0; | 3149 | margin: 0; |
3150 | font-weight: 700; | 3150 | font-weight: 700; |
3151 | font-size: 22px; | 3151 | font-size: 22px; |
3152 | } | 3152 | } |
3153 | @media (min-width: 768px) { | 3153 | @media (min-width: 768px) { |
3154 | .main h3 { | 3154 | .main h3 { |
3155 | font-size: 28px; | 3155 | font-size: 28px; |
3156 | } | 3156 | } |
3157 | } | 3157 | } |
3158 | .main p { | 3158 | .main p { |
3159 | margin: 0; | 3159 | margin: 0; |
3160 | font-size: 14px; | 3160 | font-size: 14px; |
3161 | line-height: 1.4; | 3161 | line-height: 1.4; |
3162 | } | 3162 | } |
3163 | @media (min-width: 768px) { | 3163 | @media (min-width: 768px) { |
3164 | .main p { | 3164 | .main p { |
3165 | font-size: 18px; | 3165 | font-size: 18px; |
3166 | } | 3166 | } |
3167 | } | 3167 | } |
3168 | .main p a { | 3168 | .main p a { |
3169 | color: #4d88d9; | 3169 | color: #4d88d9; |
3170 | } | 3170 | } |
3171 | .main p a:hover { | 3171 | .main p a:hover { |
3172 | color: #377d87; | 3172 | color: #377d87; |
3173 | } | 3173 | } |
3174 | .main__breadcrumbs { | 3174 | .main__breadcrumbs { |
3175 | margin-bottom: 20px; | 3175 | margin-bottom: 20px; |
3176 | } | 3176 | } |
3177 | @media (min-width: 768px) { | 3177 | @media (min-width: 768px) { |
3178 | .main__breadcrumbs { | 3178 | .main__breadcrumbs { |
3179 | margin-bottom: 40px; | 3179 | margin-bottom: 40px; |
3180 | } | 3180 | } |
3181 | } | 3181 | } |
3182 | .main__content { | 3182 | .main__content { |
3183 | display: -webkit-box; | 3183 | display: -webkit-box; |
3184 | display: -ms-flexbox; | 3184 | display: -ms-flexbox; |
3185 | display: flex; | 3185 | display: flex; |
3186 | -webkit-box-orient: vertical; | 3186 | -webkit-box-orient: vertical; |
3187 | -webkit-box-direction: normal; | 3187 | -webkit-box-direction: normal; |
3188 | -ms-flex-direction: column; | 3188 | -ms-flex-direction: column; |
3189 | flex-direction: column; | 3189 | flex-direction: column; |
3190 | gap: 20px; | 3190 | gap: 20px; |
3191 | font-size: 14px; | 3191 | font-size: 14px; |
3192 | } | 3192 | } |
3193 | @media (min-width: 992px) { | 3193 | @media (min-width: 992px) { |
3194 | .main__content { | 3194 | .main__content { |
3195 | font-size: 18px; | 3195 | font-size: 18px; |
3196 | gap: 32px; | 3196 | gap: 32px; |
3197 | } | 3197 | } |
3198 | } | 3198 | } |
3199 | .main__content-item { | 3199 | .main__content-item { |
3200 | display: -webkit-box; | 3200 | display: -webkit-box; |
3201 | display: -ms-flexbox; | 3201 | display: -ms-flexbox; |
3202 | display: flex; | 3202 | display: flex; |
3203 | -webkit-box-orient: vertical; | 3203 | -webkit-box-orient: vertical; |
3204 | -webkit-box-direction: normal; | 3204 | -webkit-box-direction: normal; |
3205 | -ms-flex-direction: column; | 3205 | -ms-flex-direction: column; |
3206 | flex-direction: column; | 3206 | flex-direction: column; |
3207 | gap: 16px; | 3207 | gap: 16px; |
3208 | } | 3208 | } |
3209 | .main__content h1, | 3209 | .main__content h1, |
3210 | .main__content h2, | 3210 | .main__content h2, |
3211 | .main__content h3, | 3211 | .main__content h3, |
3212 | .main__content h4, | 3212 | .main__content h4, |
3213 | .main__content h5, | 3213 | .main__content h5, |
3214 | .main__content h6 { | 3214 | .main__content h6 { |
3215 | color: #000; | 3215 | color: #000; |
3216 | } | 3216 | } |
3217 | .main__content ul, | 3217 | .main__content ul, |
3218 | .main__content ol { | 3218 | .main__content ol { |
3219 | padding: 0; | 3219 | padding: 0; |
3220 | margin: 0; | 3220 | margin: 0; |
3221 | padding-left: 20px; | 3221 | padding-left: 20px; |
3222 | display: -webkit-box; | 3222 | display: -webkit-box; |
3223 | display: -ms-flexbox; | 3223 | display: -ms-flexbox; |
3224 | display: flex; | 3224 | display: flex; |
3225 | -webkit-box-orient: vertical; | 3225 | -webkit-box-orient: vertical; |
3226 | -webkit-box-direction: normal; | 3226 | -webkit-box-direction: normal; |
3227 | -ms-flex-direction: column; | 3227 | -ms-flex-direction: column; |
3228 | flex-direction: column; | 3228 | flex-direction: column; |
3229 | gap: 8px; | 3229 | gap: 8px; |
3230 | } | 3230 | } |
3231 | @media (min-width: 992px) { | 3231 | @media (min-width: 992px) { |
3232 | .main__content ul, | 3232 | .main__content ul, |
3233 | .main__content ol { | 3233 | .main__content ol { |
3234 | gap: 16px; | 3234 | gap: 16px; |
3235 | padding-left: 30px; | 3235 | padding-left: 30px; |
3236 | } | 3236 | } |
3237 | } | 3237 | } |
3238 | .main__content li ul, | 3238 | .main__content li ul, |
3239 | .main__content li ol { | 3239 | .main__content li ol { |
3240 | margin-top: 8px; | 3240 | margin-top: 8px; |
3241 | } | 3241 | } |
3242 | @media (min-width: 992px) { | 3242 | @media (min-width: 992px) { |
3243 | .main__content li ul, | 3243 | .main__content li ul, |
3244 | .main__content li ol { | 3244 | .main__content li ol { |
3245 | margin-top: 16px; | 3245 | margin-top: 16px; |
3246 | } | 3246 | } |
3247 | } | 3247 | } |
3248 | .main__content li ul li, | 3248 | .main__content li ul li, |
3249 | .main__content li ol li { | 3249 | .main__content li ol li { |
3250 | list-style-type: disc; | 3250 | list-style-type: disc; |
3251 | } | 3251 | } |
3252 | .main__gallery { | 3252 | .main__gallery { |
3253 | display: -webkit-box; | 3253 | display: -webkit-box; |
3254 | display: -ms-flexbox; | 3254 | display: -ms-flexbox; |
3255 | display: flex; | 3255 | display: flex; |
3256 | -webkit-box-orient: vertical; | 3256 | -webkit-box-orient: vertical; |
3257 | -webkit-box-direction: normal; | 3257 | -webkit-box-direction: normal; |
3258 | -ms-flex-direction: column; | 3258 | -ms-flex-direction: column; |
3259 | flex-direction: column; | 3259 | flex-direction: column; |
3260 | gap: 20px; | 3260 | gap: 20px; |
3261 | } | 3261 | } |
3262 | @media (min-width: 768px) { | 3262 | @media (min-width: 768px) { |
3263 | .main__gallery { | 3263 | .main__gallery { |
3264 | display: grid; | 3264 | display: grid; |
3265 | grid-template-columns: repeat(2, 1fr); | 3265 | grid-template-columns: repeat(2, 1fr); |
3266 | } | 3266 | } |
3267 | } | 3267 | } |
3268 | @media (min-width: 992px) { | 3268 | @media (min-width: 992px) { |
3269 | .main__gallery { | 3269 | .main__gallery { |
3270 | grid-template-columns: repeat(3, 1fr); | 3270 | grid-template-columns: repeat(3, 1fr); |
3271 | } | 3271 | } |
3272 | } | 3272 | } |
3273 | .main__gallery-item { | 3273 | .main__gallery-item { |
3274 | width: 100%; | 3274 | width: 100%; |
3275 | aspect-ratio: 400/224; | 3275 | aspect-ratio: 400/224; |
3276 | border-radius: 30px; | 3276 | border-radius: 30px; |
3277 | position: relative; | 3277 | position: relative; |
3278 | overflow: hidden; | 3278 | overflow: hidden; |
3279 | } | 3279 | } |
3280 | .main__gallery-item:hover { | 3280 | .main__gallery-item:hover { |
3281 | -webkit-filter: brightness(1.1); | 3281 | -webkit-filter: brightness(1.1); |
3282 | filter: brightness(1.1); | 3282 | filter: brightness(1.1); |
3283 | } | 3283 | } |
3284 | .main__gallery-item img { | 3284 | .main__gallery-item img { |
3285 | position: absolute; | 3285 | position: absolute; |
3286 | top: 0; | 3286 | top: 0; |
3287 | left: 0; | 3287 | left: 0; |
3288 | width: 100%; | 3288 | width: 100%; |
3289 | height: 100%; | 3289 | height: 100%; |
3290 | -o-object-fit: cover; | 3290 | -o-object-fit: cover; |
3291 | object-fit: cover; | 3291 | object-fit: cover; |
3292 | } | 3292 | } |
3293 | .main__employers { | 3293 | .main__employers { |
3294 | display: -webkit-box; | 3294 | display: -webkit-box; |
3295 | display: -ms-flexbox; | 3295 | display: -ms-flexbox; |
3296 | display: flex; | 3296 | display: flex; |
3297 | -webkit-box-orient: vertical; | 3297 | -webkit-box-orient: vertical; |
3298 | -webkit-box-direction: normal; | 3298 | -webkit-box-direction: normal; |
3299 | -ms-flex-direction: column; | 3299 | -ms-flex-direction: column; |
3300 | flex-direction: column; | 3300 | flex-direction: column; |
3301 | gap: 10px; | 3301 | gap: 10px; |
3302 | } | 3302 | } |
3303 | @media (min-width: 768px) { | 3303 | @media (min-width: 768px) { |
3304 | .main__employers { | 3304 | .main__employers { |
3305 | gap: 30px; | 3305 | gap: 30px; |
3306 | } | 3306 | } |
3307 | } | 3307 | } |
3308 | .main__employers-body { | 3308 | .main__employers-body { |
3309 | display: none; | 3309 | display: none; |
3310 | -webkit-box-orient: vertical; | 3310 | -webkit-box-orient: vertical; |
3311 | -webkit-box-direction: normal; | 3311 | -webkit-box-direction: normal; |
3312 | -ms-flex-direction: column; | 3312 | -ms-flex-direction: column; |
3313 | flex-direction: column; | 3313 | flex-direction: column; |
3314 | gap: 20px; | 3314 | gap: 20px; |
3315 | } | 3315 | } |
3316 | @media (min-width: 992px) { | 3316 | @media (min-width: 992px) { |
3317 | .main__employers-body { | 3317 | .main__employers-body { |
3318 | gap: 30px; | 3318 | gap: 30px; |
3319 | } | 3319 | } |
3320 | } | 3320 | } |
3321 | .main__employers-body.showed { | 3321 | .main__employers-body.showed { |
3322 | display: -webkit-box; | 3322 | display: -webkit-box; |
3323 | display: -ms-flexbox; | 3323 | display: -ms-flexbox; |
3324 | display: flex; | 3324 | display: flex; |
3325 | } | 3325 | } |
3326 | .main__employers-item { | 3326 | .main__employers-item { |
3327 | display: -webkit-box; | 3327 | display: -webkit-box; |
3328 | display: -ms-flexbox; | 3328 | display: -ms-flexbox; |
3329 | display: flex; | 3329 | display: flex; |
3330 | -webkit-box-orient: vertical; | 3330 | -webkit-box-orient: vertical; |
3331 | -webkit-box-direction: normal; | 3331 | -webkit-box-direction: normal; |
3332 | -ms-flex-direction: column; | 3332 | -ms-flex-direction: column; |
3333 | flex-direction: column; | 3333 | flex-direction: column; |
3334 | border: 1px solid #cecece; | 3334 | border: 1px solid #cecece; |
3335 | border-radius: 8px; | 3335 | border-radius: 8px; |
3336 | position: relative; | 3336 | position: relative; |
3337 | overflow: hidden; | 3337 | overflow: hidden; |
3338 | padding: 10px; | 3338 | padding: 10px; |
3339 | padding-top: 50px; | 3339 | padding-top: 50px; |
3340 | padding-bottom: 30px; | 3340 | padding-bottom: 30px; |
3341 | } | 3341 | } |
3342 | @media (min-width: 768px) { | 3342 | @media (min-width: 768px) { |
3343 | .main__employers-item { | 3343 | .main__employers-item { |
3344 | -webkit-box-orient: horizontal; | 3344 | -webkit-box-orient: horizontal; |
3345 | -webkit-box-direction: normal; | 3345 | -webkit-box-direction: normal; |
3346 | -ms-flex-direction: row; | 3346 | -ms-flex-direction: row; |
3347 | flex-direction: row; | 3347 | flex-direction: row; |
3348 | -webkit-box-align: center; | 3348 | -webkit-box-align: center; |
3349 | -ms-flex-align: center; | 3349 | -ms-flex-align: center; |
3350 | align-items: center; | 3350 | align-items: center; |
3351 | -webkit-box-pack: justify; | 3351 | -webkit-box-pack: justify; |
3352 | -ms-flex-pack: justify; | 3352 | -ms-flex-pack: justify; |
3353 | justify-content: space-between; | 3353 | justify-content: space-between; |
3354 | padding: 55px 20px; | 3354 | padding: 55px 20px; |
3355 | } | 3355 | } |
3356 | } | 3356 | } |
3357 | @media (min-width: 1280px) { | 3357 | @media (min-width: 1280px) { |
3358 | .main__employers-item { | 3358 | .main__employers-item { |
3359 | padding-left: 55px; | 3359 | padding-left: 55px; |
3360 | } | 3360 | } |
3361 | } | 3361 | } |
3362 | .main__employers-item-inner { | 3362 | .main__employers-item-inner { |
3363 | display: -webkit-box; | 3363 | display: -webkit-box; |
3364 | display: -ms-flexbox; | 3364 | display: -ms-flexbox; |
3365 | display: flex; | 3365 | display: flex; |
3366 | -webkit-box-orient: vertical; | 3366 | -webkit-box-orient: vertical; |
3367 | -webkit-box-direction: normal; | 3367 | -webkit-box-direction: normal; |
3368 | -ms-flex-direction: column; | 3368 | -ms-flex-direction: column; |
3369 | flex-direction: column; | 3369 | flex-direction: column; |
3370 | } | 3370 | } |
3371 | @media (min-width: 768px) { | 3371 | @media (min-width: 768px) { |
3372 | .main__employers-item-inner { | 3372 | .main__employers-item-inner { |
3373 | width: calc(100% - 200px); | 3373 | width: calc(100% - 200px); |
3374 | padding-right: 40px; | 3374 | padding-right: 40px; |
3375 | } | 3375 | } |
3376 | } | 3376 | } |
3377 | @media (min-width: 992px) { | 3377 | @media (min-width: 992px) { |
3378 | .main__employers-item-inner { | 3378 | .main__employers-item-inner { |
3379 | -webkit-box-orient: horizontal; | 3379 | -webkit-box-orient: horizontal; |
3380 | -webkit-box-direction: normal; | 3380 | -webkit-box-direction: normal; |
3381 | -ms-flex-direction: row; | 3381 | -ms-flex-direction: row; |
3382 | flex-direction: row; | 3382 | flex-direction: row; |
3383 | -webkit-box-align: center; | 3383 | -webkit-box-align: center; |
3384 | -ms-flex-align: center; | 3384 | -ms-flex-align: center; |
3385 | align-items: center; | 3385 | align-items: center; |
3386 | } | 3386 | } |
3387 | } | 3387 | } |
3388 | .main__employers-item-pic { | 3388 | .main__employers-item-pic { |
3389 | height: 30px; | 3389 | height: 30px; |
3390 | position: absolute; | 3390 | position: absolute; |
3391 | top: 10px; | 3391 | top: 10px; |
3392 | left: 10px; | 3392 | left: 10px; |
3393 | } | 3393 | } |
3394 | @media (min-width: 768px) { | 3394 | @media (min-width: 768px) { |
3395 | .main__employers-item-pic { | 3395 | .main__employers-item-pic { |
3396 | position: static; | 3396 | position: static; |
3397 | width: 150px; | 3397 | width: 150px; |
3398 | height: auto; | 3398 | height: auto; |
3399 | max-height: 150px; | 3399 | max-height: 150px; |
3400 | -o-object-fit: contain; | 3400 | -o-object-fit: contain; |
3401 | object-fit: contain; | 3401 | object-fit: contain; |
3402 | } | 3402 | } |
3403 | } | 3403 | } |
3404 | .main__employers-item-body { | 3404 | .main__employers-item-body { |
3405 | font-size: 12px; | 3405 | font-size: 12px; |
3406 | display: -webkit-box; | 3406 | display: -webkit-box; |
3407 | display: -ms-flexbox; | 3407 | display: -ms-flexbox; |
3408 | display: flex; | 3408 | display: flex; |
3409 | -webkit-box-orient: vertical; | 3409 | -webkit-box-orient: vertical; |
3410 | -webkit-box-direction: normal; | 3410 | -webkit-box-direction: normal; |
3411 | -ms-flex-direction: column; | 3411 | -ms-flex-direction: column; |
3412 | flex-direction: column; | 3412 | flex-direction: column; |
3413 | gap: 10px; | 3413 | gap: 10px; |
3414 | } | 3414 | } |
3415 | @media (min-width: 768px) { | 3415 | @media (min-width: 768px) { |
3416 | .main__employers-item-body { | 3416 | .main__employers-item-body { |
3417 | font-size: 16px; | 3417 | font-size: 16px; |
3418 | padding-top: 20px; | 3418 | padding-top: 20px; |
3419 | } | 3419 | } |
3420 | } | 3420 | } |
3421 | @media (min-width: 992px) { | 3421 | @media (min-width: 992px) { |
3422 | .main__employers-item-body { | 3422 | .main__employers-item-body { |
3423 | width: calc(100% - 150px); | 3423 | width: calc(100% - 150px); |
3424 | padding: 0; | 3424 | padding: 0; |
3425 | padding-left: 40px; | 3425 | padding-left: 40px; |
3426 | } | 3426 | } |
3427 | } | 3427 | } |
3428 | .main__employers-item-body b { | 3428 | .main__employers-item-body b { |
3429 | font-weight: 700; | 3429 | font-weight: 700; |
3430 | } | 3430 | } |
3431 | @media (min-width: 768px) { | 3431 | @media (min-width: 768px) { |
3432 | .main__employers-item-body b { | 3432 | .main__employers-item-body b { |
3433 | font-size: 20px; | 3433 | font-size: 20px; |
3434 | } | 3434 | } |
3435 | } | 3435 | } |
3436 | .main__employers-item-body i { | 3436 | .main__employers-item-body i { |
3437 | font-style: normal; | 3437 | font-style: normal; |
3438 | color: #000; | 3438 | color: #000; |
3439 | } | 3439 | } |
3440 | .main__employers-item-more { | 3440 | .main__employers-item-more { |
3441 | position: absolute; | 3441 | position: absolute; |
3442 | top: 10px; | 3442 | top: 10px; |
3443 | right: 10px; | 3443 | right: 10px; |
3444 | } | 3444 | } |
3445 | @media (min-width: 768px) { | 3445 | @media (min-width: 768px) { |
3446 | .main__employers-item-more { | 3446 | .main__employers-item-more { |
3447 | width: 200px; | 3447 | width: 200px; |
3448 | padding: 0; | 3448 | padding: 0; |
3449 | position: static; | 3449 | position: static; |
3450 | } | 3450 | } |
3451 | } | 3451 | } |
3452 | .main__employers-item-label { | 3452 | .main__employers-item-label { |
3453 | background: #4d88d9; | 3453 | background: #4d88d9; |
3454 | color: #fff; | 3454 | color: #fff; |
3455 | border-radius: 6px; | 3455 | border-radius: 6px; |
3456 | width: 100%; | 3456 | width: 100%; |
3457 | height: 20px; | 3457 | height: 20px; |
3458 | display: -webkit-box; | 3458 | display: -webkit-box; |
3459 | display: -ms-flexbox; | 3459 | display: -ms-flexbox; |
3460 | display: flex; | 3460 | display: flex; |
3461 | -webkit-box-align: center; | 3461 | -webkit-box-align: center; |
3462 | -ms-flex-align: center; | 3462 | -ms-flex-align: center; |
3463 | align-items: center; | 3463 | align-items: center; |
3464 | padding: 0 12px; | 3464 | padding: 0 12px; |
3465 | position: absolute; | 3465 | position: absolute; |
3466 | bottom: 0; | 3466 | bottom: 0; |
3467 | left: 0; | 3467 | left: 0; |
3468 | font-size: 12px; | 3468 | font-size: 12px; |
3469 | line-height: 1; | 3469 | line-height: 1; |
3470 | } | 3470 | } |
3471 | @media (min-width: 768px) { | 3471 | @media (min-width: 768px) { |
3472 | .main__employers-item-label { | 3472 | .main__employers-item-label { |
3473 | max-width: 350px; | 3473 | max-width: 350px; |
3474 | height: 30px; | 3474 | height: 30px; |
3475 | font-size: 15px; | 3475 | font-size: 15px; |
3476 | } | 3476 | } |
3477 | } | 3477 | } |
3478 | .main__employers-item-label svg { | 3478 | .main__employers-item-label svg { |
3479 | width: 8px; | 3479 | width: 8px; |
3480 | height: 8px; | 3480 | height: 8px; |
3481 | } | 3481 | } |
3482 | @media (min-width: 768px) { | 3482 | @media (min-width: 768px) { |
3483 | .main__employers-item-label svg { | 3483 | .main__employers-item-label svg { |
3484 | width: 12px; | 3484 | width: 12px; |
3485 | height: 12px; | 3485 | height: 12px; |
3486 | } | 3486 | } |
3487 | } | 3487 | } |
3488 | .main__employers-item-label span { | 3488 | .main__employers-item-label span { |
3489 | overflow: hidden; | 3489 | overflow: hidden; |
3490 | display: -webkit-box; | 3490 | display: -webkit-box; |
3491 | -webkit-box-orient: vertical; | 3491 | -webkit-box-orient: vertical; |
3492 | -webkit-line-clamp: 1; | 3492 | -webkit-line-clamp: 1; |
3493 | width: calc(100% - 8px); | 3493 | width: calc(100% - 8px); |
3494 | padding-left: 6px; | 3494 | padding-left: 6px; |
3495 | } | 3495 | } |
3496 | .main__employers-one { | 3496 | .main__employers-one { |
3497 | display: -webkit-box; | 3497 | display: -webkit-box; |
3498 | display: -ms-flexbox; | 3498 | display: -ms-flexbox; |
3499 | display: flex; | 3499 | display: flex; |
3500 | -webkit-box-orient: vertical; | 3500 | -webkit-box-orient: vertical; |
3501 | -webkit-box-direction: normal; | 3501 | -webkit-box-direction: normal; |
3502 | -ms-flex-direction: column; | 3502 | -ms-flex-direction: column; |
3503 | flex-direction: column; | 3503 | flex-direction: column; |
3504 | gap: 20px; | 3504 | gap: 20px; |
3505 | } | 3505 | } |
3506 | .main__employers-two { | 3506 | .main__employers-two { |
3507 | display: -webkit-box; | 3507 | display: -webkit-box; |
3508 | display: -ms-flexbox; | 3508 | display: -ms-flexbox; |
3509 | display: flex; | 3509 | display: flex; |
3510 | -webkit-box-orient: vertical; | 3510 | -webkit-box-orient: vertical; |
3511 | -webkit-box-direction: normal; | 3511 | -webkit-box-direction: normal; |
3512 | -ms-flex-direction: column; | 3512 | -ms-flex-direction: column; |
3513 | flex-direction: column; | 3513 | flex-direction: column; |
3514 | gap: 20px; | 3514 | gap: 20px; |
3515 | } | 3515 | } |
3516 | @media (min-width: 768px) { | 3516 | @media (min-width: 768px) { |
3517 | .main__employers-two { | 3517 | .main__employers-two { |
3518 | -webkit-box-orient: horizontal; | 3518 | -webkit-box-orient: horizontal; |
3519 | -webkit-box-direction: normal; | 3519 | -webkit-box-direction: normal; |
3520 | -ms-flex-direction: row; | 3520 | -ms-flex-direction: row; |
3521 | flex-direction: row; | 3521 | flex-direction: row; |
3522 | -ms-flex-wrap: wrap; | 3522 | -ms-flex-wrap: wrap; |
3523 | flex-wrap: wrap; | 3523 | flex-wrap: wrap; |
3524 | -webkit-box-align: start; | 3524 | -webkit-box-align: start; |
3525 | -ms-flex-align: start; | 3525 | -ms-flex-align: start; |
3526 | align-items: flex-start; | 3526 | align-items: flex-start; |
3527 | -webkit-box-pack: justify; | 3527 | -webkit-box-pack: justify; |
3528 | -ms-flex-pack: justify; | 3528 | -ms-flex-pack: justify; |
3529 | justify-content: space-between; | 3529 | justify-content: space-between; |
3530 | gap: 20px 0; | 3530 | gap: 20px 0; |
3531 | } | 3531 | } |
3532 | } | 3532 | } |
3533 | .main__employers-two .main__employers-item { | 3533 | .main__employers-two .main__employers-item { |
3534 | width: calc(50% - 10px); | 3534 | width: calc(50% - 10px); |
3535 | -webkit-box-orient: vertical; | 3535 | -webkit-box-orient: vertical; |
3536 | -webkit-box-direction: normal; | 3536 | -webkit-box-direction: normal; |
3537 | -ms-flex-direction: column; | 3537 | -ms-flex-direction: column; |
3538 | flex-direction: column; | 3538 | flex-direction: column; |
3539 | -webkit-box-align: stretch; | 3539 | -webkit-box-align: stretch; |
3540 | -ms-flex-align: stretch; | 3540 | -ms-flex-align: stretch; |
3541 | align-items: stretch; | 3541 | align-items: stretch; |
3542 | padding-top: 30px; | 3542 | padding-top: 30px; |
3543 | } | 3543 | } |
3544 | .main__employers-two .main__employers-item-inner { | 3544 | .main__employers-two .main__employers-item-inner { |
3545 | width: 100%; | 3545 | width: 100%; |
3546 | padding: 0; | 3546 | padding: 0; |
3547 | } | 3547 | } |
3548 | .main__employers-two .main__employers-item-more { | 3548 | .main__employers-two .main__employers-item-more { |
3549 | position: static; | 3549 | position: static; |
3550 | margin-top: 20px; | 3550 | margin-top: 20px; |
3551 | } | 3551 | } |
3552 | @media (min-width: 992px) { | 3552 | @media (min-width: 992px) { |
3553 | .main__employers-two .main__employers-item-more { | 3553 | .main__employers-two .main__employers-item-more { |
3554 | margin-left: 190px; | 3554 | margin-left: 190px; |
3555 | } | 3555 | } |
3556 | } | 3556 | } |
3557 | .main__employers-two .main__employers-item-label { | 3557 | .main__employers-two .main__employers-item-label { |
3558 | max-width: none; | 3558 | max-width: none; |
3559 | } | 3559 | } |
3560 | .main__employer-page { | 3560 | .main__employer-page { |
3561 | display: -webkit-box; | 3561 | display: -webkit-box; |
3562 | display: -ms-flexbox; | 3562 | display: -ms-flexbox; |
3563 | display: flex; | 3563 | display: flex; |
3564 | -webkit-box-orient: vertical; | 3564 | -webkit-box-orient: vertical; |
3565 | -webkit-box-direction: normal; | 3565 | -webkit-box-direction: normal; |
3566 | -ms-flex-direction: column; | 3566 | -ms-flex-direction: column; |
3567 | flex-direction: column; | 3567 | flex-direction: column; |
3568 | gap: 20px; | 3568 | gap: 20px; |
3569 | } | 3569 | } |
3570 | @media (min-width: 768px) { | 3570 | @media (min-width: 768px) { |
3571 | .main__employer-page { | 3571 | .main__employer-page { |
3572 | gap: 30px; | 3572 | gap: 30px; |
3573 | } | 3573 | } |
3574 | } | 3574 | } |
3575 | .main__employer-page-title { | 3575 | .main__employer-page-title { |
3576 | color: #000; | 3576 | color: #000; |
3577 | margin: 0; | 3577 | margin: 0; |
3578 | font-size: 30px; | 3578 | font-size: 30px; |
3579 | } | 3579 | } |
3580 | @media (min-width: 768px) { | 3580 | @media (min-width: 768px) { |
3581 | .main__employer-page-title { | 3581 | .main__employer-page-title { |
3582 | font-size: 36px; | 3582 | font-size: 36px; |
3583 | } | 3583 | } |
3584 | } | 3584 | } |
3585 | @media (min-width: 992px) { | 3585 | @media (min-width: 992px) { |
3586 | .main__employer-page-title { | 3586 | .main__employer-page-title { |
3587 | font-size: 44px; | 3587 | font-size: 44px; |
3588 | } | 3588 | } |
3589 | } | 3589 | } |
3590 | .main__employer-page-item { | 3590 | .main__employer-page-item { |
3591 | display: -webkit-box; | 3591 | display: -webkit-box; |
3592 | display: -ms-flexbox; | 3592 | display: -ms-flexbox; |
3593 | display: flex; | 3593 | display: flex; |
3594 | -webkit-box-orient: vertical; | 3594 | -webkit-box-orient: vertical; |
3595 | -webkit-box-direction: normal; | 3595 | -webkit-box-direction: normal; |
3596 | -ms-flex-direction: column; | 3596 | -ms-flex-direction: column; |
3597 | flex-direction: column; | 3597 | flex-direction: column; |
3598 | gap: 4px; | 3598 | gap: 4px; |
3599 | font-size: 12px; | 3599 | font-size: 12px; |
3600 | line-height: 1.4; | 3600 | line-height: 1.4; |
3601 | width: 190px; | 3601 | width: 190px; |
3602 | } | 3602 | } |
3603 | .main__employer-page-item.main__employer-page-description{ | 3603 | .main__employer-page-item.main__employer-page-description{ |
3604 | width: unset; | 3604 | width: unset; |
3605 | } | 3605 | } |
3606 | .main__employer-page-description p{ | 3606 | .main__employer-page-description p{ |
3607 | margin-bottom: 10px; | 3607 | margin-bottom: 10px; |
3608 | line-height: 25px; | 3608 | line-height: 25px; |
3609 | } | 3609 | } |
3610 | @media (min-width: 768px) { | 3610 | @media (min-width: 768px) { |
3611 | .main__employer-page-item { | 3611 | .main__employer-page-item { |
3612 | font-size: 18px; | 3612 | font-size: 18px; |
3613 | gap: 8px; | 3613 | gap: 8px; |
3614 | } | 3614 | } |
3615 | } | 3615 | } |
3616 | .main__employer-page-item b { | 3616 | .main__employer-page-item b { |
3617 | color: #377d87; | 3617 | color: #377d87; |
3618 | font-size: 14px; | 3618 | font-size: 14px; |
3619 | } | 3619 | } |
3620 | @media (min-width: 768px) { | 3620 | @media (min-width: 768px) { |
3621 | .main__employer-page-item b { | 3621 | .main__employer-page-item b { |
3622 | font-size: 18px; | 3622 | font-size: 18px; |
3623 | } | 3623 | } |
3624 | } | 3624 | } |
3625 | .main__employer-page-item span { | 3625 | .main__employer-page-item span { |
3626 | color: #000; | 3626 | color: #000; |
3627 | } | 3627 | } |
3628 | .main__employer-page-info { | 3628 | .main__employer-page-info { |
3629 | display: -webkit-box; | 3629 | display: -webkit-box; |
3630 | display: -ms-flexbox; | 3630 | display: -ms-flexbox; |
3631 | display: flex; | 3631 | display: flex; |
3632 | -webkit-box-orient: vertical; | 3632 | -webkit-box-orient: vertical; |
3633 | -webkit-box-direction: normal; | 3633 | -webkit-box-direction: normal; |
3634 | -ms-flex-direction: column; | 3634 | -ms-flex-direction: column; |
3635 | flex-direction: column; | 3635 | flex-direction: column; |
3636 | gap: 20px; | 3636 | gap: 20px; |
3637 | } | 3637 | } |
3638 | .main__employer-page-info.row2{ | 3638 | .main__employer-page-info.row2{ |
3639 | justify-content: flex-start; | 3639 | justify-content: flex-start; |
3640 | } | 3640 | } |
3641 | .main__employer-page-info.row2 .main__employer-page-item{ | 3641 | .main__employer-page-info.row2 .main__employer-page-item{ |
3642 | width: 25%; | 3642 | width: 25%; |
3643 | } | 3643 | } |
3644 | @media (min-width: 768px) { | 3644 | @media (min-width: 768px) { |
3645 | .main__employer-page-info { | 3645 | .main__employer-page-info { |
3646 | display: grid; | 3646 | display: grid; |
3647 | grid-template-columns: repeat(2, 1fr); | 3647 | grid-template-columns: repeat(2, 1fr); |
3648 | gap: 30px 40px; | 3648 | gap: 30px 40px; |
3649 | } | 3649 | } |
3650 | } | 3650 | } |
3651 | @media (min-width: 1280px) { | 3651 | @media (min-width: 1280px) { |
3652 | .main__employer-page-info { | 3652 | .main__employer-page-info { |
3653 | display: -webkit-box; | 3653 | display: -webkit-box; |
3654 | display: -ms-flexbox; | 3654 | display: -ms-flexbox; |
3655 | display: flex; | 3655 | display: flex; |
3656 | -webkit-box-orient: horizontal; | 3656 | -webkit-box-orient: horizontal; |
3657 | -webkit-box-direction: normal; | 3657 | -webkit-box-direction: normal; |
3658 | -ms-flex-direction: row; | 3658 | -ms-flex-direction: row; |
3659 | flex-direction: row; | 3659 | flex-direction: row; |
3660 | -webkit-box-align: start; | 3660 | -webkit-box-align: start; |
3661 | -ms-flex-align: start; | 3661 | -ms-flex-align: start; |
3662 | align-items: flex-start; | 3662 | align-items: flex-start; |
3663 | -webkit-box-pack: justify; | 3663 | -webkit-box-pack: justify; |
3664 | -ms-flex-pack: justify; | 3664 | -ms-flex-pack: justify; |
3665 | justify-content: space-between; | 3665 | justify-content: space-between; |
3666 | padding-right: 160px; | 3666 | padding-right: 160px; |
3667 | } | 3667 | } |
3668 | } | 3668 | } |
3669 | @media (min-width: 768px) { | 3669 | @media (min-width: 768px) { |
3670 | .main__employer-page-info .main__employer-page-item b, | 3670 | .main__employer-page-info .main__employer-page-item b, |
3671 | .main__employer-page-info .main__employer-page-item span { | 3671 | .main__employer-page-info .main__employer-page-item span { |
3672 | max-width: 300px; | 3672 | max-width: 300px; |
3673 | } | 3673 | } |
3674 | } | 3674 | } |
3675 | .main__employer-page-tabs { | 3675 | .main__employer-page-tabs { |
3676 | display: -webkit-box; | 3676 | display: -webkit-box; |
3677 | display: -ms-flexbox; | 3677 | display: -ms-flexbox; |
3678 | display: flex; | 3678 | display: flex; |
3679 | -webkit-box-align: center; | 3679 | -webkit-box-align: center; |
3680 | -ms-flex-align: center; | 3680 | -ms-flex-align: center; |
3681 | align-items: center; | 3681 | align-items: center; |
3682 | gap: 20px; | 3682 | gap: 20px; |
3683 | } | 3683 | } |
3684 | @media (min-width: 768px) { | 3684 | @media (min-width: 768px) { |
3685 | .main__employer-page-tabs { | 3685 | .main__employer-page-tabs { |
3686 | margin-top: 20px; | 3686 | margin-top: 20px; |
3687 | } | 3687 | } |
3688 | } | 3688 | } |
3689 | .main__employer-page-tabs-item { | 3689 | .main__employer-page-tabs-item { |
3690 | font-size: 22px; | 3690 | font-size: 22px; |
3691 | font-weight: 700; | 3691 | font-weight: 700; |
3692 | border: none; | 3692 | border: none; |
3693 | background: none; | 3693 | background: none; |
3694 | padding: 0; | 3694 | padding: 0; |
3695 | color: #9c9d9d; | 3695 | color: #9c9d9d; |
3696 | text-decoration: underline; | 3696 | text-decoration: underline; |
3697 | text-decoration-thickness: 1px; | 3697 | text-decoration-thickness: 1px; |
3698 | } | 3698 | } |
3699 | @media (min-width: 768px) { | 3699 | @media (min-width: 768px) { |
3700 | .main__employer-page-tabs-item { | 3700 | .main__employer-page-tabs-item { |
3701 | font-size: 24px; | 3701 | font-size: 24px; |
3702 | } | 3702 | } |
3703 | } | 3703 | } |
3704 | .main__employer-page-tabs-item.active { | 3704 | .main__employer-page-tabs-item.active { |
3705 | color: #377d87; | 3705 | color: #377d87; |
3706 | } | 3706 | } |
3707 | .main__employer-page-body { | 3707 | .main__employer-page-body { |
3708 | display: -webkit-box; | 3708 | display: -webkit-box; |
3709 | display: -ms-flexbox; | 3709 | display: -ms-flexbox; |
3710 | display: flex; | 3710 | display: flex; |
3711 | -webkit-box-orient: vertical; | 3711 | -webkit-box-orient: vertical; |
3712 | -webkit-box-direction: normal; | 3712 | -webkit-box-direction: normal; |
3713 | -ms-flex-direction: column; | 3713 | -ms-flex-direction: column; |
3714 | flex-direction: column; | 3714 | flex-direction: column; |
3715 | margin-top: 10px; | 3715 | margin-top: 10px; |
3716 | } | 3716 | } |
3717 | @media (min-width: 768px) { | 3717 | @media (min-width: 768px) { |
3718 | .main__employer-page-body { | 3718 | .main__employer-page-body { |
3719 | margin-top: 30px; | 3719 | margin-top: 30px; |
3720 | } | 3720 | } |
3721 | } | 3721 | } |
3722 | .main__employer-page-body-item { | 3722 | .main__employer-page-body-item { |
3723 | display: none; | 3723 | display: none; |
3724 | -webkit-box-orient: vertical; | 3724 | -webkit-box-orient: vertical; |
3725 | -webkit-box-direction: normal; | 3725 | -webkit-box-direction: normal; |
3726 | -ms-flex-direction: column; | 3726 | -ms-flex-direction: column; |
3727 | flex-direction: column; | 3727 | flex-direction: column; |
3728 | gap: 20px; | 3728 | gap: 20px; |
3729 | } | 3729 | } |
3730 | .main__employer-page-body-item.showed { | 3730 | .main__employer-page-body-item.showed { |
3731 | display: -webkit-box; | 3731 | display: -webkit-box; |
3732 | display: -ms-flexbox; | 3732 | display: -ms-flexbox; |
3733 | display: flex; | 3733 | display: flex; |
3734 | } | 3734 | } |
3735 | .main__employer-page-one { | 3735 | .main__employer-page-one { |
3736 | display: -webkit-box; | 3736 | display: -webkit-box; |
3737 | display: -ms-flexbox; | 3737 | display: -ms-flexbox; |
3738 | display: flex; | 3738 | display: flex; |
3739 | -webkit-box-orient: vertical; | 3739 | -webkit-box-orient: vertical; |
3740 | -webkit-box-direction: normal; | 3740 | -webkit-box-direction: normal; |
3741 | -ms-flex-direction: column; | 3741 | -ms-flex-direction: column; |
3742 | flex-direction: column; | 3742 | flex-direction: column; |
3743 | gap: 20px; | 3743 | gap: 20px; |
3744 | } | 3744 | } |
3745 | @media (min-width: 768px) { | 3745 | @media (min-width: 768px) { |
3746 | .main__employer-page-one { | 3746 | .main__employer-page-one { |
3747 | display: grid; | 3747 | display: grid; |
3748 | grid-template-columns: repeat(2, 1fr); | 3748 | grid-template-columns: repeat(2, 1fr); |
3749 | } | 3749 | } |
3750 | } | 3750 | } |
3751 | @media (min-width: 992px) { | 3751 | @media (min-width: 992px) { |
3752 | .main__employer-page-one { | 3752 | .main__employer-page-one { |
3753 | grid-template-columns: repeat(3, 1fr); | 3753 | grid-template-columns: repeat(3, 1fr); |
3754 | } | 3754 | } |
3755 | } | 3755 | } |
3756 | @media (min-width: 1280px) { | 3756 | @media (min-width: 1280px) { |
3757 | .main__employer-page-one { | 3757 | .main__employer-page-one { |
3758 | grid-template-columns: repeat(4, 1fr); | 3758 | grid-template-columns: repeat(4, 1fr); |
3759 | gap: 30px 20px; | 3759 | gap: 30px 20px; |
3760 | } | 3760 | } |
3761 | } | 3761 | } |
3762 | .main__employer-page-one-item { | 3762 | .main__employer-page-one-item { |
3763 | display: -webkit-box; | 3763 | display: -webkit-box; |
3764 | display: -ms-flexbox; | 3764 | display: -ms-flexbox; |
3765 | display: flex; | 3765 | display: flex; |
3766 | -webkit-box-orient: vertical; | 3766 | -webkit-box-orient: vertical; |
3767 | -webkit-box-direction: normal; | 3767 | -webkit-box-direction: normal; |
3768 | -ms-flex-direction: column; | 3768 | -ms-flex-direction: column; |
3769 | flex-direction: column; | 3769 | flex-direction: column; |
3770 | gap: 10px; | 3770 | gap: 10px; |
3771 | font-size: 12px; | 3771 | font-size: 12px; |
3772 | position: relative; | 3772 | position: relative; |
3773 | } | 3773 | } |
3774 | @media (min-width: 1280px) { | 3774 | @media (min-width: 1280px) { |
3775 | .main__employer-page-one-item { | 3775 | .main__employer-page-one-item { |
3776 | font-size: 18px; | 3776 | font-size: 18px; |
3777 | } | 3777 | } |
3778 | } | 3778 | } |
3779 | .main__employer-page-one-item img { | 3779 | .main__employer-page-one-item img { |
3780 | border-radius: 10px; | 3780 | border-radius: 10px; |
3781 | -o-object-fit: cover; | 3781 | -o-object-fit: cover; |
3782 | object-fit: cover; | 3782 | object-fit: cover; |
3783 | width: 100%; | 3783 | width: 100%; |
3784 | max-height: 250px; | 3784 | max-height: 250px; |
3785 | aspect-ratio: 247/174; | 3785 | aspect-ratio: 247/174; |
3786 | } | 3786 | } |
3787 | @media (min-width: 1280px) { | 3787 | @media (min-width: 1280px) { |
3788 | .main__employer-page-one-item img { | 3788 | .main__employer-page-one-item img { |
3789 | margin-bottom: 10px; | 3789 | margin-bottom: 10px; |
3790 | } | 3790 | } |
3791 | } | 3791 | } |
3792 | .main__employer-page-one-item b { | 3792 | .main__employer-page-one-item b { |
3793 | font-weight: 700; | 3793 | font-weight: 700; |
3794 | color: #377d87; | 3794 | color: #377d87; |
3795 | } | 3795 | } |
3796 | .main__employer-page-one-item span { | 3796 | .main__employer-page-one-item span { |
3797 | color: #000; | 3797 | color: #000; |
3798 | } | 3798 | } |
3799 | .main__employer-page-one-item i { | 3799 | .main__employer-page-one-item i { |
3800 | font-style: normal; | 3800 | font-style: normal; |
3801 | color: #377d87; | 3801 | color: #377d87; |
3802 | } | 3802 | } |
3803 | .main__employer-page-one-item .del { | 3803 | .main__employer-page-one-item .del { |
3804 | position: absolute; | 3804 | position: absolute; |
3805 | z-index: 1; | 3805 | z-index: 1; |
3806 | top: 8px; | 3806 | top: 8px; |
3807 | left: 8px; | 3807 | left: 8px; |
3808 | } | 3808 | } |
3809 | .main__employer-page-two { | 3809 | .main__employer-page-two { |
3810 | display: -webkit-box; | 3810 | display: -webkit-box; |
3811 | display: -ms-flexbox; | 3811 | display: -ms-flexbox; |
3812 | display: flex; | 3812 | display: flex; |
3813 | -webkit-box-orient: vertical; | 3813 | -webkit-box-orient: vertical; |
3814 | -webkit-box-direction: normal; | 3814 | -webkit-box-direction: normal; |
3815 | -ms-flex-direction: column; | 3815 | -ms-flex-direction: column; |
3816 | flex-direction: column; | 3816 | flex-direction: column; |
3817 | -webkit-box-align: center; | 3817 | -webkit-box-align: center; |
3818 | -ms-flex-align: center; | 3818 | -ms-flex-align: center; |
3819 | align-items: center; | 3819 | align-items: center; |
3820 | gap: 20px; | 3820 | gap: 20px; |
3821 | } | 3821 | } |
3822 | .main__employer-page-two-item { | 3822 | .main__employer-page-two-item { |
3823 | width: 100%; | 3823 | width: 100%; |
3824 | display: -webkit-box; | 3824 | display: -webkit-box; |
3825 | display: -ms-flexbox; | 3825 | display: -ms-flexbox; |
3826 | display: flex; | 3826 | display: flex; |
3827 | -webkit-box-orient: vertical; | 3827 | -webkit-box-orient: vertical; |
3828 | -webkit-box-direction: normal; | 3828 | -webkit-box-direction: normal; |
3829 | -ms-flex-direction: column; | 3829 | -ms-flex-direction: column; |
3830 | flex-direction: column; | 3830 | flex-direction: column; |
3831 | gap: 16px; | 3831 | gap: 16px; |
3832 | padding: 20px 10px; | 3832 | padding: 20px 10px; |
3833 | border-radius: 12px; | 3833 | border-radius: 12px; |
3834 | border: 1px solid #cecece; | 3834 | border: 1px solid #cecece; |
3835 | position: relative; | 3835 | position: relative; |
3836 | overflow: hidden; | 3836 | overflow: hidden; |
3837 | font-size: 12px; | 3837 | font-size: 12px; |
3838 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 3838 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
3839 | } | 3839 | } |
3840 | @media (min-width: 768px) { | 3840 | @media (min-width: 768px) { |
3841 | .main__employer-page-two-item { | 3841 | .main__employer-page-two-item { |
3842 | font-size: 14px; | 3842 | font-size: 14px; |
3843 | padding: 20px; | 3843 | padding: 20px; |
3844 | gap: 24px; | 3844 | gap: 24px; |
3845 | padding-bottom: 35px; | 3845 | padding-bottom: 35px; |
3846 | } | 3846 | } |
3847 | } | 3847 | } |
3848 | @media (min-width: 992px) { | 3848 | @media (min-width: 992px) { |
3849 | .main__employer-page-two-item { | 3849 | .main__employer-page-two-item { |
3850 | font-size: 16px; | 3850 | font-size: 16px; |
3851 | } | 3851 | } |
3852 | } | 3852 | } |
3853 | @media (min-width: 1280px) { | 3853 | @media (min-width: 1280px) { |
3854 | .main__employer-page-two-item { | 3854 | .main__employer-page-two-item { |
3855 | font-size: 18px; | 3855 | font-size: 18px; |
3856 | } | 3856 | } |
3857 | } | 3857 | } |
3858 | .main__employer-page-two-item-toper { | 3858 | .main__employer-page-two-item-toper { |
3859 | display: -webkit-box; | 3859 | display: -webkit-box; |
3860 | display: -ms-flexbox; | 3860 | display: -ms-flexbox; |
3861 | display: flex; | 3861 | display: flex; |
3862 | -webkit-box-align: center; | 3862 | -webkit-box-align: center; |
3863 | -ms-flex-align: center; | 3863 | -ms-flex-align: center; |
3864 | align-items: center; | 3864 | align-items: center; |
3865 | font-size: 22px; | 3865 | font-size: 22px; |
3866 | font-weight: 700; | 3866 | font-weight: 700; |
3867 | color: #000; | 3867 | color: #000; |
3868 | } | 3868 | } |
3869 | @media (min-width: 768px) { | 3869 | @media (min-width: 768px) { |
3870 | .main__employer-page-two-item-toper { | 3870 | .main__employer-page-two-item-toper { |
3871 | font-size: 30px; | 3871 | font-size: 30px; |
3872 | } | 3872 | } |
3873 | } | 3873 | } |
3874 | .main__employer-page-two-item-toper img { | 3874 | .main__employer-page-two-item-toper img { |
3875 | width: 60px; | 3875 | width: 60px; |
3876 | aspect-ratio: 1/1; | 3876 | aspect-ratio: 1/1; |
3877 | -o-object-fit: contain; | 3877 | -o-object-fit: contain; |
3878 | object-fit: contain; | 3878 | object-fit: contain; |
3879 | } | 3879 | } |
3880 | .main__employer-page-two-item-toper span { | 3880 | .main__employer-page-two-item-toper span { |
3881 | width: calc(100% - 60px); | 3881 | width: calc(100% - 60px); |
3882 | padding-left: 10px; | 3882 | padding-left: 10px; |
3883 | } | 3883 | } |
3884 | @media (min-width: 768px) { | 3884 | @media (min-width: 768px) { |
3885 | .main__employer-page-two-item-toper span { | 3885 | .main__employer-page-two-item-toper span { |
3886 | padding-left: 20px; | 3886 | padding-left: 20px; |
3887 | } | 3887 | } |
3888 | } | 3888 | } |
3889 | .main__employer-page-two-item-title { | 3889 | .main__employer-page-two-item-title { |
3890 | font-size: 18px; | 3890 | font-size: 18px; |
3891 | font-weight: 700; | 3891 | font-weight: 700; |
3892 | color: #377d87; | 3892 | color: #377d87; |
3893 | } | 3893 | } |
3894 | @media (min-width: 768px) { | 3894 | @media (min-width: 768px) { |
3895 | .main__employer-page-two-item-title { | 3895 | .main__employer-page-two-item-title { |
3896 | font-size: 24px; | 3896 | font-size: 24px; |
3897 | } | 3897 | } |
3898 | } | 3898 | } |
3899 | .main__employer-page-two-item-text { | 3899 | .main__employer-page-two-item-text { |
3900 | display: -webkit-box; | 3900 | display: -webkit-box; |
3901 | display: -ms-flexbox; | 3901 | display: -ms-flexbox; |
3902 | display: flex; | 3902 | display: flex; |
3903 | -webkit-box-orient: vertical; | 3903 | -webkit-box-orient: vertical; |
3904 | -webkit-box-direction: normal; | 3904 | -webkit-box-direction: normal; |
3905 | -ms-flex-direction: column; | 3905 | -ms-flex-direction: column; |
3906 | flex-direction: column; | 3906 | flex-direction: column; |
3907 | gap: 10px; | 3907 | gap: 10px; |
3908 | } | 3908 | } |
3909 | .main__employer-page-two-item-text-name { | 3909 | .main__employer-page-two-item-text-name { |
3910 | font-weight: 700; | 3910 | font-weight: 700; |
3911 | } | 3911 | } |
3912 | .main__employer-page-two-item-text-body { | 3912 | .main__employer-page-two-item-text-body { |
3913 | color: #000; | 3913 | color: #000; |
3914 | display: -webkit-box; | 3914 | display: -webkit-box; |
3915 | display: -ms-flexbox; | 3915 | display: -ms-flexbox; |
3916 | display: flex; | 3916 | display: flex; |
3917 | -webkit-box-orient: vertical; | 3917 | -webkit-box-orient: vertical; |
3918 | -webkit-box-direction: normal; | 3918 | -webkit-box-direction: normal; |
3919 | -ms-flex-direction: column; | 3919 | -ms-flex-direction: column; |
3920 | flex-direction: column; | 3920 | flex-direction: column; |
3921 | gap: 6px; | 3921 | gap: 6px; |
3922 | padding: 0 10px; | 3922 | padding: 0 10px; |
3923 | } | 3923 | } |
3924 | .main__employer-page-two-item-text-body p { | 3924 | .main__employer-page-two-item-text-body p { |
3925 | margin: 0; | 3925 | margin: 0; |
3926 | } | 3926 | } |
3927 | .main__employer-page-two-item-text-body ul { | 3927 | .main__employer-page-two-item-text-body ul { |
3928 | margin: 0; | 3928 | margin: 0; |
3929 | padding: 0; | 3929 | padding: 0; |
3930 | padding-left: 16px; | 3930 | padding-left: 16px; |
3931 | display: -webkit-box; | 3931 | display: -webkit-box; |
3932 | display: -ms-flexbox; | 3932 | display: -ms-flexbox; |
3933 | display: flex; | 3933 | display: flex; |
3934 | -webkit-box-orient: vertical; | 3934 | -webkit-box-orient: vertical; |
3935 | -webkit-box-direction: normal; | 3935 | -webkit-box-direction: normal; |
3936 | -ms-flex-direction: column; | 3936 | -ms-flex-direction: column; |
3937 | flex-direction: column; | 3937 | flex-direction: column; |
3938 | gap: 6px; | 3938 | gap: 6px; |
3939 | } | 3939 | } |
3940 | @media (min-width: 768px) { | 3940 | @media (min-width: 768px) { |
3941 | .main__employer-page-two-item-text-body ul { | 3941 | .main__employer-page-two-item-text-body ul { |
3942 | margin: 0 5px; | 3942 | margin: 0 5px; |
3943 | } | 3943 | } |
3944 | } | 3944 | } |
3945 | .main__employer-page-two-item-text-body ul span, | 3945 | .main__employer-page-two-item-text-body ul span, |
3946 | .main__employer-page-two-item-text-body ul a { | 3946 | .main__employer-page-two-item-text-body ul a { |
3947 | color: #000; | 3947 | color: #000; |
3948 | position: relative; | 3948 | position: relative; |
3949 | } | 3949 | } |
3950 | .main__employer-page-two-item-text-body ul a:hover { | 3950 | .main__employer-page-two-item-text-body ul a:hover { |
3951 | color: #377d87; | 3951 | color: #377d87; |
3952 | } | 3952 | } |
3953 | .main__employer-page-two-item-text-body p + ul { | 3953 | .main__employer-page-two-item-text-body p + ul { |
3954 | margin-top: 10px; | 3954 | margin-top: 10px; |
3955 | } | 3955 | } |
3956 | .main__employer-page-two-item-text-links { | 3956 | .main__employer-page-two-item-text-links { |
3957 | display: -webkit-box; | 3957 | display: -webkit-box; |
3958 | display: -ms-flexbox; | 3958 | display: -ms-flexbox; |
3959 | display: flex; | 3959 | display: flex; |
3960 | -webkit-box-orient: vertical; | 3960 | -webkit-box-orient: vertical; |
3961 | -webkit-box-direction: normal; | 3961 | -webkit-box-direction: normal; |
3962 | -ms-flex-direction: column; | 3962 | -ms-flex-direction: column; |
3963 | flex-direction: column; | 3963 | flex-direction: column; |
3964 | -webkit-box-align: start; | 3964 | -webkit-box-align: start; |
3965 | -ms-flex-align: start; | 3965 | -ms-flex-align: start; |
3966 | align-items: flex-start; | 3966 | align-items: flex-start; |
3967 | gap: 10px; | 3967 | gap: 10px; |
3968 | padding: 0 10px; | 3968 | padding: 0 10px; |
3969 | font-weight: 700; | 3969 | font-weight: 700; |
3970 | margin-top: 5px; | 3970 | margin-top: 5px; |
3971 | } | 3971 | } |
3972 | @media (min-width: 768px) { | 3972 | @media (min-width: 768px) { |
3973 | .main__employer-page-two-item-text-links { | 3973 | .main__employer-page-two-item-text-links { |
3974 | gap: 20px; | 3974 | gap: 20px; |
3975 | } | 3975 | } |
3976 | } | 3976 | } |
3977 | .main__employer-page-two-item-text-links a { | 3977 | .main__employer-page-two-item-text-links a { |
3978 | color: #4d88d9; | 3978 | color: #4d88d9; |
3979 | } | 3979 | } |
3980 | .main__employer-page-two-item-text-links a:hover { | 3980 | .main__employer-page-two-item-text-links a:hover { |
3981 | color: #377d87; | 3981 | color: #377d87; |
3982 | } | 3982 | } |
3983 | .main__employer-page-two-item-tags { | 3983 | .main__employer-page-two-item-tags { |
3984 | color: #4d88d9; | 3984 | color: #4d88d9; |
3985 | font-weight: 500; | 3985 | font-weight: 500; |
3986 | display: -webkit-box; | 3986 | display: -webkit-box; |
3987 | display: -ms-flexbox; | 3987 | display: -ms-flexbox; |
3988 | display: flex; | 3988 | display: flex; |
3989 | -webkit-box-align: center; | 3989 | -webkit-box-align: center; |
3990 | -ms-flex-align: center; | 3990 | -ms-flex-align: center; |
3991 | align-items: center; | 3991 | align-items: center; |
3992 | -ms-flex-wrap: wrap; | 3992 | -ms-flex-wrap: wrap; |
3993 | flex-wrap: wrap; | 3993 | flex-wrap: wrap; |
3994 | gap: 10px 20px; | 3994 | gap: 10px 20px; |
3995 | } | 3995 | } |
3996 | @media (min-width: 768px) { | 3996 | @media (min-width: 768px) { |
3997 | .main__employer-page-two-item-tags { | 3997 | .main__employer-page-two-item-tags { |
3998 | font-size: 14px; | 3998 | font-size: 14px; |
3999 | } | 3999 | } |
4000 | } | 4000 | } |
4001 | .main__employer-page-two-item-buttons { | 4001 | .main__employer-page-two-item-buttons { |
4002 | display: grid; | 4002 | display: grid; |
4003 | grid-template-columns: repeat(2, 1fr); | 4003 | grid-template-columns: repeat(2, 1fr); |
4004 | gap: 20px; | 4004 | gap: 20px; |
4005 | } | 4005 | } |
4006 | @media (min-width: 768px) { | 4006 | @media (min-width: 768px) { |
4007 | .main__employer-page-two-item-button { | 4007 | .main__employer-page-two-item-button { |
4008 | position: absolute; | 4008 | position: absolute; |
4009 | bottom: 20px; | 4009 | bottom: 20px; |
4010 | left: 20px; | 4010 | left: 20px; |
4011 | width: 200px; | 4011 | width: 200px; |
4012 | padding: 0; | 4012 | padding: 0; |
4013 | } | 4013 | } |
4014 | } | 4014 | } |
4015 | @media (min-width: 768px) { | 4015 | @media (min-width: 768px) { |
4016 | .main__employer-page-two-item-button + .main__employer-page-two-item-button { | 4016 | .main__employer-page-two-item-button + .main__employer-page-two-item-button { |
4017 | left: auto; | 4017 | left: auto; |
4018 | right: 20px; | 4018 | right: 20px; |
4019 | } | 4019 | } |
4020 | } | 4020 | } |
4021 | .main__employer-page-two-item-bottom { | 4021 | .main__employer-page-two-item-bottom { |
4022 | display: -webkit-box; | 4022 | display: -webkit-box; |
4023 | display: -ms-flexbox; | 4023 | display: -ms-flexbox; |
4024 | display: flex; | 4024 | display: flex; |
4025 | -webkit-box-align: center; | 4025 | -webkit-box-align: center; |
4026 | -ms-flex-align: center; | 4026 | -ms-flex-align: center; |
4027 | align-items: center; | 4027 | align-items: center; |
4028 | -webkit-box-pack: justify; | 4028 | -webkit-box-pack: justify; |
4029 | -ms-flex-pack: justify; | 4029 | -ms-flex-pack: justify; |
4030 | justify-content: space-between; | 4030 | justify-content: space-between; |
4031 | } | 4031 | } |
4032 | .main__employer-page-two-item-bottom-date { | 4032 | .main__employer-page-two-item-bottom-date { |
4033 | color: #000; | 4033 | color: #000; |
4034 | } | 4034 | } |
4035 | @media (min-width: 768px) { | 4035 | @media (min-width: 768px) { |
4036 | .main__employer-page-two-item-bottom-date { | 4036 | .main__employer-page-two-item-bottom-date { |
4037 | position: absolute; | 4037 | position: absolute; |
4038 | bottom: 20px; | 4038 | bottom: 20px; |
4039 | right: 240px; | 4039 | right: 240px; |
4040 | height: 42px; | 4040 | height: 42px; |
4041 | display: -webkit-box; | 4041 | display: -webkit-box; |
4042 | display: -ms-flexbox; | 4042 | display: -ms-flexbox; |
4043 | display: flex; | 4043 | display: flex; |
4044 | -webkit-box-align: center; | 4044 | -webkit-box-align: center; |
4045 | -ms-flex-align: center; | 4045 | -ms-flex-align: center; |
4046 | align-items: center; | 4046 | align-items: center; |
4047 | } | 4047 | } |
4048 | } | 4048 | } |
4049 | @media (min-width: 992px) { | 4049 | @media (min-width: 992px) { |
4050 | .main__employer-page-two-item-bottom-date { | 4050 | .main__employer-page-two-item-bottom-date { |
4051 | font-size: 16px; | 4051 | font-size: 16px; |
4052 | } | 4052 | } |
4053 | } | 4053 | } |
4054 | @media (min-width: 768px) { | 4054 | @media (min-width: 768px) { |
4055 | .main__employer-page-two-item-bottom-like { | 4055 | .main__employer-page-two-item-bottom-like { |
4056 | position: absolute; | 4056 | position: absolute; |
4057 | bottom: 20px; | 4057 | bottom: 20px; |
4058 | left: 240px; | 4058 | left: 240px; |
4059 | } | 4059 | } |
4060 | } | 4060 | } |
4061 | @media (min-width: 768px) { | 4061 | @media (min-width: 768px) { |
4062 | .main__employer-page-two-more { | 4062 | .main__employer-page-two-more { |
4063 | margin-top: 10px; | 4063 | margin-top: 10px; |
4064 | padding: 0; | 4064 | padding: 0; |
4065 | width: 200px; | 4065 | width: 200px; |
4066 | } | 4066 | } |
4067 | } | 4067 | } |
4068 | .main__employer-page-two .main__employer-page-two-item { | 4068 | .main__employer-page-two .main__employer-page-two-item { |
4069 | /* display: none;*/ | 4069 | /* display: none;*/ |
4070 | } | 4070 | } |
4071 | .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) { | 4071 | .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) { |
4072 | display: -webkit-box; | 4072 | display: -webkit-box; |
4073 | display: -ms-flexbox; | 4073 | display: -ms-flexbox; |
4074 | display: flex; | 4074 | display: flex; |
4075 | } | 4075 | } |
4076 | .main__employer-page-two.active .main__employer-page-two-item { | 4076 | .main__employer-page-two.active .main__employer-page-two-item { |
4077 | display: -webkit-box; | 4077 | display: -webkit-box; |
4078 | display: -ms-flexbox; | 4078 | display: -ms-flexbox; |
4079 | display: flex; | 4079 | display: flex; |
4080 | } | 4080 | } |
4081 | .main__resume-base { | 4081 | .main__resume-base { |
4082 | display: -webkit-box; | 4082 | display: -webkit-box; |
4083 | display: -ms-flexbox; | 4083 | display: -ms-flexbox; |
4084 | display: flex; | 4084 | display: flex; |
4085 | -webkit-box-orient: vertical; | 4085 | -webkit-box-orient: vertical; |
4086 | -webkit-box-direction: normal; | 4086 | -webkit-box-direction: normal; |
4087 | -ms-flex-direction: column; | 4087 | -ms-flex-direction: column; |
4088 | flex-direction: column; | 4088 | flex-direction: column; |
4089 | color: #000; | 4089 | color: #000; |
4090 | } | 4090 | } |
4091 | .main__resume-base-body { | 4091 | .main__resume-base-body { |
4092 | display: none; | 4092 | display: none; |
4093 | -webkit-box-orient: vertical; | 4093 | -webkit-box-orient: vertical; |
4094 | -webkit-box-direction: normal; | 4094 | -webkit-box-direction: normal; |
4095 | -ms-flex-direction: column; | 4095 | -ms-flex-direction: column; |
4096 | flex-direction: column; | 4096 | flex-direction: column; |
4097 | margin-top: 10px; | 4097 | margin-top: 10px; |
4098 | } | 4098 | } |
4099 | @media (min-width: 768px) { | 4099 | @media (min-width: 768px) { |
4100 | .main__resume-base-body { | 4100 | .main__resume-base-body { |
4101 | margin-top: 30px; | 4101 | margin-top: 30px; |
4102 | } | 4102 | } |
4103 | } | 4103 | } |
4104 | .main__resume-base-body.showed { | 4104 | .main__resume-base-body.showed { |
4105 | display: -webkit-box; | 4105 | display: -webkit-box; |
4106 | display: -ms-flexbox; | 4106 | display: -ms-flexbox; |
4107 | display: flex; | 4107 | display: flex; |
4108 | } | 4108 | } |
4109 | .main__resume-base-body-one { | 4109 | .main__resume-base-body-one { |
4110 | display: -webkit-box; | 4110 | display: -webkit-box; |
4111 | display: -ms-flexbox; | 4111 | display: -ms-flexbox; |
4112 | display: flex; | 4112 | display: flex; |
4113 | -webkit-box-orient: vertical; | 4113 | -webkit-box-orient: vertical; |
4114 | -webkit-box-direction: normal; | 4114 | -webkit-box-direction: normal; |
4115 | -ms-flex-direction: column; | 4115 | -ms-flex-direction: column; |
4116 | flex-direction: column; | 4116 | flex-direction: column; |
4117 | -webkit-box-align: center; | 4117 | -webkit-box-align: center; |
4118 | -ms-flex-align: center; | 4118 | -ms-flex-align: center; |
4119 | align-items: center; | 4119 | align-items: center; |
4120 | gap: 20px; | 4120 | gap: 20px; |
4121 | } | 4121 | } |
4122 | @media (min-width: 768px) { | 4122 | @media (min-width: 768px) { |
4123 | .main__resume-base-body-one { | 4123 | .main__resume-base-body-one { |
4124 | gap: 30px; | 4124 | gap: 30px; |
4125 | } | 4125 | } |
4126 | } | 4126 | } |
4127 | .main__resume-base-body-two { | 4127 | .main__resume-base-body-two { |
4128 | display: -webkit-box; | 4128 | display: -webkit-box; |
4129 | display: -ms-flexbox; | 4129 | display: -ms-flexbox; |
4130 | display: flex; | 4130 | display: flex; |
4131 | -webkit-box-orient: vertical; | 4131 | -webkit-box-orient: vertical; |
4132 | -webkit-box-direction: normal; | 4132 | -webkit-box-direction: normal; |
4133 | -ms-flex-direction: column; | 4133 | -ms-flex-direction: column; |
4134 | flex-direction: column; | 4134 | flex-direction: column; |
4135 | gap: 20px; | 4135 | gap: 20px; |
4136 | } | 4136 | } |
4137 | @media (min-width: 768px) { | 4137 | @media (min-width: 768px) { |
4138 | .main__resume-base-body-two { | 4138 | .main__resume-base-body-two { |
4139 | -webkit-box-orient: horizontal; | 4139 | -webkit-box-orient: horizontal; |
4140 | -webkit-box-direction: normal; | 4140 | -webkit-box-direction: normal; |
4141 | -ms-flex-direction: row; | 4141 | -ms-flex-direction: row; |
4142 | flex-direction: row; | 4142 | flex-direction: row; |
4143 | -webkit-box-pack: justify; | 4143 | -webkit-box-pack: justify; |
4144 | -ms-flex-pack: justify; | 4144 | -ms-flex-pack: justify; |
4145 | justify-content: space-between; | 4145 | justify-content: space-between; |
4146 | -webkit-box-align: start; | 4146 | -webkit-box-align: start; |
4147 | -ms-flex-align: start; | 4147 | -ms-flex-align: start; |
4148 | align-items: flex-start; | 4148 | align-items: flex-start; |
4149 | -ms-flex-wrap: wrap; | 4149 | -ms-flex-wrap: wrap; |
4150 | flex-wrap: wrap; | 4150 | flex-wrap: wrap; |
4151 | gap: 30px 0; | 4151 | gap: 30px 0; |
4152 | } | 4152 | } |
4153 | } | 4153 | } |
4154 | @media (min-width: 768px) { | 4154 | @media (min-width: 768px) { |
4155 | .main__resume-base-body-two .main__resume-base-body-item { | 4155 | .main__resume-base-body-two .main__resume-base-body-item { |
4156 | width: calc(50% - 10px); | 4156 | width: calc(50% - 10px); |
4157 | } | 4157 | } |
4158 | } | 4158 | } |
4159 | .main__resume-base-body-two .main__resume-base-body-item-wrapper { | 4159 | .main__resume-base-body-two .main__resume-base-body-item-wrapper { |
4160 | -webkit-box-orient: vertical; | 4160 | -webkit-box-orient: vertical; |
4161 | -webkit-box-direction: normal; | 4161 | -webkit-box-direction: normal; |
4162 | -ms-flex-direction: column; | 4162 | -ms-flex-direction: column; |
4163 | flex-direction: column; | 4163 | flex-direction: column; |
4164 | } | 4164 | } |
4165 | .main__resume-base-body-item { | 4165 | .main__resume-base-body-item { |
4166 | width: 100%; | 4166 | width: 100%; |
4167 | display: -webkit-box; | 4167 | display: -webkit-box; |
4168 | display: -ms-flexbox; | 4168 | display: -ms-flexbox; |
4169 | display: flex; | 4169 | display: flex; |
4170 | -webkit-box-orient: vertical; | 4170 | -webkit-box-orient: vertical; |
4171 | -webkit-box-direction: normal; | 4171 | -webkit-box-direction: normal; |
4172 | -ms-flex-direction: column; | 4172 | -ms-flex-direction: column; |
4173 | flex-direction: column; | 4173 | flex-direction: column; |
4174 | gap: 20px; | 4174 | gap: 20px; |
4175 | position: relative; | 4175 | position: relative; |
4176 | border: 1px solid #377d87; | 4176 | border: 1px solid #377d87; |
4177 | border-radius: 8px; | 4177 | border-radius: 8px; |
4178 | padding: 10px; | 4178 | padding: 10px; |
4179 | -webkit-box-align: center; | 4179 | -webkit-box-align: center; |
4180 | -ms-flex-align: center; | 4180 | -ms-flex-align: center; |
4181 | align-items: center; | 4181 | align-items: center; |
4182 | } | 4182 | } |
4183 | @media (min-width: 768px) { | 4183 | @media (min-width: 768px) { |
4184 | .main__resume-base-body-item { | 4184 | .main__resume-base-body-item { |
4185 | padding: 20px; | 4185 | padding: 20px; |
4186 | } | 4186 | } |
4187 | } | 4187 | } |
4188 | .main__resume-base-body-item-buttons { | 4188 | .main__resume-base-body-item-buttons { |
4189 | margin-top: 10px; | 4189 | margin-top: 10px; |
4190 | } | 4190 | } |
4191 | .main__resume-base-body-item-buttons button, a.main__resume-base-body-item-link{ | 4191 | .main__resume-base-body-item-buttons button, a.main__resume-base-body-item-link{ |
4192 | width: 100%; | 4192 | width: 100%; |
4193 | margin-bottom: 10px; | 4193 | margin-bottom: 10px; |
4194 | } | 4194 | } |
4195 | .main__resume-base-body-item-buttons a.main__resume-base-body-item-link{ | 4195 | .main__resume-base-body-item-buttons a.main__resume-base-body-item-link{ |
4196 | background: #377d87; | 4196 | background: #377d87; |
4197 | color: #fff; | 4197 | color: #fff; |
4198 | } | 4198 | } |
4199 | .main__resume-base-body-item-buttons .chat.active{ | 4199 | .main__resume-base-body-item-buttons .chat.active{ |
4200 | background: #fff; | 4200 | background: #fff; |
4201 | color: #377d87; | 4201 | color: #377d87; |
4202 | } | 4202 | } |
4203 | .main__resume-base-body-item-buttons button.like.active{ | 4203 | .main__resume-base-body-item-buttons button.like.active{ |
4204 | background-color: #ffffff; | 4204 | background-color: #ffffff; |
4205 | color: #eb5757; | 4205 | color: #eb5757; |
4206 | } | 4206 | } |
4207 | .main__resume-base-body-item-buttons button span{ | 4207 | .main__resume-base-body-item-buttons button span{ |
4208 | margin-left: 10px; | 4208 | margin-left: 10px; |
4209 | } | 4209 | } |
4210 | .main__resume-base-body-item-buttons .like .in-favorites{ | 4210 | .main__resume-base-body-item-buttons .like .in-favorites{ |
4211 | display: none; | 4211 | display: none; |
4212 | } | 4212 | } |
4213 | .main__resume-base-body-item-buttons .like.active .in-favorites{ | 4213 | .main__resume-base-body-item-buttons .like.active .in-favorites{ |
4214 | display: block; | 4214 | display: block; |
4215 | color: #eb5757; | 4215 | color: #eb5757; |
4216 | } | 4216 | } |
4217 | .main__resume-base-body-item-buttons .like.active .to-favorites{ | 4217 | .main__resume-base-body-item-buttons .like.active .to-favorites{ |
4218 | display: none; | 4218 | display: none; |
4219 | } | 4219 | } |
4220 | .main__resume-base-body-item-wrapper { | 4220 | .main__resume-base-body-item-wrapper { |
4221 | display: -webkit-box; | 4221 | display: -webkit-box; |
4222 | display: -ms-flexbox; | 4222 | display: -ms-flexbox; |
4223 | display: flex; | 4223 | display: flex; |
4224 | -webkit-box-orient: vertical; | 4224 | -webkit-box-orient: vertical; |
4225 | -webkit-box-direction: normal; | 4225 | -webkit-box-direction: normal; |
4226 | -ms-flex-direction: column; | 4226 | -ms-flex-direction: column; |
4227 | flex-direction: column; | 4227 | flex-direction: column; |
4228 | -webkit-box-align: start; | 4228 | -webkit-box-align: start; |
4229 | -ms-flex-align: start; | 4229 | -ms-flex-align: start; |
4230 | align-items: flex-start; | 4230 | align-items: flex-start; |
4231 | gap: 20px; | 4231 | gap: 20px; |
4232 | width: 100%; | 4232 | width: 100%; |
4233 | } | 4233 | } |
4234 | @media (min-width: 768px) { | 4234 | @media (min-width: 768px) { |
4235 | .main__resume-base-body-item-wrapper { | 4235 | .main__resume-base-body-item-wrapper { |
4236 | -webkit-box-orient: horizontal; | 4236 | -webkit-box-orient: horizontal; |
4237 | -webkit-box-direction: normal; | 4237 | -webkit-box-direction: normal; |
4238 | -ms-flex-direction: row; | 4238 | -ms-flex-direction: row; |
4239 | flex-direction: row; | 4239 | flex-direction: row; |
4240 | } | 4240 | } |
4241 | } | 4241 | } |
4242 | .main__resume-base-body-item-photo { | 4242 | .main__resume-base-body-item-photo { |
4243 | width: 180px; | 4243 | width: 180px; |
4244 | aspect-ratio: 1/1; | 4244 | aspect-ratio: 1/1; |
4245 | -o-object-fit: cover; | 4245 | -o-object-fit: cover; |
4246 | object-fit: cover; | 4246 | object-fit: cover; |
4247 | border-radius: 8px; | 4247 | border-radius: 8px; |
4248 | } | 4248 | } |
4249 | @media (min-width: 768px) { | 4249 | @media (min-width: 768px) { |
4250 | .main__resume-base-body-item-photo { | 4250 | .main__resume-base-body-item-photo { |
4251 | width: 210px; | 4251 | width: 210px; |
4252 | } | 4252 | } |
4253 | } | 4253 | } |
4254 | .main__resume-base-body-item-inner { | 4254 | .main__resume-base-body-item-inner { |
4255 | display: -webkit-box; | 4255 | display: -webkit-box; |
4256 | display: -ms-flexbox; | 4256 | display: -ms-flexbox; |
4257 | display: flex; | 4257 | display: flex; |
4258 | -webkit-box-orient: vertical; | 4258 | -webkit-box-orient: vertical; |
4259 | -webkit-box-direction: normal; | 4259 | -webkit-box-direction: normal; |
4260 | -ms-flex-direction: column; | 4260 | -ms-flex-direction: column; |
4261 | flex-direction: column; | 4261 | flex-direction: column; |
4262 | gap: 10px; | 4262 | gap: 10px; |
4263 | width: 100%; | 4263 | width: 100%; |
4264 | row-gap: 10px; | 4264 | row-gap: 10px; |
4265 | } | 4265 | } |
4266 | .main__resume-base-body-item-inner .horizontal{ | 4266 | .main__resume-base-body-item-inner .horizontal{ |
4267 | -webkit-box-orient: horizontal; | 4267 | -webkit-box-orient: horizontal; |
4268 | -ms-flex-direction: unset; | 4268 | -ms-flex-direction: unset; |
4269 | flex-direction: row; | 4269 | flex-direction: row; |
4270 | align-items: start; | 4270 | align-items: start; |
4271 | } | 4271 | } |
4272 | .main__resume-base-item-status{ | 4272 | .main__resume-base-item-status{ |
4273 | width: fit-content; | 4273 | width: fit-content; |
4274 | background-color: #e6e6e6; | 4274 | background-color: #e6e6e6; |
4275 | font-weight: bold; | 4275 | font-weight: bold; |
4276 | padding: 5px 10px; | 4276 | padding: 5px 10px; |
4277 | border-radius: 8px; | 4277 | border-radius: 8px; |
4278 | } | 4278 | } |
4279 | .main__resume-base-item-status.looking-for-job{ | 4279 | .main__resume-base-item-status.looking-for-job{ |
4280 | background-color: #eb5757; | 4280 | background-color: #eb5757; |
4281 | color: #fff; | 4281 | color: #fff; |
4282 | } | 4282 | } |
4283 | .main__resume-base-item-updated-at{ | 4283 | .main__resume-base-item-updated-at{ |
4284 | padding: 5px 10px; | 4284 | padding: 5px 10px; |
4285 | border-radius: 8px; | 4285 | border-radius: 8px; |
4286 | border: 1px #e6e6e6 solid; | 4286 | border: 1px #e6e6e6 solid; |
4287 | } | 4287 | } |
4288 | @media (min-width: 768px) { | 4288 | @media (min-width: 768px) { |
4289 | .main__resume-base-body-item-inner { | 4289 | .main__resume-base-body-item-inner { |
4290 | gap: 16px; | 4290 | gap: 16px; |
4291 | padding-right: 50px; | 4291 | padding-right: 50px; |
4292 | } | 4292 | } |
4293 | } | 4293 | } |
4294 | @media (min-width: 992px) { | 4294 | @media (min-width: 992px) { |
4295 | .main__resume-base-body-item-inner { | 4295 | .main__resume-base-body-item-inner { |
4296 | display: grid; | 4296 | display: grid; |
4297 | grid-template-columns: repeat(2, 1fr); | 4297 | grid-template-columns: repeat(2, 1fr); |
4298 | gap: 30px; | 4298 | gap: 30px; |
4299 | row-gap: 10px; | 4299 | row-gap: 10px; |
4300 | } | 4300 | } |
4301 | } | 4301 | } |
4302 | .main__resume-base-body-item-inner div { | 4302 | .main__resume-base-body-item-inner div { |
4303 | display: -webkit-box; | 4303 | display: -webkit-box; |
4304 | display: -ms-flexbox; | 4304 | display: -ms-flexbox; |
4305 | display: flex; | 4305 | display: flex; |
4306 | -webkit-box-orient: vertical; | 4306 | -webkit-box-orient: vertical; |
4307 | -webkit-box-direction: normal; | 4307 | -webkit-box-direction: normal; |
4308 | -ms-flex-direction: column; | 4308 | -ms-flex-direction: column; |
4309 | flex-direction: column; | 4309 | flex-direction: column; |
4310 | gap: 4px; | 4310 | gap: 4px; |
4311 | font-size: 12px; | 4311 | font-size: 12px; |
4312 | } | 4312 | } |
4313 | @media (min-width: 768px) { | 4313 | @media (min-width: 768px) { |
4314 | .main__resume-base-body-item-inner div { | 4314 | .main__resume-base-body-item-inner div { |
4315 | font-size: 16px; | 4315 | font-size: 16px; |
4316 | } | 4316 | } |
4317 | } | 4317 | } |
4318 | .main__resume-base-body-item-inner b { | 4318 | .main__resume-base-body-item-inner b { |
4319 | color: #377d87; | 4319 | color: #377d87; |
4320 | font-size: 14px; | 4320 | font-size: 14px; |
4321 | } | 4321 | } |
4322 | @media (min-width: 768px) { | 4322 | @media (min-width: 768px) { |
4323 | .main__resume-base-body-item-inner b { | 4323 | .main__resume-base-body-item-inner b { |
4324 | font-size: 18px; | 4324 | font-size: 18px; |
4325 | } | 4325 | } |
4326 | } | 4326 | } |
4327 | .main__resume-base-body-item-link { | 4327 | .main__resume-base-body-item-link { |
4328 | width: 100%; | 4328 | width: 100%; |
4329 | padding: 0; | 4329 | padding: 0; |
4330 | } | 4330 | } |
4331 | @media (min-width: 768px) { | 4331 | @media (min-width: 768px) { |
4332 | .main__resume-base-body-item-link { | 4332 | .main__resume-base-body-item-link { |
4333 | width: 200px; | 4333 | width: 200px; |
4334 | } | 4334 | } |
4335 | } | 4335 | } |
4336 | .main__spoiler { | 4336 | .main__spoiler { |
4337 | overflow: hidden; | 4337 | overflow: hidden; |
4338 | border-radius: 8px; | 4338 | border-radius: 8px; |
4339 | display: -webkit-box; | 4339 | display: -webkit-box; |
4340 | display: -ms-flexbox; | 4340 | display: -ms-flexbox; |
4341 | display: flex; | 4341 | display: flex; |
4342 | -webkit-box-orient: vertical; | 4342 | -webkit-box-orient: vertical; |
4343 | -webkit-box-direction: normal; | 4343 | -webkit-box-direction: normal; |
4344 | -ms-flex-direction: column; | 4344 | -ms-flex-direction: column; |
4345 | flex-direction: column; | 4345 | flex-direction: column; |
4346 | } | 4346 | } |
4347 | .main__spoiler-toper { | 4347 | .main__spoiler-toper { |
4348 | background: #377d87; | 4348 | background: #377d87; |
4349 | height: 30px; | 4349 | height: 30px; |
4350 | display: -webkit-box; | 4350 | display: -webkit-box; |
4351 | display: -ms-flexbox; | 4351 | display: -ms-flexbox; |
4352 | display: flex; | 4352 | display: flex; |
4353 | -webkit-box-align: center; | 4353 | -webkit-box-align: center; |
4354 | -ms-flex-align: center; | 4354 | -ms-flex-align: center; |
4355 | align-items: center; | 4355 | align-items: center; |
4356 | -webkit-box-pack: center; | 4356 | -webkit-box-pack: center; |
4357 | -ms-flex-pack: center; | 4357 | -ms-flex-pack: center; |
4358 | justify-content: center; | 4358 | justify-content: center; |
4359 | color: #fff; | 4359 | color: #fff; |
4360 | font-size: 12px; | 4360 | font-size: 12px; |
4361 | font-weight: 700; | 4361 | font-weight: 700; |
4362 | padding: 0 30px; | 4362 | padding: 0 30px; |
4363 | border: none; | 4363 | border: none; |
4364 | position: relative; | 4364 | position: relative; |
4365 | } | 4365 | } |
4366 | @media (min-width: 768px) { | 4366 | @media (min-width: 768px) { |
4367 | .main__spoiler-toper { | 4367 | .main__spoiler-toper { |
4368 | font-size: 18px; | 4368 | font-size: 18px; |
4369 | height: 50px; | 4369 | height: 50px; |
4370 | padding: 0 60px; | 4370 | padding: 0 60px; |
4371 | } | 4371 | } |
4372 | } | 4372 | } |
4373 | .main__spoiler-toper:before, .main__spoiler-toper:after { | 4373 | .main__spoiler-toper:before, .main__spoiler-toper:after { |
4374 | content: ""; | 4374 | content: ""; |
4375 | background: #fff; | 4375 | background: #fff; |
4376 | border-radius: 999px; | 4376 | border-radius: 999px; |
4377 | width: 10px; | 4377 | width: 10px; |
4378 | height: 1px; | 4378 | height: 1px; |
4379 | position: absolute; | 4379 | position: absolute; |
4380 | top: 50%; | 4380 | top: 50%; |
4381 | right: 10px; | 4381 | right: 10px; |
4382 | -webkit-transition: 0.3s; | 4382 | -webkit-transition: 0.3s; |
4383 | transition: 0.3s; | 4383 | transition: 0.3s; |
4384 | -webkit-transform: translate(0, -50%); | 4384 | -webkit-transform: translate(0, -50%); |
4385 | -ms-transform: translate(0, -50%); | 4385 | -ms-transform: translate(0, -50%); |
4386 | transform: translate(0, -50%); | 4386 | transform: translate(0, -50%); |
4387 | } | 4387 | } |
4388 | @media (min-width: 768px) { | 4388 | @media (min-width: 768px) { |
4389 | .main__spoiler-toper:before, .main__spoiler-toper:after { | 4389 | .main__spoiler-toper:before, .main__spoiler-toper:after { |
4390 | width: 20px; | 4390 | width: 20px; |
4391 | height: 2px; | 4391 | height: 2px; |
4392 | right: 20px; | 4392 | right: 20px; |
4393 | } | 4393 | } |
4394 | } | 4394 | } |
4395 | .main__spoiler-toper:after { | 4395 | .main__spoiler-toper:after { |
4396 | -webkit-transform: rotate(90deg); | 4396 | -webkit-transform: rotate(90deg); |
4397 | -ms-transform: rotate(90deg); | 4397 | -ms-transform: rotate(90deg); |
4398 | transform: rotate(90deg); | 4398 | transform: rotate(90deg); |
4399 | } | 4399 | } |
4400 | .main__spoiler-toper.active:after { | 4400 | .main__spoiler-toper.active:after { |
4401 | -webkit-transform: rotate(0deg); | 4401 | -webkit-transform: rotate(0deg); |
4402 | -ms-transform: rotate(0deg); | 4402 | -ms-transform: rotate(0deg); |
4403 | transform: rotate(0deg); | 4403 | transform: rotate(0deg); |
4404 | } | 4404 | } |
4405 | .main__spoiler-body { | 4405 | .main__spoiler-body { |
4406 | opacity: 0; | 4406 | opacity: 0; |
4407 | height: 0; | 4407 | height: 0; |
4408 | overflow: hidden; | 4408 | overflow: hidden; |
4409 | border-radius: 0 0 8px 8px; | 4409 | border-radius: 0 0 8px 8px; |
4410 | background: #fff; | 4410 | background: #fff; |
4411 | } | 4411 | } |
4412 | .main__spoiler-body table { | 4412 | .main__spoiler-body table { |
4413 | width: calc(100% + 2px); | 4413 | width: calc(100% + 2px); |
4414 | margin-left: -1px; | 4414 | margin-left: -1px; |
4415 | margin-bottom: -1px; | 4415 | margin-bottom: -1px; |
4416 | } | 4416 | } |
4417 | @media (min-width: 992px) { | 4417 | @media (min-width: 992px) { |
4418 | .main__spoiler-body table td { | 4418 | .main__spoiler-body table td { |
4419 | width: 50%; | 4419 | width: 50%; |
4420 | } | 4420 | } |
4421 | } | 4421 | } |
4422 | @media (min-width: 992px) { | 4422 | @media (min-width: 992px) { |
4423 | .main__spoiler-body table td + td { | 4423 | .main__spoiler-body table td + td { |
4424 | width: 50%; | 4424 | width: 50%; |
4425 | } | 4425 | } |
4426 | } | 4426 | } |
4427 | .active + .main__spoiler-body { | 4427 | .active + .main__spoiler-body { |
4428 | -webkit-transition: 0.3s; | 4428 | -webkit-transition: 0.3s; |
4429 | transition: 0.3s; | 4429 | transition: 0.3s; |
4430 | opacity: 1; | 4430 | opacity: 1; |
4431 | height: auto; | 4431 | height: auto; |
4432 | border: 1px solid #cecece; | 4432 | border: 1px solid #cecece; |
4433 | border-top: none; | 4433 | border-top: none; |
4434 | } | 4434 | } |
4435 | .main__table { | 4435 | .main__table { |
4436 | border-collapse: collapse; | 4436 | border-collapse: collapse; |
4437 | table-layout: fixed; | 4437 | table-layout: fixed; |
4438 | font-size: 12px; | 4438 | font-size: 12px; |
4439 | width: 100%; | 4439 | width: 100%; |
4440 | background: #fff; | 4440 | background: #fff; |
4441 | } | 4441 | } |
4442 | @media (min-width: 768px) { | 4442 | @media (min-width: 768px) { |
4443 | .main__table { | 4443 | .main__table { |
4444 | font-size: 16px; | 4444 | font-size: 16px; |
4445 | } | 4445 | } |
4446 | } | 4446 | } |
4447 | .main__table td { | 4447 | .main__table td { |
4448 | border: 1px solid #cecece; | 4448 | border: 1px solid #cecece; |
4449 | padding: 4px 8px; | 4449 | padding: 4px 8px; |
4450 | vertical-align: top; | 4450 | vertical-align: top; |
4451 | } | 4451 | } |
4452 | @media (min-width: 768px) { | 4452 | @media (min-width: 768px) { |
4453 | .main__table td { | 4453 | .main__table td { |
4454 | padding: 8px 16px; | 4454 | padding: 8px 16px; |
4455 | } | 4455 | } |
4456 | } | 4456 | } |
4457 | .main__table td b { | 4457 | .main__table td b { |
4458 | font-weight: 700; | 4458 | font-weight: 700; |
4459 | } | 4459 | } |
4460 | .main__table_three { | 4460 | .main__table_three { |
4461 | table-layout: auto; | 4461 | table-layout: auto; |
4462 | } | 4462 | } |
4463 | .main__table_three td { | 4463 | .main__table_three td { |
4464 | width: 25% !important; | 4464 | width: 25% !important; |
4465 | } | 4465 | } |
4466 | .main__table_three td:last-child { | 4466 | .main__table_three td:last-child { |
4467 | width: 50% !important; | 4467 | width: 50% !important; |
4468 | } | 4468 | } |
4469 | .main__table b { | 4469 | .main__table b { |
4470 | display: block; | 4470 | display: block; |
4471 | } | 4471 | } |
4472 | .main__table a { | 4472 | .main__table a { |
4473 | color: #377d87; | 4473 | color: #377d87; |
4474 | text-decoration: underline; | 4474 | text-decoration: underline; |
4475 | } | 4475 | } |
4476 | .main__table a:hover { | 4476 | .main__table a:hover { |
4477 | color: #000; | 4477 | color: #000; |
4478 | } | 4478 | } |
4479 | .main__resume-profile-about { | 4479 | .main__resume-profile-about { |
4480 | padding-top: 20px; | 4480 | padding-top: 20px; |
4481 | padding-bottom: 30px; | 4481 | padding-bottom: 30px; |
4482 | position: relative; | 4482 | position: relative; |
4483 | margin-top: 30px; | 4483 | margin-top: 30px; |
4484 | display: -webkit-box; | 4484 | display: -webkit-box; |
4485 | display: -ms-flexbox; | 4485 | display: -ms-flexbox; |
4486 | display: flex; | 4486 | display: flex; |
4487 | -webkit-box-orient: vertical; | 4487 | -webkit-box-orient: vertical; |
4488 | -webkit-box-direction: normal; | 4488 | -webkit-box-direction: normal; |
4489 | -ms-flex-direction: column; | 4489 | -ms-flex-direction: column; |
4490 | flex-direction: column; | 4490 | flex-direction: column; |
4491 | -webkit-box-align: start; | 4491 | -webkit-box-align: start; |
4492 | -ms-flex-align: start; | 4492 | -ms-flex-align: start; |
4493 | align-items: flex-start; | 4493 | align-items: flex-start; |
4494 | gap: 10px; | 4494 | gap: 10px; |
4495 | } | 4495 | } |
4496 | @media (min-width: 992px) { | 4496 | @media (min-width: 992px) { |
4497 | .main__resume-profile-about { | 4497 | .main__resume-profile-about { |
4498 | padding: 50px 0; | 4498 | padding: 50px 0; |
4499 | } | 4499 | } |
4500 | } | 4500 | } |
4501 | .main__resume-profile-about:before { | 4501 | .main__resume-profile-about:before { |
4502 | content: ""; | 4502 | content: ""; |
4503 | position: absolute; | 4503 | position: absolute; |
4504 | z-index: 1; | 4504 | z-index: 1; |
4505 | top: 0; | 4505 | top: 0; |
4506 | left: 50%; | 4506 | left: 50%; |
4507 | width: 20000px; | 4507 | width: 20000px; |
4508 | height: 100%; | 4508 | height: 100%; |
4509 | margin-left: -10000px; | 4509 | margin-left: -10000px; |
4510 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 4510 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
4511 | } | 4511 | } |
4512 | .main__resume-profile-about-title { | 4512 | .main__resume-profile-about-title { |
4513 | position: relative; | 4513 | position: relative; |
4514 | z-index: 2; | 4514 | z-index: 2; |
4515 | color: #000; | 4515 | color: #000; |
4516 | } | 4516 | } |
4517 | .main__resume-profile-about-text { | 4517 | .main__resume-profile-about-text { |
4518 | position: relative; | 4518 | position: relative; |
4519 | z-index: 2; | 4519 | z-index: 2; |
4520 | } | 4520 | } |
4521 | .main__resume-profile-about-button { | 4521 | .main__resume-profile-about-button { |
4522 | position: relative; | 4522 | position: relative; |
4523 | z-index: 2; | 4523 | z-index: 2; |
4524 | margin-top: 10px; | 4524 | margin-top: 10px; |
4525 | } | 4525 | } |
4526 | .main__resume-profile-about-buttons{ | 4526 | .main__resume-profile-about-buttons{ |
4527 | display: flex; | 4527 | display: flex; |
4528 | width: 100%; | 4528 | width: 100%; |
4529 | position: relative; | 4529 | position: relative; |
4530 | z-index: 2; | 4530 | z-index: 2; |
4531 | } | 4531 | } |
4532 | .main__resume-profile-about-buttons .like{ | 4532 | .main__resume-profile-about-buttons .like{ |
4533 | width: 200px; | 4533 | width: 200px; |
4534 | } | 4534 | } |
4535 | .main__resume-profile-about-buttons .like.active{ | 4535 | .main__resume-profile-about-buttons .like.active{ |
4536 | background: #fff; | 4536 | background: #fff; |
4537 | color: #eb5757; | 4537 | color: #eb5757; |
4538 | } | 4538 | } |
4539 | .main__resume-profile-about-buttons .like .in-favorites{ | 4539 | .main__resume-profile-about-buttons .like .in-favorites{ |
4540 | display: none; | 4540 | display: none; |
4541 | } | 4541 | } |
4542 | .main__resume-profile-about-buttons .like.active .in-favorites{ | 4542 | .main__resume-profile-about-buttons .like.active .in-favorites{ |
4543 | display: block; | 4543 | display: block; |
4544 | color: #eb5757; | 4544 | color: #eb5757; |
4545 | } | 4545 | } |
4546 | .main__resume-profile-about-buttons .like.active .to-favorites{ | 4546 | .main__resume-profile-about-buttons .like.active .to-favorites{ |
4547 | display: none; | 4547 | display: none; |
4548 | } | 4548 | } |
4549 | .main__resume-profile-about-text { | 4549 | .main__resume-profile-about-text { |
4550 | position: relative; | 4550 | position: relative; |
4551 | z-index: 2; | 4551 | z-index: 2; |
4552 | } | 4552 | } |
4553 | .main__resume-profile-info { | 4553 | .main__resume-profile-info { |
4554 | display: -webkit-box; | 4554 | display: -webkit-box; |
4555 | display: -ms-flexbox; | 4555 | display: -ms-flexbox; |
4556 | display: flex; | 4556 | display: flex; |
4557 | -webkit-box-orient: vertical; | 4557 | -webkit-box-orient: vertical; |
4558 | -webkit-box-direction: normal; | 4558 | -webkit-box-direction: normal; |
4559 | -ms-flex-direction: column; | 4559 | -ms-flex-direction: column; |
4560 | flex-direction: column; | 4560 | flex-direction: column; |
4561 | gap: 20px; | 4561 | gap: 20px; |
4562 | margin-top: 30px; | 4562 | margin-top: 30px; |
4563 | } | 4563 | } |
4564 | @media (min-width: 992px) { | 4564 | @media (min-width: 992px) { |
4565 | .main__resume-profile-info { | 4565 | .main__resume-profile-info { |
4566 | margin-top: 50px; | 4566 | margin-top: 50px; |
4567 | gap: 30px; | 4567 | gap: 30px; |
4568 | } | 4568 | } |
4569 | } | 4569 | } |
4570 | .main__resume-profile-info-title { | 4570 | .main__resume-profile-info-title { |
4571 | color: #000; | 4571 | color: #000; |
4572 | } | 4572 | } |
4573 | .main__resume-profile-info-body { | 4573 | .main__resume-profile-info-body { |
4574 | display: -webkit-box; | 4574 | display: -webkit-box; |
4575 | display: -ms-flexbox; | 4575 | display: -ms-flexbox; |
4576 | display: flex; | 4576 | display: flex; |
4577 | -webkit-box-orient: vertical; | 4577 | -webkit-box-orient: vertical; |
4578 | -webkit-box-direction: normal; | 4578 | -webkit-box-direction: normal; |
4579 | -ms-flex-direction: column; | 4579 | -ms-flex-direction: column; |
4580 | flex-direction: column; | 4580 | flex-direction: column; |
4581 | gap: 20px; | 4581 | gap: 20px; |
4582 | } | 4582 | } |
4583 | @media (min-width: 992px) { | 4583 | @media (min-width: 992px) { |
4584 | .main__resume-profile-info-body { | 4584 | .main__resume-profile-info-body { |
4585 | gap: 30px; | 4585 | gap: 30px; |
4586 | } | 4586 | } |
4587 | } | 4587 | } |
4588 | .main__resume-profile-info-body-item { | 4588 | .main__resume-profile-info-body-item { |
4589 | display: -webkit-box; | 4589 | display: -webkit-box; |
4590 | display: -ms-flexbox; | 4590 | display: -ms-flexbox; |
4591 | display: flex; | 4591 | display: flex; |
4592 | -webkit-box-orient: vertical; | 4592 | -webkit-box-orient: vertical; |
4593 | -webkit-box-direction: normal; | 4593 | -webkit-box-direction: normal; |
4594 | -ms-flex-direction: column; | 4594 | -ms-flex-direction: column; |
4595 | flex-direction: column; | 4595 | flex-direction: column; |
4596 | gap: 10px; | 4596 | gap: 10px; |
4597 | } | 4597 | } |
4598 | @media (min-width: 768px) { | 4598 | @media (min-width: 768px) { |
4599 | .main__resume-profile-info-body-item { | 4599 | .main__resume-profile-info-body-item { |
4600 | gap: 20px; | 4600 | gap: 20px; |
4601 | } | 4601 | } |
4602 | } | 4602 | } |
4603 | .main__resume-profile-info-body-subtitle { | 4603 | .main__resume-profile-info-body-subtitle { |
4604 | color: #4d88d9; | 4604 | color: #4d88d9; |
4605 | } | 4605 | } |
4606 | .main__resume-profile-info-body-inner { | 4606 | .main__resume-profile-info-body-inner { |
4607 | display: -webkit-box; | 4607 | display: -webkit-box; |
4608 | display: -ms-flexbox; | 4608 | display: -ms-flexbox; |
4609 | display: flex; | 4609 | display: flex; |
4610 | -webkit-box-orient: vertical; | 4610 | -webkit-box-orient: vertical; |
4611 | -webkit-box-direction: normal; | 4611 | -webkit-box-direction: normal; |
4612 | -ms-flex-direction: column; | 4612 | -ms-flex-direction: column; |
4613 | flex-direction: column; | 4613 | flex-direction: column; |
4614 | gap: 20px; | 4614 | gap: 20px; |
4615 | margin: 0; | 4615 | margin: 0; |
4616 | padding: 0; | 4616 | padding: 0; |
4617 | font-size: 12px; | 4617 | font-size: 12px; |
4618 | } | 4618 | } |
4619 | @media (min-width: 768px) { | 4619 | @media (min-width: 768px) { |
4620 | .main__resume-profile-info-body-inner { | 4620 | .main__resume-profile-info-body-inner { |
4621 | display: grid; | 4621 | display: grid; |
4622 | grid-template-columns: repeat(2, 1fr); | 4622 | grid-template-columns: repeat(2, 1fr); |
4623 | } | 4623 | } |
4624 | } | 4624 | } |
4625 | @media (min-width: 992px) { | 4625 | @media (min-width: 992px) { |
4626 | .main__resume-profile-info-body-inner { | 4626 | .main__resume-profile-info-body-inner { |
4627 | grid-template-columns: repeat(3, 1fr); | 4627 | grid-template-columns: repeat(3, 1fr); |
4628 | font-size: 16px; | 4628 | font-size: 16px; |
4629 | } | 4629 | } |
4630 | } | 4630 | } |
4631 | .main__resume-profile-info-body-inner li { | 4631 | .main__resume-profile-info-body-inner li { |
4632 | display: -webkit-box; | 4632 | display: -webkit-box; |
4633 | display: -ms-flexbox; | 4633 | display: -ms-flexbox; |
4634 | display: flex; | 4634 | display: flex; |
4635 | -webkit-box-orient: vertical; | 4635 | -webkit-box-orient: vertical; |
4636 | -webkit-box-direction: normal; | 4636 | -webkit-box-direction: normal; |
4637 | -ms-flex-direction: column; | 4637 | -ms-flex-direction: column; |
4638 | flex-direction: column; | 4638 | flex-direction: column; |
4639 | gap: 6px; | 4639 | gap: 6px; |
4640 | } | 4640 | } |
4641 | @media (min-width: 992px) { | 4641 | @media (min-width: 992px) { |
4642 | .main__resume-profile-info-body-inner li { | 4642 | .main__resume-profile-info-body-inner li { |
4643 | gap: 8px; | 4643 | gap: 8px; |
4644 | } | 4644 | } |
4645 | } | 4645 | } |
4646 | .main__resume-profile-info-body-inner b { | 4646 | .main__resume-profile-info-body-inner b { |
4647 | color: #377d87; | 4647 | color: #377d87; |
4648 | font-size: 14px; | 4648 | font-size: 14px; |
4649 | } | 4649 | } |
4650 | @media (min-width: 992px) { | 4650 | @media (min-width: 992px) { |
4651 | .main__resume-profile-info-body-inner b { | 4651 | .main__resume-profile-info-body-inner b { |
4652 | font-size: 18px; | 4652 | font-size: 18px; |
4653 | } | 4653 | } |
4654 | } | 4654 | } |
4655 | .main__resume-profile-info-body-inner span { | 4655 | .main__resume-profile-info-body-inner span { |
4656 | display: -webkit-box; | 4656 | display: -webkit-box; |
4657 | display: -ms-flexbox; | 4657 | display: -ms-flexbox; |
4658 | display: flex; | 4658 | display: flex; |
4659 | -webkit-box-orient: vertical; | 4659 | -webkit-box-orient: vertical; |
4660 | -webkit-box-direction: normal; | 4660 | -webkit-box-direction: normal; |
4661 | -ms-flex-direction: column; | 4661 | -ms-flex-direction: column; |
4662 | flex-direction: column; | 4662 | flex-direction: column; |
4663 | gap: 4px; | 4663 | gap: 4px; |
4664 | } | 4664 | } |
4665 | @media (min-width: 992px) { | 4665 | @media (min-width: 992px) { |
4666 | .main__resume-profile-info-body-inner span { | 4666 | .main__resume-profile-info-body-inner span { |
4667 | gap: 6px; | 4667 | gap: 6px; |
4668 | } | 4668 | } |
4669 | } | 4669 | } |
4670 | .main__resume-profile-review { | 4670 | .main__resume-profile-review { |
4671 | display: -webkit-box; | 4671 | display: -webkit-box; |
4672 | display: -ms-flexbox; | 4672 | display: -ms-flexbox; |
4673 | display: flex; | 4673 | display: flex; |
4674 | -webkit-box-orient: vertical; | 4674 | -webkit-box-orient: vertical; |
4675 | -webkit-box-direction: normal; | 4675 | -webkit-box-direction: normal; |
4676 | -ms-flex-direction: column; | 4676 | -ms-flex-direction: column; |
4677 | flex-direction: column; | 4677 | flex-direction: column; |
4678 | gap: 20px; | 4678 | gap: 20px; |
4679 | padding: 20px 10px; | 4679 | padding: 20px 10px; |
4680 | margin-top: 30px; | 4680 | margin-top: 30px; |
4681 | border-radius: 16px; | 4681 | border-radius: 16px; |
4682 | border: 1px solid #cecece; | 4682 | border: 1px solid #cecece; |
4683 | background: #fff; | 4683 | background: #fff; |
4684 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 4684 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
4685 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 4685 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
4686 | } | 4686 | } |
4687 | @media (min-width: 992px) { | 4687 | @media (min-width: 992px) { |
4688 | .main__resume-profile-review { | 4688 | .main__resume-profile-review { |
4689 | margin-top: 50px; | 4689 | margin-top: 50px; |
4690 | padding: 50px 40px; | 4690 | padding: 50px 40px; |
4691 | gap: 30px; | 4691 | gap: 30px; |
4692 | } | 4692 | } |
4693 | } | 4693 | } |
4694 | .main__resume-profile-review-title { | 4694 | .main__resume-profile-review-title { |
4695 | color: #000; | 4695 | color: #000; |
4696 | } | 4696 | } |
4697 | .main__resume-profile-review-body { | 4697 | .main__resume-profile-review-body { |
4698 | display: -webkit-box; | 4698 | display: -webkit-box; |
4699 | display: -ms-flexbox; | 4699 | display: -ms-flexbox; |
4700 | display: flex; | 4700 | display: flex; |
4701 | -webkit-box-orient: vertical; | 4701 | -webkit-box-orient: vertical; |
4702 | -webkit-box-direction: normal; | 4702 | -webkit-box-direction: normal; |
4703 | -ms-flex-direction: column; | 4703 | -ms-flex-direction: column; |
4704 | flex-direction: column; | 4704 | flex-direction: column; |
4705 | -webkit-box-align: start; | 4705 | -webkit-box-align: start; |
4706 | -ms-flex-align: start; | 4706 | -ms-flex-align: start; |
4707 | align-items: flex-start; | 4707 | align-items: flex-start; |
4708 | gap: 10px; | 4708 | gap: 10px; |
4709 | } | 4709 | } |
4710 | .main__resume-profile-review-body .textarea { | 4710 | .main__resume-profile-review-body .textarea { |
4711 | width: 100%; | 4711 | width: 100%; |
4712 | } | 4712 | } |
4713 | .main__resume-profile-review-body .button { | 4713 | .main__resume-profile-review-body .button { |
4714 | margin-top: 10px; | 4714 | margin-top: 10px; |
4715 | } | 4715 | } |
4716 | .main__vacancies { | 4716 | .main__vacancies { |
4717 | display: -webkit-box; | 4717 | display: -webkit-box; |
4718 | display: -ms-flexbox; | 4718 | display: -ms-flexbox; |
4719 | display: flex; | 4719 | display: flex; |
4720 | -webkit-box-orient: vertical; | 4720 | -webkit-box-orient: vertical; |
4721 | -webkit-box-direction: normal; | 4721 | -webkit-box-direction: normal; |
4722 | -ms-flex-direction: column; | 4722 | -ms-flex-direction: column; |
4723 | flex-direction: column; | 4723 | flex-direction: column; |
4724 | -webkit-box-align: center; | 4724 | -webkit-box-align: center; |
4725 | -ms-flex-align: center; | 4725 | -ms-flex-align: center; |
4726 | align-items: center; | 4726 | align-items: center; |
4727 | gap: 20px; | 4727 | gap: 20px; |
4728 | } | 4728 | } |
4729 | @media (min-width: 768px) { | 4729 | @media (min-width: 768px) { |
4730 | .main__vacancies { | 4730 | .main__vacancies { |
4731 | gap: 30px; | 4731 | gap: 30px; |
4732 | } | 4732 | } |
4733 | } | 4733 | } |
4734 | .main__vacancies-title { | 4734 | .main__vacancies-title { |
4735 | color: #000; | 4735 | color: #000; |
4736 | width: 100%; | 4736 | width: 100%; |
4737 | } | 4737 | } |
4738 | .main__vacancies-filters { | 4738 | .main__vacancies-filters { |
4739 | width: 100%; | 4739 | width: 100%; |
4740 | } | 4740 | } |
4741 | .main__vacancies-item { | 4741 | .main__vacancies-item { |
4742 | width: 100%; | 4742 | width: 100%; |
4743 | background: none; | 4743 | background: none; |
4744 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 4744 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
4745 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 4745 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
4746 | } | 4746 | } |
4747 | .main__vacancies-item-page { | 4747 | .main__vacancies-item-page { |
4748 | border: none; | 4748 | border: none; |
4749 | -webkit-box-shadow: none; | 4749 | -webkit-box-shadow: none; |
4750 | box-shadow: none; | 4750 | box-shadow: none; |
4751 | background: none; | 4751 | background: none; |
4752 | margin: 0 -10px; | 4752 | margin: 0 -10px; |
4753 | } | 4753 | } |
4754 | @media (min-width: 768px) { | 4754 | @media (min-width: 768px) { |
4755 | .main__vacancies-item-page { | 4755 | .main__vacancies-item-page { |
4756 | margin: 0 -20px; | 4756 | margin: 0 -20px; |
4757 | } | 4757 | } |
4758 | } | 4758 | } |
4759 | .main__vacancies-thing { | 4759 | .main__vacancies-thing { |
4760 | width: 100%; | 4760 | width: 100%; |
4761 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 4761 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
4762 | padding: 20px 10px; | 4762 | padding: 20px 10px; |
4763 | padding-bottom: 30px; | 4763 | padding-bottom: 30px; |
4764 | display: -webkit-box; | 4764 | display: -webkit-box; |
4765 | display: -ms-flexbox; | 4765 | display: -ms-flexbox; |
4766 | display: flex; | 4766 | display: flex; |
4767 | -webkit-box-orient: vertical; | 4767 | -webkit-box-orient: vertical; |
4768 | -webkit-box-direction: normal; | 4768 | -webkit-box-direction: normal; |
4769 | -ms-flex-direction: column; | 4769 | -ms-flex-direction: column; |
4770 | flex-direction: column; | 4770 | flex-direction: column; |
4771 | gap: 24px; | 4771 | gap: 24px; |
4772 | border-radius: 12px; | 4772 | border-radius: 12px; |
4773 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 4773 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
4774 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 4774 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
4775 | } | 4775 | } |
4776 | @media (min-width: 992px) { | 4776 | @media (min-width: 992px) { |
4777 | .main__vacancies-thing { | 4777 | .main__vacancies-thing { |
4778 | padding: 30px 20px; | 4778 | padding: 30px 20px; |
4779 | -webkit-box-orient: horizontal; | 4779 | -webkit-box-orient: horizontal; |
4780 | -webkit-box-direction: normal; | 4780 | -webkit-box-direction: normal; |
4781 | -ms-flex-direction: row; | 4781 | -ms-flex-direction: row; |
4782 | flex-direction: row; | 4782 | flex-direction: row; |
4783 | -webkit-box-align: start; | 4783 | -webkit-box-align: start; |
4784 | -ms-flex-align: start; | 4784 | -ms-flex-align: start; |
4785 | align-items: flex-start; | 4785 | align-items: flex-start; |
4786 | gap: 0; | 4786 | gap: 0; |
4787 | } | 4787 | } |
4788 | } | 4788 | } |
4789 | @media (min-width: 1280px) { | 4789 | @media (min-width: 1280px) { |
4790 | .main__vacancies-thing { | 4790 | .main__vacancies-thing { |
4791 | padding: 50px 20px; | 4791 | padding: 50px 20px; |
4792 | } | 4792 | } |
4793 | } | 4793 | } |
4794 | .main__vacancies-thing-pic { | 4794 | .main__vacancies-thing-pic { |
4795 | position: relative; | 4795 | position: relative; |
4796 | z-index: 2; | 4796 | z-index: 2; |
4797 | width: 100%; | 4797 | width: 100%; |
4798 | aspect-ratio: 42/34; | 4798 | aspect-ratio: 42/34; |
4799 | -o-object-fit: cover; | 4799 | -o-object-fit: cover; |
4800 | object-fit: cover; | 4800 | object-fit: cover; |
4801 | border-radius: 8px; | 4801 | border-radius: 8px; |
4802 | max-height: 340px; | 4802 | max-height: 340px; |
4803 | } | 4803 | } |
4804 | @media (min-width: 992px) { | 4804 | @media (min-width: 992px) { |
4805 | .main__vacancies-thing-pic { | 4805 | .main__vacancies-thing-pic { |
4806 | width: 380px; | 4806 | width: 380px; |
4807 | } | 4807 | } |
4808 | } | 4808 | } |
4809 | @media (min-width: 1280px) { | 4809 | @media (min-width: 1280px) { |
4810 | .main__vacancies-thing-pic { | 4810 | .main__vacancies-thing-pic { |
4811 | width: 420px; | 4811 | width: 420px; |
4812 | } | 4812 | } |
4813 | } | 4813 | } |
4814 | .main__vacancies-thing-body { | 4814 | .main__vacancies-thing-body { |
4815 | display: -webkit-box; | 4815 | display: -webkit-box; |
4816 | display: -ms-flexbox; | 4816 | display: -ms-flexbox; |
4817 | display: flex; | 4817 | display: flex; |
4818 | -webkit-box-orient: vertical; | 4818 | -webkit-box-orient: vertical; |
4819 | -webkit-box-direction: normal; | 4819 | -webkit-box-direction: normal; |
4820 | -ms-flex-direction: column; | 4820 | -ms-flex-direction: column; |
4821 | flex-direction: column; | 4821 | flex-direction: column; |
4822 | -webkit-box-align: start; | 4822 | -webkit-box-align: start; |
4823 | -ms-flex-align: start; | 4823 | -ms-flex-align: start; |
4824 | align-items: flex-start; | 4824 | align-items: flex-start; |
4825 | gap: 16px; | 4825 | gap: 16px; |
4826 | color: #000; | 4826 | color: #000; |
4827 | } | 4827 | } |
4828 | @media (min-width: 992px) { | 4828 | @media (min-width: 992px) { |
4829 | .main__vacancies-thing-body { | 4829 | .main__vacancies-thing-body { |
4830 | width: calc(100% - 380px); | 4830 | width: calc(100% - 380px); |
4831 | padding-left: 20px; | 4831 | padding-left: 20px; |
4832 | } | 4832 | } |
4833 | } | 4833 | } |
4834 | @media (min-width: 1280px) { | 4834 | @media (min-width: 1280px) { |
4835 | .main__vacancies-thing-body { | 4835 | .main__vacancies-thing-body { |
4836 | width: calc(100% - 420px); | 4836 | width: calc(100% - 420px); |
4837 | gap: 20px; | 4837 | gap: 20px; |
4838 | } | 4838 | } |
4839 | } | 4839 | } |
4840 | .main__vacancies-thing-body > * { | 4840 | .main__vacancies-thing-body > * { |
4841 | width: 100%; | 4841 | width: 100%; |
4842 | } | 4842 | } |
4843 | .main__vacancies-thing-body .button { | 4843 | .main__vacancies-thing-body .button { |
4844 | width: auto; | 4844 | width: auto; |
4845 | } | 4845 | } |
4846 | @media (min-width: 768px) { | 4846 | @media (min-width: 768px) { |
4847 | .main__vacancies-thing-body .button { | 4847 | .main__vacancies-thing-body .button { |
4848 | min-width: 200px; | 4848 | min-width: 200px; |
4849 | } | 4849 | } |
4850 | } | 4850 | } |
4851 | .main__vacancies-thing-scroll { | 4851 | .main__vacancies-thing-scroll { |
4852 | display: -webkit-box; | 4852 | display: -webkit-box; |
4853 | display: -ms-flexbox; | 4853 | display: -ms-flexbox; |
4854 | display: flex; | 4854 | display: flex; |
4855 | -webkit-box-orient: vertical; | 4855 | -webkit-box-orient: vertical; |
4856 | -webkit-box-direction: normal; | 4856 | -webkit-box-direction: normal; |
4857 | -ms-flex-direction: column; | 4857 | -ms-flex-direction: column; |
4858 | flex-direction: column; | 4858 | flex-direction: column; |
4859 | -webkit-box-align: start; | 4859 | -webkit-box-align: start; |
4860 | -ms-flex-align: start; | 4860 | -ms-flex-align: start; |
4861 | align-items: flex-start; | 4861 | align-items: flex-start; |
4862 | gap: 16px; | 4862 | gap: 16px; |
4863 | overflow: hidden; | 4863 | overflow: hidden; |
4864 | overflow-y: auto; | 4864 | overflow-y: auto; |
4865 | max-height: 180px; | 4865 | max-height: 180px; |
4866 | padding-right: 10px; | 4866 | padding-right: 10px; |
4867 | } | 4867 | } |
4868 | @media (min-width: 768px) { | 4868 | @media (min-width: 768px) { |
4869 | .main__vacancies-thing-scroll { | 4869 | .main__vacancies-thing-scroll { |
4870 | max-height: 210px; | 4870 | max-height: 210px; |
4871 | padding-right: 20px; | 4871 | padding-right: 20px; |
4872 | } | 4872 | } |
4873 | } | 4873 | } |
4874 | @media (min-width: 992px) { | 4874 | @media (min-width: 992px) { |
4875 | .main__vacancies-thing-scroll { | 4875 | .main__vacancies-thing-scroll { |
4876 | max-height: 175px; | 4876 | max-height: 175px; |
4877 | } | 4877 | } |
4878 | } | 4878 | } |
4879 | @media (min-width: 1280px) { | 4879 | @media (min-width: 1280px) { |
4880 | .main__vacancies-thing-scroll { | 4880 | .main__vacancies-thing-scroll { |
4881 | max-height: 200px; | 4881 | max-height: 200px; |
4882 | gap: 20px; | 4882 | gap: 20px; |
4883 | } | 4883 | } |
4884 | } | 4884 | } |
4885 | .main__cond { | 4885 | .main__cond { |
4886 | display: -webkit-box; | 4886 | display: -webkit-box; |
4887 | display: -ms-flexbox; | 4887 | display: -ms-flexbox; |
4888 | display: flex; | 4888 | display: flex; |
4889 | -webkit-box-orient: vertical; | 4889 | -webkit-box-orient: vertical; |
4890 | -webkit-box-direction: normal; | 4890 | -webkit-box-direction: normal; |
4891 | -ms-flex-direction: column; | 4891 | -ms-flex-direction: column; |
4892 | flex-direction: column; | 4892 | flex-direction: column; |
4893 | gap: 50px; | 4893 | gap: 50px; |
4894 | } | 4894 | } |
4895 | .main__cond > div { | 4895 | .main__cond > div { |
4896 | display: -webkit-box; | 4896 | display: -webkit-box; |
4897 | display: -ms-flexbox; | 4897 | display: -ms-flexbox; |
4898 | display: flex; | 4898 | display: flex; |
4899 | -webkit-box-orient: vertical; | 4899 | -webkit-box-orient: vertical; |
4900 | -webkit-box-direction: normal; | 4900 | -webkit-box-direction: normal; |
4901 | -ms-flex-direction: column; | 4901 | -ms-flex-direction: column; |
4902 | flex-direction: column; | 4902 | flex-direction: column; |
4903 | gap: 10px; | 4903 | gap: 10px; |
4904 | } | 4904 | } |
4905 | .main__cond-label { | 4905 | .main__cond-label { |
4906 | border-radius: 16px; | 4906 | border-radius: 16px; |
4907 | border: 1px solid #cecece; | 4907 | border: 1px solid #cecece; |
4908 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 4908 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
4909 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 4909 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
4910 | padding: 30px 20px; | 4910 | padding: 30px 20px; |
4911 | font-weight: 700; | 4911 | font-weight: 700; |
4912 | color: #000; | 4912 | color: #000; |
4913 | line-height: 2; | 4913 | line-height: 2; |
4914 | text-align: center; | 4914 | text-align: center; |
4915 | } | 4915 | } |
4916 | @media (min-width: 992px) { | 4916 | @media (min-width: 992px) { |
4917 | .main__cond-label { | 4917 | .main__cond-label { |
4918 | font-size: 30px; | 4918 | font-size: 30px; |
4919 | } | 4919 | } |
4920 | } | 4920 | } |
4921 | .main__cond-icons { | 4921 | .main__cond-icons { |
4922 | padding: 0; | 4922 | padding: 0; |
4923 | margin: 0; | 4923 | margin: 0; |
4924 | display: -webkit-box; | 4924 | display: -webkit-box; |
4925 | display: -ms-flexbox; | 4925 | display: -ms-flexbox; |
4926 | display: flex; | 4926 | display: flex; |
4927 | -webkit-box-orient: vertical; | 4927 | -webkit-box-orient: vertical; |
4928 | -webkit-box-direction: normal; | 4928 | -webkit-box-direction: normal; |
4929 | -ms-flex-direction: column; | 4929 | -ms-flex-direction: column; |
4930 | flex-direction: column; | 4930 | flex-direction: column; |
4931 | gap: 25px; | 4931 | gap: 25px; |
4932 | margin-top: 10px; | 4932 | margin-top: 10px; |
4933 | } | 4933 | } |
4934 | @media (min-width: 768px) { | 4934 | @media (min-width: 768px) { |
4935 | .main__cond-icons { | 4935 | .main__cond-icons { |
4936 | display: grid; | 4936 | display: grid; |
4937 | grid-template-columns: repeat(2, 1fr); | 4937 | grid-template-columns: repeat(2, 1fr); |
4938 | gap: 60px; | 4938 | gap: 60px; |
4939 | margin-top: 20px; | 4939 | margin-top: 20px; |
4940 | } | 4940 | } |
4941 | } | 4941 | } |
4942 | @media (min-width: 1280px) { | 4942 | @media (min-width: 1280px) { |
4943 | .main__cond-icons { | 4943 | .main__cond-icons { |
4944 | grid-template-columns: repeat(3, 1fr); | 4944 | grid-template-columns: repeat(3, 1fr); |
4945 | } | 4945 | } |
4946 | } | 4946 | } |
4947 | .main__cond-icons li { | 4947 | .main__cond-icons li { |
4948 | display: -webkit-box; | 4948 | display: -webkit-box; |
4949 | display: -ms-flexbox; | 4949 | display: -ms-flexbox; |
4950 | display: flex; | 4950 | display: flex; |
4951 | -webkit-box-orient: vertical; | 4951 | -webkit-box-orient: vertical; |
4952 | -webkit-box-direction: normal; | 4952 | -webkit-box-direction: normal; |
4953 | -ms-flex-direction: column; | 4953 | -ms-flex-direction: column; |
4954 | flex-direction: column; | 4954 | flex-direction: column; |
4955 | -webkit-box-align: start; | 4955 | -webkit-box-align: start; |
4956 | -ms-flex-align: start; | 4956 | -ms-flex-align: start; |
4957 | align-items: flex-start; | 4957 | align-items: flex-start; |
4958 | gap: 20px; | 4958 | gap: 20px; |
4959 | font-size: 12px; | 4959 | font-size: 12px; |
4960 | line-height: 1.4; | 4960 | line-height: 1.4; |
4961 | color: #000; | 4961 | color: #000; |
4962 | } | 4962 | } |
4963 | @media (min-width: 768px) { | 4963 | @media (min-width: 768px) { |
4964 | .main__cond-icons li { | 4964 | .main__cond-icons li { |
4965 | font-size: 14px; | 4965 | font-size: 14px; |
4966 | } | 4966 | } |
4967 | } | 4967 | } |
4968 | @media (min-width: 992px) { | 4968 | @media (min-width: 992px) { |
4969 | .main__cond-icons li { | 4969 | .main__cond-icons li { |
4970 | font-size: 16px; | 4970 | font-size: 16px; |
4971 | line-height: 1.6; | 4971 | line-height: 1.6; |
4972 | } | 4972 | } |
4973 | } | 4973 | } |
4974 | @media (min-width: 1280px) { | 4974 | @media (min-width: 1280px) { |
4975 | .main__cond-icons li { | 4975 | .main__cond-icons li { |
4976 | font-size: 18px; | 4976 | font-size: 18px; |
4977 | } | 4977 | } |
4978 | } | 4978 | } |
4979 | .main__cond-icons li span { | 4979 | .main__cond-icons li span { |
4980 | width: 48px; | 4980 | width: 48px; |
4981 | height: 48px; | 4981 | height: 48px; |
4982 | display: -webkit-box; | 4982 | display: -webkit-box; |
4983 | display: -ms-flexbox; | 4983 | display: -ms-flexbox; |
4984 | display: flex; | 4984 | display: flex; |
4985 | -webkit-box-align: center; | 4985 | -webkit-box-align: center; |
4986 | -ms-flex-align: center; | 4986 | -ms-flex-align: center; |
4987 | align-items: center; | 4987 | align-items: center; |
4988 | } | 4988 | } |
4989 | .main__cond-icons li span img { | 4989 | .main__cond-icons li span img { |
4990 | max-width: 48px; | 4990 | max-width: 48px; |
4991 | } | 4991 | } |
4992 | .main__cond-callback { | 4992 | .main__cond-callback { |
4993 | margin-top: 10px; | 4993 | margin-top: 10px; |
4994 | } | 4994 | } |
4995 | .main__ads { | 4995 | .main__ads { |
4996 | display: -webkit-box; | 4996 | display: -webkit-box; |
4997 | display: -ms-flexbox; | 4997 | display: -ms-flexbox; |
4998 | display: flex; | 4998 | display: flex; |
4999 | -webkit-box-orient: vertical; | 4999 | -webkit-box-orient: vertical; |
5000 | -webkit-box-direction: normal; | 5000 | -webkit-box-direction: normal; |
5001 | -ms-flex-direction: column; | 5001 | -ms-flex-direction: column; |
5002 | flex-direction: column; | 5002 | flex-direction: column; |
5003 | gap: 30px; | 5003 | gap: 30px; |
5004 | margin: 30px 0; | 5004 | margin: 30px 0; |
5005 | } | 5005 | } |
5006 | @media (min-width: 992px) { | 5006 | @media (min-width: 992px) { |
5007 | .main__ads { | 5007 | .main__ads { |
5008 | margin: 60px 0; | 5008 | margin: 60px 0; |
5009 | } | 5009 | } |
5010 | } | 5010 | } |
5011 | .main__ads-item { | 5011 | .main__ads-item { |
5012 | display: -webkit-box; | 5012 | display: -webkit-box; |
5013 | display: -ms-flexbox; | 5013 | display: -ms-flexbox; |
5014 | display: flex; | 5014 | display: flex; |
5015 | -webkit-box-orient: vertical; | 5015 | -webkit-box-orient: vertical; |
5016 | -webkit-box-direction: normal; | 5016 | -webkit-box-direction: normal; |
5017 | -ms-flex-direction: column; | 5017 | -ms-flex-direction: column; |
5018 | flex-direction: column; | 5018 | flex-direction: column; |
5019 | gap: 16px; | 5019 | gap: 16px; |
5020 | } | 5020 | } |
5021 | @media (min-width: 992px) { | 5021 | @media (min-width: 992px) { |
5022 | .main__ads-item { | 5022 | .main__ads-item { |
5023 | -webkit-box-orient: horizontal; | 5023 | -webkit-box-orient: horizontal; |
5024 | -webkit-box-direction: normal; | 5024 | -webkit-box-direction: normal; |
5025 | -ms-flex-direction: row; | 5025 | -ms-flex-direction: row; |
5026 | flex-direction: row; | 5026 | flex-direction: row; |
5027 | gap: 0; | 5027 | gap: 0; |
5028 | } | 5028 | } |
5029 | } | 5029 | } |
5030 | .main__ads-item-pic { | 5030 | .main__ads-item-pic { |
5031 | width: 100%; | 5031 | width: 100%; |
5032 | max-width: 440px; | 5032 | max-width: 440px; |
5033 | max-height: 200px; | 5033 | max-height: 200px; |
5034 | aspect-ratio: 3/2; | 5034 | aspect-ratio: 3/2; |
5035 | position: relative; | 5035 | position: relative; |
5036 | overflow: hidden; | 5036 | overflow: hidden; |
5037 | border-radius: 12px; | 5037 | border-radius: 12px; |
5038 | } | 5038 | } |
5039 | @media (min-width: 992px) { | 5039 | @media (min-width: 992px) { |
5040 | .main__ads-item-pic { | 5040 | .main__ads-item-pic { |
5041 | width: 200px; | 5041 | width: 200px; |
5042 | aspect-ratio: 1/1; | 5042 | aspect-ratio: 1/1; |
5043 | } | 5043 | } |
5044 | } | 5044 | } |
5045 | .main__ads-item-pic img { | 5045 | .main__ads-item-pic img { |
5046 | z-index: 1; | 5046 | z-index: 1; |
5047 | position: absolute; | 5047 | position: absolute; |
5048 | top: 0; | 5048 | top: 0; |
5049 | left: 0; | 5049 | left: 0; |
5050 | width: 100%; | 5050 | width: 100%; |
5051 | height: 100%; | 5051 | height: 100%; |
5052 | -o-object-fit: cover; | 5052 | -o-object-fit: cover; |
5053 | object-fit: cover; | 5053 | object-fit: cover; |
5054 | } | 5054 | } |
5055 | .main__ads-item-pic span { | 5055 | .main__ads-item-pic span { |
5056 | z-index: 2; | 5056 | z-index: 2; |
5057 | width: 30px; | 5057 | width: 30px; |
5058 | height: 30px; | 5058 | height: 30px; |
5059 | border-radius: 6px; | 5059 | border-radius: 6px; |
5060 | background: #4d88d9; | 5060 | background: #4d88d9; |
5061 | display: -webkit-box; | 5061 | display: -webkit-box; |
5062 | display: -ms-flexbox; | 5062 | display: -ms-flexbox; |
5063 | display: flex; | 5063 | display: flex; |
5064 | -webkit-box-pack: center; | 5064 | -webkit-box-pack: center; |
5065 | -ms-flex-pack: center; | 5065 | -ms-flex-pack: center; |
5066 | justify-content: center; | 5066 | justify-content: center; |
5067 | -webkit-box-align: center; | 5067 | -webkit-box-align: center; |
5068 | -ms-flex-align: center; | 5068 | -ms-flex-align: center; |
5069 | align-items: center; | 5069 | align-items: center; |
5070 | position: absolute; | 5070 | position: absolute; |
5071 | top: 10px; | 5071 | top: 10px; |
5072 | left: 10px; | 5072 | left: 10px; |
5073 | color: #fff; | 5073 | color: #fff; |
5074 | } | 5074 | } |
5075 | @media (min-width: 992px) { | 5075 | @media (min-width: 992px) { |
5076 | .main__ads-item-pic span { | 5076 | .main__ads-item-pic span { |
5077 | width: 42px; | 5077 | width: 42px; |
5078 | height: 42px; | 5078 | height: 42px; |
5079 | } | 5079 | } |
5080 | } | 5080 | } |
5081 | .main__ads-item-pic span svg { | 5081 | .main__ads-item-pic span svg { |
5082 | width: 12px; | 5082 | width: 12px; |
5083 | height: 12px; | 5083 | height: 12px; |
5084 | } | 5084 | } |
5085 | @media (min-width: 992px) { | 5085 | @media (min-width: 992px) { |
5086 | .main__ads-item-pic span svg { | 5086 | .main__ads-item-pic span svg { |
5087 | width: 20px; | 5087 | width: 20px; |
5088 | height: 20px; | 5088 | height: 20px; |
5089 | } | 5089 | } |
5090 | } | 5090 | } |
5091 | .main__ads-item-body { | 5091 | .main__ads-item-body { |
5092 | display: -webkit-box; | 5092 | display: -webkit-box; |
5093 | display: -ms-flexbox; | 5093 | display: -ms-flexbox; |
5094 | display: flex; | 5094 | display: flex; |
5095 | -webkit-box-orient: vertical; | 5095 | -webkit-box-orient: vertical; |
5096 | -webkit-box-direction: normal; | 5096 | -webkit-box-direction: normal; |
5097 | -ms-flex-direction: column; | 5097 | -ms-flex-direction: column; |
5098 | flex-direction: column; | 5098 | flex-direction: column; |
5099 | -webkit-box-align: start; | 5099 | -webkit-box-align: start; |
5100 | -ms-flex-align: start; | 5100 | -ms-flex-align: start; |
5101 | align-items: flex-start; | 5101 | align-items: flex-start; |
5102 | gap: 10px; | 5102 | gap: 10px; |
5103 | font-size: 12px; | 5103 | font-size: 12px; |
5104 | } | 5104 | } |
5105 | @media (min-width: 992px) { | 5105 | @media (min-width: 992px) { |
5106 | .main__ads-item-body { | 5106 | .main__ads-item-body { |
5107 | width: calc(100% - 200px); | 5107 | width: calc(100% - 200px); |
5108 | padding-left: 40px; | 5108 | padding-left: 40px; |
5109 | -webkit-box-pack: center; | 5109 | -webkit-box-pack: center; |
5110 | -ms-flex-pack: center; | 5110 | -ms-flex-pack: center; |
5111 | justify-content: center; | 5111 | justify-content: center; |
5112 | font-size: 16px; | 5112 | font-size: 16px; |
5113 | gap: 20px; | 5113 | gap: 20px; |
5114 | } | 5114 | } |
5115 | } | 5115 | } |
5116 | .main__ads-item-body b { | 5116 | .main__ads-item-body b { |
5117 | width: 100%; | 5117 | width: 100%; |
5118 | font-weight: 700; | 5118 | font-weight: 700; |
5119 | font-size: 14px; | 5119 | font-size: 14px; |
5120 | } | 5120 | } |
5121 | @media (min-width: 992px) { | 5121 | @media (min-width: 992px) { |
5122 | .main__ads-item-body b { | 5122 | .main__ads-item-body b { |
5123 | font-size: 20px; | 5123 | font-size: 20px; |
5124 | } | 5124 | } |
5125 | } | 5125 | } |
5126 | .main__ads-item-body span { | 5126 | .main__ads-item-body span { |
5127 | width: 100%; | 5127 | width: 100%; |
5128 | } | 5128 | } |
5129 | 5129 | ||
5130 | .work { | 5130 | .work { |
5131 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 5131 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
5132 | color: #000; | 5132 | color: #000; |
5133 | padding-top: 70px; | 5133 | padding-top: 70px; |
5134 | padding-bottom: 10px; | 5134 | padding-bottom: 10px; |
5135 | position: relative; | 5135 | position: relative; |
5136 | overflow: hidden; | 5136 | overflow: hidden; |
5137 | } | 5137 | } |
5138 | @media (min-width: 768px) { | 5138 | @media (min-width: 768px) { |
5139 | .work { | 5139 | .work { |
5140 | padding-bottom: 25px; | 5140 | padding-bottom: 25px; |
5141 | } | 5141 | } |
5142 | } | 5142 | } |
5143 | @media (min-width: 1280px) { | 5143 | @media (min-width: 1280px) { |
5144 | .work { | 5144 | .work { |
5145 | padding-top: 80px; | 5145 | padding-top: 80px; |
5146 | padding-bottom: 25px; | 5146 | padding-bottom: 25px; |
5147 | } | 5147 | } |
5148 | } | 5148 | } |
5149 | .work__pic { | 5149 | .work__pic { |
5150 | position: absolute; | 5150 | position: absolute; |
5151 | height: calc(100% - 40px); | 5151 | height: calc(100% - 40px); |
5152 | z-index: 1; | 5152 | z-index: 1; |
5153 | display: none; | 5153 | display: none; |
5154 | bottom: 0; | 5154 | bottom: 0; |
5155 | left: 50%; | 5155 | left: 50%; |
5156 | margin-left: 40px; | 5156 | margin-left: 40px; |
5157 | } | 5157 | } |
5158 | @media (min-width: 992px) { | 5158 | @media (min-width: 992px) { |
5159 | .work__pic { | 5159 | .work__pic { |
5160 | display: block; | 5160 | display: block; |
5161 | } | 5161 | } |
5162 | } | 5162 | } |
5163 | @media (min-width: 1280px) { | 5163 | @media (min-width: 1280px) { |
5164 | .work__pic { | 5164 | .work__pic { |
5165 | margin-left: 80px; | 5165 | margin-left: 80px; |
5166 | } | 5166 | } |
5167 | } | 5167 | } |
5168 | .work__body { | 5168 | .work__body { |
5169 | position: relative; | 5169 | position: relative; |
5170 | z-index: 2; | 5170 | z-index: 2; |
5171 | display: -webkit-box; | 5171 | display: -webkit-box; |
5172 | display: -ms-flexbox; | 5172 | display: -ms-flexbox; |
5173 | display: flex; | 5173 | display: flex; |
5174 | -webkit-box-orient: vertical; | 5174 | -webkit-box-orient: vertical; |
5175 | -webkit-box-direction: normal; | 5175 | -webkit-box-direction: normal; |
5176 | -ms-flex-direction: column; | 5176 | -ms-flex-direction: column; |
5177 | flex-direction: column; | 5177 | flex-direction: column; |
5178 | -webkit-box-align: center; | 5178 | -webkit-box-align: center; |
5179 | -ms-flex-align: center; | 5179 | -ms-flex-align: center; |
5180 | align-items: center; | 5180 | align-items: center; |
5181 | } | 5181 | } |
5182 | @media (min-width: 768px) { | 5182 | @media (min-width: 768px) { |
5183 | .work__body { | 5183 | .work__body { |
5184 | -webkit-box-align: start; | 5184 | -webkit-box-align: start; |
5185 | -ms-flex-align: start; | 5185 | -ms-flex-align: start; |
5186 | align-items: flex-start; | 5186 | align-items: flex-start; |
5187 | } | 5187 | } |
5188 | } | 5188 | } |
5189 | @media (min-width: 992px) { | 5189 | @media (min-width: 992px) { |
5190 | .work__body { | 5190 | .work__body { |
5191 | max-width: 600px; | 5191 | max-width: 600px; |
5192 | } | 5192 | } |
5193 | } | 5193 | } |
5194 | .work__title { | 5194 | .work__title { |
5195 | width: 100%; | 5195 | width: 100%; |
5196 | font-size: 40px; | 5196 | font-size: 40px; |
5197 | font-weight: 700; | 5197 | font-weight: 700; |
5198 | line-height: 1; | 5198 | line-height: 1; |
5199 | } | 5199 | } |
5200 | @media (min-width: 768px) { | 5200 | @media (min-width: 768px) { |
5201 | .work__title { | 5201 | .work__title { |
5202 | font-size: 64px; | 5202 | font-size: 64px; |
5203 | line-height: 94px; | 5203 | line-height: 94px; |
5204 | } | 5204 | } |
5205 | } | 5205 | } |
5206 | .work__text { | 5206 | .work__text { |
5207 | width: 100%; | 5207 | width: 100%; |
5208 | font-size: 12px; | 5208 | font-size: 12px; |
5209 | margin-top: 10px; | 5209 | margin-top: 10px; |
5210 | } | 5210 | } |
5211 | @media (min-width: 768px) { | 5211 | @media (min-width: 768px) { |
5212 | .work__text { | 5212 | .work__text { |
5213 | font-size: 18px; | 5213 | font-size: 18px; |
5214 | margin-top: 20px; | 5214 | margin-top: 20px; |
5215 | line-height: 1.4; | 5215 | line-height: 1.4; |
5216 | } | 5216 | } |
5217 | } | 5217 | } |
5218 | .work__list { | 5218 | .work__list { |
5219 | width: 100%; | 5219 | width: 100%; |
5220 | display: -webkit-box; | 5220 | display: -webkit-box; |
5221 | display: -ms-flexbox; | 5221 | display: -ms-flexbox; |
5222 | display: flex; | 5222 | display: flex; |
5223 | -webkit-box-orient: vertical; | 5223 | -webkit-box-orient: vertical; |
5224 | -webkit-box-direction: normal; | 5224 | -webkit-box-direction: normal; |
5225 | -ms-flex-direction: column; | 5225 | -ms-flex-direction: column; |
5226 | flex-direction: column; | 5226 | flex-direction: column; |
5227 | gap: 5px; | 5227 | gap: 5px; |
5228 | font-size: 14px; | 5228 | font-size: 14px; |
5229 | font-weight: 700; | 5229 | font-weight: 700; |
5230 | margin-top: 15px; | 5230 | margin-top: 15px; |
5231 | } | 5231 | } |
5232 | @media (min-width: 768px) { | 5232 | @media (min-width: 768px) { |
5233 | .work__list { | 5233 | .work__list { |
5234 | font-size: 18px; | 5234 | font-size: 18px; |
5235 | gap: 8px; | 5235 | gap: 8px; |
5236 | margin-top: 30px; | 5236 | margin-top: 30px; |
5237 | } | 5237 | } |
5238 | } | 5238 | } |
5239 | .work__list div { | 5239 | .work__list div { |
5240 | position: relative; | 5240 | position: relative; |
5241 | padding-left: 10px; | 5241 | padding-left: 10px; |
5242 | } | 5242 | } |
5243 | @media (min-width: 768px) { | 5243 | @media (min-width: 768px) { |
5244 | .work__list div { | 5244 | .work__list div { |
5245 | padding-left: 16px; | 5245 | padding-left: 16px; |
5246 | } | 5246 | } |
5247 | } | 5247 | } |
5248 | .work__list div:before { | 5248 | .work__list div:before { |
5249 | content: ""; | 5249 | content: ""; |
5250 | width: 4px; | 5250 | width: 4px; |
5251 | height: 4px; | 5251 | height: 4px; |
5252 | background: #000; | 5252 | background: #000; |
5253 | border-radius: 999px; | 5253 | border-radius: 999px; |
5254 | position: absolute; | 5254 | position: absolute; |
5255 | top: 5px; | 5255 | top: 5px; |
5256 | left: 0; | 5256 | left: 0; |
5257 | } | 5257 | } |
5258 | @media (min-width: 768px) { | 5258 | @media (min-width: 768px) { |
5259 | .work__list div:before { | 5259 | .work__list div:before { |
5260 | top: 8px; | 5260 | top: 8px; |
5261 | } | 5261 | } |
5262 | } | 5262 | } |
5263 | .work__form { | 5263 | .work__form { |
5264 | margin-top: 20px; | 5264 | margin-top: 20px; |
5265 | } | 5265 | } |
5266 | @media (min-width: 768px) { | 5266 | @media (min-width: 768px) { |
5267 | .work__form { | 5267 | .work__form { |
5268 | margin-top: 30px; | 5268 | margin-top: 30px; |
5269 | } | 5269 | } |
5270 | } | 5270 | } |
5271 | .work__search { | 5271 | .work__search { |
5272 | width: 100%; | 5272 | width: 100%; |
5273 | max-width: 180px; | 5273 | max-width: 180px; |
5274 | margin-top: 20px; | 5274 | margin-top: 20px; |
5275 | } | 5275 | } |
5276 | @media (min-width: 768px) { | 5276 | @media (min-width: 768px) { |
5277 | .work__search { | 5277 | .work__search { |
5278 | max-width: 270px; | 5278 | max-width: 270px; |
5279 | margin-top: 50px; | 5279 | margin-top: 50px; |
5280 | } | 5280 | } |
5281 | } | 5281 | } |
5282 | .work__get { | 5282 | .work__get { |
5283 | width: 100%; | 5283 | width: 100%; |
5284 | display: -webkit-box; | 5284 | display: -webkit-box; |
5285 | display: -ms-flexbox; | 5285 | display: -ms-flexbox; |
5286 | display: flex; | 5286 | display: flex; |
5287 | -webkit-box-align: start; | 5287 | -webkit-box-align: start; |
5288 | -ms-flex-align: start; | 5288 | -ms-flex-align: start; |
5289 | align-items: flex-start; | 5289 | align-items: flex-start; |
5290 | -ms-flex-wrap: wrap; | 5290 | -ms-flex-wrap: wrap; |
5291 | flex-wrap: wrap; | 5291 | flex-wrap: wrap; |
5292 | margin-top: 48px; | 5292 | margin-top: 48px; |
5293 | } | 5293 | } |
5294 | .work__get b { | 5294 | .work__get b { |
5295 | width: 100%; | 5295 | width: 100%; |
5296 | margin-bottom: 10px; | 5296 | margin-bottom: 10px; |
5297 | font-size: 14px; | 5297 | font-size: 14px; |
5298 | } | 5298 | } |
5299 | @media (min-width: 768px) { | 5299 | @media (min-width: 768px) { |
5300 | .work__get b { | 5300 | .work__get b { |
5301 | font-size: 18px; | 5301 | font-size: 18px; |
5302 | } | 5302 | } |
5303 | } | 5303 | } |
5304 | .work__get a { | 5304 | .work__get a { |
5305 | display: -webkit-box; | 5305 | display: -webkit-box; |
5306 | display: -ms-flexbox; | 5306 | display: -ms-flexbox; |
5307 | display: flex; | 5307 | display: flex; |
5308 | -webkit-box-align: center; | 5308 | -webkit-box-align: center; |
5309 | -ms-flex-align: center; | 5309 | -ms-flex-align: center; |
5310 | align-items: center; | 5310 | align-items: center; |
5311 | -webkit-box-pack: center; | 5311 | -webkit-box-pack: center; |
5312 | -ms-flex-pack: center; | 5312 | -ms-flex-pack: center; |
5313 | justify-content: center; | 5313 | justify-content: center; |
5314 | margin-right: 20px; | 5314 | margin-right: 20px; |
5315 | } | 5315 | } |
5316 | .work__get a img { | 5316 | .work__get a img { |
5317 | -webkit-transition: 0.3s; | 5317 | -webkit-transition: 0.3s; |
5318 | transition: 0.3s; | 5318 | transition: 0.3s; |
5319 | width: 111px; | 5319 | width: 111px; |
5320 | } | 5320 | } |
5321 | @media (min-width: 768px) { | 5321 | @media (min-width: 768px) { |
5322 | .work__get a img { | 5322 | .work__get a img { |
5323 | width: 131px; | 5323 | width: 131px; |
5324 | } | 5324 | } |
5325 | } | 5325 | } |
5326 | .work__get a:hover img { | 5326 | .work__get a:hover img { |
5327 | -webkit-transform: scale(1.1); | 5327 | -webkit-transform: scale(1.1); |
5328 | -ms-transform: scale(1.1); | 5328 | -ms-transform: scale(1.1); |
5329 | transform: scale(1.1); | 5329 | transform: scale(1.1); |
5330 | } | 5330 | } |
5331 | .work__get a + a { | 5331 | .work__get a + a { |
5332 | margin-right: 0; | 5332 | margin-right: 0; |
5333 | } | 5333 | } |
5334 | 5334 | ||
5335 | .numbers { | 5335 | .numbers { |
5336 | padding: 30px 0; | 5336 | padding: 30px 0; |
5337 | background: #377d87 url("../images/bg.svg") no-repeat 100% calc(100% + 80px); | 5337 | background: #377d87 url("../images/bg.svg") no-repeat 100% calc(100% + 80px); |
5338 | color: #fff; | 5338 | color: #fff; |
5339 | } | 5339 | } |
5340 | @media (min-width: 1280px) { | 5340 | @media (min-width: 1280px) { |
5341 | .numbers { | 5341 | .numbers { |
5342 | padding: 100px 0; | 5342 | padding: 100px 0; |
5343 | background-position: 100% 100%; | 5343 | background-position: 100% 100%; |
5344 | background-size: auto 500px; | 5344 | background-size: auto 500px; |
5345 | } | 5345 | } |
5346 | } | 5346 | } |
5347 | .numbers__body { | 5347 | .numbers__body { |
5348 | display: -webkit-box; | 5348 | display: -webkit-box; |
5349 | display: -ms-flexbox; | 5349 | display: -ms-flexbox; |
5350 | display: flex; | 5350 | display: flex; |
5351 | -webkit-box-orient: vertical; | 5351 | -webkit-box-orient: vertical; |
5352 | -webkit-box-direction: normal; | 5352 | -webkit-box-direction: normal; |
5353 | -ms-flex-direction: column; | 5353 | -ms-flex-direction: column; |
5354 | flex-direction: column; | 5354 | flex-direction: column; |
5355 | gap: 30px; | 5355 | gap: 30px; |
5356 | } | 5356 | } |
5357 | @media (min-width: 768px) { | 5357 | @media (min-width: 768px) { |
5358 | .numbers__body { | 5358 | .numbers__body { |
5359 | display: grid; | 5359 | display: grid; |
5360 | grid-template-columns: 1fr 1fr 1fr; | 5360 | grid-template-columns: 1fr 1fr 1fr; |
5361 | } | 5361 | } |
5362 | } | 5362 | } |
5363 | .numbers__item { | 5363 | .numbers__item { |
5364 | font-size: 12px; | 5364 | font-size: 12px; |
5365 | display: -webkit-box; | 5365 | display: -webkit-box; |
5366 | display: -ms-flexbox; | 5366 | display: -ms-flexbox; |
5367 | display: flex; | 5367 | display: flex; |
5368 | -webkit-box-orient: vertical; | 5368 | -webkit-box-orient: vertical; |
5369 | -webkit-box-direction: normal; | 5369 | -webkit-box-direction: normal; |
5370 | -ms-flex-direction: column; | 5370 | -ms-flex-direction: column; |
5371 | flex-direction: column; | 5371 | flex-direction: column; |
5372 | line-height: 1.4; | 5372 | line-height: 1.4; |
5373 | } | 5373 | } |
5374 | @media (min-width: 1280px) { | 5374 | @media (min-width: 1280px) { |
5375 | .numbers__item { | 5375 | .numbers__item { |
5376 | font-size: 16px; | 5376 | font-size: 16px; |
5377 | line-height: 20px; | 5377 | line-height: 20px; |
5378 | } | 5378 | } |
5379 | } | 5379 | } |
5380 | .numbers__item b { | 5380 | .numbers__item b { |
5381 | font-size: 40px; | 5381 | font-size: 40px; |
5382 | font-weight: 700; | 5382 | font-weight: 700; |
5383 | border-bottom: 1px solid #fff; | 5383 | border-bottom: 1px solid #fff; |
5384 | line-height: 1; | 5384 | line-height: 1; |
5385 | } | 5385 | } |
5386 | @media (min-width: 1280px) { | 5386 | @media (min-width: 1280px) { |
5387 | .numbers__item b { | 5387 | .numbers__item b { |
5388 | font-size: 100px; | 5388 | font-size: 100px; |
5389 | line-height: 147px; | 5389 | line-height: 147px; |
5390 | } | 5390 | } |
5391 | } | 5391 | } |
5392 | .numbers__item span { | 5392 | .numbers__item span { |
5393 | font-weight: 700; | 5393 | font-weight: 700; |
5394 | font-size: 14px; | 5394 | font-size: 14px; |
5395 | margin: 10px 0; | 5395 | margin: 10px 0; |
5396 | line-height: 1; | 5396 | line-height: 1; |
5397 | } | 5397 | } |
5398 | @media (min-width: 1280px) { | 5398 | @media (min-width: 1280px) { |
5399 | .numbers__item span { | 5399 | .numbers__item span { |
5400 | font-size: 24px; | 5400 | font-size: 24px; |
5401 | margin-top: 30px; | 5401 | margin-top: 30px; |
5402 | } | 5402 | } |
5403 | } | 5403 | } |
5404 | 5404 | ||
5405 | .vacancies { | 5405 | .vacancies { |
5406 | padding: 50px 0; | 5406 | padding: 50px 0; |
5407 | } | 5407 | } |
5408 | @media (min-width: 1280px) { | 5408 | @media (min-width: 1280px) { |
5409 | .vacancies { | 5409 | .vacancies { |
5410 | padding: 100px 0; | 5410 | padding: 100px 0; |
5411 | } | 5411 | } |
5412 | } | 5412 | } |
5413 | .vacancies__body { | 5413 | .vacancies__body { |
5414 | display: -webkit-box; | 5414 | display: -webkit-box; |
5415 | display: -ms-flexbox; | 5415 | display: -ms-flexbox; |
5416 | display: flex; | 5416 | display: flex; |
5417 | -webkit-box-orient: vertical; | 5417 | -webkit-box-orient: vertical; |
5418 | -webkit-box-direction: reverse; | 5418 | -webkit-box-direction: reverse; |
5419 | -ms-flex-direction: column-reverse; | 5419 | -ms-flex-direction: column-reverse; |
5420 | flex-direction: column-reverse; | 5420 | flex-direction: column-reverse; |
5421 | gap: 20px; | 5421 | gap: 20px; |
5422 | width: 100%; | 5422 | width: 100%; |
5423 | margin-top: 20px; | 5423 | margin-top: 20px; |
5424 | } | 5424 | } |
5425 | @media (min-width: 992px) { | 5425 | @media (min-width: 992px) { |
5426 | .vacancies__body { | 5426 | .vacancies__body { |
5427 | margin-top: 30px; | 5427 | margin-top: 30px; |
5428 | gap: 30px; | 5428 | gap: 30px; |
5429 | } | 5429 | } |
5430 | } | 5430 | } |
5431 | .vacancies__more { | 5431 | .vacancies__more { |
5432 | width: 100%; | 5432 | width: 100%; |
5433 | } | 5433 | } |
5434 | @media (min-width: 768px) { | 5434 | @media (min-width: 768px) { |
5435 | .vacancies__more { | 5435 | .vacancies__more { |
5436 | width: auto; | 5436 | width: auto; |
5437 | margin: 0 auto; | 5437 | margin: 0 auto; |
5438 | } | 5438 | } |
5439 | } | 5439 | } |
5440 | .vacancies__list { | 5440 | .vacancies__list { |
5441 | display: -webkit-box; | 5441 | display: -webkit-box; |
5442 | display: -ms-flexbox; | 5442 | display: -ms-flexbox; |
5443 | display: flex; | 5443 | display: flex; |
5444 | -webkit-box-orient: vertical; | 5444 | -webkit-box-orient: vertical; |
5445 | -webkit-box-direction: normal; | 5445 | -webkit-box-direction: normal; |
5446 | -ms-flex-direction: column; | 5446 | -ms-flex-direction: column; |
5447 | flex-direction: column; | 5447 | flex-direction: column; |
5448 | gap: 15px; | 5448 | gap: 15px; |
5449 | } | 5449 | } |
5450 | @media (min-width: 768px) { | 5450 | @media (min-width: 768px) { |
5451 | .vacancies__list { | 5451 | .vacancies__list { |
5452 | display: grid; | 5452 | display: grid; |
5453 | grid-template-columns: repeat(2, 1fr); | 5453 | grid-template-columns: repeat(2, 1fr); |
5454 | } | 5454 | } |
5455 | } | 5455 | } |
5456 | @media (min-width: 992px) { | 5456 | @media (min-width: 992px) { |
5457 | .vacancies__list { | 5457 | .vacancies__list { |
5458 | display: grid; | 5458 | display: grid; |
5459 | grid-template-columns: repeat(3, 1fr); | 5459 | grid-template-columns: repeat(3, 1fr); |
5460 | gap: 20px; | 5460 | gap: 20px; |
5461 | } | 5461 | } |
5462 | } | 5462 | } |
5463 | @media (min-width: 1280px) { | 5463 | @media (min-width: 1280px) { |
5464 | .vacancies__list { | 5464 | .vacancies__list { |
5465 | grid-template-columns: repeat(4, 1fr); | 5465 | grid-template-columns: repeat(4, 1fr); |
5466 | } | 5466 | } |
5467 | } | 5467 | } |
5468 | .vacancies__list-label { | 5468 | .vacancies__list-label { |
5469 | font-weight: 700; | 5469 | font-weight: 700; |
5470 | font-size: 22px; | 5470 | font-size: 22px; |
5471 | } | 5471 | } |
5472 | .vacancies__list-col { | 5472 | .vacancies__list-col { |
5473 | display: -webkit-box; | 5473 | display: -webkit-box; |
5474 | display: -ms-flexbox; | 5474 | display: -ms-flexbox; |
5475 | display: flex; | 5475 | display: flex; |
5476 | -webkit-box-orient: vertical; | 5476 | -webkit-box-orient: vertical; |
5477 | -webkit-box-direction: normal; | 5477 | -webkit-box-direction: normal; |
5478 | -ms-flex-direction: column; | 5478 | -ms-flex-direction: column; |
5479 | flex-direction: column; | 5479 | flex-direction: column; |
5480 | gap: 15px; | 5480 | gap: 15px; |
5481 | margin-top: 15px; | 5481 | margin-top: 15px; |
5482 | margin-bottom: 30px; | 5482 | margin-bottom: 30px; |
5483 | } | 5483 | } |
5484 | @media (min-width: 768px) { | 5484 | @media (min-width: 768px) { |
5485 | .vacancies__list-col { | 5485 | .vacancies__list-col { |
5486 | margin-top: 0; | 5486 | margin-top: 0; |
5487 | } | 5487 | } |
5488 | } | 5488 | } |
5489 | .vacancies__list-col:first-child { | 5489 | .vacancies__list-col:first-child { |
5490 | margin-top: 0; | 5490 | margin-top: 0; |
5491 | } | 5491 | } |
5492 | .vacancies__item { | 5492 | .vacancies__item { |
5493 | display: none; | 5493 | display: none; |
5494 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 5494 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
5495 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 5495 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
5496 | border-radius: 12px; | 5496 | border-radius: 12px; |
5497 | background: #fff; | 5497 | background: #fff; |
5498 | border: 1px solid #e6e7e7; | 5498 | border: 1px solid #e6e7e7; |
5499 | overflow: hidden; | 5499 | overflow: hidden; |
5500 | } | 5500 | } |
5501 | .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) { | 5501 | .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) { |
5502 | display: -webkit-box; | 5502 | display: -webkit-box; |
5503 | display: -ms-flexbox; | 5503 | display: -ms-flexbox; |
5504 | display: flex; | 5504 | display: flex; |
5505 | } | 5505 | } |
5506 | .vacancies__item > span { | 5506 | .vacancies__item > span { |
5507 | border-left: 10px solid #377d87; | 5507 | border-left: 10px solid #377d87; |
5508 | padding: 20px 14px; | 5508 | padding: 20px 14px; |
5509 | display: -webkit-box; | 5509 | display: -webkit-box; |
5510 | display: -ms-flexbox; | 5510 | display: -ms-flexbox; |
5511 | display: flex; | 5511 | display: flex; |
5512 | -webkit-box-orient: vertical; | 5512 | -webkit-box-orient: vertical; |
5513 | -webkit-box-direction: normal; | 5513 | -webkit-box-direction: normal; |
5514 | -ms-flex-direction: column; | 5514 | -ms-flex-direction: column; |
5515 | flex-direction: column; | 5515 | flex-direction: column; |
5516 | -webkit-box-align: start; | 5516 | -webkit-box-align: start; |
5517 | -ms-flex-align: start; | 5517 | -ms-flex-align: start; |
5518 | align-items: flex-start; | 5518 | align-items: flex-start; |
5519 | gap: 5px; | 5519 | gap: 5px; |
5520 | -webkit-box-pack: justify; | 5520 | -webkit-box-pack: justify; |
5521 | -ms-flex-pack: justify; | 5521 | -ms-flex-pack: justify; |
5522 | justify-content: space-between; | 5522 | justify-content: space-between; |
5523 | } | 5523 | } |
5524 | @media (min-width: 992px) { | 5524 | @media (min-width: 992px) { |
5525 | .vacancies__item > span { | 5525 | .vacancies__item > span { |
5526 | gap: 10px; | 5526 | gap: 10px; |
5527 | } | 5527 | } |
5528 | } | 5528 | } |
5529 | .vacancies__item b { | 5529 | .vacancies__item b { |
5530 | font-weight: 700; | 5530 | font-weight: 700; |
5531 | font-size: 14px; | 5531 | font-size: 14px; |
5532 | } | 5532 | } |
5533 | @media (min-width: 992px) { | 5533 | @media (min-width: 992px) { |
5534 | .vacancies__item b { | 5534 | .vacancies__item b { |
5535 | font-size: 20px; | 5535 | font-size: 20px; |
5536 | } | 5536 | } |
5537 | } | 5537 | } |
5538 | .vacancies__item:hover b { | 5538 | .vacancies__item:hover b { |
5539 | color: #377d87; | 5539 | color: #377d87; |
5540 | } | 5540 | } |
5541 | .vacancies__item u { | 5541 | .vacancies__item u { |
5542 | text-decoration: none; | 5542 | text-decoration: none; |
5543 | font-size: 14px; | 5543 | font-size: 14px; |
5544 | } | 5544 | } |
5545 | @media (min-width: 992px) { | 5545 | @media (min-width: 992px) { |
5546 | .vacancies__item u { | 5546 | .vacancies__item u { |
5547 | font-size: 18px; | 5547 | font-size: 18px; |
5548 | } | 5548 | } |
5549 | } | 5549 | } |
5550 | .vacancies__item i { | 5550 | .vacancies__item i { |
5551 | font-size: 12px; | 5551 | font-size: 12px; |
5552 | font-style: normal; | 5552 | font-style: normal; |
5553 | border-bottom: 1px dashed #377d87; | 5553 | border-bottom: 1px dashed #377d87; |
5554 | } | 5554 | } |
5555 | @media (min-width: 992px) { | 5555 | @media (min-width: 992px) { |
5556 | .vacancies__item i { | 5556 | .vacancies__item i { |
5557 | font-size: 16px; | 5557 | font-size: 16px; |
5558 | } | 5558 | } |
5559 | } | 5559 | } |
5560 | .vacancies__item i span { | 5560 | .vacancies__item i span { |
5561 | font-weight: 700; | 5561 | font-weight: 700; |
5562 | color: #377d87; | 5562 | color: #377d87; |
5563 | } | 5563 | } |
5564 | .vacancies__body.active .vacancies__list .vacancies__item { | 5564 | .vacancies__body.active .vacancies__list .vacancies__item { |
5565 | display: -webkit-box; | 5565 | display: -webkit-box; |
5566 | display: -ms-flexbox; | 5566 | display: -ms-flexbox; |
5567 | display: flex; | 5567 | display: flex; |
5568 | } | 5568 | } |
5569 | 5569 | ||
5570 | .employer { | 5570 | .employer { |
5571 | padding-bottom: 50px; | 5571 | padding-bottom: 50px; |
5572 | } | 5572 | } |
5573 | @media (min-width: 768px) { | 5573 | @media (min-width: 768px) { |
5574 | .employer { | 5574 | .employer { |
5575 | padding-bottom: 100px; | 5575 | padding-bottom: 100px; |
5576 | } | 5576 | } |
5577 | } | 5577 | } |
5578 | .employer .swiper { | 5578 | .employer .swiper { |
5579 | margin: 20px 0; | 5579 | margin: 20px 0; |
5580 | } | 5580 | } |
5581 | @media (min-width: 768px) { | 5581 | @media (min-width: 768px) { |
5582 | .employer .swiper { | 5582 | .employer .swiper { |
5583 | display: none; | 5583 | display: none; |
5584 | } | 5584 | } |
5585 | } | 5585 | } |
5586 | .employer__item { | 5586 | .employer__item { |
5587 | display: -webkit-box; | 5587 | display: -webkit-box; |
5588 | display: -ms-flexbox; | 5588 | display: -ms-flexbox; |
5589 | display: flex; | 5589 | display: flex; |
5590 | -webkit-box-orient: vertical; | 5590 | -webkit-box-orient: vertical; |
5591 | -webkit-box-direction: normal; | 5591 | -webkit-box-direction: normal; |
5592 | -ms-flex-direction: column; | 5592 | -ms-flex-direction: column; |
5593 | flex-direction: column; | 5593 | flex-direction: column; |
5594 | gap: 30px; | 5594 | gap: 30px; |
5595 | } | 5595 | } |
5596 | .employer__item a { | 5596 | .employer__item a { |
5597 | display: -webkit-box; | 5597 | display: -webkit-box; |
5598 | display: -ms-flexbox; | 5598 | display: -ms-flexbox; |
5599 | display: flex; | 5599 | display: flex; |
5600 | -webkit-box-orient: vertical; | 5600 | -webkit-box-orient: vertical; |
5601 | -webkit-box-direction: normal; | 5601 | -webkit-box-direction: normal; |
5602 | -ms-flex-direction: column; | 5602 | -ms-flex-direction: column; |
5603 | flex-direction: column; | 5603 | flex-direction: column; |
5604 | -webkit-box-align: center; | 5604 | -webkit-box-align: center; |
5605 | -ms-flex-align: center; | 5605 | -ms-flex-align: center; |
5606 | align-items: center; | 5606 | align-items: center; |
5607 | } | 5607 | } |
5608 | .employer__item img { | 5608 | .employer__item img { |
5609 | width: 100%; | 5609 | width: 100%; |
5610 | aspect-ratio: 295/98; | 5610 | aspect-ratio: 295/98; |
5611 | -o-object-fit: contain; | 5611 | -o-object-fit: contain; |
5612 | object-fit: contain; | 5612 | object-fit: contain; |
5613 | } | 5613 | } |
5614 | .employer__body { | 5614 | .employer__body { |
5615 | display: none; | 5615 | display: none; |
5616 | grid-template-columns: 1fr 1fr; | 5616 | grid-template-columns: 1fr 1fr; |
5617 | gap: 30px; | 5617 | gap: 30px; |
5618 | margin-top: 30px; | 5618 | margin-top: 30px; |
5619 | margin-bottom: 40px; | 5619 | margin-bottom: 40px; |
5620 | } | 5620 | } |
5621 | @media (min-width: 768px) { | 5621 | @media (min-width: 768px) { |
5622 | .employer__body { | 5622 | .employer__body { |
5623 | display: grid; | 5623 | display: grid; |
5624 | } | 5624 | } |
5625 | } | 5625 | } |
5626 | @media (min-width: 992px) { | 5626 | @media (min-width: 992px) { |
5627 | .employer__body { | 5627 | .employer__body { |
5628 | grid-template-columns: 1fr 1fr 1fr; | 5628 | grid-template-columns: 1fr 1fr 1fr; |
5629 | } | 5629 | } |
5630 | } | 5630 | } |
5631 | @media (min-width: 1280px) { | 5631 | @media (min-width: 1280px) { |
5632 | .employer__body { | 5632 | .employer__body { |
5633 | grid-template-columns: 1fr 1fr 1fr 1fr; | 5633 | grid-template-columns: 1fr 1fr 1fr 1fr; |
5634 | } | 5634 | } |
5635 | } | 5635 | } |
5636 | .employer__body a { | 5636 | .employer__body a { |
5637 | display: -webkit-box; | 5637 | display: -webkit-box; |
5638 | display: -ms-flexbox; | 5638 | display: -ms-flexbox; |
5639 | display: flex; | 5639 | display: flex; |
5640 | -webkit-box-pack: center; | 5640 | -webkit-box-pack: center; |
5641 | -ms-flex-pack: center; | 5641 | -ms-flex-pack: center; |
5642 | justify-content: center; | 5642 | justify-content: center; |
5643 | -webkit-box-align: center; | 5643 | -webkit-box-align: center; |
5644 | -ms-flex-align: center; | 5644 | -ms-flex-align: center; |
5645 | align-items: center; | 5645 | align-items: center; |
5646 | height: 98px; | 5646 | height: 98px; |
5647 | } | 5647 | } |
5648 | .employer__body img { | 5648 | .employer__body img { |
5649 | max-width: 100%; | 5649 | max-width: 100%; |
5650 | max-height: 98px; | 5650 | max-height: 98px; |
5651 | -o-object-fit: contain; | 5651 | -o-object-fit: contain; |
5652 | object-fit: contain; | 5652 | object-fit: contain; |
5653 | } | 5653 | } |
5654 | .employer__more { | 5654 | .employer__more { |
5655 | height: 38px; | 5655 | height: 38px; |
5656 | } | 5656 | } |
5657 | @media (min-width: 768px) { | 5657 | @media (min-width: 768px) { |
5658 | .employer__more { | 5658 | .employer__more { |
5659 | width: 250px; | 5659 | width: 250px; |
5660 | margin: 0 auto; | 5660 | margin: 0 auto; |
5661 | height: 44px; | 5661 | height: 44px; |
5662 | } | 5662 | } |
5663 | } | 5663 | } |
5664 | 5664 | ||
5665 | .about { | 5665 | .about { |
5666 | background: #acc0e6 url("../images/space.svg") no-repeat 0 0; | 5666 | background: #acc0e6 url("../images/space.svg") no-repeat 0 0; |
5667 | background-size: cover; | 5667 | background-size: cover; |
5668 | padding: 30px 0; | 5668 | padding: 30px 0; |
5669 | padding-bottom: 70px; | 5669 | padding-bottom: 70px; |
5670 | } | 5670 | } |
5671 | @media (min-width: 768px) { | 5671 | @media (min-width: 768px) { |
5672 | .about { | 5672 | .about { |
5673 | padding-top: 40px; | 5673 | padding-top: 40px; |
5674 | background-size: auto calc(100% - 10px); | 5674 | background-size: auto calc(100% - 10px); |
5675 | } | 5675 | } |
5676 | } | 5676 | } |
5677 | @media (min-width: 1280px) { | 5677 | @media (min-width: 1280px) { |
5678 | .about { | 5678 | .about { |
5679 | padding: 100px 0; | 5679 | padding: 100px 0; |
5680 | } | 5680 | } |
5681 | } | 5681 | } |
5682 | .about__wrapper { | 5682 | .about__wrapper { |
5683 | display: -webkit-box; | 5683 | display: -webkit-box; |
5684 | display: -ms-flexbox; | 5684 | display: -ms-flexbox; |
5685 | display: flex; | 5685 | display: flex; |
5686 | -webkit-box-orient: vertical; | 5686 | -webkit-box-orient: vertical; |
5687 | -webkit-box-direction: normal; | 5687 | -webkit-box-direction: normal; |
5688 | -ms-flex-direction: column; | 5688 | -ms-flex-direction: column; |
5689 | flex-direction: column; | 5689 | flex-direction: column; |
5690 | position: relative; | 5690 | position: relative; |
5691 | } | 5691 | } |
5692 | .about__title { | 5692 | .about__title { |
5693 | color: #fff; | 5693 | color: #fff; |
5694 | line-height: 1.2; | 5694 | line-height: 1.2; |
5695 | } | 5695 | } |
5696 | @media (min-width: 1280px) { | 5696 | @media (min-width: 1280px) { |
5697 | .about__title { | 5697 | .about__title { |
5698 | position: absolute; | 5698 | position: absolute; |
5699 | top: -45px; | 5699 | top: -45px; |
5700 | left: 0; | 5700 | left: 0; |
5701 | } | 5701 | } |
5702 | } | 5702 | } |
5703 | .about__body { | 5703 | .about__body { |
5704 | display: -webkit-box; | 5704 | display: -webkit-box; |
5705 | display: -ms-flexbox; | 5705 | display: -ms-flexbox; |
5706 | display: flex; | 5706 | display: flex; |
5707 | -webkit-box-orient: vertical; | 5707 | -webkit-box-orient: vertical; |
5708 | -webkit-box-direction: normal; | 5708 | -webkit-box-direction: normal; |
5709 | -ms-flex-direction: column; | 5709 | -ms-flex-direction: column; |
5710 | flex-direction: column; | 5710 | flex-direction: column; |
5711 | } | 5711 | } |
5712 | @media (min-width: 1280px) { | 5712 | @media (min-width: 1280px) { |
5713 | .about__body { | 5713 | .about__body { |
5714 | padding-left: 495px; | 5714 | padding-left: 495px; |
5715 | } | 5715 | } |
5716 | } | 5716 | } |
5717 | .about__line { | 5717 | .about__line { |
5718 | background: #fff; | 5718 | background: #fff; |
5719 | width: 100%; | 5719 | width: 100%; |
5720 | height: 1px; | 5720 | height: 1px; |
5721 | max-width: 400px; | 5721 | max-width: 400px; |
5722 | margin-top: 10px; | 5722 | margin-top: 10px; |
5723 | } | 5723 | } |
5724 | .about__item { | 5724 | .about__item { |
5725 | display: -webkit-box; | 5725 | display: -webkit-box; |
5726 | display: -ms-flexbox; | 5726 | display: -ms-flexbox; |
5727 | display: flex; | 5727 | display: flex; |
5728 | -webkit-box-orient: vertical; | 5728 | -webkit-box-orient: vertical; |
5729 | -webkit-box-direction: normal; | 5729 | -webkit-box-direction: normal; |
5730 | -ms-flex-direction: column; | 5730 | -ms-flex-direction: column; |
5731 | flex-direction: column; | 5731 | flex-direction: column; |
5732 | margin-top: 10px; | 5732 | margin-top: 10px; |
5733 | max-width: 600px; | 5733 | max-width: 600px; |
5734 | } | 5734 | } |
5735 | @media (min-width: 768px) { | 5735 | @media (min-width: 768px) { |
5736 | .about__item { | 5736 | .about__item { |
5737 | margin-top: 20px; | 5737 | margin-top: 20px; |
5738 | } | 5738 | } |
5739 | } | 5739 | } |
5740 | @media (min-width: 1280px) { | 5740 | @media (min-width: 1280px) { |
5741 | .about__item { | 5741 | .about__item { |
5742 | margin-top: 30px; | 5742 | margin-top: 30px; |
5743 | } | 5743 | } |
5744 | } | 5744 | } |
5745 | .about__item b { | 5745 | .about__item b { |
5746 | font-size: 20px; | 5746 | font-size: 20px; |
5747 | font-weight: 700; | 5747 | font-weight: 700; |
5748 | } | 5748 | } |
5749 | .about__item span { | 5749 | .about__item span { |
5750 | font-size: 13px; | 5750 | font-size: 13px; |
5751 | line-height: 1.4; | 5751 | line-height: 1.4; |
5752 | margin-top: 6px; | 5752 | margin-top: 6px; |
5753 | } | 5753 | } |
5754 | @media (min-width: 1280px) { | 5754 | @media (min-width: 1280px) { |
5755 | .about__item span { | 5755 | .about__item span { |
5756 | font-size: 16px; | 5756 | font-size: 16px; |
5757 | margin-top: 12px; | 5757 | margin-top: 12px; |
5758 | } | 5758 | } |
5759 | } | 5759 | } |
5760 | .about__item a { | 5760 | .about__item a { |
5761 | text-decoration: underline; | 5761 | text-decoration: underline; |
5762 | } | 5762 | } |
5763 | .about__item + .about__item { | 5763 | .about__item + .about__item { |
5764 | margin-top: 30px; | 5764 | margin-top: 30px; |
5765 | } | 5765 | } |
5766 | @media (min-width: 992px) { | 5766 | @media (min-width: 992px) { |
5767 | .about__item + .about__item { | 5767 | .about__item + .about__item { |
5768 | margin-top: 40px; | 5768 | margin-top: 40px; |
5769 | } | 5769 | } |
5770 | } | 5770 | } |
5771 | .about__button { | 5771 | .about__button { |
5772 | margin-top: 20px; | 5772 | margin-top: 20px; |
5773 | height: 38px; | 5773 | height: 38px; |
5774 | padding: 0; | 5774 | padding: 0; |
5775 | } | 5775 | } |
5776 | @media (min-width: 768px) { | 5776 | @media (min-width: 768px) { |
5777 | .about__button { | 5777 | .about__button { |
5778 | max-width: 200px; | 5778 | max-width: 200px; |
5779 | height: 42px; | 5779 | height: 42px; |
5780 | margin-top: 30px; | 5780 | margin-top: 30px; |
5781 | } | 5781 | } |
5782 | } | 5782 | } |
5783 | 5783 | ||
5784 | .news { | 5784 | .news { |
5785 | padding: 50px 0; | 5785 | padding: 50px 0; |
5786 | overflow: hidden; | 5786 | overflow: hidden; |
5787 | } | 5787 | } |
5788 | @media (min-width: 1280px) { | 5788 | @media (min-width: 1280px) { |
5789 | .news { | 5789 | .news { |
5790 | padding: 100px 0; | 5790 | padding: 100px 0; |
5791 | padding-bottom: 0; | 5791 | padding-bottom: 0; |
5792 | } | 5792 | } |
5793 | } | 5793 | } |
5794 | .news__toper { | 5794 | .news__toper { |
5795 | display: -webkit-box; | 5795 | display: -webkit-box; |
5796 | display: -ms-flexbox; | 5796 | display: -ms-flexbox; |
5797 | display: flex; | 5797 | display: flex; |
5798 | -webkit-box-pack: justify; | 5798 | -webkit-box-pack: justify; |
5799 | -ms-flex-pack: justify; | 5799 | -ms-flex-pack: justify; |
5800 | justify-content: space-between; | 5800 | justify-content: space-between; |
5801 | -webkit-box-align: center; | 5801 | -webkit-box-align: center; |
5802 | -ms-flex-align: center; | 5802 | -ms-flex-align: center; |
5803 | align-items: center; | 5803 | align-items: center; |
5804 | } | 5804 | } |
5805 | @media (min-width: 1280px) { | 5805 | @media (min-width: 1280px) { |
5806 | .news__toper .title { | 5806 | .news__toper .title { |
5807 | width: calc(100% - 160px); | 5807 | width: calc(100% - 160px); |
5808 | } | 5808 | } |
5809 | } | 5809 | } |
5810 | .news__toper .navs { | 5810 | .news__toper .navs { |
5811 | display: none; | 5811 | display: none; |
5812 | } | 5812 | } |
5813 | @media (min-width: 1280px) { | 5813 | @media (min-width: 1280px) { |
5814 | .news__toper .navs { | 5814 | .news__toper .navs { |
5815 | display: -webkit-box; | 5815 | display: -webkit-box; |
5816 | display: -ms-flexbox; | 5816 | display: -ms-flexbox; |
5817 | display: flex; | 5817 | display: flex; |
5818 | } | 5818 | } |
5819 | } | 5819 | } |
5820 | .news .swiper { | 5820 | .news .swiper { |
5821 | margin-top: 20px; | 5821 | margin-top: 20px; |
5822 | } | 5822 | } |
5823 | @media (min-width: 768px) { | 5823 | @media (min-width: 768px) { |
5824 | .news .swiper { | 5824 | .news .swiper { |
5825 | overflow: visible; | 5825 | overflow: visible; |
5826 | } | 5826 | } |
5827 | } | 5827 | } |
5828 | @media (min-width: 992px) { | 5828 | @media (min-width: 992px) { |
5829 | .news .swiper { | 5829 | .news .swiper { |
5830 | margin-top: 40px; | 5830 | margin-top: 40px; |
5831 | } | 5831 | } |
5832 | } | 5832 | } |
5833 | .news__item { | 5833 | .news__item { |
5834 | display: -webkit-box; | 5834 | display: -webkit-box; |
5835 | display: -ms-flexbox; | 5835 | display: -ms-flexbox; |
5836 | display: flex; | 5836 | display: flex; |
5837 | -webkit-box-orient: vertical; | 5837 | -webkit-box-orient: vertical; |
5838 | -webkit-box-direction: normal; | 5838 | -webkit-box-direction: normal; |
5839 | -ms-flex-direction: column; | 5839 | -ms-flex-direction: column; |
5840 | flex-direction: column; | 5840 | flex-direction: column; |
5841 | line-height: 1.4; | 5841 | line-height: 1.4; |
5842 | } | 5842 | } |
5843 | .news__item-pic { | 5843 | .news__item-pic { |
5844 | width: 100%; | 5844 | width: 100%; |
5845 | aspect-ratio: 3/2; | 5845 | aspect-ratio: 3/2; |
5846 | border-radius: 12px; | 5846 | border-radius: 12px; |
5847 | border: 1px solid #e6e7e7; | 5847 | border: 1px solid #e6e7e7; |
5848 | -o-object-fit: cover; | 5848 | -o-object-fit: cover; |
5849 | object-fit: cover; | 5849 | object-fit: cover; |
5850 | min-height: 200px; | 5850 | min-height: 200px; |
5851 | } | 5851 | } |
5852 | @media (min-width: 1280px) { | 5852 | @media (min-width: 1280px) { |
5853 | .news__item-pic { | 5853 | .news__item-pic { |
5854 | aspect-ratio: 4/2; | 5854 | aspect-ratio: 4/2; |
5855 | } | 5855 | } |
5856 | } | 5856 | } |
5857 | .news__item-body { | 5857 | .news__item-body { |
5858 | display: -webkit-box; | 5858 | display: -webkit-box; |
5859 | display: -ms-flexbox; | 5859 | display: -ms-flexbox; |
5860 | display: flex; | 5860 | display: flex; |
5861 | -webkit-box-orient: vertical; | 5861 | -webkit-box-orient: vertical; |
5862 | -webkit-box-direction: normal; | 5862 | -webkit-box-direction: normal; |
5863 | -ms-flex-direction: column; | 5863 | -ms-flex-direction: column; |
5864 | flex-direction: column; | 5864 | flex-direction: column; |
5865 | padding-top: 15px; | 5865 | padding-top: 15px; |
5866 | } | 5866 | } |
5867 | @media (min-width: 768px) { | 5867 | @media (min-width: 768px) { |
5868 | .news__item-body { | 5868 | .news__item-body { |
5869 | padding: 20px; | 5869 | padding: 20px; |
5870 | padding-top: 30px; | 5870 | padding-top: 30px; |
5871 | margin-top: -15px; | 5871 | margin-top: -15px; |
5872 | border-radius: 0 0 12px 12px; | 5872 | border-radius: 0 0 12px 12px; |
5873 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15); | 5873 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15); |
5874 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15); | 5874 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15); |
5875 | } | 5875 | } |
5876 | } | 5876 | } |
5877 | .news__item-date { | 5877 | .news__item-date { |
5878 | font-size: 14px; | 5878 | font-size: 14px; |
5879 | font-weight: 700; | 5879 | font-weight: 700; |
5880 | color: #377d87; | 5880 | color: #377d87; |
5881 | } | 5881 | } |
5882 | .news__item-title { | 5882 | .news__item-title { |
5883 | font-size: 20px; | 5883 | font-size: 20px; |
5884 | font-weight: 700; | 5884 | font-weight: 700; |
5885 | line-height: 1.2; | 5885 | line-height: 1.2; |
5886 | margin-top: 5px; | 5886 | margin-top: 5px; |
5887 | } | 5887 | } |
5888 | .news__item-text { | 5888 | .news__item-text { |
5889 | color: #000; | 5889 | color: #000; |
5890 | font-size: 13px; | 5890 | font-size: 13px; |
5891 | margin-top: 10px; | 5891 | margin-top: 10px; |
5892 | overflow: hidden; | 5892 | overflow: hidden; |
5893 | display: -webkit-box; | 5893 | display: -webkit-box; |
5894 | -webkit-box-orient: vertical; | 5894 | -webkit-box-orient: vertical; |
5895 | -webkit-line-clamp: 4; | 5895 | -webkit-line-clamp: 4; |
5896 | } | 5896 | } |
5897 | @media (min-width: 1280px) { | 5897 | @media (min-width: 1280px) { |
5898 | .news__item-text { | 5898 | .news__item-text { |
5899 | font-size: 16px; | 5899 | font-size: 16px; |
5900 | } | 5900 | } |
5901 | } | 5901 | } |
5902 | .news__item-more { | 5902 | .news__item-more { |
5903 | height: 42px; | 5903 | height: 42px; |
5904 | margin-top: 20px; | 5904 | margin-top: 20px; |
5905 | } | 5905 | } |
5906 | @media (min-width: 1280px) { | 5906 | @media (min-width: 1280px) { |
5907 | .news__item-more { | 5907 | .news__item-more { |
5908 | height: 44px; | 5908 | height: 44px; |
5909 | max-width: 190px; | 5909 | max-width: 190px; |
5910 | } | 5910 | } |
5911 | } | 5911 | } |
5912 | .news__all { | 5912 | .news__all { |
5913 | height: 42px; | 5913 | height: 42px; |
5914 | margin: 0 auto; | 5914 | margin: 0 auto; |
5915 | margin-top: 20px; | 5915 | margin-top: 20px; |
5916 | padding: 0; | 5916 | padding: 0; |
5917 | display: none; | 5917 | display: none; |
5918 | } | 5918 | } |
5919 | @media (min-width: 768px) { | 5919 | @media (min-width: 768px) { |
5920 | .news__all { | 5920 | .news__all { |
5921 | max-width: 170px; | 5921 | max-width: 170px; |
5922 | margin-top: 30px; | 5922 | margin-top: 30px; |
5923 | display: -webkit-box; | 5923 | display: -webkit-box; |
5924 | display: -ms-flexbox; | 5924 | display: -ms-flexbox; |
5925 | display: flex; | 5925 | display: flex; |
5926 | } | 5926 | } |
5927 | } | 5927 | } |
5928 | @media (min-width: 1280px) { | 5928 | @media (min-width: 1280px) { |
5929 | .news__all { | 5929 | .news__all { |
5930 | height: 44px; | 5930 | height: 44px; |
5931 | } | 5931 | } |
5932 | } | 5932 | } |
5933 | .news__items { | 5933 | .news__items { |
5934 | display: grid; | 5934 | display: grid; |
5935 | gap: 20px; | 5935 | gap: 20px; |
5936 | margin-bottom: 10px; | 5936 | margin-bottom: 10px; |
5937 | } | 5937 | } |
5938 | @media (min-width: 768px) { | 5938 | @media (min-width: 768px) { |
5939 | .news__items { | 5939 | .news__items { |
5940 | grid-template-columns: 1fr 1fr; | 5940 | grid-template-columns: 1fr 1fr; |
5941 | } | 5941 | } |
5942 | } | 5942 | } |
5943 | @media (min-width: 992px) { | 5943 | @media (min-width: 992px) { |
5944 | .news__items { | 5944 | .news__items { |
5945 | grid-template-columns: 1fr 1fr 1fr; | 5945 | grid-template-columns: 1fr 1fr 1fr; |
5946 | } | 5946 | } |
5947 | } | 5947 | } |
5948 | 5948 | ||
5949 | main + .news { | 5949 | main + .news { |
5950 | padding: 0; | 5950 | padding: 0; |
5951 | } | 5951 | } |
5952 | 5952 | ||
5953 | .info { | 5953 | .info { |
5954 | position: relative; | 5954 | position: relative; |
5955 | overflow: hidden; | 5955 | overflow: hidden; |
5956 | } | 5956 | } |
5957 | @media (min-width: 1280px) { | 5957 | @media (min-width: 1280px) { |
5958 | .info { | 5958 | .info { |
5959 | margin-bottom: -25px; | 5959 | margin-bottom: -25px; |
5960 | } | 5960 | } |
5961 | } | 5961 | } |
5962 | .info__pic { | 5962 | .info__pic { |
5963 | display: none; | 5963 | display: none; |
5964 | z-index: 1; | 5964 | z-index: 1; |
5965 | position: absolute; | 5965 | position: absolute; |
5966 | top: 0; | 5966 | top: 0; |
5967 | left: 50%; | 5967 | left: 50%; |
5968 | height: 100%; | 5968 | height: 100%; |
5969 | margin-left: 130px; | 5969 | margin-left: 130px; |
5970 | } | 5970 | } |
5971 | @media (min-width: 992px) { | 5971 | @media (min-width: 992px) { |
5972 | .info__pic { | 5972 | .info__pic { |
5973 | display: block; | 5973 | display: block; |
5974 | } | 5974 | } |
5975 | } | 5975 | } |
5976 | @media (min-width: 1280px) { | 5976 | @media (min-width: 1280px) { |
5977 | .info__pic { | 5977 | .info__pic { |
5978 | width: 610px; | 5978 | width: 610px; |
5979 | height: auto; | 5979 | height: auto; |
5980 | margin-left: 10px; | 5980 | margin-left: 10px; |
5981 | } | 5981 | } |
5982 | } | 5982 | } |
5983 | .info__body { | 5983 | .info__body { |
5984 | z-index: 2; | 5984 | z-index: 2; |
5985 | position: relative; | 5985 | position: relative; |
5986 | display: -webkit-box; | 5986 | display: -webkit-box; |
5987 | display: -ms-flexbox; | 5987 | display: -ms-flexbox; |
5988 | display: flex; | 5988 | display: flex; |
5989 | -webkit-box-orient: vertical; | 5989 | -webkit-box-orient: vertical; |
5990 | -webkit-box-direction: normal; | 5990 | -webkit-box-direction: normal; |
5991 | -ms-flex-direction: column; | 5991 | -ms-flex-direction: column; |
5992 | flex-direction: column; | 5992 | flex-direction: column; |
5993 | } | 5993 | } |
5994 | @media (min-width: 1280px) { | 5994 | @media (min-width: 1280px) { |
5995 | .info__body { | 5995 | .info__body { |
5996 | padding-top: 100px; | 5996 | padding-top: 100px; |
5997 | min-height: 600px; | 5997 | min-height: 600px; |
5998 | } | 5998 | } |
5999 | } | 5999 | } |
6000 | @media (min-width: 1280px) { | 6000 | @media (min-width: 1280px) { |
6001 | .info__title { | 6001 | .info__title { |
6002 | max-width: 520px; | 6002 | max-width: 520px; |
6003 | line-height: 1; | 6003 | line-height: 1; |
6004 | } | 6004 | } |
6005 | } | 6005 | } |
6006 | .info__item { | 6006 | .info__item { |
6007 | margin-top: 20px; | 6007 | margin-top: 20px; |
6008 | display: -webkit-box; | 6008 | display: -webkit-box; |
6009 | display: -ms-flexbox; | 6009 | display: -ms-flexbox; |
6010 | display: flex; | 6010 | display: flex; |
6011 | -webkit-box-orient: vertical; | 6011 | -webkit-box-orient: vertical; |
6012 | -webkit-box-direction: normal; | 6012 | -webkit-box-direction: normal; |
6013 | -ms-flex-direction: column; | 6013 | -ms-flex-direction: column; |
6014 | flex-direction: column; | 6014 | flex-direction: column; |
6015 | gap: 20px; | 6015 | gap: 20px; |
6016 | } | 6016 | } |
6017 | @media (min-width: 992px) { | 6017 | @media (min-width: 992px) { |
6018 | .info__item { | 6018 | .info__item { |
6019 | max-width: 610px; | 6019 | max-width: 610px; |
6020 | } | 6020 | } |
6021 | } | 6021 | } |
6022 | .info__item + .info__item { | 6022 | .info__item + .info__item { |
6023 | margin-top: 60px; | 6023 | margin-top: 60px; |
6024 | } | 6024 | } |
6025 | .info__text { | 6025 | .info__text { |
6026 | color: #000; | 6026 | color: #000; |
6027 | font-size: 13px; | 6027 | font-size: 13px; |
6028 | line-height: 1.4; | 6028 | line-height: 1.4; |
6029 | } | 6029 | } |
6030 | @media (min-width: 768px) { | 6030 | @media (min-width: 768px) { |
6031 | .info__text { | 6031 | .info__text { |
6032 | font-size: 16px; | 6032 | font-size: 16px; |
6033 | } | 6033 | } |
6034 | } | 6034 | } |
6035 | @media (min-width: 1280px) { | 6035 | @media (min-width: 1280px) { |
6036 | .info__text { | 6036 | .info__text { |
6037 | font-size: 18px; | 6037 | font-size: 18px; |
6038 | } | 6038 | } |
6039 | } | 6039 | } |
6040 | .info__link { | 6040 | .info__link { |
6041 | border-radius: 8px; | 6041 | border-radius: 8px; |
6042 | display: -webkit-box; | 6042 | display: -webkit-box; |
6043 | display: -ms-flexbox; | 6043 | display: -ms-flexbox; |
6044 | display: flex; | 6044 | display: flex; |
6045 | -webkit-box-pack: center; | 6045 | -webkit-box-pack: center; |
6046 | -ms-flex-pack: center; | 6046 | -ms-flex-pack: center; |
6047 | justify-content: center; | 6047 | justify-content: center; |
6048 | -webkit-box-align: center; | 6048 | -webkit-box-align: center; |
6049 | -ms-flex-align: center; | 6049 | -ms-flex-align: center; |
6050 | align-items: center; | 6050 | align-items: center; |
6051 | line-height: 1; | 6051 | line-height: 1; |
6052 | height: 40px; | 6052 | height: 40px; |
6053 | font-size: 12px; | 6053 | font-size: 12px; |
6054 | font-weight: 700; | 6054 | font-weight: 700; |
6055 | gap: 8px; | 6055 | gap: 8px; |
6056 | color: #fff; | 6056 | color: #fff; |
6057 | background: #377d87; | 6057 | background: #377d87; |
6058 | } | 6058 | } |
6059 | .info__link:hover { | 6059 | .info__link:hover { |
6060 | -webkit-filter: grayscale(50%); | 6060 | -webkit-filter: grayscale(50%); |
6061 | filter: grayscale(50%); | 6061 | filter: grayscale(50%); |
6062 | } | 6062 | } |
6063 | @media (min-width: 768px) { | 6063 | @media (min-width: 768px) { |
6064 | .info__link { | 6064 | .info__link { |
6065 | height: 44px; | 6065 | height: 44px; |
6066 | font-size: 16px; | 6066 | font-size: 16px; |
6067 | gap: 10px; | 6067 | gap: 10px; |
6068 | max-width: 300px; | 6068 | max-width: 300px; |
6069 | } | 6069 | } |
6070 | } | 6070 | } |
6071 | @media (min-width: 992px) { | 6071 | @media (min-width: 992px) { |
6072 | .info__link { | 6072 | .info__link { |
6073 | max-width: 210px; | 6073 | max-width: 210px; |
6074 | } | 6074 | } |
6075 | } | 6075 | } |
6076 | .info__link svg { | 6076 | .info__link svg { |
6077 | width: 16px; | 6077 | width: 16px; |
6078 | height: 16px; | 6078 | height: 16px; |
6079 | } | 6079 | } |
6080 | @media (min-width: 768px) { | 6080 | @media (min-width: 768px) { |
6081 | .info__link svg { | 6081 | .info__link svg { |
6082 | width: 20px; | 6082 | width: 20px; |
6083 | height: 20px; | 6083 | height: 20px; |
6084 | } | 6084 | } |
6085 | } | 6085 | } |
6086 | 6086 | ||
6087 | .thing { | 6087 | .thing { |
6088 | padding-top: 15px; | 6088 | padding-top: 15px; |
6089 | padding-bottom: 30px; | 6089 | padding-bottom: 30px; |
6090 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 6090 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
6091 | color: #000; | 6091 | color: #000; |
6092 | overflow: hidden; | 6092 | overflow: hidden; |
6093 | position: relative; | 6093 | position: relative; |
6094 | } | 6094 | } |
6095 | @media (min-width: 992px) { | 6095 | @media (min-width: 992px) { |
6096 | .thing { | 6096 | .thing { |
6097 | padding-top: 20px; | 6097 | padding-top: 20px; |
6098 | padding-bottom: 60px; | 6098 | padding-bottom: 60px; |
6099 | } | 6099 | } |
6100 | } | 6100 | } |
6101 | @media (min-width: 1280px) { | 6101 | @media (min-width: 1280px) { |
6102 | .thing { | 6102 | .thing { |
6103 | padding-bottom: 90px; | 6103 | padding-bottom: 90px; |
6104 | } | 6104 | } |
6105 | } | 6105 | } |
6106 | .thing_pdf { | 6106 | .thing_pdf { |
6107 | padding: 30px 0; | 6107 | padding: 30px 0; |
6108 | } | 6108 | } |
6109 | @media (min-width: 992px) { | 6109 | @media (min-width: 992px) { |
6110 | .thing_pdf { | 6110 | .thing_pdf { |
6111 | padding: 60px 0; | 6111 | padding: 60px 0; |
6112 | } | 6112 | } |
6113 | } | 6113 | } |
6114 | @media (min-width: 1280px) { | 6114 | @media (min-width: 1280px) { |
6115 | .thing_pdf { | 6115 | .thing_pdf { |
6116 | padding: 90px 0; | 6116 | padding: 90px 0; |
6117 | } | 6117 | } |
6118 | } | 6118 | } |
6119 | .thing__body { | 6119 | .thing__body { |
6120 | display: -webkit-box; | 6120 | display: -webkit-box; |
6121 | display: -ms-flexbox; | 6121 | display: -ms-flexbox; |
6122 | display: flex; | 6122 | display: flex; |
6123 | -webkit-box-orient: vertical; | 6123 | -webkit-box-orient: vertical; |
6124 | -webkit-box-direction: normal; | 6124 | -webkit-box-direction: normal; |
6125 | -ms-flex-direction: column; | 6125 | -ms-flex-direction: column; |
6126 | flex-direction: column; | 6126 | flex-direction: column; |
6127 | -webkit-box-align: start; | 6127 | -webkit-box-align: start; |
6128 | -ms-flex-align: start; | 6128 | -ms-flex-align: start; |
6129 | align-items: flex-start; | 6129 | align-items: flex-start; |
6130 | } | 6130 | } |
6131 | .thing__breadcrumbs { | 6131 | .thing__breadcrumbs { |
6132 | width: 100%; | 6132 | width: 100%; |
6133 | margin-bottom: 40px; | 6133 | margin-bottom: 40px; |
6134 | position: relative; | 6134 | position: relative; |
6135 | z-index: 2; | 6135 | z-index: 2; |
6136 | } | 6136 | } |
6137 | @media (min-width: 768px) { | 6137 | @media (min-width: 768px) { |
6138 | .thing__breadcrumbs { | 6138 | .thing__breadcrumbs { |
6139 | margin-bottom: 60px; | 6139 | margin-bottom: 60px; |
6140 | } | 6140 | } |
6141 | } | 6141 | } |
6142 | .thing__date { | 6142 | .thing__date { |
6143 | color: #000; | 6143 | color: #000; |
6144 | font-size: 14px; | 6144 | font-size: 14px; |
6145 | font-weight: 700; | 6145 | font-weight: 700; |
6146 | line-height: 21px; | 6146 | line-height: 21px; |
6147 | margin-bottom: 10px; | 6147 | margin-bottom: 10px; |
6148 | } | 6148 | } |
6149 | @media (min-width: 768px) { | 6149 | @media (min-width: 768px) { |
6150 | .thing__date { | 6150 | .thing__date { |
6151 | font-size: 18px; | 6151 | font-size: 18px; |
6152 | line-height: 27px; | 6152 | line-height: 27px; |
6153 | } | 6153 | } |
6154 | } | 6154 | } |
6155 | .thing__title { | 6155 | .thing__title { |
6156 | width: 100%; | 6156 | width: 100%; |
6157 | font-size: 32px; | 6157 | font-size: 32px; |
6158 | font-weight: 700; | 6158 | font-weight: 700; |
6159 | margin: 0; | 6159 | margin: 0; |
6160 | max-width: 780px; | 6160 | max-width: 780px; |
6161 | position: relative; | 6161 | position: relative; |
6162 | z-index: 2; | 6162 | z-index: 2; |
6163 | line-height: 1.1; | 6163 | line-height: 1.1; |
6164 | } | 6164 | } |
6165 | @media (min-width: 768px) { | 6165 | @media (min-width: 768px) { |
6166 | .thing__title { | 6166 | .thing__title { |
6167 | font-size: 40px; | 6167 | font-size: 40px; |
6168 | } | 6168 | } |
6169 | } | 6169 | } |
6170 | @media (min-width: 1280px) { | 6170 | @media (min-width: 1280px) { |
6171 | .thing__title { | 6171 | .thing__title { |
6172 | font-size: 64px; | 6172 | font-size: 64px; |
6173 | } | 6173 | } |
6174 | } | 6174 | } |
6175 | .thing__text { | 6175 | .thing__text { |
6176 | width: 100%; | 6176 | width: 100%; |
6177 | font-weight: 700; | 6177 | font-weight: 700; |
6178 | font-size: 14px; | 6178 | font-size: 14px; |
6179 | line-height: 1.4; | 6179 | line-height: 1.4; |
6180 | margin: 15px 0 0 0; | 6180 | margin: 15px 0 0 0; |
6181 | max-width: 780px; | 6181 | max-width: 780px; |
6182 | position: relative; | 6182 | position: relative; |
6183 | z-index: 2; | 6183 | z-index: 2; |
6184 | } | 6184 | } |
6185 | @media (min-width: 768px) { | 6185 | @media (min-width: 768px) { |
6186 | .thing__text { | 6186 | .thing__text { |
6187 | margin-top: 15px; | 6187 | margin-top: 15px; |
6188 | } | 6188 | } |
6189 | } | 6189 | } |
6190 | @media (min-width: 992px) { | 6190 | @media (min-width: 992px) { |
6191 | .thing__text { | 6191 | .thing__text { |
6192 | font-weight: 400; | 6192 | font-weight: 400; |
6193 | font-size: 18px; | 6193 | font-size: 18px; |
6194 | } | 6194 | } |
6195 | } | 6195 | } |
6196 | .thing__search { | 6196 | .thing__search { |
6197 | width: 100%; | 6197 | width: 100%; |
6198 | max-width: 640px; | 6198 | max-width: 640px; |
6199 | margin-top: 20px; | 6199 | margin-top: 20px; |
6200 | position: relative; | 6200 | position: relative; |
6201 | z-index: 2; | 6201 | z-index: 2; |
6202 | } | 6202 | } |
6203 | @media (min-width: 768px) { | 6203 | @media (min-width: 768px) { |
6204 | .thing__search { | 6204 | .thing__search { |
6205 | margin-top: 30px; | 6205 | margin-top: 30px; |
6206 | } | 6206 | } |
6207 | } | 6207 | } |
6208 | .thing__badge { | 6208 | .thing__badge { |
6209 | position: relative; | 6209 | position: relative; |
6210 | z-index: 2; | 6210 | z-index: 2; |
6211 | display: -webkit-box; | 6211 | display: -webkit-box; |
6212 | display: -ms-flexbox; | 6212 | display: -ms-flexbox; |
6213 | display: flex; | 6213 | display: flex; |
6214 | -webkit-box-align: center; | 6214 | -webkit-box-align: center; |
6215 | -ms-flex-align: center; | 6215 | -ms-flex-align: center; |
6216 | align-items: center; | 6216 | align-items: center; |
6217 | gap: 5px; | 6217 | gap: 5px; |
6218 | padding: 0 12px; | 6218 | padding: 0 12px; |
6219 | background: #4d88d9; | 6219 | background: #4d88d9; |
6220 | color: #fff; | 6220 | color: #fff; |
6221 | font-size: 12px; | 6221 | font-size: 12px; |
6222 | line-height: 1; | 6222 | line-height: 1; |
6223 | height: 26px; | 6223 | height: 26px; |
6224 | border-radius: 999px; | 6224 | border-radius: 999px; |
6225 | margin-bottom: 20px; | 6225 | margin-bottom: 20px; |
6226 | } | 6226 | } |
6227 | @media (min-width: 992px) { | 6227 | @media (min-width: 992px) { |
6228 | .thing__badge { | 6228 | .thing__badge { |
6229 | font-size: 16px; | 6229 | font-size: 16px; |
6230 | gap: 10px; | 6230 | gap: 10px; |
6231 | padding: 0 24px; | 6231 | padding: 0 24px; |
6232 | height: 42px; | 6232 | height: 42px; |
6233 | margin-bottom: 30px; | 6233 | margin-bottom: 30px; |
6234 | } | 6234 | } |
6235 | } | 6235 | } |
6236 | .thing__badge svg { | 6236 | .thing__badge svg { |
6237 | width: 12px; | 6237 | width: 12px; |
6238 | height: 12px; | 6238 | height: 12px; |
6239 | } | 6239 | } |
6240 | @media (min-width: 992px) { | 6240 | @media (min-width: 992px) { |
6241 | .thing__badge svg { | 6241 | .thing__badge svg { |
6242 | width: 20px; | 6242 | width: 20px; |
6243 | height: 20px; | 6243 | height: 20px; |
6244 | } | 6244 | } |
6245 | } | 6245 | } |
6246 | .thing__pic { | 6246 | .thing__pic { |
6247 | width: 60px; | 6247 | width: 60px; |
6248 | aspect-ratio: 1/1; | 6248 | aspect-ratio: 1/1; |
6249 | -o-object-fit: contain; | 6249 | -o-object-fit: contain; |
6250 | object-fit: contain; | 6250 | object-fit: contain; |
6251 | position: relative; | 6251 | position: relative; |
6252 | z-index: 1; | 6252 | z-index: 1; |
6253 | margin-bottom: 15px; | 6253 | margin-bottom: 15px; |
6254 | } | 6254 | } |
6255 | @media (min-width: 768px) { | 6255 | @media (min-width: 768px) { |
6256 | .thing__pic { | 6256 | .thing__pic { |
6257 | width: 160px; | 6257 | width: 160px; |
6258 | position: absolute; | 6258 | position: absolute; |
6259 | top: 15px; | 6259 | top: 15px; |
6260 | right: 20px; | 6260 | right: 20px; |
6261 | } | 6261 | } |
6262 | } | 6262 | } |
6263 | @media (min-width: 992px) { | 6263 | @media (min-width: 992px) { |
6264 | .thing__pic { | 6264 | .thing__pic { |
6265 | width: 330px; | 6265 | width: 330px; |
6266 | top: 50%; | 6266 | top: 50%; |
6267 | -webkit-transform: translate(0, -50%); | 6267 | -webkit-transform: translate(0, -50%); |
6268 | -ms-transform: translate(0, -50%); | 6268 | -ms-transform: translate(0, -50%); |
6269 | transform: translate(0, -50%); | 6269 | transform: translate(0, -50%); |
6270 | } | 6270 | } |
6271 | } | 6271 | } |
6272 | @media (min-width: 1280px) { | 6272 | @media (min-width: 1280px) { |
6273 | .thing__pic { | 6273 | .thing__pic { |
6274 | right: auto; | 6274 | right: auto; |
6275 | left: 50%; | 6275 | left: 50%; |
6276 | margin-left: 200px; | 6276 | margin-left: 200px; |
6277 | } | 6277 | } |
6278 | } | 6278 | } |
6279 | .thing__pic_two { | 6279 | .thing__pic_two { |
6280 | -o-object-fit: cover; | 6280 | -o-object-fit: cover; |
6281 | object-fit: cover; | 6281 | object-fit: cover; |
6282 | border-radius: 30px; | 6282 | border-radius: 30px; |
6283 | aspect-ratio: 44/37; | 6283 | aspect-ratio: 44/37; |
6284 | width: 100%; | 6284 | width: 100%; |
6285 | max-width: 440px; | 6285 | max-width: 440px; |
6286 | } | 6286 | } |
6287 | @media (min-width: 768px) { | 6287 | @media (min-width: 768px) { |
6288 | .thing__pic_two { | 6288 | .thing__pic_two { |
6289 | position: static; | 6289 | position: static; |
6290 | -webkit-transform: translate(0, 0); | 6290 | -webkit-transform: translate(0, 0); |
6291 | -ms-transform: translate(0, 0); | 6291 | -ms-transform: translate(0, 0); |
6292 | transform: translate(0, 0); | 6292 | transform: translate(0, 0); |
6293 | } | 6293 | } |
6294 | } | 6294 | } |
6295 | @media (min-width: 1280px) { | 6295 | @media (min-width: 1280px) { |
6296 | .thing__pic_two { | 6296 | .thing__pic_two { |
6297 | position: absolute; | 6297 | position: absolute; |
6298 | -webkit-transform: translate(0, -50%); | 6298 | -webkit-transform: translate(0, -50%); |
6299 | -ms-transform: translate(0, -50%); | 6299 | -ms-transform: translate(0, -50%); |
6300 | transform: translate(0, -50%); | 6300 | transform: translate(0, -50%); |
6301 | } | 6301 | } |
6302 | } | 6302 | } |
6303 | .thing__buttons { | 6303 | .thing__buttons { |
6304 | width: 100%; | 6304 | width: 100%; |
6305 | position: relative; | 6305 | position: relative; |
6306 | z-index: 2; | 6306 | z-index: 2; |
6307 | display: -webkit-box; | 6307 | display: -webkit-box; |
6308 | display: -ms-flexbox; | 6308 | display: -ms-flexbox; |
6309 | display: flex; | 6309 | display: flex; |
6310 | -webkit-box-align: center; | 6310 | -webkit-box-align: center; |
6311 | -ms-flex-align: center; | 6311 | -ms-flex-align: center; |
6312 | align-items: center; | 6312 | align-items: center; |
6313 | gap: 20px; | 6313 | gap: 20px; |
6314 | margin-top: 15px; | 6314 | margin-top: 15px; |
6315 | } | 6315 | } |
6316 | @media (min-width: 992px) { | 6316 | @media (min-width: 992px) { |
6317 | .thing__buttons { | 6317 | .thing__buttons { |
6318 | margin-top: 30px; | 6318 | margin-top: 30px; |
6319 | gap: 30px; | 6319 | gap: 30px; |
6320 | } | 6320 | } |
6321 | } | 6321 | } |
6322 | @media (min-width: 992px) { | 6322 | @media (min-width: 992px) { |
6323 | .thing__buttons .button { | 6323 | .thing__buttons .button { |
6324 | padding: 0 22px; | 6324 | padding: 0 22px; |
6325 | } | 6325 | } |
6326 | } | 6326 | } |
6327 | .thing__checkbox { | 6327 | .thing__checkbox { |
6328 | margin-top: 20px; | 6328 | margin-top: 20px; |
6329 | } | 6329 | } |
6330 | .thing__checkbox .checkbox__icon { | 6330 | .thing__checkbox .checkbox__icon { |
6331 | border-color: #377d87; | 6331 | border-color: #377d87; |
6332 | } | 6332 | } |
6333 | .thing__checkbox .checkbox__text { | 6333 | .thing__checkbox .checkbox__text { |
6334 | color: #377d87; | 6334 | color: #377d87; |
6335 | } | 6335 | } |
6336 | .thing__profile { | 6336 | .thing__profile { |
6337 | display: -webkit-box; | 6337 | display: -webkit-box; |
6338 | display: -ms-flexbox; | 6338 | display: -ms-flexbox; |
6339 | display: flex; | 6339 | display: flex; |
6340 | -webkit-box-orient: vertical; | 6340 | -webkit-box-orient: vertical; |
6341 | -webkit-box-direction: normal; | 6341 | -webkit-box-direction: normal; |
6342 | -ms-flex-direction: column; | 6342 | -ms-flex-direction: column; |
6343 | flex-direction: column; | 6343 | flex-direction: column; |
6344 | } | 6344 | } |
6345 | @media (min-width: 768px) { | 6345 | @media (min-width: 768px) { |
6346 | .thing__profile { | 6346 | .thing__profile { |
6347 | -webkit-box-orient: horizontal; | 6347 | -webkit-box-orient: horizontal; |
6348 | -webkit-box-direction: normal; | 6348 | -webkit-box-direction: normal; |
6349 | -ms-flex-direction: row; | 6349 | -ms-flex-direction: row; |
6350 | flex-direction: row; | 6350 | flex-direction: row; |
6351 | -webkit-box-align: start; | 6351 | -webkit-box-align: start; |
6352 | -ms-flex-align: start; | 6352 | -ms-flex-align: start; |
6353 | align-items: flex-start; | 6353 | align-items: flex-start; |
6354 | } | 6354 | } |
6355 | } | 6355 | } |
6356 | .thing__profile-photo { | 6356 | .thing__profile-photo { |
6357 | width: 210px; | 6357 | width: 210px; |
6358 | border-radius: 8px; | 6358 | border-radius: 8px; |
6359 | aspect-ratio: 1/1; | 6359 | aspect-ratio: 1/1; |
6360 | } | 6360 | } |
6361 | .thing__profile-body { | 6361 | .thing__profile-body { |
6362 | display: -webkit-box; | 6362 | display: -webkit-box; |
6363 | display: -ms-flexbox; | 6363 | display: -ms-flexbox; |
6364 | display: flex; | 6364 | display: flex; |
6365 | -webkit-box-orient: vertical; | 6365 | -webkit-box-orient: vertical; |
6366 | -webkit-box-direction: normal; | 6366 | -webkit-box-direction: normal; |
6367 | -ms-flex-direction: column; | 6367 | -ms-flex-direction: column; |
6368 | flex-direction: column; | 6368 | flex-direction: column; |
6369 | margin-top: 15px; | 6369 | margin-top: 15px; |
6370 | } | 6370 | } |
6371 | @media (min-width: 768px) { | 6371 | @media (min-width: 768px) { |
6372 | .thing__profile-body { | 6372 | .thing__profile-body { |
6373 | width: calc(100% - 210px); | 6373 | width: calc(100% - 210px); |
6374 | padding-left: 35px; | 6374 | padding-left: 35px; |
6375 | } | 6375 | } |
6376 | } | 6376 | } |
6377 | .thing__profile .thing__title { | 6377 | .thing__profile .thing__title { |
6378 | max-width: none; | 6378 | max-width: none; |
6379 | } | 6379 | } |
6380 | @media (min-width: 768px) { | 6380 | @media (min-width: 768px) { |
6381 | .thing__profile .thing__title { | 6381 | .thing__profile .thing__title { |
6382 | margin-top: -20px; | 6382 | margin-top: -20px; |
6383 | } | 6383 | } |
6384 | } | 6384 | } |
6385 | .thing__profile .thing__text { | 6385 | .thing__profile .thing__text { |
6386 | max-width: none; | 6386 | max-width: none; |
6387 | } | 6387 | } |
6388 | .thing__bottom { | 6388 | .thing__bottom { |
6389 | display: -webkit-box; | 6389 | display: -webkit-box; |
6390 | display: -ms-flexbox; | 6390 | display: -ms-flexbox; |
6391 | display: flex; | 6391 | display: flex; |
6392 | -webkit-box-align: center; | 6392 | -webkit-box-align: center; |
6393 | -ms-flex-align: center; | 6393 | -ms-flex-align: center; |
6394 | align-items: center; | 6394 | align-items: center; |
6395 | gap: 15px; | 6395 | gap: 15px; |
6396 | margin-top: 15px; | 6396 | margin-top: 15px; |
6397 | } | 6397 | } |
6398 | @media (min-width: 768px) { | 6398 | @media (min-width: 768px) { |
6399 | .thing__bottom { | 6399 | .thing__bottom { |
6400 | margin-top: 30px; | 6400 | margin-top: 30px; |
6401 | } | 6401 | } |
6402 | } | 6402 | } |
6403 | .thing__select { | 6403 | .thing__select { |
6404 | width: 100%; | 6404 | width: 100%; |
6405 | max-width: 640px; | 6405 | max-width: 640px; |
6406 | margin-top: 20px; | 6406 | margin-top: 20px; |
6407 | } | 6407 | } |
6408 | @media (min-width: 768px) { | 6408 | @media (min-width: 768px) { |
6409 | .thing__select { | 6409 | .thing__select { |
6410 | margin-top: 30px; | 6410 | margin-top: 30px; |
6411 | } | 6411 | } |
6412 | } | 6412 | } |
6413 | 6413 | ||
6414 | .page-404 { | 6414 | .page-404 { |
6415 | background: url(../images/bg-3.svg) no-repeat 100%/cover; | 6415 | background: url(../images/bg-3.svg) no-repeat 100%/cover; |
6416 | overflow: hidden; | 6416 | overflow: hidden; |
6417 | } | 6417 | } |
6418 | .page-404__body { | 6418 | .page-404__body { |
6419 | display: -webkit-box; | 6419 | display: -webkit-box; |
6420 | display: -ms-flexbox; | 6420 | display: -ms-flexbox; |
6421 | display: flex; | 6421 | display: flex; |
6422 | -webkit-box-orient: vertical; | 6422 | -webkit-box-orient: vertical; |
6423 | -webkit-box-direction: normal; | 6423 | -webkit-box-direction: normal; |
6424 | -ms-flex-direction: column; | 6424 | -ms-flex-direction: column; |
6425 | flex-direction: column; | 6425 | flex-direction: column; |
6426 | -webkit-box-align: center; | 6426 | -webkit-box-align: center; |
6427 | -ms-flex-align: center; | 6427 | -ms-flex-align: center; |
6428 | align-items: center; | 6428 | align-items: center; |
6429 | -webkit-box-pack: center; | 6429 | -webkit-box-pack: center; |
6430 | -ms-flex-pack: center; | 6430 | -ms-flex-pack: center; |
6431 | justify-content: center; | 6431 | justify-content: center; |
6432 | text-align: center; | 6432 | text-align: center; |
6433 | padding: 60px 0; | 6433 | padding: 60px 0; |
6434 | color: #000; | 6434 | color: #000; |
6435 | font-size: 12px; | 6435 | font-size: 12px; |
6436 | gap: 10px; | 6436 | gap: 10px; |
6437 | line-height: 1.4; | 6437 | line-height: 1.4; |
6438 | } | 6438 | } |
6439 | @media (min-width: 768px) { | 6439 | @media (min-width: 768px) { |
6440 | .page-404__body { | 6440 | .page-404__body { |
6441 | font-size: 18px; | 6441 | font-size: 18px; |
6442 | padding: 120px 0; | 6442 | padding: 120px 0; |
6443 | gap: 20px; | 6443 | gap: 20px; |
6444 | } | 6444 | } |
6445 | } | 6445 | } |
6446 | @media (min-width: 1280px) { | 6446 | @media (min-width: 1280px) { |
6447 | .page-404__body { | 6447 | .page-404__body { |
6448 | padding: 180px 0; | 6448 | padding: 180px 0; |
6449 | text-align: left; | 6449 | text-align: left; |
6450 | } | 6450 | } |
6451 | } | 6451 | } |
6452 | .page-404__numb { | 6452 | .page-404__numb { |
6453 | font-size: 114px; | 6453 | font-size: 114px; |
6454 | line-height: 1; | 6454 | line-height: 1; |
6455 | color: #377d87; | 6455 | color: #377d87; |
6456 | font-weight: 700; | 6456 | font-weight: 700; |
6457 | } | 6457 | } |
6458 | @media (min-width: 768px) { | 6458 | @media (min-width: 768px) { |
6459 | .page-404__numb { | 6459 | .page-404__numb { |
6460 | font-size: 184px; | 6460 | font-size: 184px; |
6461 | } | 6461 | } |
6462 | } | 6462 | } |
6463 | @media (min-width: 768px) { | 6463 | @media (min-width: 768px) { |
6464 | .page-404__title { | 6464 | .page-404__title { |
6465 | font-weight: 700; | 6465 | font-weight: 700; |
6466 | font-size: 44px; | 6466 | font-size: 44px; |
6467 | } | 6467 | } |
6468 | } | 6468 | } |
6469 | @media (min-width: 1280px) { | 6469 | @media (min-width: 1280px) { |
6470 | .page-404__title { | 6470 | .page-404__title { |
6471 | width: 710px; | 6471 | width: 710px; |
6472 | position: relative; | 6472 | position: relative; |
6473 | left: 200px; | 6473 | left: 200px; |
6474 | } | 6474 | } |
6475 | } | 6475 | } |
6476 | @media (min-width: 1280px) { | 6476 | @media (min-width: 1280px) { |
6477 | .page-404__subtitle { | 6477 | .page-404__subtitle { |
6478 | width: 710px; | 6478 | width: 710px; |
6479 | position: relative; | 6479 | position: relative; |
6480 | left: 200px; | 6480 | left: 200px; |
6481 | } | 6481 | } |
6482 | } | 6482 | } |
6483 | .page-404__button { | 6483 | .page-404__button { |
6484 | margin-top: 10px; | 6484 | margin-top: 10px; |
6485 | } | 6485 | } |
6486 | @media (min-width: 1280px) { | 6486 | @media (min-width: 1280px) { |
6487 | .page-404__button { | 6487 | .page-404__button { |
6488 | position: relative; | 6488 | position: relative; |
6489 | left: -45px; | 6489 | left: -45px; |
6490 | } | 6490 | } |
6491 | } | 6491 | } |
6492 | 6492 | ||
6493 | .cookies { | 6493 | .cookies { |
6494 | display: none; | 6494 | display: none; |
6495 | -webkit-box-align: end; | 6495 | -webkit-box-align: end; |
6496 | -ms-flex-align: end; | 6496 | -ms-flex-align: end; |
6497 | align-items: flex-end; | 6497 | align-items: flex-end; |
6498 | padding: 10px; | 6498 | padding: 10px; |
6499 | padding-top: 0; | 6499 | padding-top: 0; |
6500 | height: 0; | 6500 | height: 0; |
6501 | position: fixed; | 6501 | position: fixed; |
6502 | z-index: 999; | 6502 | z-index: 999; |
6503 | bottom: 0; | 6503 | bottom: 0; |
6504 | left: 0; | 6504 | left: 0; |
6505 | width: 100%; | 6505 | width: 100%; |
6506 | } | 6506 | } |
6507 | .cookies-is-actived .cookies { | 6507 | .cookies-is-actived .cookies { |
6508 | display: -webkit-box; | 6508 | display: -webkit-box; |
6509 | display: -ms-flexbox; | 6509 | display: -ms-flexbox; |
6510 | display: flex; | 6510 | display: flex; |
6511 | } | 6511 | } |
6512 | .cookies__body { | 6512 | .cookies__body { |
6513 | border-radius: 6px; | 6513 | border-radius: 6px; |
6514 | border: 1px solid #377d87; | 6514 | border: 1px solid #377d87; |
6515 | background: #fff; | 6515 | background: #fff; |
6516 | padding: 15px; | 6516 | padding: 15px; |
6517 | padding-right: 50px; | 6517 | padding-right: 50px; |
6518 | position: relative; | 6518 | position: relative; |
6519 | max-width: 940px; | 6519 | max-width: 940px; |
6520 | margin: 0 auto; | 6520 | margin: 0 auto; |
6521 | } | 6521 | } |
6522 | @media (min-width: 768px) { | 6522 | @media (min-width: 768px) { |
6523 | .cookies__body { | 6523 | .cookies__body { |
6524 | padding: 25px; | 6524 | padding: 25px; |
6525 | padding-right: 50px; | 6525 | padding-right: 50px; |
6526 | border-radius: 12px; | 6526 | border-radius: 12px; |
6527 | } | 6527 | } |
6528 | } | 6528 | } |
6529 | @media (min-width: 992px) { | 6529 | @media (min-width: 992px) { |
6530 | .cookies__body { | 6530 | .cookies__body { |
6531 | padding: 40px 60px; | 6531 | padding: 40px 60px; |
6532 | } | 6532 | } |
6533 | } | 6533 | } |
6534 | .cookies__close { | 6534 | .cookies__close { |
6535 | display: -webkit-box; | 6535 | display: -webkit-box; |
6536 | display: -ms-flexbox; | 6536 | display: -ms-flexbox; |
6537 | display: flex; | 6537 | display: flex; |
6538 | -webkit-box-pack: center; | 6538 | -webkit-box-pack: center; |
6539 | -ms-flex-pack: center; | 6539 | -ms-flex-pack: center; |
6540 | justify-content: center; | 6540 | justify-content: center; |
6541 | -webkit-box-align: center; | 6541 | -webkit-box-align: center; |
6542 | -ms-flex-align: center; | 6542 | -ms-flex-align: center; |
6543 | align-items: center; | 6543 | align-items: center; |
6544 | color: #377d87; | 6544 | color: #377d87; |
6545 | padding: 0; | 6545 | padding: 0; |
6546 | border: none; | 6546 | border: none; |
6547 | background: none; | 6547 | background: none; |
6548 | position: absolute; | 6548 | position: absolute; |
6549 | top: 15px; | 6549 | top: 15px; |
6550 | right: 15px; | 6550 | right: 15px; |
6551 | } | 6551 | } |
6552 | .cookies__close:hover { | 6552 | .cookies__close:hover { |
6553 | color: #000; | 6553 | color: #000; |
6554 | } | 6554 | } |
6555 | .cookies__close svg { | 6555 | .cookies__close svg { |
6556 | width: 16px; | 6556 | width: 16px; |
6557 | height: 16px; | 6557 | height: 16px; |
6558 | } | 6558 | } |
6559 | .cookies__text { | 6559 | .cookies__text { |
6560 | font-size: 12px; | 6560 | font-size: 12px; |
6561 | color: #377d87; | 6561 | color: #377d87; |
6562 | line-height: 1.4; | 6562 | line-height: 1.4; |
6563 | } | 6563 | } |
6564 | @media (min-width: 768px) { | 6564 | @media (min-width: 768px) { |
6565 | .cookies__text { | 6565 | .cookies__text { |
6566 | font-size: 16px; | 6566 | font-size: 16px; |
6567 | font-weight: 700; | 6567 | font-weight: 700; |
6568 | } | 6568 | } |
6569 | } | 6569 | } |
6570 | 6570 | ||
6571 | .fancybox-active { | 6571 | .fancybox-active { |
6572 | overflow: hidden; | 6572 | overflow: hidden; |
6573 | } | 6573 | } |
6574 | .fancybox-is-open .fancybox-bg { | 6574 | .fancybox-is-open .fancybox-bg { |
6575 | background: #080b0b; | 6575 | background: #080b0b; |
6576 | opacity: 0.6; | 6576 | opacity: 0.6; |
6577 | z-index: 9999; | 6577 | z-index: 9999; |
6578 | } | 6578 | } |
6579 | .fancybox-slide { | 6579 | .fancybox-slide { |
6580 | padding: 0; | 6580 | padding: 0; |
6581 | } | 6581 | } |
6582 | @media (min-width: 992px) { | 6582 | @media (min-width: 992px) { |
6583 | .fancybox-slide { | 6583 | .fancybox-slide { |
6584 | padding: 30px; | 6584 | padding: 30px; |
6585 | } | 6585 | } |
6586 | } | 6586 | } |
6587 | .fancybox-slide--html .fancybox-close-small { | 6587 | .fancybox-slide--html .fancybox-close-small { |
6588 | padding: 0; | 6588 | padding: 0; |
6589 | opacity: 1; | 6589 | opacity: 1; |
6590 | color: #377d87; | 6590 | color: #377d87; |
6591 | } | 6591 | } |
6592 | @media (min-width: 768px) { | 6592 | @media (min-width: 768px) { |
6593 | .fancybox-slide--html .fancybox-close-small { | 6593 | .fancybox-slide--html .fancybox-close-small { |
6594 | top: 10px; | 6594 | top: 10px; |
6595 | right: 10px; | 6595 | right: 10px; |
6596 | } | 6596 | } |
6597 | } | 6597 | } |
6598 | .fancybox-slide--html .fancybox-close-small:hover { | 6598 | .fancybox-slide--html .fancybox-close-small:hover { |
6599 | color: #000; | 6599 | color: #000; |
6600 | } | 6600 | } |
6601 | 6601 | ||
6602 | .modal { | 6602 | .modal { |
6603 | width: 100%; | 6603 | width: 100%; |
6604 | max-width: 820px; | 6604 | max-width: 820px; |
6605 | padding: 0; | 6605 | padding: 0; |
6606 | background: #fff; | 6606 | background: #fff; |
6607 | z-index: 99999; | 6607 | z-index: 99999; |
6608 | } | 6608 | } |
6609 | @media (min-width: 992px) { | 6609 | @media (min-width: 992px) { |
6610 | .modal { | 6610 | .modal { |
6611 | border-radius: 10px; | 6611 | border-radius: 10px; |
6612 | border: 1px solid #377d87; | 6612 | border: 1px solid #377d87; |
6613 | } | 6613 | } |
6614 | } | 6614 | } |
6615 | .modal_bg { | 6615 | .modal_bg { |
6616 | background: #fff url(../images/bg-4.svg) no-repeat calc(50% + 100px) 100%; | 6616 | background: #fff url(../images/bg-4.svg) no-repeat calc(50% + 100px) 100%; |
6617 | } | 6617 | } |
6618 | @media (min-width: 768px) { | 6618 | @media (min-width: 768px) { |
6619 | .modal_bg { | 6619 | .modal_bg { |
6620 | background-position: 100% 100%; | 6620 | background-position: 100% 100%; |
6621 | } | 6621 | } |
6622 | } | 6622 | } |
6623 | .modal__body { | 6623 | .modal__body { |
6624 | padding: 40px 15px; | 6624 | padding: 40px 15px; |
6625 | padding-bottom: 30px; | 6625 | padding-bottom: 30px; |
6626 | display: -webkit-box; | 6626 | display: -webkit-box; |
6627 | display: -ms-flexbox; | 6627 | display: -ms-flexbox; |
6628 | display: flex; | 6628 | display: flex; |
6629 | -webkit-box-orient: vertical; | 6629 | -webkit-box-orient: vertical; |
6630 | -webkit-box-direction: normal; | 6630 | -webkit-box-direction: normal; |
6631 | -ms-flex-direction: column; | 6631 | -ms-flex-direction: column; |
6632 | flex-direction: column; | 6632 | flex-direction: column; |
6633 | -webkit-box-align: center; | 6633 | -webkit-box-align: center; |
6634 | -ms-flex-align: center; | 6634 | -ms-flex-align: center; |
6635 | align-items: center; | 6635 | align-items: center; |
6636 | -webkit-box-pack: center; | 6636 | -webkit-box-pack: center; |
6637 | -ms-flex-pack: center; | 6637 | -ms-flex-pack: center; |
6638 | justify-content: center; | 6638 | justify-content: center; |
6639 | width: 100%; | 6639 | width: 100%; |
6640 | min-height: 100vh; | 6640 | min-height: 100vh; |
6641 | overflow: hidden; | 6641 | overflow: hidden; |
6642 | font-size: 12px; | 6642 | font-size: 12px; |
6643 | } | 6643 | } |
6644 | @media (min-width: 768px) { | 6644 | @media (min-width: 768px) { |
6645 | .modal__body { | 6645 | .modal__body { |
6646 | font-size: 16px; | 6646 | font-size: 16px; |
6647 | padding-left: 22px; | 6647 | padding-left: 22px; |
6648 | padding-right: 22px; | 6648 | padding-right: 22px; |
6649 | } | 6649 | } |
6650 | } | 6650 | } |
6651 | @media (min-width: 992px) { | 6651 | @media (min-width: 992px) { |
6652 | .modal__body { | 6652 | .modal__body { |
6653 | min-height: 450px; | 6653 | min-height: 450px; |
6654 | padding: 60px 80px; | 6654 | padding: 60px 80px; |
6655 | padding-bottom: 40px; | 6655 | padding-bottom: 40px; |
6656 | } | 6656 | } |
6657 | } | 6657 | } |
6658 | @media (min-width: 768px) { | 6658 | @media (min-width: 768px) { |
6659 | .modal__body .left { | 6659 | .modal__body .left { |
6660 | text-align: left; | 6660 | text-align: left; |
6661 | } | 6661 | } |
6662 | } | 6662 | } |
6663 | .modal__title { | 6663 | .modal__title { |
6664 | width: 100%; | 6664 | width: 100%; |
6665 | font-size: 22px; | 6665 | font-size: 22px; |
6666 | font-weight: 700; | 6666 | font-weight: 700; |
6667 | text-align: center; | 6667 | text-align: center; |
6668 | color: #000; | 6668 | color: #000; |
6669 | } | 6669 | } |
6670 | @media (min-width: 768px) { | 6670 | @media (min-width: 768px) { |
6671 | .modal__title { | 6671 | .modal__title { |
6672 | font-size: 32px; | 6672 | font-size: 32px; |
6673 | } | 6673 | } |
6674 | } | 6674 | } |
6675 | @media (min-width: 992px) { | 6675 | @media (min-width: 992px) { |
6676 | .modal__title { | 6676 | .modal__title { |
6677 | font-size: 44px; | 6677 | font-size: 44px; |
6678 | } | 6678 | } |
6679 | } | 6679 | } |
6680 | .modal__text { | 6680 | .modal__text { |
6681 | width: 100%; | 6681 | width: 100%; |
6682 | text-align: center; | 6682 | text-align: center; |
6683 | margin-top: 10px; | 6683 | margin-top: 10px; |
6684 | color: #000; | 6684 | color: #000; |
6685 | } | 6685 | } |
6686 | @media (min-width: 768px) { | 6686 | @media (min-width: 768px) { |
6687 | .modal__text { | 6687 | .modal__text { |
6688 | margin-top: 20px; | 6688 | margin-top: 20px; |
6689 | } | 6689 | } |
6690 | } | 6690 | } |
6691 | .modal__text span { | 6691 | .modal__text span { |
6692 | color: #9c9d9d; | 6692 | color: #9c9d9d; |
6693 | } | 6693 | } |
6694 | .modal__text a { | 6694 | .modal__text a { |
6695 | font-weight: 700; | 6695 | font-weight: 700; |
6696 | color: #377d87; | 6696 | color: #377d87; |
6697 | } | 6697 | } |
6698 | .modal__text a:hover { | 6698 | .modal__text a:hover { |
6699 | color: #000; | 6699 | color: #000; |
6700 | } | 6700 | } |
6701 | .modal__button { | 6701 | .modal__button { |
6702 | margin-top: 20px; | 6702 | margin-top: 20px; |
6703 | } | 6703 | } |
6704 | @media (min-width: 768px) { | 6704 | @media (min-width: 768px) { |
6705 | .modal__button { | 6705 | .modal__button { |
6706 | min-width: 200px; | 6706 | min-width: 200px; |
6707 | margin-top: 30px; | 6707 | margin-top: 30px; |
6708 | } | 6708 | } |
6709 | } | 6709 | } |
6710 | .modal__buttons { | 6710 | .modal__buttons { |
6711 | display: grid; | 6711 | display: grid; |
6712 | grid-template-columns: repeat(2, 1fr); | 6712 | grid-template-columns: repeat(2, 1fr); |
6713 | gap: 20px; | 6713 | gap: 20px; |
6714 | margin-top: 20px; | 6714 | margin-top: 20px; |
6715 | } | 6715 | } |
6716 | @media (min-width: 768px) { | 6716 | @media (min-width: 768px) { |
6717 | .modal__buttons { | 6717 | .modal__buttons { |
6718 | gap: 30px; | 6718 | gap: 30px; |
6719 | margin-top: 30px; | 6719 | margin-top: 30px; |
6720 | } | 6720 | } |
6721 | } | 6721 | } |
6722 | .modal__form { | 6722 | .modal__form { |
6723 | width: 100%; | 6723 | width: 100%; |
6724 | display: -webkit-box; | 6724 | display: -webkit-box; |
6725 | display: -ms-flexbox; | 6725 | display: -ms-flexbox; |
6726 | display: flex; | 6726 | display: flex; |
6727 | -webkit-box-orient: vertical; | 6727 | -webkit-box-orient: vertical; |
6728 | -webkit-box-direction: normal; | 6728 | -webkit-box-direction: normal; |
6729 | -ms-flex-direction: column; | 6729 | -ms-flex-direction: column; |
6730 | flex-direction: column; | 6730 | flex-direction: column; |
6731 | gap: 16px; | 6731 | gap: 16px; |
6732 | margin-top: 10px; | 6732 | margin-top: 10px; |
6733 | } | 6733 | } |
6734 | @media (min-width: 768px) { | 6734 | @media (min-width: 768px) { |
6735 | .modal__form { | 6735 | .modal__form { |
6736 | margin-top: 20px; | 6736 | margin-top: 20px; |
6737 | } | 6737 | } |
6738 | } | 6738 | } |
6739 | .modal__form-item { | 6739 | .modal__form-item { |
6740 | display: -webkit-box; | 6740 | display: -webkit-box; |
6741 | display: -ms-flexbox; | 6741 | display: -ms-flexbox; |
6742 | display: flex; | 6742 | display: flex; |
6743 | -webkit-box-orient: vertical; | 6743 | -webkit-box-orient: vertical; |
6744 | -webkit-box-direction: normal; | 6744 | -webkit-box-direction: normal; |
6745 | -ms-flex-direction: column; | 6745 | -ms-flex-direction: column; |
6746 | flex-direction: column; | 6746 | flex-direction: column; |
6747 | -webkit-box-align: center; | 6747 | -webkit-box-align: center; |
6748 | -ms-flex-align: center; | 6748 | -ms-flex-align: center; |
6749 | align-items: center; | 6749 | align-items: center; |
6750 | gap: 4px; | 6750 | gap: 4px; |
6751 | } | 6751 | } |
6752 | .modal__form-item > .input { | 6752 | .modal__form-item > .input { |
6753 | width: 100%; | 6753 | width: 100%; |
6754 | } | 6754 | } |
6755 | .modal__form-item > .textarea { | 6755 | .modal__form-item > .textarea { |
6756 | width: 100%; | 6756 | width: 100%; |
6757 | height: 175px; | 6757 | height: 175px; |
6758 | } | 6758 | } |
6759 | @media (min-width: 768px) { | 6759 | @media (min-width: 768px) { |
6760 | .modal__form-item > .textarea { | 6760 | .modal__form-item > .textarea { |
6761 | height: 195px; | 6761 | height: 195px; |
6762 | } | 6762 | } |
6763 | } | 6763 | } |
6764 | .modal__form-item > .file { | 6764 | .modal__form-item > .file { |
6765 | width: 100%; | 6765 | width: 100%; |
6766 | } | 6766 | } |
6767 | .modal__form-item > .button { | 6767 | .modal__form-item > .button { |
6768 | min-width: 120px; | 6768 | min-width: 120px; |
6769 | } | 6769 | } |
6770 | .modal__form-item > label { | 6770 | .modal__form-item > label { |
6771 | width: 100%; | 6771 | width: 100%; |
6772 | display: none; | 6772 | display: none; |
6773 | color: #eb5757; | 6773 | color: #eb5757; |
6774 | padding: 0 10px; | 6774 | padding: 0 10px; |
6775 | font-size: 12px; | 6775 | font-size: 12px; |
6776 | } | 6776 | } |
6777 | @media (min-width: 768px) { | 6777 | @media (min-width: 768px) { |
6778 | .modal__form-item > label { | 6778 | .modal__form-item > label { |
6779 | padding: 0 20px; | 6779 | padding: 0 20px; |
6780 | font-size: 16px; | 6780 | font-size: 16px; |
6781 | } | 6781 | } |
6782 | } | 6782 | } |
6783 | .modal__sign { | 6783 | .modal__sign { |
6784 | display: -webkit-box; | 6784 | display: -webkit-box; |
6785 | display: -ms-flexbox; | 6785 | display: -ms-flexbox; |
6786 | display: flex; | 6786 | display: flex; |
6787 | -webkit-box-orient: vertical; | 6787 | -webkit-box-orient: vertical; |
6788 | -webkit-box-direction: normal; | 6788 | -webkit-box-direction: normal; |
6789 | -ms-flex-direction: column; | 6789 | -ms-flex-direction: column; |
6790 | flex-direction: column; | 6790 | flex-direction: column; |
6791 | gap: 20px; | 6791 | gap: 20px; |
6792 | margin-top: 10px; | 6792 | margin-top: 10px; |
6793 | margin-bottom: 20px; | 6793 | margin-bottom: 20px; |
6794 | width: 100%; | 6794 | width: 100%; |
6795 | } | 6795 | } |
6796 | @media (min-width: 768px) { | 6796 | @media (min-width: 768px) { |
6797 | .modal__sign { | 6797 | .modal__sign { |
6798 | margin-top: 20px; | 6798 | margin-top: 20px; |
6799 | margin-bottom: 40px; | 6799 | margin-bottom: 40px; |
6800 | } | 6800 | } |
6801 | } | 6801 | } |
6802 | .modal__sign-item { | 6802 | .modal__sign-item { |
6803 | display: -webkit-box; | 6803 | display: -webkit-box; |
6804 | display: -ms-flexbox; | 6804 | display: -ms-flexbox; |
6805 | display: flex; | 6805 | display: flex; |
6806 | -webkit-box-orient: vertical; | 6806 | -webkit-box-orient: vertical; |
6807 | -webkit-box-direction: normal; | 6807 | -webkit-box-direction: normal; |
6808 | -ms-flex-direction: column; | 6808 | -ms-flex-direction: column; |
6809 | flex-direction: column; | 6809 | flex-direction: column; |
6810 | -webkit-box-align: center; | 6810 | -webkit-box-align: center; |
6811 | -ms-flex-align: center; | 6811 | -ms-flex-align: center; |
6812 | align-items: center; | 6812 | align-items: center; |
6813 | position: relative; | 6813 | position: relative; |
6814 | } | 6814 | } |
6815 | .modal__sign-item > .input { | 6815 | .modal__sign-item > .input { |
6816 | width: 100%; | 6816 | width: 100%; |
6817 | padding-right: 36px; | 6817 | padding-right: 36px; |
6818 | position: relative; | 6818 | position: relative; |
6819 | z-index: 1; | 6819 | z-index: 1; |
6820 | } | 6820 | } |
6821 | @media (min-width: 768px) { | 6821 | @media (min-width: 768px) { |
6822 | .modal__sign-item > .input { | 6822 | .modal__sign-item > .input { |
6823 | height: 52px; | 6823 | height: 52px; |
6824 | padding-right: 60px; | 6824 | padding-right: 60px; |
6825 | } | 6825 | } |
6826 | } | 6826 | } |
6827 | .modal__sign-item > .textarea { | 6827 | .modal__sign-item > .textarea { |
6828 | width: 100%; | 6828 | width: 100%; |
6829 | } | 6829 | } |
6830 | .modal__sign-bottom { | 6830 | .modal__sign-bottom { |
6831 | display: -webkit-box; | 6831 | display: -webkit-box; |
6832 | display: -ms-flexbox; | 6832 | display: -ms-flexbox; |
6833 | display: flex; | 6833 | display: flex; |
6834 | -webkit-box-pack: justify; | 6834 | -webkit-box-pack: justify; |
6835 | -ms-flex-pack: justify; | 6835 | -ms-flex-pack: justify; |
6836 | justify-content: space-between; | 6836 | justify-content: space-between; |
6837 | -webkit-box-align: center; | 6837 | -webkit-box-align: center; |
6838 | -ms-flex-align: center; | 6838 | -ms-flex-align: center; |
6839 | align-items: center; | 6839 | align-items: center; |
6840 | width: 100%; | 6840 | width: 100%; |
6841 | } | 6841 | } |
6842 | .modal__sign-bottom-link { | 6842 | .modal__sign-bottom-link { |
6843 | font-weight: 700; | 6843 | font-weight: 700; |
6844 | color: #377d87; | 6844 | color: #377d87; |
6845 | } | 6845 | } |
6846 | .modal__tabs { | 6846 | .modal__tabs { |
6847 | width: 100%; | 6847 | width: 100%; |
6848 | display: grid; | 6848 | display: grid; |
6849 | grid-template-columns: repeat(2, 1fr); | 6849 | grid-template-columns: repeat(2, 1fr); |
6850 | gap: 16px; | 6850 | gap: 16px; |
6851 | margin-top: 10px; | 6851 | margin-top: 10px; |
6852 | } | 6852 | } |
6853 | @media (min-width: 768px) { | 6853 | @media (min-width: 768px) { |
6854 | .modal__tabs { | 6854 | .modal__tabs { |
6855 | gap: 24px; | 6855 | gap: 24px; |
6856 | margin-top: 20px; | 6856 | margin-top: 20px; |
6857 | } | 6857 | } |
6858 | } | 6858 | } |
6859 | .modal__tabs-item.active { | 6859 | .modal__tabs-item.active { |
6860 | background: #377d87; | 6860 | background: #377d87; |
6861 | color: #fff; | 6861 | color: #fff; |
6862 | } | 6862 | } |
6863 | .modal__reg { | 6863 | .modal__reg { |
6864 | display: none; | 6864 | display: none; |
6865 | -webkit-box-orient: vertical; | 6865 | -webkit-box-orient: vertical; |
6866 | -webkit-box-direction: normal; | 6866 | -webkit-box-direction: normal; |
6867 | -ms-flex-direction: column; | 6867 | -ms-flex-direction: column; |
6868 | flex-direction: column; | 6868 | flex-direction: column; |
6869 | -webkit-box-align: center; | 6869 | -webkit-box-align: center; |
6870 | -ms-flex-align: center; | 6870 | -ms-flex-align: center; |
6871 | align-items: center; | 6871 | align-items: center; |
6872 | gap: 10px; | 6872 | gap: 10px; |
6873 | width: 100%; | 6873 | width: 100%; |
6874 | margin-top: 10px; | 6874 | margin-top: 10px; |
6875 | margin-bottom: 20px; | 6875 | margin-bottom: 20px; |
6876 | } | 6876 | } |
6877 | @media (min-width: 768px) { | 6877 | @media (min-width: 768px) { |
6878 | .modal__reg { | 6878 | .modal__reg { |
6879 | margin-top: 20px; | 6879 | margin-top: 20px; |
6880 | margin-bottom: 30px; | 6880 | margin-bottom: 30px; |
6881 | gap: 20px; | 6881 | gap: 20px; |
6882 | } | 6882 | } |
6883 | } | 6883 | } |
6884 | .modal__reg.showed { | 6884 | .modal__reg.showed { |
6885 | display: -webkit-box; | 6885 | display: -webkit-box; |
6886 | display: -ms-flexbox; | 6886 | display: -ms-flexbox; |
6887 | display: flex; | 6887 | display: flex; |
6888 | } | 6888 | } |
6889 | .modal__reg-item { | 6889 | .modal__reg-item { |
6890 | width: 100%; | 6890 | width: 100%; |
6891 | display: -webkit-box; | 6891 | display: -webkit-box; |
6892 | display: -ms-flexbox; | 6892 | display: -ms-flexbox; |
6893 | display: flex; | 6893 | display: flex; |
6894 | -webkit-box-orient: vertical; | 6894 | -webkit-box-orient: vertical; |
6895 | -webkit-box-direction: normal; | 6895 | -webkit-box-direction: normal; |
6896 | -ms-flex-direction: column; | 6896 | -ms-flex-direction: column; |
6897 | flex-direction: column; | 6897 | flex-direction: column; |
6898 | } | 6898 | } |
6899 | .modal__reg-item > .captcha { | 6899 | .modal__reg-item > .captcha { |
6900 | width: 100%; | 6900 | width: 100%; |
6901 | max-width: 300px; | 6901 | max-width: 300px; |
6902 | } | 6902 | } |
6903 | 6903 | ||
6904 | .messages { | 6904 | .messages { |
6905 | display: -webkit-box; | 6905 | display: -webkit-box; |
6906 | display: -ms-flexbox; | 6906 | display: -ms-flexbox; |
6907 | display: flex; | 6907 | display: flex; |
6908 | -webkit-box-orient: vertical; | 6908 | -webkit-box-orient: vertical; |
6909 | -webkit-box-direction: reverse; | 6909 | -webkit-box-direction: reverse; |
6910 | -ms-flex-direction: column-reverse; | 6910 | -ms-flex-direction: column-reverse; |
6911 | flex-direction: column-reverse; | 6911 | flex-direction: column-reverse; |
6912 | -webkit-box-align: center; | 6912 | -webkit-box-align: center; |
6913 | -ms-flex-align: center; | 6913 | -ms-flex-align: center; |
6914 | align-items: center; | 6914 | align-items: center; |
6915 | gap: 20px; | 6915 | gap: 20px; |
6916 | } | 6916 | } |
6917 | .messages__body { | 6917 | .messages__body { |
6918 | width: 100%; | 6918 | width: 100%; |
6919 | max-height: 800px; | 6919 | max-height: 800px; |
6920 | overflow: auto; | 6920 | overflow: auto; |
6921 | padding: 5px; | 6921 | padding: 5px; |
6922 | } | 6922 | } |
6923 | .messages__item { | 6923 | .messages__item { |
6924 | -webkit-box-align: center; | 6924 | -webkit-box-align: center; |
6925 | -ms-flex-align: center; | 6925 | -ms-flex-align: center; |
6926 | align-items: center; | 6926 | align-items: center; |
6927 | border-radius: 8px; | 6927 | border-radius: 8px; |
6928 | border: 1px solid #e7e7e7; | 6928 | border: 1px solid #e7e7e7; |
6929 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 6929 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
6930 | padding: 0px; | 6930 | padding: 0px; |
6931 | font-size: 12px; | 6931 | font-size: 12px; |
6932 | display: flex; | 6932 | display: flex; |
6933 | justify-content: space-between; | 6933 | justify-content: space-between; |
6934 | margin-bottom: 20px; | 6934 | margin-bottom: 20px; |
6935 | } | 6935 | } |
6936 | @media (min-width: 768px) { | 6936 | @media (min-width: 768px) { |
6937 | .messages__item { | 6937 | .messages__item { |
6938 | font-size: 18px; | 6938 | font-size: 18px; |
6939 | } | 6939 | } |
6940 | } | 6940 | } |
6941 | .messages__item-info { | 6941 | .messages__item-info { |
6942 | display: -webkit-box; | 6942 | display: -webkit-box; |
6943 | display: -ms-flexbox; | 6943 | display: -ms-flexbox; |
6944 | display: flex; | 6944 | display: flex; |
6945 | -webkit-box-align: center; | 6945 | -webkit-box-align: center; |
6946 | -ms-flex-align: center; | 6946 | -ms-flex-align: center; |
6947 | align-items: center; | 6947 | align-items: center; |
6948 | width: calc(100% - 90px); | 6948 | width: calc(100% - 90px); |
6949 | padding: 20px; | 6949 | padding: 20px; |
6950 | } | 6950 | } |
6951 | @media (min-width: 768px) { | 6951 | @media (min-width: 768px) { |
6952 | .messages__item-info { | 6952 | .messages__item-info { |
6953 | width: calc(100% - 150px); | 6953 | width: calc(100% - 150px); |
6954 | } | 6954 | } |
6955 | } | 6955 | } |
6956 | .messages__item-photo { | 6956 | .messages__item-photo { |
6957 | position: relative; | 6957 | position: relative; |
6958 | aspect-ratio: 1/1; | 6958 | aspect-ratio: 1/1; |
6959 | overflow: hidden; | 6959 | overflow: hidden; |
6960 | background: #9c9d9d; | 6960 | background: #9c9d9d; |
6961 | color: #fff; | 6961 | color: #fff; |
6962 | width: 36px; | 6962 | width: 36px; |
6963 | border-radius: 6px; | 6963 | border-radius: 6px; |
6964 | display: -webkit-box; | 6964 | display: -webkit-box; |
6965 | display: -ms-flexbox; | 6965 | display: -ms-flexbox; |
6966 | display: flex; | 6966 | display: flex; |
6967 | -webkit-box-pack: center; | 6967 | -webkit-box-pack: center; |
6968 | -ms-flex-pack: center; | 6968 | -ms-flex-pack: center; |
6969 | justify-content: center; | 6969 | justify-content: center; |
6970 | -webkit-box-align: center; | 6970 | -webkit-box-align: center; |
6971 | -ms-flex-align: center; | 6971 | -ms-flex-align: center; |
6972 | align-items: center; | 6972 | align-items: center; |
6973 | } | 6973 | } |
6974 | @media (min-width: 768px) { | 6974 | @media (min-width: 768px) { |
6975 | .messages__item-photo { | 6975 | .messages__item-photo { |
6976 | width: 52px; | 6976 | width: 52px; |
6977 | } | 6977 | } |
6978 | } | 6978 | } |
6979 | .messages__item-photo svg { | 6979 | .messages__item-photo svg { |
6980 | width: 50%; | 6980 | width: 50%; |
6981 | position: relative; | 6981 | position: relative; |
6982 | z-index: 1; | 6982 | z-index: 1; |
6983 | } | 6983 | } |
6984 | .messages__item-photo img { | 6984 | .messages__item-photo img { |
6985 | position: absolute; | 6985 | position: absolute; |
6986 | z-index: 2; | 6986 | z-index: 2; |
6987 | top: 0; | 6987 | top: 0; |
6988 | left: 0; | 6988 | left: 0; |
6989 | width: 100%; | 6989 | width: 100%; |
6990 | height: 100%; | 6990 | height: 100%; |
6991 | -o-object-fit: cover; | 6991 | -o-object-fit: cover; |
6992 | object-fit: cover; | 6992 | object-fit: cover; |
6993 | } | 6993 | } |
6994 | .messages__item-text { | 6994 | .messages__item-text { |
6995 | width: calc(100% - 36px); | 6995 | width: calc(100% - 36px); |
6996 | padding-left: 6px; | 6996 | padding-left: 6px; |
6997 | color: #000; | 6997 | color: #000; |
6998 | display: -webkit-box; | 6998 | display: -webkit-box; |
6999 | display: -ms-flexbox; | 6999 | display: -ms-flexbox; |
7000 | display: flex; | 7000 | display: flex; |
7001 | -webkit-box-orient: vertical; | 7001 | -webkit-box-orient: vertical; |
7002 | -webkit-box-direction: normal; | 7002 | -webkit-box-direction: normal; |
7003 | -ms-flex-direction: column; | 7003 | -ms-flex-direction: column; |
7004 | flex-direction: column; | 7004 | flex-direction: column; |
7005 | gap: 4px; | 7005 | gap: 4px; |
7006 | } | 7006 | } |
7007 | @media (min-width: 768px) { | 7007 | @media (min-width: 768px) { |
7008 | .messages__item-text { | 7008 | .messages__item-text { |
7009 | padding-left: 20px; | 7009 | padding-left: 20px; |
7010 | width: calc(100% - 52px); | 7010 | width: calc(100% - 52px); |
7011 | gap: 8px; | 7011 | gap: 8px; |
7012 | } | 7012 | } |
7013 | } | 7013 | } |
7014 | .messages__item-text span { | 7014 | .messages__item-text span { |
7015 | color: #000; | 7015 | color: #000; |
7016 | } | 7016 | } |
7017 | .messages__item-actions{ | 7017 | .messages__item-actions{ |
7018 | padding: 20px; | 7018 | padding: 20px; |
7019 | } | 7019 | } |
7020 | .messages__item-buttons{ | 7020 | .messages__item-buttons{ |
7021 | float: right; | 7021 | float: right; |
7022 | display: flex; | 7022 | display: flex; |
7023 | align-items: center; | 7023 | align-items: center; |
7024 | } | 7024 | } |
7025 | .messages__item-buttons button{ | 7025 | .messages__item-buttons button{ |
7026 | padding: 0; | 7026 | padding: 0; |
7027 | background: unset; | 7027 | background: unset; |
7028 | border: unset; | 7028 | border: unset; |
7029 | } | 7029 | } |
7030 | .messages__item-buttons button svg{ | 7030 | .messages__item-buttons button svg{ |
7031 | width: 25px; | 7031 | width: 25px; |
7032 | height: 25px; | 7032 | height: 25px; |
7033 | color: gray; | 7033 | color: gray; |
7034 | } | 7034 | } |
7035 | .messages__item-buttons button svg path{ | 7035 | .messages__item-buttons button svg path{ |
7036 | stroke: gray; | 7036 | stroke: gray; |
7037 | } | 7037 | } |
7038 | .messages__item-buttons button:hover svg{ | 7038 | .messages__item-buttons button:hover svg{ |
7039 | color: black; | 7039 | color: black; |
7040 | } | 7040 | } |
7041 | .messages__item-buttons button:hover svg path{ | 7041 | .messages__item-buttons button:hover svg path{ |
7042 | stroke: black; | 7042 | stroke: black; |
7043 | } | 7043 | } |
7044 | .messages__item-buttons button.pin-on:hover svg#pin_off path{ | 7044 | .messages__item-buttons button.pin-on:hover svg#pin_off path{ |
7045 | fill: black; | 7045 | fill: black; |
7046 | } | 7046 | } |
7047 | .messages__item-buttons button.pin-on svg{ | 7047 | .messages__item-buttons button.pin-on svg{ |
7048 | fill: gray; | 7048 | fill: gray; |
7049 | } | 7049 | } |
7050 | .messages__item-date { | 7050 | .messages__item-date { |
7051 | color: #00000070; | 7051 | color: #00000070; |
7052 | width: 90px; | 7052 | width: 90px; |
7053 | text-align: right; | 7053 | text-align: right; |
7054 | font-size: 14px; | 7054 | font-size: 14px; |
7055 | margin-bottom: 8px; | 7055 | margin-bottom: 8px; |
7056 | } | 7056 | } |
7057 | 7057 | ||
7058 | .messages.active .messages__item { | 7058 | .messages.active .messages__item { |
7059 | display: -webkit-box; | 7059 | display: -webkit-box; |
7060 | display: -ms-flexbox; | 7060 | display: -ms-flexbox; |
7061 | display: flex; | 7061 | display: flex; |
7062 | } | 7062 | } |
7063 | 7063 | ||
7064 | .responses { | 7064 | .responses { |
7065 | display: -webkit-box; | 7065 | display: -webkit-box; |
7066 | display: -ms-flexbox; | 7066 | display: -ms-flexbox; |
7067 | display: flex; | 7067 | display: flex; |
7068 | -webkit-box-orient: vertical; | 7068 | -webkit-box-orient: vertical; |
7069 | -webkit-box-direction: reverse; | 7069 | -webkit-box-direction: reverse; |
7070 | -ms-flex-direction: column-reverse; | 7070 | -ms-flex-direction: column-reverse; |
7071 | flex-direction: column-reverse; | 7071 | flex-direction: column-reverse; |
7072 | -webkit-box-align: center; | 7072 | -webkit-box-align: center; |
7073 | -ms-flex-align: center; | 7073 | -ms-flex-align: center; |
7074 | align-items: center; | 7074 | align-items: center; |
7075 | gap: 20px; | 7075 | gap: 20px; |
7076 | } | 7076 | } |
7077 | .responses__body { | 7077 | .responses__body { |
7078 | width: 100%; | 7078 | width: 100%; |
7079 | display: -webkit-box; | 7079 | display: -webkit-box; |
7080 | display: -ms-flexbox; | 7080 | display: -ms-flexbox; |
7081 | display: flex; | 7081 | display: flex; |
7082 | -webkit-box-orient: vertical; | 7082 | -webkit-box-orient: vertical; |
7083 | -webkit-box-direction: normal; | 7083 | -webkit-box-direction: normal; |
7084 | -ms-flex-direction: column; | 7084 | -ms-flex-direction: column; |
7085 | flex-direction: column; | 7085 | flex-direction: column; |
7086 | gap: 20px; | 7086 | gap: 20px; |
7087 | } | 7087 | } |
7088 | .responses__item { | 7088 | .responses__item { |
7089 | display: none; | 7089 | display: none; |
7090 | -webkit-box-orient: vertical; | 7090 | -webkit-box-orient: vertical; |
7091 | -webkit-box-direction: normal; | 7091 | -webkit-box-direction: normal; |
7092 | -ms-flex-direction: column; | 7092 | -ms-flex-direction: column; |
7093 | flex-direction: column; | 7093 | flex-direction: column; |
7094 | gap: 20px; | 7094 | gap: 20px; |
7095 | border-radius: 8px; | 7095 | border-radius: 8px; |
7096 | border: 1px solid #e7e7e7; | 7096 | border: 1px solid #e7e7e7; |
7097 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 7097 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
7098 | padding: 20px 10px; | 7098 | padding: 20px 10px; |
7099 | font-size: 12px; | 7099 | font-size: 12px; |
7100 | position: relative; | 7100 | position: relative; |
7101 | } | 7101 | } |
7102 | @media (min-width: 768px) { | 7102 | @media (min-width: 768px) { |
7103 | .responses__item { | 7103 | .responses__item { |
7104 | padding: 20px; | 7104 | padding: 20px; |
7105 | font-size: 16px; | 7105 | font-size: 16px; |
7106 | } | 7106 | } |
7107 | } | 7107 | } |
7108 | .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) { | 7108 | .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) { |
7109 | display: -webkit-box; | 7109 | display: -webkit-box; |
7110 | display: -ms-flexbox; | 7110 | display: -ms-flexbox; |
7111 | display: flex; | 7111 | display: flex; |
7112 | } | 7112 | } |
7113 | .responses__item-date { | 7113 | .responses__item-date { |
7114 | color: #000; | 7114 | color: #000; |
7115 | } | 7115 | } |
7116 | @media (min-width: 992px) { | 7116 | @media (min-width: 992px) { |
7117 | .responses__item-date { | 7117 | .responses__item-date { |
7118 | position: absolute; | 7118 | position: absolute; |
7119 | top: 20px; | 7119 | top: 20px; |
7120 | right: 20px; | 7120 | right: 20px; |
7121 | } | 7121 | } |
7122 | } | 7122 | } |
7123 | .responses__item-wrapper { | 7123 | .responses__item-wrapper { |
7124 | display: -webkit-box; | 7124 | display: -webkit-box; |
7125 | display: -ms-flexbox; | 7125 | display: -ms-flexbox; |
7126 | display: flex; | 7126 | display: flex; |
7127 | -webkit-box-orient: vertical; | 7127 | -webkit-box-orient: vertical; |
7128 | -webkit-box-direction: normal; | 7128 | -webkit-box-direction: normal; |
7129 | -ms-flex-direction: column; | 7129 | -ms-flex-direction: column; |
7130 | flex-direction: column; | 7130 | flex-direction: column; |
7131 | gap: 20px; | 7131 | gap: 20px; |
7132 | } | 7132 | } |
7133 | .responses__item-inner { | 7133 | .responses__item-inner { |
7134 | display: -webkit-box; | 7134 | display: -webkit-box; |
7135 | display: -ms-flexbox; | 7135 | display: -ms-flexbox; |
7136 | display: flex; | 7136 | display: flex; |
7137 | -webkit-box-orient: vertical; | 7137 | -webkit-box-orient: vertical; |
7138 | -webkit-box-direction: normal; | 7138 | -webkit-box-direction: normal; |
7139 | -ms-flex-direction: column; | 7139 | -ms-flex-direction: column; |
7140 | flex-direction: column; | 7140 | flex-direction: column; |
7141 | gap: 10px; | 7141 | gap: 10px; |
7142 | } | 7142 | } |
7143 | @media (min-width: 768px) { | 7143 | @media (min-width: 768px) { |
7144 | .responses__item-inner { | 7144 | .responses__item-inner { |
7145 | gap: 20px; | 7145 | gap: 20px; |
7146 | } | 7146 | } |
7147 | } | 7147 | } |
7148 | @media (min-width: 1280px) { | 7148 | @media (min-width: 1280px) { |
7149 | .responses__item-inner { | 7149 | .responses__item-inner { |
7150 | width: calc(100% - 150px); | 7150 | width: calc(100% - 150px); |
7151 | } | 7151 | } |
7152 | } | 7152 | } |
7153 | .responses__item-row { | 7153 | .responses__item-row { |
7154 | display: grid; | 7154 | display: grid; |
7155 | grid-template-columns: 1fr 1fr; | 7155 | grid-template-columns: 1fr 1fr; |
7156 | gap: 20px; | 7156 | gap: 20px; |
7157 | color: #000; | 7157 | color: #000; |
7158 | text-align: right; | 7158 | text-align: right; |
7159 | } | 7159 | } |
7160 | @media (min-width: 992px) { | 7160 | @media (min-width: 992px) { |
7161 | .responses__item-row { | 7161 | .responses__item-row { |
7162 | display: -webkit-box; | 7162 | display: -webkit-box; |
7163 | display: -ms-flexbox; | 7163 | display: -ms-flexbox; |
7164 | display: flex; | 7164 | display: flex; |
7165 | -webkit-box-orient: vertical; | 7165 | -webkit-box-orient: vertical; |
7166 | -webkit-box-direction: normal; | 7166 | -webkit-box-direction: normal; |
7167 | -ms-flex-direction: column; | 7167 | -ms-flex-direction: column; |
7168 | flex-direction: column; | 7168 | flex-direction: column; |
7169 | gap: 6px; | 7169 | gap: 6px; |
7170 | text-align: left; | 7170 | text-align: left; |
7171 | } | 7171 | } |
7172 | } | 7172 | } |
7173 | .responses__item-row span { | 7173 | .responses__item-row span { |
7174 | color: #000; | 7174 | color: #000; |
7175 | text-align: left; | 7175 | text-align: left; |
7176 | } | 7176 | } |
7177 | .responses__item-buttons { | 7177 | .responses__item-buttons { |
7178 | display: -webkit-box; | 7178 | display: -webkit-box; |
7179 | display: -ms-flexbox; | 7179 | display: -ms-flexbox; |
7180 | display: flex; | 7180 | display: flex; |
7181 | -webkit-box-orient: vertical; | 7181 | -webkit-box-orient: vertical; |
7182 | -webkit-box-direction: normal; | 7182 | -webkit-box-direction: normal; |
7183 | -ms-flex-direction: column; | 7183 | -ms-flex-direction: column; |
7184 | flex-direction: column; | 7184 | flex-direction: column; |
7185 | gap: 10px; | 7185 | gap: 10px; |
7186 | } | 7186 | } |
7187 | @media (min-width: 768px) { | 7187 | @media (min-width: 768px) { |
7188 | .responses__item-buttons { | 7188 | .responses__item-buttons { |
7189 | display: grid; | 7189 | display: grid; |
7190 | grid-template-columns: 1fr 1fr; | 7190 | grid-template-columns: 1fr 1fr; |
7191 | } | 7191 | } |
7192 | } | 7192 | } |
7193 | @media (min-width: 1280px) { | 7193 | @media (min-width: 1280px) { |
7194 | .responses__item-buttons { | 7194 | .responses__item-buttons { |
7195 | grid-template-columns: 1fr 1fr 1fr 1fr; | 7195 | grid-template-columns: 1fr 1fr 1fr 1fr; |
7196 | } | 7196 | } |
7197 | } | 7197 | } |
7198 | .responses__item-buttons .button.active { | 7198 | .responses__item-buttons .button.active { |
7199 | background: #377d87; | 7199 | background: #377d87; |
7200 | color: #fff; | 7200 | color: #fff; |
7201 | } | 7201 | } |
7202 | .responses.active .responses__item { | 7202 | .responses.active .responses__item { |
7203 | display: -webkit-box; | 7203 | display: -webkit-box; |
7204 | display: -ms-flexbox; | 7204 | display: -ms-flexbox; |
7205 | display: flex; | 7205 | display: flex; |
7206 | } | 7206 | } |
7207 | 7207 | ||
7208 | .chatbox { | 7208 | .chatbox { |
7209 | display: -webkit-box; | 7209 | display: -webkit-box; |
7210 | display: -ms-flexbox; | 7210 | display: -ms-flexbox; |
7211 | display: flex; | 7211 | display: flex; |
7212 | -webkit-box-orient: vertical; | 7212 | -webkit-box-orient: vertical; |
7213 | -webkit-box-direction: normal; | 7213 | -webkit-box-direction: normal; |
7214 | -ms-flex-direction: column; | 7214 | -ms-flex-direction: column; |
7215 | flex-direction: column; | 7215 | flex-direction: column; |
7216 | gap: 20px; | 7216 | gap: 20px; |
7217 | } | 7217 | } |
7218 | @media (min-width: 768px) { | 7218 | @media (min-width: 768px) { |
7219 | .chatbox { | 7219 | .chatbox { |
7220 | gap: 30px; | 7220 | gap: 30px; |
7221 | } | 7221 | } |
7222 | } | 7222 | } |
7223 | @media (min-width: 1280px) { | 7223 | @media (min-width: 1280px) { |
7224 | .chatbox { | 7224 | .chatbox { |
7225 | gap: 40px; | 7225 | gap: 40px; |
7226 | } | 7226 | } |
7227 | } | 7227 | } |
7228 | .chatbox__toper { | 7228 | .chatbox__toper { |
7229 | display: -webkit-box; | 7229 | display: -webkit-box; |
7230 | display: -ms-flexbox; | 7230 | display: -ms-flexbox; |
7231 | display: flex; | 7231 | display: flex; |
7232 | -webkit-box-orient: vertical; | 7232 | -webkit-box-orient: vertical; |
7233 | -webkit-box-direction: normal; | 7233 | -webkit-box-direction: normal; |
7234 | -ms-flex-direction: column; | 7234 | -ms-flex-direction: column; |
7235 | flex-direction: column; | 7235 | flex-direction: column; |
7236 | gap: 10px; | 7236 | gap: 10px; |
7237 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 7237 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
7238 | border: 1px solid #e7e7e7; | 7238 | border: 1px solid #e7e7e7; |
7239 | border-radius: 8px; | 7239 | border-radius: 8px; |
7240 | padding: 10px; | 7240 | padding: 10px; |
7241 | } | 7241 | } |
7242 | @media (min-width: 768px) { | 7242 | @media (min-width: 768px) { |
7243 | .chatbox__toper { | 7243 | .chatbox__toper { |
7244 | -webkit-box-orient: horizontal; | 7244 | -webkit-box-orient: horizontal; |
7245 | -webkit-box-direction: normal; | 7245 | -webkit-box-direction: normal; |
7246 | -ms-flex-direction: row; | 7246 | -ms-flex-direction: row; |
7247 | flex-direction: row; | 7247 | flex-direction: row; |
7248 | -webkit-box-align: center; | 7248 | -webkit-box-align: center; |
7249 | -ms-flex-align: center; | 7249 | -ms-flex-align: center; |
7250 | align-items: center; | 7250 | align-items: center; |
7251 | -webkit-box-pack: justify; | 7251 | -webkit-box-pack: justify; |
7252 | -ms-flex-pack: justify; | 7252 | -ms-flex-pack: justify; |
7253 | justify-content: space-between; | 7253 | justify-content: space-between; |
7254 | } | 7254 | } |
7255 | } | 7255 | } |
7256 | .chatbox__toper-info { | 7256 | .chatbox__toper-info { |
7257 | font-size: 12px; | 7257 | font-size: 12px; |
7258 | } | 7258 | } |
7259 | @media (min-width: 768px) { | 7259 | @media (min-width: 768px) { |
7260 | .chatbox__toper-info { | 7260 | .chatbox__toper-info { |
7261 | font-size: 16px; | 7261 | font-size: 16px; |
7262 | width: calc(100% - 230px); | 7262 | width: calc(100% - 230px); |
7263 | } | 7263 | } |
7264 | } | 7264 | } |
7265 | @media (min-width: 768px) { | 7265 | @media (min-width: 768px) { |
7266 | .chatbox__toper-button { | 7266 | .chatbox__toper-button { |
7267 | width: 210px; | 7267 | width: 210px; |
7268 | padding: 0; | 7268 | padding: 0; |
7269 | } | 7269 | } |
7270 | } | 7270 | } |
7271 | .chatbox__list { | 7271 | .chatbox__list { |
7272 | display: -webkit-box; | 7272 | display: -webkit-box; |
7273 | display: -ms-flexbox; | 7273 | display: -ms-flexbox; |
7274 | display: flex; | 7274 | display: flex; |
7275 | -webkit-box-orient: vertical; | 7275 | -webkit-box-orient: vertical; |
7276 | -webkit-box-direction: normal; | 7276 | -webkit-box-direction: normal; |
7277 | -ms-flex-direction: column; | 7277 | -ms-flex-direction: column; |
7278 | flex-direction: column; | 7278 | flex-direction: column; |
7279 | gap: 10px; | 7279 | gap: 10px; |
7280 | max-height: 400px; | 7280 | max-height: 400px; |
7281 | overflow: auto; | 7281 | overflow: auto; |
7282 | } | 7282 | } |
7283 | @media (min-width: 768px) { | 7283 | @media (min-width: 768px) { |
7284 | .chatbox__list { | 7284 | .chatbox__list { |
7285 | gap: 20px; | 7285 | gap: 20px; |
7286 | } | 7286 | } |
7287 | } | 7287 | } |
7288 | @media (min-width: 1280px) { | 7288 | @media (min-width: 1280px) { |
7289 | .chatbox__list { | 7289 | .chatbox__list { |
7290 | gap: 40px; | 7290 | gap: 40px; |
7291 | } | 7291 | } |
7292 | } | 7292 | } |
7293 | .chatbox__item { | 7293 | .chatbox__item { |
7294 | display: -webkit-box; | 7294 | display: -webkit-box; |
7295 | display: -ms-flexbox; | 7295 | display: -ms-flexbox; |
7296 | display: flex; | 7296 | display: flex; |
7297 | -webkit-box-align: start; | 7297 | -webkit-box-align: start; |
7298 | -ms-flex-align: start; | 7298 | -ms-flex-align: start; |
7299 | align-items: flex-start; | 7299 | align-items: flex-start; |
7300 | -webkit-box-pack: justify; | 7300 | -webkit-box-pack: justify; |
7301 | -ms-flex-pack: justify; | 7301 | -ms-flex-pack: justify; |
7302 | justify-content: space-between; | 7302 | justify-content: space-between; |
7303 | -ms-flex-wrap: wrap; | 7303 | -ms-flex-wrap: wrap; |
7304 | flex-wrap: wrap; | 7304 | flex-wrap: wrap; |
7305 | color: #000; | 7305 | color: #000; |
7306 | font-size: 12px; | 7306 | font-size: 12px; |
7307 | } | 7307 | } |
7308 | @media (min-width: 768px) { | 7308 | @media (min-width: 768px) { |
7309 | .chatbox__item { | 7309 | .chatbox__item { |
7310 | font-size: 16px; | 7310 | font-size: 16px; |
7311 | } | 7311 | } |
7312 | } | 7312 | } |
7313 | .chatbox__item_reverse { | 7313 | .chatbox__item_reverse { |
7314 | -webkit-box-orient: horizontal; | 7314 | -webkit-box-orient: horizontal; |
7315 | -webkit-box-direction: reverse; | 7315 | -webkit-box-direction: reverse; |
7316 | -ms-flex-direction: row-reverse; | 7316 | -ms-flex-direction: row-reverse; |
7317 | flex-direction: row-reverse; | 7317 | flex-direction: row-reverse; |
7318 | } | 7318 | } |
7319 | .chatbox__item-photo { | 7319 | .chatbox__item-photo { |
7320 | position: relative; | 7320 | position: relative; |
7321 | aspect-ratio: 1/1; | 7321 | aspect-ratio: 1/1; |
7322 | overflow: hidden; | 7322 | overflow: hidden; |
7323 | background: #9c9d9d; | 7323 | background: #9c9d9d; |
7324 | color: #fff; | 7324 | color: #fff; |
7325 | width: 44px; | 7325 | width: 44px; |
7326 | border-radius: 6px; | 7326 | border-radius: 6px; |
7327 | display: -webkit-box; | 7327 | display: -webkit-box; |
7328 | display: -ms-flexbox; | 7328 | display: -ms-flexbox; |
7329 | display: flex; | 7329 | display: flex; |
7330 | -webkit-box-pack: center; | 7330 | -webkit-box-pack: center; |
7331 | -ms-flex-pack: center; | 7331 | -ms-flex-pack: center; |
7332 | justify-content: center; | 7332 | justify-content: center; |
7333 | -webkit-box-align: center; | 7333 | -webkit-box-align: center; |
7334 | -ms-flex-align: center; | 7334 | -ms-flex-align: center; |
7335 | align-items: center; | 7335 | align-items: center; |
7336 | } | 7336 | } |
7337 | .chatbox__item-photo svg { | 7337 | .chatbox__item-photo svg { |
7338 | width: 50%; | 7338 | width: 50%; |
7339 | position: relative; | 7339 | position: relative; |
7340 | z-index: 1; | 7340 | z-index: 1; |
7341 | } | 7341 | } |
7342 | .chatbox__item-photo img { | 7342 | .chatbox__item-photo img { |
7343 | position: absolute; | 7343 | position: absolute; |
7344 | z-index: 2; | 7344 | z-index: 2; |
7345 | top: 0; | 7345 | top: 0; |
7346 | left: 0; | 7346 | left: 0; |
7347 | width: 100%; | 7347 | width: 100%; |
7348 | height: 100%; | 7348 | height: 100%; |
7349 | -o-object-fit: cover; | 7349 | -o-object-fit: cover; |
7350 | object-fit: cover; | 7350 | object-fit: cover; |
7351 | } | 7351 | } |
7352 | .chatbox__item-body { | 7352 | .chatbox__item-body { |
7353 | width: calc(100% - 54px); | 7353 | width: calc(100% - 54px); |
7354 | display: -webkit-box; | 7354 | display: -webkit-box; |
7355 | display: -ms-flexbox; | 7355 | display: -ms-flexbox; |
7356 | display: flex; | 7356 | display: flex; |
7357 | -webkit-box-orient: vertical; | 7357 | -webkit-box-orient: vertical; |
7358 | -webkit-box-direction: normal; | 7358 | -webkit-box-direction: normal; |
7359 | -ms-flex-direction: column; | 7359 | -ms-flex-direction: column; |
7360 | flex-direction: column; | 7360 | flex-direction: column; |
7361 | -webkit-box-align: start; | 7361 | -webkit-box-align: start; |
7362 | -ms-flex-align: start; | 7362 | -ms-flex-align: start; |
7363 | align-items: flex-start; | 7363 | align-items: flex-start; |
7364 | } | 7364 | } |
7365 | @media (min-width: 768px) { | 7365 | @media (min-width: 768px) { |
7366 | .chatbox__item-body { | 7366 | .chatbox__item-body { |
7367 | width: calc(100% - 60px); | 7367 | width: calc(100% - 60px); |
7368 | } | 7368 | } |
7369 | } | 7369 | } |
7370 | .chatbox__item_reverse .chatbox__item-body { | 7370 | .chatbox__item_reverse .chatbox__item-body { |
7371 | -webkit-box-align: end; | 7371 | -webkit-box-align: end; |
7372 | -ms-flex-align: end; | 7372 | -ms-flex-align: end; |
7373 | align-items: flex-end; | 7373 | align-items: flex-end; |
7374 | } | 7374 | } |
7375 | .chatbox__item-text { | 7375 | .chatbox__item-text { |
7376 | border-radius: 8px; | 7376 | border-radius: 8px; |
7377 | background: #fff; | 7377 | background: #fff; |
7378 | -webkit-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2); | 7378 | -webkit-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2); |
7379 | box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2); | 7379 | box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2); |
7380 | padding: 10px; | 7380 | padding: 10px; |
7381 | line-height: 1.6; | 7381 | line-height: 1.6; |
7382 | } | 7382 | } |
7383 | .chatbox__item-body-file-name-wrap{ | 7383 | .chatbox__item-body-file-name-wrap{ |
7384 | display: flex; | 7384 | display: flex; |
7385 | align-items: center; | 7385 | align-items: center; |
7386 | } | 7386 | } |
7387 | .chatbox__item-body-file-name-wrap svg{ | 7387 | .chatbox__item-body-file-name-wrap svg{ |
7388 | height: 20px; | 7388 | height: 20px; |
7389 | width: 20px; | 7389 | width: 20px; |
7390 | } | 7390 | } |
7391 | .chatbox__item-body-file-name-wrap a{ | 7391 | .chatbox__item-body-file-name-wrap a{ |
7392 | margin-left: 20px; | 7392 | margin-left: 20px; |
7393 | border-radius: 8px; | 7393 | border-radius: 8px; |
7394 | padding: 2px 8px; | 7394 | padding: 2px 8px; |
7395 | -webkit-box-shadow: inset 0px 0px 14px -7px rgba(66, 68, 90, 1); | 7395 | -webkit-box-shadow: inset 0px 0px 14px -7px rgba(66, 68, 90, 1); |
7396 | -moz-box-shadow: inset 0px 0px 14px -7px rgba(66, 68, 90, 1); | 7396 | -moz-box-shadow: inset 0px 0px 14px -7px rgba(66, 68, 90, 1); |
7397 | box-shadow: inset 0px 0px 14px -7px rgba(66, 68, 90, 1); | 7397 | box-shadow: inset 0px 0px 14px -7px rgba(66, 68, 90, 1); |
7398 | } | 7398 | } |
7399 | .chatbox__item_reverse .chatbox__item-body-file-name-wrap a{ | 7399 | .chatbox__item_reverse .chatbox__item-body-file-name-wrap a{ |
7400 | margin-left: 0px; | 7400 | margin-left: 0px; |
7401 | margin-right: 20px; | 7401 | margin-right: 20px; |
7402 | } | 7402 | } |
7403 | .chatbox__item-body-file-name-wrap a:hover{ | 7403 | .chatbox__item-body-file-name-wrap a:hover{ |
7404 | box-shadow: 0px 0px 5px 1px rgb(139 136 136); | 7404 | box-shadow: 0px 0px 5px 1px rgb(139 136 136); |
7405 | } | 7405 | } |
7406 | .chatbox__item-text .admin-chat-answer{ | 7406 | .chatbox__item-text .admin-chat-answer{ |
7407 | padding: 2px 5px; | 7407 | padding: 2px 5px; |
7408 | height: auto; | 7408 | height: auto; |
7409 | float: right; | 7409 | float: right; |
7410 | margin-left: 10px; | 7410 | margin-left: 10px; |
7411 | } | 7411 | } |
7412 | .chatbox__item-text .reply-message{ | 7412 | .chatbox__item-text .reply-message{ |
7413 | border-left: 1px grey solid; | 7413 | border-left: 1px grey solid; |
7414 | padding-left: 11px; | 7414 | padding-left: 11px; |
7415 | font-size: 12px; | 7415 | font-size: 12px; |
7416 | font-style: italic; | 7416 | font-style: italic; |
7417 | margin-top: 10px; | 7417 | margin-top: 10px; |
7418 | } | 7418 | } |
7419 | .chatbox__item-time { | 7419 | .chatbox__item-time { |
7420 | width: 100%; | 7420 | width: 100%; |
7421 | padding-left: 54px; | 7421 | padding-left: 54px; |
7422 | margin-top: 10px; | 7422 | margin-top: 10px; |
7423 | color: #9c9d9d; | 7423 | color: #9c9d9d; |
7424 | } | 7424 | } |
7425 | .chatbox__item_reverse .chatbox__item-time { | 7425 | .chatbox__item_reverse .chatbox__item-time { |
7426 | text-align: right; | 7426 | text-align: right; |
7427 | } | 7427 | } |
7428 | .chatbox__bottom { | 7428 | .chatbox__bottom { |
7429 | background: #377d87; | 7429 | background: #377d87; |
7430 | padding: 10px; | 7430 | padding: 10px; |
7431 | border-radius: 8px; | 7431 | border-radius: 8px; |
7432 | display: -webkit-box; | 7432 | display: -webkit-box; |
7433 | display: -ms-flexbox; | 7433 | display: -ms-flexbox; |
7434 | display: flex; | 7434 | display: flex; |
7435 | -webkit-box-align: center; | 7435 | -webkit-box-align: center; |
7436 | -ms-flex-align: center; | 7436 | -ms-flex-align: center; |
7437 | align-items: center; | 7437 | align-items: center; |
7438 | -webkit-box-pack: justify; | 7438 | -webkit-box-pack: justify; |
7439 | -ms-flex-pack: justify; | 7439 | -ms-flex-pack: justify; |
7440 | justify-content: space-between; | 7440 | justify-content: space-between; |
7441 | } | 7441 | } |
7442 | @media (min-width: 768px) { | 7442 | @media (min-width: 768px) { |
7443 | .chatbox__bottom { | 7443 | .chatbox__bottom { |
7444 | padding: 16px 20px; | 7444 | padding: 16px 20px; |
7445 | } | 7445 | } |
7446 | } | 7446 | } |
7447 | .chatbox__bottom-file { | 7447 | .chatbox__bottom-file { |
7448 | width: 20px; | 7448 | width: 20px; |
7449 | aspect-ratio: 1/1; | 7449 | aspect-ratio: 1/1; |
7450 | display: -webkit-box; | 7450 | display: -webkit-box; |
7451 | display: -ms-flexbox; | 7451 | display: -ms-flexbox; |
7452 | display: flex; | 7452 | display: flex; |
7453 | -webkit-box-pack: center; | 7453 | -webkit-box-pack: center; |
7454 | -ms-flex-pack: center; | 7454 | -ms-flex-pack: center; |
7455 | justify-content: center; | 7455 | justify-content: center; |
7456 | -webkit-box-align: center; | 7456 | -webkit-box-align: center; |
7457 | -ms-flex-align: center; | 7457 | -ms-flex-align: center; |
7458 | align-items: center; | 7458 | align-items: center; |
7459 | background: #fff; | 7459 | background: #fff; |
7460 | color: #4d88d9; | 7460 | color: #4d88d9; |
7461 | border-radius: 8px; | 7461 | border-radius: 8px; |
7462 | } | 7462 | } |
7463 | @media (min-width: 768px) { | 7463 | @media (min-width: 768px) { |
7464 | .chatbox__bottom-file { | 7464 | .chatbox__bottom-file { |
7465 | width: 48px; | 7465 | width: 48px; |
7466 | } | 7466 | } |
7467 | } | 7467 | } |
7468 | .chatbox__bottom-file:hover { | 7468 | .chatbox__bottom-file:hover { |
7469 | color: #377d87; | 7469 | color: #377d87; |
7470 | } | 7470 | } |
7471 | .chatbox__bottom-file input { | 7471 | .chatbox__bottom-file input { |
7472 | display: none; | 7472 | display: none; |
7473 | } | 7473 | } |
7474 | .chatbox__bottom-file svg { | 7474 | .chatbox__bottom-file svg { |
7475 | width: 50%; | 7475 | width: 50%; |
7476 | aspect-ratio: 1/1; | 7476 | aspect-ratio: 1/1; |
7477 | stroke-width: 1.5px; | 7477 | stroke-width: 1.5px; |
7478 | } | 7478 | } |
7479 | .chatbox__bottom-text { | 7479 | .chatbox__bottom-text { |
7480 | width: calc(100% - 60px); | 7480 | width: calc(100% - 60px); |
7481 | height: 20px; | 7481 | height: 20px; |
7482 | border-color: #fff; | 7482 | border-color: #fff; |
7483 | } | 7483 | } |
7484 | @media (min-width: 768px) { | 7484 | @media (min-width: 768px) { |
7485 | .chatbox__bottom-text { | 7485 | .chatbox__bottom-text { |
7486 | width: calc(100% - 128px); | 7486 | width: calc(100% - 128px); |
7487 | height: 48px; | 7487 | height: 48px; |
7488 | } | 7488 | } |
7489 | } | 7489 | } |
7490 | .chatbox__bottom-text:focus { | 7490 | .chatbox__bottom-text:focus { |
7491 | border-color: #fff; | 7491 | border-color: #fff; |
7492 | } | 7492 | } |
7493 | .chatbox__bottom-send { | 7493 | .chatbox__bottom-send { |
7494 | width: 20px; | 7494 | width: 20px; |
7495 | aspect-ratio: 1/1; | 7495 | aspect-ratio: 1/1; |
7496 | display: -webkit-box; | 7496 | display: -webkit-box; |
7497 | display: -ms-flexbox; | 7497 | display: -ms-flexbox; |
7498 | display: flex; | 7498 | display: flex; |
7499 | -webkit-box-pack: center; | 7499 | -webkit-box-pack: center; |
7500 | -ms-flex-pack: center; | 7500 | -ms-flex-pack: center; |
7501 | justify-content: center; | 7501 | justify-content: center; |
7502 | -webkit-box-align: center; | 7502 | -webkit-box-align: center; |
7503 | -ms-flex-align: center; | 7503 | -ms-flex-align: center; |
7504 | align-items: center; | 7504 | align-items: center; |
7505 | padding: 0; | 7505 | padding: 0; |
7506 | background: #fff; | 7506 | background: #fff; |
7507 | border: none; | 7507 | border: none; |
7508 | color: #4d88d9; | 7508 | color: #4d88d9; |
7509 | border-radius: 999px; | 7509 | border-radius: 999px; |
7510 | } | 7510 | } |
7511 | @media (min-width: 768px) { | 7511 | @media (min-width: 768px) { |
7512 | .chatbox__bottom-send { | 7512 | .chatbox__bottom-send { |
7513 | width: 48px; | 7513 | width: 48px; |
7514 | } | 7514 | } |
7515 | } | 7515 | } |
7516 | .chatbox__bottom-send:hover { | 7516 | .chatbox__bottom-send:hover { |
7517 | color: #377d87; | 7517 | color: #377d87; |
7518 | } | 7518 | } |
7519 | .chatbox__bottom-send svg { | 7519 | .chatbox__bottom-send svg { |
7520 | width: 50%; | 7520 | width: 50%; |
7521 | aspect-ratio: 1/1; | 7521 | aspect-ratio: 1/1; |
7522 | position: relative; | 7522 | position: relative; |
7523 | left: 1px; | 7523 | left: 1px; |
7524 | } | 7524 | } |
7525 | @media (min-width: 768px) { | 7525 | @media (min-width: 768px) { |
7526 | .chatbox__bottom-send svg { | 7526 | .chatbox__bottom-send svg { |
7527 | width: 40%; | 7527 | width: 40%; |
7528 | left: 2px; | 7528 | left: 2px; |
7529 | } | 7529 | } |
7530 | } | 7530 | } |
7531 | 7531 | ||
7532 | .cvs { | 7532 | .cvs { |
7533 | display: -webkit-box; | 7533 | display: -webkit-box; |
7534 | display: -ms-flexbox; | 7534 | display: -ms-flexbox; |
7535 | display: flex; | 7535 | display: flex; |
7536 | -webkit-box-orient: vertical; | 7536 | -webkit-box-orient: vertical; |
7537 | -webkit-box-direction: reverse; | 7537 | -webkit-box-direction: reverse; |
7538 | -ms-flex-direction: column-reverse; | 7538 | -ms-flex-direction: column-reverse; |
7539 | flex-direction: column-reverse; | 7539 | flex-direction: column-reverse; |
7540 | -webkit-box-align: center; | 7540 | -webkit-box-align: center; |
7541 | -ms-flex-align: center; | 7541 | -ms-flex-align: center; |
7542 | align-items: center; | 7542 | align-items: center; |
7543 | gap: 20px; | 7543 | gap: 20px; |
7544 | } | 7544 | } |
7545 | .cvs__body { | 7545 | .cvs__body { |
7546 | display: -webkit-box; | 7546 | display: -webkit-box; |
7547 | display: -ms-flexbox; | 7547 | display: -ms-flexbox; |
7548 | display: flex; | 7548 | display: flex; |
7549 | -webkit-box-orient: vertical; | 7549 | -webkit-box-orient: vertical; |
7550 | -webkit-box-direction: normal; | 7550 | -webkit-box-direction: normal; |
7551 | -ms-flex-direction: column; | 7551 | -ms-flex-direction: column; |
7552 | flex-direction: column; | 7552 | flex-direction: column; |
7553 | gap: 20px; | 7553 | gap: 20px; |
7554 | width: 100%; | 7554 | width: 100%; |
7555 | } | 7555 | } |
7556 | @media (min-width: 768px) { | 7556 | @media (min-width: 768px) { |
7557 | .cvs__body { | 7557 | .cvs__body { |
7558 | gap: 30px; | 7558 | gap: 30px; |
7559 | } | 7559 | } |
7560 | } | 7560 | } |
7561 | .cvs__item { | 7561 | .cvs__item { |
7562 | display: none; | 7562 | display: none; |
7563 | -webkit-box-orient: vertical; | 7563 | -webkit-box-orient: vertical; |
7564 | -webkit-box-direction: normal; | 7564 | -webkit-box-direction: normal; |
7565 | -ms-flex-direction: column; | 7565 | -ms-flex-direction: column; |
7566 | flex-direction: column; | 7566 | flex-direction: column; |
7567 | gap: 10px; | 7567 | gap: 10px; |
7568 | border-radius: 8px; | 7568 | border-radius: 8px; |
7569 | border: 1px solid #e7e7e7; | 7569 | border: 1px solid #e7e7e7; |
7570 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 7570 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
7571 | padding: 10px; | 7571 | padding: 10px; |
7572 | font-size: 12px; | 7572 | font-size: 12px; |
7573 | position: relative; | 7573 | position: relative; |
7574 | } | 7574 | } |
7575 | @media (min-width: 768px) { | 7575 | @media (min-width: 768px) { |
7576 | .cvs__item { | 7576 | .cvs__item { |
7577 | gap: 0; | 7577 | gap: 0; |
7578 | padding: 20px; | 7578 | padding: 20px; |
7579 | font-size: 16px; | 7579 | font-size: 16px; |
7580 | -webkit-box-orient: horizontal; | 7580 | -webkit-box-orient: horizontal; |
7581 | -webkit-box-direction: normal; | 7581 | -webkit-box-direction: normal; |
7582 | -ms-flex-direction: row; | 7582 | -ms-flex-direction: row; |
7583 | flex-direction: row; | 7583 | flex-direction: row; |
7584 | -webkit-box-align: start; | 7584 | -webkit-box-align: start; |
7585 | -ms-flex-align: start; | 7585 | -ms-flex-align: start; |
7586 | align-items: flex-start; | 7586 | align-items: flex-start; |
7587 | -ms-flex-wrap: wrap; | 7587 | -ms-flex-wrap: wrap; |
7588 | flex-wrap: wrap; | 7588 | flex-wrap: wrap; |
7589 | } | 7589 | } |
7590 | } | 7590 | } |
7591 | .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) { | 7591 | .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) { |
7592 | display: -webkit-box; | 7592 | display: -webkit-box; |
7593 | display: -ms-flexbox; | 7593 | display: -ms-flexbox; |
7594 | display: flex; | 7594 | display: flex; |
7595 | } | 7595 | } |
7596 | .cvs__item-like { | 7596 | .cvs__item-like { |
7597 | width: unset; | 7597 | width: unset; |
7598 | padding: 5px 10px; | 7598 | padding: 5px 10px; |
7599 | margin-right: 10px; | 7599 | margin-right: 10px; |
7600 | } | 7600 | } |
7601 | .cvs__item .cvs__item-buttons .chat{ | 7601 | .cvs__item .cvs__item-buttons .chat{ |
7602 | width: unset; | 7602 | width: unset; |
7603 | padding: 5px 10px; | 7603 | padding: 5px 10px; |
7604 | margin-right: 10px; | 7604 | margin-right: 10px; |
7605 | } | 7605 | } |
7606 | .cvs__item-like.active{ | 7606 | .cvs__item-like.active{ |
7607 | background: #ffffff; | 7607 | background: #ffffff; |
7608 | color: #eb5757; | 7608 | color: #eb5757; |
7609 | } | 7609 | } |
7610 | .cvs__item-like .in-favorites{ | 7610 | .cvs__item-like .in-favorites{ |
7611 | display: none; | 7611 | display: none; |
7612 | } | 7612 | } |
7613 | .cvs__item-like.active .in-favorites{ | 7613 | .cvs__item-like.active .in-favorites{ |
7614 | display: block; | 7614 | display: block; |
7615 | color: #eb5757; | 7615 | color: #eb5757; |
7616 | } | 7616 | } |
7617 | .cvs__item-like.active .to-favorites{ | 7617 | .cvs__item-like.active .to-favorites{ |
7618 | display: none; | 7618 | display: none; |
7619 | } | 7619 | } |
7620 | .cvs__item .cvs__item-header{ | 7620 | .cvs__item .cvs__item-header{ |
7621 | display: flex; | 7621 | display: flex; |
7622 | width: 100%; | 7622 | width: 100%; |
7623 | justify-content: space-between; | 7623 | justify-content: space-between; |
7624 | } | 7624 | } |
7625 | .cvs__item-photo { | 7625 | .cvs__item-photo { |
7626 | position: relative; | 7626 | position: relative; |
7627 | aspect-ratio: 1/1; | 7627 | aspect-ratio: 1/1; |
7628 | overflow: hidden; | 7628 | overflow: hidden; |
7629 | background: #9c9d9d; | 7629 | background: #9c9d9d; |
7630 | color: #fff; | 7630 | color: #fff; |
7631 | width: 36px; | 7631 | width: 36px; |
7632 | border-radius: 6px; | 7632 | border-radius: 6px; |
7633 | display: -webkit-box; | 7633 | display: -webkit-box; |
7634 | display: -ms-flexbox; | 7634 | display: -ms-flexbox; |
7635 | display: flex; | 7635 | display: flex; |
7636 | -webkit-box-pack: center; | 7636 | -webkit-box-pack: center; |
7637 | -ms-flex-pack: center; | 7637 | -ms-flex-pack: center; |
7638 | justify-content: center; | 7638 | justify-content: center; |
7639 | -webkit-box-align: center; | 7639 | -webkit-box-align: center; |
7640 | -ms-flex-align: center; | 7640 | -ms-flex-align: center; |
7641 | align-items: center; | 7641 | align-items: center; |
7642 | } | 7642 | } |
7643 | @media (min-width: 768px) { | 7643 | @media (min-width: 768px) { |
7644 | .cvs__item-photo { | 7644 | .cvs__item-photo { |
7645 | width: 68px; | 7645 | width: 68px; |
7646 | } | 7646 | } |
7647 | } | 7647 | } |
7648 | .cvs__item-photo svg { | 7648 | .cvs__item-photo svg { |
7649 | width: 50%; | 7649 | width: 50%; |
7650 | position: relative; | 7650 | position: relative; |
7651 | z-index: 1; | 7651 | z-index: 1; |
7652 | } | 7652 | } |
7653 | .cvs__item-photo img { | 7653 | .cvs__item-photo img { |
7654 | position: absolute; | 7654 | position: absolute; |
7655 | z-index: 2; | 7655 | z-index: 2; |
7656 | top: 0; | 7656 | top: 0; |
7657 | left: 0; | 7657 | left: 0; |
7658 | width: 100%; | 7658 | width: 100%; |
7659 | height: 100%; | 7659 | height: 100%; |
7660 | -o-object-fit: cover; | 7660 | -o-object-fit: cover; |
7661 | object-fit: cover; | 7661 | object-fit: cover; |
7662 | } | 7662 | } |
7663 | .cvs__item-text { | 7663 | .cvs__item-text { |
7664 | display: -webkit-box; | 7664 | display: -webkit-box; |
7665 | display: -ms-flexbox; | 7665 | display: -ms-flexbox; |
7666 | display: flex; | 7666 | display: flex; |
7667 | -webkit-box-orient: vertical; | 7667 | -webkit-box-orient: vertical; |
7668 | -webkit-box-direction: normal; | 7668 | -webkit-box-direction: normal; |
7669 | -ms-flex-direction: column; | 7669 | -ms-flex-direction: column; |
7670 | flex-direction: column; | 7670 | flex-direction: column; |
7671 | gap: 10px; | 7671 | gap: 10px; |
7672 | width: 100%; | 7672 | width: 100%; |
7673 | margin-top: 30px; | 7673 | margin-top: 30px; |
7674 | } | 7674 | } |
7675 | .cvs__item .cvs__item-buttons{ | 7675 | .cvs__item .cvs__item-buttons{ |
7676 | display: flex; | 7676 | display: flex; |
7677 | align-items: start; | 7677 | align-items: start; |
7678 | } | 7678 | } |
7679 | .cvs.active .cvs__item { | 7679 | .cvs.active .cvs__item { |
7680 | display: -webkit-box; | 7680 | display: -webkit-box; |
7681 | display: -ms-flexbox; | 7681 | display: -ms-flexbox; |
7682 | display: flex; | 7682 | display: flex; |
7683 | } | 7683 | } |
7684 | .cvs__item-text .cvs__item-text-row{ | 7684 | .cvs__item-text .cvs__item-text-row{ |
7685 | display: flex; | 7685 | display: flex; |
7686 | justify-content: space-between; | 7686 | justify-content: space-between; |
7687 | width: 100%; | 7687 | width: 100%; |
7688 | } | 7688 | } |
7689 | .cvs__item-text .cvs__item-text-row > div{ | 7689 | .cvs__item-text .cvs__item-text-row > div{ |
7690 | width: 50%; | 7690 | width: 50%; |
7691 | } | 7691 | } |
7692 | .cvs__item-text .cvs__item-text-row b{ | 7692 | .cvs__item-text .cvs__item-text-row b{ |
7693 | color: #377d87; | 7693 | color: #377d87; |
7694 | font-size: 18px; | 7694 | font-size: 18px; |
7695 | } | 7695 | } |
7696 | .cvs__item-text .cvs__item-text-status { | 7696 | .cvs__item-text .cvs__item-text-status { |
7697 | width: fit-content; | 7697 | width: fit-content; |
7698 | background-color: #e6e6e6; | 7698 | background-color: #e6e6e6; |
7699 | font-weight: bold; | 7699 | font-weight: bold; |
7700 | padding: 5px 10px; | 7700 | padding: 5px 10px; |
7701 | border-radius: 8px; | 7701 | border-radius: 8px; |
7702 | margin-right: 30px; | 7702 | margin-right: 30px; |
7703 | } | 7703 | } |
7704 | .cvs__item-text .cvs__item-text-status.looking-for-job { | 7704 | .cvs__item-text .cvs__item-text-status.looking-for-job { |
7705 | background-color: #eb5757; | 7705 | background-color: #eb5757; |
7706 | color: #fff; | 7706 | color: #fff; |
7707 | } | 7707 | } |
7708 | .cvs__item-text .cvs__item-text-updated-at{ | 7708 | .cvs__item-text .cvs__item-text-updated-at{ |
7709 | padding: 5px 10px; | 7709 | padding: 5px 10px; |
7710 | border-radius: 8px; | 7710 | border-radius: 8px; |
7711 | border: 1px #e6e6e6 solid; | 7711 | border: 1px #e6e6e6 solid; |
7712 | } | 7712 | } |
7713 | .faqs { | 7713 | .faqs { |
7714 | display: -webkit-box; | 7714 | display: -webkit-box; |
7715 | display: -ms-flexbox; | 7715 | display: -ms-flexbox; |
7716 | display: flex; | 7716 | display: flex; |
7717 | -webkit-box-orient: vertical; | 7717 | -webkit-box-orient: vertical; |
7718 | -webkit-box-direction: reverse; | 7718 | -webkit-box-direction: reverse; |
7719 | -ms-flex-direction: column-reverse; | 7719 | -ms-flex-direction: column-reverse; |
7720 | flex-direction: column-reverse; | 7720 | flex-direction: column-reverse; |
7721 | -webkit-box-align: center; | 7721 | -webkit-box-align: center; |
7722 | -ms-flex-align: center; | 7722 | -ms-flex-align: center; |
7723 | align-items: center; | 7723 | align-items: center; |
7724 | gap: 20px; | 7724 | gap: 20px; |
7725 | } | 7725 | } |
7726 | .faqs__body { | 7726 | .faqs__body { |
7727 | display: -webkit-box; | 7727 | display: -webkit-box; |
7728 | display: -ms-flexbox; | 7728 | display: -ms-flexbox; |
7729 | display: flex; | 7729 | display: flex; |
7730 | -webkit-box-orient: vertical; | 7730 | -webkit-box-orient: vertical; |
7731 | -webkit-box-direction: normal; | 7731 | -webkit-box-direction: normal; |
7732 | -ms-flex-direction: column; | 7732 | -ms-flex-direction: column; |
7733 | flex-direction: column; | 7733 | flex-direction: column; |
7734 | gap: 20px; | 7734 | gap: 20px; |
7735 | width: 100%; | 7735 | width: 100%; |
7736 | } | 7736 | } |
7737 | .faqs__item { | 7737 | .faqs__item { |
7738 | display: none; | 7738 | display: none; |
7739 | -webkit-box-orient: vertical; | 7739 | -webkit-box-orient: vertical; |
7740 | -webkit-box-direction: normal; | 7740 | -webkit-box-direction: normal; |
7741 | -ms-flex-direction: column; | 7741 | -ms-flex-direction: column; |
7742 | flex-direction: column; | 7742 | flex-direction: column; |
7743 | border-radius: 8px; | 7743 | border-radius: 8px; |
7744 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 7744 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
7745 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 7745 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
7746 | background: #fff; | 7746 | background: #fff; |
7747 | padding: 10px; | 7747 | padding: 10px; |
7748 | font-size: 12px; | 7748 | font-size: 12px; |
7749 | } | 7749 | } |
7750 | @media (min-width: 768px) { | 7750 | @media (min-width: 768px) { |
7751 | .faqs__item { | 7751 | .faqs__item { |
7752 | padding: 20px; | 7752 | padding: 20px; |
7753 | font-size: 16px; | 7753 | font-size: 16px; |
7754 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 7754 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
7755 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 7755 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
7756 | } | 7756 | } |
7757 | } | 7757 | } |
7758 | .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) { | 7758 | .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) { |
7759 | display: -webkit-box; | 7759 | display: -webkit-box; |
7760 | display: -ms-flexbox; | 7760 | display: -ms-flexbox; |
7761 | display: flex; | 7761 | display: flex; |
7762 | } | 7762 | } |
7763 | .faqs__item-button { | 7763 | .faqs__item-button { |
7764 | background: none; | 7764 | background: none; |
7765 | padding: 0; | 7765 | padding: 0; |
7766 | border: none; | 7766 | border: none; |
7767 | display: -webkit-box; | 7767 | display: -webkit-box; |
7768 | display: -ms-flexbox; | 7768 | display: -ms-flexbox; |
7769 | display: flex; | 7769 | display: flex; |
7770 | -webkit-box-align: center; | 7770 | -webkit-box-align: center; |
7771 | -ms-flex-align: center; | 7771 | -ms-flex-align: center; |
7772 | align-items: center; | 7772 | align-items: center; |
7773 | color: #000; | 7773 | color: #000; |
7774 | text-align: left; | 7774 | text-align: left; |
7775 | font-size: 14px; | 7775 | font-size: 14px; |
7776 | font-weight: 700; | 7776 | font-weight: 700; |
7777 | } | 7777 | } |
7778 | @media (min-width: 768px) { | 7778 | @media (min-width: 768px) { |
7779 | .faqs__item-button { | 7779 | .faqs__item-button { |
7780 | font-size: 20px; | 7780 | font-size: 20px; |
7781 | } | 7781 | } |
7782 | } | 7782 | } |
7783 | .faqs__item-button span { | 7783 | .faqs__item-button span { |
7784 | width: calc(100% - 16px); | 7784 | width: calc(100% - 16px); |
7785 | padding-right: 16px; | 7785 | padding-right: 16px; |
7786 | } | 7786 | } |
7787 | .faqs__item-button i { | 7787 | .faqs__item-button i { |
7788 | display: -webkit-box; | 7788 | display: -webkit-box; |
7789 | display: -ms-flexbox; | 7789 | display: -ms-flexbox; |
7790 | display: flex; | 7790 | display: flex; |
7791 | -webkit-box-pack: center; | 7791 | -webkit-box-pack: center; |
7792 | -ms-flex-pack: center; | 7792 | -ms-flex-pack: center; |
7793 | justify-content: center; | 7793 | justify-content: center; |
7794 | -webkit-box-align: center; | 7794 | -webkit-box-align: center; |
7795 | -ms-flex-align: center; | 7795 | -ms-flex-align: center; |
7796 | align-items: center; | 7796 | align-items: center; |
7797 | width: 16px; | 7797 | width: 16px; |
7798 | aspect-ratio: 1/1; | 7798 | aspect-ratio: 1/1; |
7799 | color: #377d87; | 7799 | color: #377d87; |
7800 | -webkit-transition: 0.3s; | 7800 | -webkit-transition: 0.3s; |
7801 | transition: 0.3s; | 7801 | transition: 0.3s; |
7802 | } | 7802 | } |
7803 | .faqs__item-button i svg { | 7803 | .faqs__item-button i svg { |
7804 | width: 16px; | 7804 | width: 16px; |
7805 | aspect-ratio: 1/1; | 7805 | aspect-ratio: 1/1; |
7806 | -webkit-transform: rotate(90deg); | 7806 | -webkit-transform: rotate(90deg); |
7807 | -ms-transform: rotate(90deg); | 7807 | -ms-transform: rotate(90deg); |
7808 | transform: rotate(90deg); | 7808 | transform: rotate(90deg); |
7809 | } | 7809 | } |
7810 | .faqs__item-button.active i { | 7810 | .faqs__item-button.active i { |
7811 | -webkit-transform: rotate(180deg); | 7811 | -webkit-transform: rotate(180deg); |
7812 | -ms-transform: rotate(180deg); | 7812 | -ms-transform: rotate(180deg); |
7813 | transform: rotate(180deg); | 7813 | transform: rotate(180deg); |
7814 | } | 7814 | } |
7815 | .faqs__item-body { | 7815 | .faqs__item-body { |
7816 | display: -webkit-box; | 7816 | display: -webkit-box; |
7817 | display: -ms-flexbox; | 7817 | display: -ms-flexbox; |
7818 | display: flex; | 7818 | display: flex; |
7819 | -webkit-box-orient: vertical; | 7819 | -webkit-box-orient: vertical; |
7820 | -webkit-box-direction: normal; | 7820 | -webkit-box-direction: normal; |
7821 | -ms-flex-direction: column; | 7821 | -ms-flex-direction: column; |
7822 | flex-direction: column; | 7822 | flex-direction: column; |
7823 | gap: 10px; | 7823 | gap: 10px; |
7824 | opacity: 0; | 7824 | opacity: 0; |
7825 | height: 0; | 7825 | height: 0; |
7826 | overflow: hidden; | 7826 | overflow: hidden; |
7827 | font-size: 12px; | 7827 | font-size: 12px; |
7828 | line-height: 1.4; | 7828 | line-height: 1.4; |
7829 | } | 7829 | } |
7830 | @media (min-width: 768px) { | 7830 | @media (min-width: 768px) { |
7831 | .faqs__item-body { | 7831 | .faqs__item-body { |
7832 | font-size: 16px; | 7832 | font-size: 16px; |
7833 | gap: 20px; | 7833 | gap: 20px; |
7834 | } | 7834 | } |
7835 | } | 7835 | } |
7836 | .faqs__item-body p { | 7836 | .faqs__item-body p { |
7837 | margin: 0; | 7837 | margin: 0; |
7838 | } | 7838 | } |
7839 | .faqs__item-body a { | 7839 | .faqs__item-body a { |
7840 | color: #0f74a8; | 7840 | color: #0f74a8; |
7841 | } | 7841 | } |
7842 | .active + .faqs__item-body { | 7842 | .active + .faqs__item-body { |
7843 | opacity: 1; | 7843 | opacity: 1; |
7844 | height: auto; | 7844 | height: auto; |
7845 | -webkit-transition: 0.3s; | 7845 | -webkit-transition: 0.3s; |
7846 | transition: 0.3s; | 7846 | transition: 0.3s; |
7847 | padding-top: 10px; | 7847 | padding-top: 10px; |
7848 | } | 7848 | } |
7849 | @media (min-width: 768px) { | 7849 | @media (min-width: 768px) { |
7850 | .active + .faqs__item-body { | 7850 | .active + .faqs__item-body { |
7851 | padding-top: 20px; | 7851 | padding-top: 20px; |
7852 | } | 7852 | } |
7853 | } | 7853 | } |
7854 | .faqs.active .faqs__item { | 7854 | .faqs.active .faqs__item { |
7855 | display: -webkit-box; | 7855 | display: -webkit-box; |
7856 | display: -ms-flexbox; | 7856 | display: -ms-flexbox; |
7857 | display: flex; | 7857 | display: flex; |
7858 | } | 7858 | } |
7859 | 7859 | ||
7860 | .cabinet { | 7860 | .cabinet { |
7861 | padding: 20px 0; | 7861 | padding: 20px 0; |
7862 | padding-bottom: 40px; | 7862 | padding-bottom: 40px; |
7863 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 7863 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
7864 | } | 7864 | } |
7865 | @media (min-width: 992px) { | 7865 | @media (min-width: 992px) { |
7866 | .cabinet { | 7866 | .cabinet { |
7867 | padding: 30px 0; | 7867 | padding: 30px 0; |
7868 | padding-bottom: 60px; | 7868 | padding-bottom: 60px; |
7869 | } | 7869 | } |
7870 | } | 7870 | } |
7871 | .cabinet__breadcrumbs { | 7871 | .cabinet__breadcrumbs { |
7872 | margin-bottom: 50px; | 7872 | margin-bottom: 50px; |
7873 | } | 7873 | } |
7874 | .cabinet__wrapper { | 7874 | .cabinet__wrapper { |
7875 | display: -webkit-box; | 7875 | display: -webkit-box; |
7876 | display: -ms-flexbox; | 7876 | display: -ms-flexbox; |
7877 | display: flex; | 7877 | display: flex; |
7878 | -webkit-box-orient: vertical; | 7878 | -webkit-box-orient: vertical; |
7879 | -webkit-box-direction: normal; | 7879 | -webkit-box-direction: normal; |
7880 | -ms-flex-direction: column; | 7880 | -ms-flex-direction: column; |
7881 | flex-direction: column; | 7881 | flex-direction: column; |
7882 | } | 7882 | } |
7883 | @media (min-width: 992px) { | 7883 | @media (min-width: 992px) { |
7884 | .cabinet__wrapper { | 7884 | .cabinet__wrapper { |
7885 | -webkit-box-orient: horizontal; | 7885 | -webkit-box-orient: horizontal; |
7886 | -webkit-box-direction: normal; | 7886 | -webkit-box-direction: normal; |
7887 | -ms-flex-direction: row; | 7887 | -ms-flex-direction: row; |
7888 | flex-direction: row; | 7888 | flex-direction: row; |
7889 | -webkit-box-align: start; | 7889 | -webkit-box-align: start; |
7890 | -ms-flex-align: start; | 7890 | -ms-flex-align: start; |
7891 | align-items: flex-start; | 7891 | align-items: flex-start; |
7892 | -webkit-box-pack: justify; | 7892 | -webkit-box-pack: justify; |
7893 | -ms-flex-pack: justify; | 7893 | -ms-flex-pack: justify; |
7894 | justify-content: space-between; | 7894 | justify-content: space-between; |
7895 | } | 7895 | } |
7896 | } | 7896 | } |
7897 | .cabinet__side { | 7897 | .cabinet__side { |
7898 | border-radius: 8px; | 7898 | border-radius: 8px; |
7899 | background: #fff; | 7899 | background: #fff; |
7900 | padding: 20px 10px; | 7900 | padding: 20px 10px; |
7901 | display: -webkit-box; | 7901 | display: -webkit-box; |
7902 | display: -ms-flexbox; | 7902 | display: -ms-flexbox; |
7903 | display: flex; | 7903 | display: flex; |
7904 | -webkit-box-orient: vertical; | 7904 | -webkit-box-orient: vertical; |
7905 | -webkit-box-direction: normal; | 7905 | -webkit-box-direction: normal; |
7906 | -ms-flex-direction: column; | 7906 | -ms-flex-direction: column; |
7907 | flex-direction: column; | 7907 | flex-direction: column; |
7908 | gap: 30px; | 7908 | gap: 30px; |
7909 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 7909 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
7910 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 7910 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
7911 | } | 7911 | } |
7912 | @media (min-width: 768px) { | 7912 | @media (min-width: 768px) { |
7913 | .cabinet__side { | 7913 | .cabinet__side { |
7914 | padding: 30px 20px; | 7914 | padding: 30px 20px; |
7915 | margin-bottom: 50px; | 7915 | margin-bottom: 50px; |
7916 | } | 7916 | } |
7917 | } | 7917 | } |
7918 | @media (min-width: 992px) { | 7918 | @media (min-width: 992px) { |
7919 | .cabinet__side { | 7919 | .cabinet__side { |
7920 | width: 340px; | 7920 | width: 340px; |
7921 | margin: 0; | 7921 | margin: 0; |
7922 | position: sticky; | 7922 | position: sticky; |
7923 | top: 6px; | 7923 | top: 6px; |
7924 | } | 7924 | } |
7925 | } | 7925 | } |
7926 | @media (min-width: 1280px) { | 7926 | @media (min-width: 1280px) { |
7927 | .cabinet__side { | 7927 | .cabinet__side { |
7928 | width: 400px; | 7928 | width: 400px; |
7929 | } | 7929 | } |
7930 | } | 7930 | } |
7931 | .cabinet__side-item { | 7931 | .cabinet__side-item { |
7932 | display: -webkit-box; | 7932 | display: -webkit-box; |
7933 | display: -ms-flexbox; | 7933 | display: -ms-flexbox; |
7934 | display: flex; | 7934 | display: flex; |
7935 | -webkit-box-orient: vertical; | 7935 | -webkit-box-orient: vertical; |
7936 | -webkit-box-direction: normal; | 7936 | -webkit-box-direction: normal; |
7937 | -ms-flex-direction: column; | 7937 | -ms-flex-direction: column; |
7938 | flex-direction: column; | 7938 | flex-direction: column; |
7939 | gap: 20px; | 7939 | gap: 20px; |
7940 | } | 7940 | } |
7941 | .cabinet__side-toper { | 7941 | .cabinet__side-toper { |
7942 | display: -webkit-box; | 7942 | display: -webkit-box; |
7943 | display: -ms-flexbox; | 7943 | display: -ms-flexbox; |
7944 | display: flex; | 7944 | display: flex; |
7945 | -webkit-box-align: center; | 7945 | -webkit-box-align: center; |
7946 | -ms-flex-align: center; | 7946 | -ms-flex-align: center; |
7947 | align-items: center; | 7947 | align-items: center; |
7948 | } | 7948 | } |
7949 | .cabinet__side-toper-pic { | 7949 | .cabinet__side-toper-pic { |
7950 | width: 70px; | 7950 | width: 70px; |
7951 | aspect-ratio: 1/1; | 7951 | aspect-ratio: 1/1; |
7952 | overflow: hidden; | 7952 | overflow: hidden; |
7953 | border-radius: 8px; | 7953 | border-radius: 8px; |
7954 | color: #fff; | 7954 | color: #fff; |
7955 | background: #9c9d9d; | 7955 | background: #9c9d9d; |
7956 | display: -webkit-box; | 7956 | display: -webkit-box; |
7957 | display: -ms-flexbox; | 7957 | display: -ms-flexbox; |
7958 | display: flex; | 7958 | display: flex; |
7959 | -webkit-box-align: center; | 7959 | -webkit-box-align: center; |
7960 | -ms-flex-align: center; | 7960 | -ms-flex-align: center; |
7961 | align-items: center; | 7961 | align-items: center; |
7962 | -webkit-box-pack: center; | 7962 | -webkit-box-pack: center; |
7963 | -ms-flex-pack: center; | 7963 | -ms-flex-pack: center; |
7964 | justify-content: center; | 7964 | justify-content: center; |
7965 | position: relative; | 7965 | position: relative; |
7966 | } | 7966 | } |
7967 | .cabinet__side-toper-pic img { | 7967 | .cabinet__side-toper-pic img { |
7968 | width: 100%; | 7968 | width: 100%; |
7969 | height: 100%; | 7969 | height: 100%; |
7970 | -o-object-fit: cover; | 7970 | -o-object-fit: cover; |
7971 | object-fit: cover; | 7971 | object-fit: cover; |
7972 | position: absolute; | 7972 | position: absolute; |
7973 | z-index: 2; | 7973 | z-index: 2; |
7974 | top: 0; | 7974 | top: 0; |
7975 | left: 0; | 7975 | left: 0; |
7976 | aspect-ratio: 1/1; | 7976 | aspect-ratio: 1/1; |
7977 | -o-object-fit: contain; | 7977 | -o-object-fit: contain; |
7978 | object-fit: contain; | 7978 | object-fit: contain; |
7979 | } | 7979 | } |
7980 | .cabinet__side-toper-pic svg { | 7980 | .cabinet__side-toper-pic svg { |
7981 | width: 50%; | 7981 | width: 50%; |
7982 | aspect-ratio: 1/1; | 7982 | aspect-ratio: 1/1; |
7983 | } | 7983 | } |
7984 | .cabinet__side-toper b { | 7984 | .cabinet__side-toper b { |
7985 | width: calc(100% - 70px); | 7985 | width: calc(100% - 70px); |
7986 | font-size: 14px; | 7986 | font-size: 14px; |
7987 | font-weight: 700; | 7987 | font-weight: 700; |
7988 | padding-left: 16px; | 7988 | padding-left: 16px; |
7989 | } | 7989 | } |
7990 | @media (min-width: 768px) { | 7990 | @media (min-width: 768px) { |
7991 | .cabinet__side-toper b { | 7991 | .cabinet__side-toper b { |
7992 | font-size: 20px; | 7992 | font-size: 20px; |
7993 | } | 7993 | } |
7994 | } | 7994 | } |
7995 | .cabinet__menu { | 7995 | .cabinet__menu { |
7996 | display: -webkit-box; | 7996 | display: -webkit-box; |
7997 | display: -ms-flexbox; | 7997 | display: -ms-flexbox; |
7998 | display: flex; | 7998 | display: flex; |
7999 | -webkit-box-orient: vertical; | 7999 | -webkit-box-orient: vertical; |
8000 | -webkit-box-direction: normal; | 8000 | -webkit-box-direction: normal; |
8001 | -ms-flex-direction: column; | 8001 | -ms-flex-direction: column; |
8002 | flex-direction: column; | 8002 | flex-direction: column; |
8003 | } | 8003 | } |
8004 | .cabinet__menu-toper { | 8004 | .cabinet__menu-toper { |
8005 | display: -webkit-box; | 8005 | display: -webkit-box; |
8006 | display: -ms-flexbox; | 8006 | display: -ms-flexbox; |
8007 | display: flex; | 8007 | display: flex; |
8008 | -webkit-box-align: center; | 8008 | -webkit-box-align: center; |
8009 | -ms-flex-align: center; | 8009 | -ms-flex-align: center; |
8010 | align-items: center; | 8010 | align-items: center; |
8011 | -webkit-box-pack: justify; | 8011 | -webkit-box-pack: justify; |
8012 | -ms-flex-pack: justify; | 8012 | -ms-flex-pack: justify; |
8013 | justify-content: space-between; | 8013 | justify-content: space-between; |
8014 | padding: 0 16px; | 8014 | padding: 0 16px; |
8015 | padding-right: 12px; | 8015 | padding-right: 12px; |
8016 | border: none; | 8016 | border: none; |
8017 | border-radius: 8px; | 8017 | border-radius: 8px; |
8018 | background: #377d87; | 8018 | background: #377d87; |
8019 | color: #fff; | 8019 | color: #fff; |
8020 | } | 8020 | } |
8021 | @media (min-width: 768px) { | 8021 | @media (min-width: 768px) { |
8022 | .cabinet__menu-toper { | 8022 | .cabinet__menu-toper { |
8023 | padding: 0 20px; | 8023 | padding: 0 20px; |
8024 | } | 8024 | } |
8025 | } | 8025 | } |
8026 | @media (min-width: 992px) { | 8026 | @media (min-width: 992px) { |
8027 | .cabinet__menu-toper { | 8027 | .cabinet__menu-toper { |
8028 | display: none; | 8028 | display: none; |
8029 | } | 8029 | } |
8030 | } | 8030 | } |
8031 | .cabinet__menu-toper-text { | 8031 | .cabinet__menu-toper-text { |
8032 | width: calc(100% - 16px); | 8032 | width: calc(100% - 16px); |
8033 | display: -webkit-box; | 8033 | display: -webkit-box; |
8034 | display: -ms-flexbox; | 8034 | display: -ms-flexbox; |
8035 | display: flex; | 8035 | display: flex; |
8036 | -webkit-box-align: center; | 8036 | -webkit-box-align: center; |
8037 | -ms-flex-align: center; | 8037 | -ms-flex-align: center; |
8038 | align-items: center; | 8038 | align-items: center; |
8039 | } | 8039 | } |
8040 | @media (min-width: 768px) { | 8040 | @media (min-width: 768px) { |
8041 | .cabinet__menu-toper-text { | 8041 | .cabinet__menu-toper-text { |
8042 | width: calc(100% - 20px); | 8042 | width: calc(100% - 20px); |
8043 | } | 8043 | } |
8044 | } | 8044 | } |
8045 | .cabinet__menu-toper-text i { | 8045 | .cabinet__menu-toper-text i { |
8046 | width: 16px; | 8046 | width: 16px; |
8047 | height: 16px; | 8047 | height: 16px; |
8048 | display: -webkit-box; | 8048 | display: -webkit-box; |
8049 | display: -ms-flexbox; | 8049 | display: -ms-flexbox; |
8050 | display: flex; | 8050 | display: flex; |
8051 | -webkit-box-align: center; | 8051 | -webkit-box-align: center; |
8052 | -ms-flex-align: center; | 8052 | -ms-flex-align: center; |
8053 | align-items: center; | 8053 | align-items: center; |
8054 | -webkit-box-pack: center; | 8054 | -webkit-box-pack: center; |
8055 | -ms-flex-pack: center; | 8055 | -ms-flex-pack: center; |
8056 | justify-content: center; | 8056 | justify-content: center; |
8057 | } | 8057 | } |
8058 | @media (min-width: 768px) { | 8058 | @media (min-width: 768px) { |
8059 | .cabinet__menu-toper-text i { | 8059 | .cabinet__menu-toper-text i { |
8060 | width: 22px; | 8060 | width: 22px; |
8061 | height: 22px; | 8061 | height: 22px; |
8062 | } | 8062 | } |
8063 | } | 8063 | } |
8064 | .cabinet__menu-toper-text svg { | 8064 | .cabinet__menu-toper-text svg { |
8065 | width: 16px; | 8065 | width: 16px; |
8066 | height: 16px; | 8066 | height: 16px; |
8067 | } | 8067 | } |
8068 | @media (min-width: 768px) { | 8068 | @media (min-width: 768px) { |
8069 | .cabinet__menu-toper-text svg { | 8069 | .cabinet__menu-toper-text svg { |
8070 | width: 22px; | 8070 | width: 22px; |
8071 | height: 22px; | 8071 | height: 22px; |
8072 | } | 8072 | } |
8073 | } | 8073 | } |
8074 | .cabinet__menu-toper-text span { | 8074 | .cabinet__menu-toper-text span { |
8075 | display: -webkit-box; | 8075 | display: -webkit-box; |
8076 | display: -ms-flexbox; | 8076 | display: -ms-flexbox; |
8077 | display: flex; | 8077 | display: flex; |
8078 | -webkit-box-align: center; | 8078 | -webkit-box-align: center; |
8079 | -ms-flex-align: center; | 8079 | -ms-flex-align: center; |
8080 | align-items: center; | 8080 | align-items: center; |
8081 | padding: 0 10px; | 8081 | padding: 0 10px; |
8082 | min-height: 30px; | 8082 | min-height: 30px; |
8083 | font-size: 12px; | 8083 | font-size: 12px; |
8084 | width: calc(100% - 16px); | 8084 | width: calc(100% - 16px); |
8085 | } | 8085 | } |
8086 | @media (min-width: 768px) { | 8086 | @media (min-width: 768px) { |
8087 | .cabinet__menu-toper-text span { | 8087 | .cabinet__menu-toper-text span { |
8088 | width: calc(100% - 22px); | 8088 | width: calc(100% - 22px); |
8089 | font-size: 20px; | 8089 | font-size: 20px; |
8090 | min-height: 52px; | 8090 | min-height: 52px; |
8091 | padding: 0 16px; | 8091 | padding: 0 16px; |
8092 | } | 8092 | } |
8093 | } | 8093 | } |
8094 | .cabinet__menu-toper-arrow { | 8094 | .cabinet__menu-toper-arrow { |
8095 | width: 16px; | 8095 | width: 16px; |
8096 | height: 16px; | 8096 | height: 16px; |
8097 | display: -webkit-box; | 8097 | display: -webkit-box; |
8098 | display: -ms-flexbox; | 8098 | display: -ms-flexbox; |
8099 | display: flex; | 8099 | display: flex; |
8100 | -webkit-box-pack: center; | 8100 | -webkit-box-pack: center; |
8101 | -ms-flex-pack: center; | 8101 | -ms-flex-pack: center; |
8102 | justify-content: center; | 8102 | justify-content: center; |
8103 | -webkit-box-align: center; | 8103 | -webkit-box-align: center; |
8104 | -ms-flex-align: center; | 8104 | -ms-flex-align: center; |
8105 | align-items: center; | 8105 | align-items: center; |
8106 | -webkit-transition: 0.3s; | 8106 | -webkit-transition: 0.3s; |
8107 | transition: 0.3s; | 8107 | transition: 0.3s; |
8108 | } | 8108 | } |
8109 | @media (min-width: 768px) { | 8109 | @media (min-width: 768px) { |
8110 | .cabinet__menu-toper-arrow { | 8110 | .cabinet__menu-toper-arrow { |
8111 | width: 20px; | 8111 | width: 20px; |
8112 | height: 20px; | 8112 | height: 20px; |
8113 | } | 8113 | } |
8114 | } | 8114 | } |
8115 | .cabinet__menu-toper-arrow svg { | 8115 | .cabinet__menu-toper-arrow svg { |
8116 | width: 12px; | 8116 | width: 12px; |
8117 | height: 12px; | 8117 | height: 12px; |
8118 | -webkit-transform: rotate(90deg); | 8118 | -webkit-transform: rotate(90deg); |
8119 | -ms-transform: rotate(90deg); | 8119 | -ms-transform: rotate(90deg); |
8120 | transform: rotate(90deg); | 8120 | transform: rotate(90deg); |
8121 | } | 8121 | } |
8122 | @media (min-width: 768px) { | 8122 | @media (min-width: 768px) { |
8123 | .cabinet__menu-toper-arrow svg { | 8123 | .cabinet__menu-toper-arrow svg { |
8124 | width: 20px; | 8124 | width: 20px; |
8125 | height: 20px; | 8125 | height: 20px; |
8126 | } | 8126 | } |
8127 | } | 8127 | } |
8128 | .cabinet__menu-toper.active .cabinet__menu-toper-arrow { | 8128 | .cabinet__menu-toper.active .cabinet__menu-toper-arrow { |
8129 | -webkit-transform: rotate(180deg); | 8129 | -webkit-transform: rotate(180deg); |
8130 | -ms-transform: rotate(180deg); | 8130 | -ms-transform: rotate(180deg); |
8131 | transform: rotate(180deg); | 8131 | transform: rotate(180deg); |
8132 | } | 8132 | } |
8133 | .cabinet__menu-body { | 8133 | .cabinet__menu-body { |
8134 | opacity: 0; | 8134 | opacity: 0; |
8135 | height: 0; | 8135 | height: 0; |
8136 | overflow: hidden; | 8136 | overflow: hidden; |
8137 | display: -webkit-box; | 8137 | display: -webkit-box; |
8138 | display: -ms-flexbox; | 8138 | display: -ms-flexbox; |
8139 | display: flex; | 8139 | display: flex; |
8140 | -webkit-box-orient: vertical; | 8140 | -webkit-box-orient: vertical; |
8141 | -webkit-box-direction: normal; | 8141 | -webkit-box-direction: normal; |
8142 | -ms-flex-direction: column; | 8142 | -ms-flex-direction: column; |
8143 | flex-direction: column; | 8143 | flex-direction: column; |
8144 | } | 8144 | } |
8145 | @media (min-width: 992px) { | 8145 | @media (min-width: 992px) { |
8146 | .cabinet__menu-body { | 8146 | .cabinet__menu-body { |
8147 | opacity: 1; | 8147 | opacity: 1; |
8148 | height: auto; | 8148 | height: auto; |
8149 | } | 8149 | } |
8150 | } | 8150 | } |
8151 | .active + .cabinet__menu-body { | 8151 | .active + .cabinet__menu-body { |
8152 | opacity: 1; | 8152 | opacity: 1; |
8153 | height: auto; | 8153 | height: auto; |
8154 | -webkit-transition: 0.3s; | 8154 | -webkit-transition: 0.3s; |
8155 | transition: 0.3s; | 8155 | transition: 0.3s; |
8156 | } | 8156 | } |
8157 | .cabinet__menu-items { | 8157 | .cabinet__menu-items { |
8158 | display: -webkit-box; | 8158 | display: -webkit-box; |
8159 | display: -ms-flexbox; | 8159 | display: -ms-flexbox; |
8160 | display: flex; | 8160 | display: flex; |
8161 | -webkit-box-orient: vertical; | 8161 | -webkit-box-orient: vertical; |
8162 | -webkit-box-direction: normal; | 8162 | -webkit-box-direction: normal; |
8163 | -ms-flex-direction: column; | 8163 | -ms-flex-direction: column; |
8164 | flex-direction: column; | 8164 | flex-direction: column; |
8165 | } | 8165 | } |
8166 | .cabinet__menu-item { | 8166 | .cabinet__menu-item { |
8167 | padding: 8px 16px; | 8167 | padding: 8px 16px; |
8168 | border-radius: 8px; | 8168 | border-radius: 8px; |
8169 | display: -webkit-box; | 8169 | display: -webkit-box; |
8170 | display: -ms-flexbox; | 8170 | display: -ms-flexbox; |
8171 | display: flex; | 8171 | display: flex; |
8172 | -webkit-box-align: center; | 8172 | -webkit-box-align: center; |
8173 | -ms-flex-align: center; | 8173 | -ms-flex-align: center; |
8174 | align-items: center; | 8174 | align-items: center; |
8175 | } | 8175 | } |
8176 | @media (min-width: 768px) { | 8176 | @media (min-width: 768px) { |
8177 | .cabinet__menu-item { | 8177 | .cabinet__menu-item { |
8178 | padding: 14px 20px; | 8178 | padding: 14px 20px; |
8179 | } | 8179 | } |
8180 | } | 8180 | } |
8181 | .cabinet__menu-item:hover { | 8181 | .cabinet__menu-item:hover { |
8182 | color: #377d87; | 8182 | color: #377d87; |
8183 | } | 8183 | } |
8184 | @media (min-width: 992px) { | 8184 | @media (min-width: 992px) { |
8185 | .cabinet__menu-item.active { | 8185 | .cabinet__menu-item.active { |
8186 | background: #377d87; | 8186 | background: #377d87; |
8187 | color: #fff; | 8187 | color: #fff; |
8188 | } | 8188 | } |
8189 | } | 8189 | } |
8190 | @media (min-width: 992px) { | 8190 | @media (min-width: 992px) { |
8191 | .cabinet__menu-item.active svg { | 8191 | .cabinet__menu-item.active svg { |
8192 | color: #fff; | 8192 | color: #fff; |
8193 | } | 8193 | } |
8194 | } | 8194 | } |
8195 | @media (min-width: 992px) { | 8195 | @media (min-width: 992px) { |
8196 | .cabinet__menu-item.active.red { | 8196 | .cabinet__menu-item.active.red { |
8197 | background: #eb5757; | 8197 | background: #eb5757; |
8198 | } | 8198 | } |
8199 | } | 8199 | } |
8200 | .cabinet__menu-item i { | 8200 | .cabinet__menu-item i { |
8201 | width: 16px; | 8201 | width: 16px; |
8202 | height: 16px; | 8202 | height: 16px; |
8203 | color: #377d87; | 8203 | color: #377d87; |
8204 | } | 8204 | } |
8205 | @media (min-width: 768px) { | 8205 | @media (min-width: 768px) { |
8206 | .cabinet__menu-item i { | 8206 | .cabinet__menu-item i { |
8207 | width: 22px; | 8207 | width: 22px; |
8208 | height: 22px; | 8208 | height: 22px; |
8209 | } | 8209 | } |
8210 | } | 8210 | } |
8211 | .cabinet__menu-item svg { | 8211 | .cabinet__menu-item svg { |
8212 | width: 16px; | 8212 | width: 16px; |
8213 | height: 16px; | 8213 | height: 16px; |
8214 | } | 8214 | } |
8215 | @media (min-width: 768px) { | 8215 | @media (min-width: 768px) { |
8216 | .cabinet__menu-item svg { | 8216 | .cabinet__menu-item svg { |
8217 | width: 22px; | 8217 | width: 22px; |
8218 | height: 22px; | 8218 | height: 22px; |
8219 | } | 8219 | } |
8220 | } | 8220 | } |
8221 | .cabinet__menu-item span { | 8221 | .cabinet__menu-item span { |
8222 | width: calc(100% - 16px); | 8222 | width: calc(100% - 16px); |
8223 | font-size: 12px; | 8223 | font-size: 12px; |
8224 | padding-left: 10px; | 8224 | padding-left: 10px; |
8225 | } | 8225 | } |
8226 | @media (min-width: 768px) { | 8226 | @media (min-width: 768px) { |
8227 | .cabinet__menu-item span { | 8227 | .cabinet__menu-item span { |
8228 | font-size: 20px; | 8228 | font-size: 20px; |
8229 | width: calc(100% - 22px); | 8229 | width: calc(100% - 22px); |
8230 | padding-left: 16px; | 8230 | padding-left: 16px; |
8231 | } | 8231 | } |
8232 | } | 8232 | } |
8233 | .cabinet__menu-bottom { | 8233 | .cabinet__menu-bottom { |
8234 | display: -webkit-box; | 8234 | display: -webkit-box; |
8235 | display: -ms-flexbox; | 8235 | display: -ms-flexbox; |
8236 | display: flex; | 8236 | display: flex; |
8237 | -webkit-box-orient: vertical; | 8237 | -webkit-box-orient: vertical; |
8238 | -webkit-box-direction: normal; | 8238 | -webkit-box-direction: normal; |
8239 | -ms-flex-direction: column; | 8239 | -ms-flex-direction: column; |
8240 | flex-direction: column; | 8240 | flex-direction: column; |
8241 | gap: 10px; | 8241 | gap: 10px; |
8242 | margin-top: 10px; | 8242 | margin-top: 10px; |
8243 | } | 8243 | } |
8244 | @media (min-width: 768px) { | 8244 | @media (min-width: 768px) { |
8245 | .cabinet__menu-bottom { | 8245 | .cabinet__menu-bottom { |
8246 | gap: 20px; | 8246 | gap: 20px; |
8247 | margin-top: 20px; | 8247 | margin-top: 20px; |
8248 | } | 8248 | } |
8249 | } | 8249 | } |
8250 | .cabinet__menu-copy { | 8250 | .cabinet__menu-copy { |
8251 | color: #9c9d9d; | 8251 | color: #9c9d9d; |
8252 | text-align: center; | 8252 | text-align: center; |
8253 | font-size: 12px; | 8253 | font-size: 12px; |
8254 | } | 8254 | } |
8255 | @media (min-width: 768px) { | 8255 | @media (min-width: 768px) { |
8256 | .cabinet__menu-copy { | 8256 | .cabinet__menu-copy { |
8257 | font-size: 16px; | 8257 | font-size: 16px; |
8258 | } | 8258 | } |
8259 | } | 8259 | } |
8260 | .cabinet__body { | 8260 | .cabinet__body { |
8261 | margin: 0 -10px; | 8261 | margin: 0 -10px; |
8262 | margin-top: 50px; | 8262 | margin-top: 50px; |
8263 | background: #fff; | 8263 | background: #fff; |
8264 | padding: 20px 10px; | 8264 | padding: 20px 10px; |
8265 | display: -webkit-box; | 8265 | display: -webkit-box; |
8266 | display: -ms-flexbox; | 8266 | display: -ms-flexbox; |
8267 | display: flex; | 8267 | display: flex; |
8268 | -webkit-box-orient: vertical; | 8268 | -webkit-box-orient: vertical; |
8269 | -webkit-box-direction: normal; | 8269 | -webkit-box-direction: normal; |
8270 | -ms-flex-direction: column; | 8270 | -ms-flex-direction: column; |
8271 | flex-direction: column; | 8271 | flex-direction: column; |
8272 | gap: 30px; | 8272 | gap: 30px; |
8273 | color: #000; | 8273 | color: #000; |
8274 | } | 8274 | } |
8275 | @media (min-width: 768px) { | 8275 | @media (min-width: 768px) { |
8276 | .cabinet__body { | 8276 | .cabinet__body { |
8277 | padding: 30px 20px; | 8277 | padding: 30px 20px; |
8278 | margin: 0; | 8278 | margin: 0; |
8279 | border-radius: 8px; | 8279 | border-radius: 8px; |
8280 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 8280 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
8281 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 8281 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
8282 | } | 8282 | } |
8283 | } | 8283 | } |
8284 | @media (min-width: 992px) { | 8284 | @media (min-width: 992px) { |
8285 | .cabinet__body { | 8285 | .cabinet__body { |
8286 | width: calc(100% - 360px); | 8286 | width: calc(100% - 360px); |
8287 | } | 8287 | } |
8288 | } | 8288 | } |
8289 | @media (min-width: 1280px) { | 8289 | @media (min-width: 1280px) { |
8290 | .cabinet__body { | 8290 | .cabinet__body { |
8291 | width: calc(100% - 420px); | 8291 | width: calc(100% - 420px); |
8292 | } | 8292 | } |
8293 | } | 8293 | } |
8294 | .cabinet__body-item { | 8294 | .cabinet__body-item { |
8295 | display: -webkit-box; | 8295 | display: -webkit-box; |
8296 | display: -ms-flexbox; | 8296 | display: -ms-flexbox; |
8297 | display: flex; | 8297 | display: flex; |
8298 | -webkit-box-orient: vertical; | 8298 | -webkit-box-orient: vertical; |
8299 | -webkit-box-direction: normal; | 8299 | -webkit-box-direction: normal; |
8300 | -ms-flex-direction: column; | 8300 | -ms-flex-direction: column; |
8301 | flex-direction: column; | 8301 | flex-direction: column; |
8302 | gap: 20px; | 8302 | gap: 20px; |
8303 | } | 8303 | } |
8304 | .cabinet__title { | 8304 | .cabinet__title { |
8305 | font-size: 24px; | 8305 | font-size: 24px; |
8306 | color: #6b6c6d; | 8306 | color: #6b6c6d; |
8307 | } | 8307 | } |
8308 | @media (min-width: 768px) { | 8308 | @media (min-width: 768px) { |
8309 | .cabinet__title { | 8309 | .cabinet__title { |
8310 | font-size: 32px; | 8310 | font-size: 32px; |
8311 | } | 8311 | } |
8312 | } | 8312 | } |
8313 | @media (min-width: 992px) { | 8313 | @media (min-width: 992px) { |
8314 | .cabinet__title { | 8314 | .cabinet__title { |
8315 | font-size: 40px; | 8315 | font-size: 40px; |
8316 | } | 8316 | } |
8317 | } | 8317 | } |
8318 | @media (min-width: 1280px) { | 8318 | @media (min-width: 1280px) { |
8319 | .cabinet__title { | 8319 | .cabinet__title { |
8320 | font-size: 48px; | 8320 | font-size: 48px; |
8321 | } | 8321 | } |
8322 | } | 8322 | } |
8323 | .cabinet__subtitle { | 8323 | .cabinet__subtitle { |
8324 | font-size: 22px; | 8324 | font-size: 22px; |
8325 | margin: 0; | 8325 | margin: 0; |
8326 | font-weight: 700; | 8326 | font-weight: 700; |
8327 | color: #000; | 8327 | color: #000; |
8328 | } | 8328 | } |
8329 | @media (min-width: 768px) { | 8329 | @media (min-width: 768px) { |
8330 | .cabinet__subtitle { | 8330 | .cabinet__subtitle { |
8331 | font-size: 24px; | 8331 | font-size: 24px; |
8332 | } | 8332 | } |
8333 | } | 8333 | } |
8334 | .cabinet__h4 { | 8334 | .cabinet__h4 { |
8335 | font-size: 20px; | 8335 | font-size: 20px; |
8336 | margin: 0; | 8336 | margin: 0; |
8337 | font-weight: 700; | 8337 | font-weight: 700; |
8338 | color: #000; | 8338 | color: #000; |
8339 | } | 8339 | } |
8340 | @media (min-width: 768px) { | 8340 | @media (min-width: 768px) { |
8341 | .cabinet__h4 { | 8341 | .cabinet__h4 { |
8342 | font-size: 22px; | 8342 | font-size: 22px; |
8343 | } | 8343 | } |
8344 | } | 8344 | } |
8345 | .cabinet__text { | 8345 | .cabinet__text { |
8346 | margin: 0; | 8346 | margin: 0; |
8347 | font-size: 14px; | 8347 | font-size: 14px; |
8348 | } | 8348 | } |
8349 | @media (min-width: 768px) { | 8349 | @media (min-width: 768px) { |
8350 | .cabinet__text { | 8350 | .cabinet__text { |
8351 | font-size: 16px; | 8351 | font-size: 16px; |
8352 | } | 8352 | } |
8353 | } | 8353 | } |
8354 | .cabinet__text b { | 8354 | .cabinet__text b { |
8355 | color: #000; | 8355 | color: #000; |
8356 | font-size: 18px; | 8356 | font-size: 18px; |
8357 | } | 8357 | } |
8358 | @media (min-width: 768px) { | 8358 | @media (min-width: 768px) { |
8359 | .cabinet__text b { | 8359 | .cabinet__text b { |
8360 | font-size: 24px; | 8360 | font-size: 24px; |
8361 | } | 8361 | } |
8362 | } | 8362 | } |
8363 | .cabinet__descr { | 8363 | .cabinet__descr { |
8364 | display: -webkit-box; | 8364 | display: -webkit-box; |
8365 | display: -ms-flexbox; | 8365 | display: -ms-flexbox; |
8366 | display: flex; | 8366 | display: flex; |
8367 | -webkit-box-orient: vertical; | 8367 | -webkit-box-orient: vertical; |
8368 | -webkit-box-direction: normal; | 8368 | -webkit-box-direction: normal; |
8369 | -ms-flex-direction: column; | 8369 | -ms-flex-direction: column; |
8370 | flex-direction: column; | 8370 | flex-direction: column; |
8371 | gap: 6px; | 8371 | gap: 6px; |
8372 | } | 8372 | } |
8373 | @media (min-width: 768px) { | 8373 | @media (min-width: 768px) { |
8374 | .cabinet__descr { | 8374 | .cabinet__descr { |
8375 | gap: 12px; | 8375 | gap: 12px; |
8376 | } | 8376 | } |
8377 | } | 8377 | } |
8378 | .cabinet__avatar { | 8378 | .cabinet__avatar { |
8379 | display: -webkit-box; | 8379 | display: -webkit-box; |
8380 | display: -ms-flexbox; | 8380 | display: -ms-flexbox; |
8381 | display: flex; | 8381 | display: flex; |
8382 | -webkit-box-align: start; | 8382 | -webkit-box-align: start; |
8383 | -ms-flex-align: start; | 8383 | -ms-flex-align: start; |
8384 | align-items: flex-start; | 8384 | align-items: flex-start; |
8385 | } | 8385 | } |
8386 | @media (min-width: 768px) { | 8386 | @media (min-width: 768px) { |
8387 | .cabinet__avatar { | 8387 | .cabinet__avatar { |
8388 | -webkit-box-align: center; | 8388 | -webkit-box-align: center; |
8389 | -ms-flex-align: center; | 8389 | -ms-flex-align: center; |
8390 | align-items: center; | 8390 | align-items: center; |
8391 | } | 8391 | } |
8392 | } | 8392 | } |
8393 | .cabinet__avatar-pic { | 8393 | .cabinet__avatar-pic { |
8394 | width: 100px; | 8394 | width: 100px; |
8395 | aspect-ratio: 1/1; | 8395 | aspect-ratio: 1/1; |
8396 | position: relative; | 8396 | position: relative; |
8397 | display: -webkit-box; | 8397 | display: -webkit-box; |
8398 | display: -ms-flexbox; | 8398 | display: -ms-flexbox; |
8399 | display: flex; | 8399 | display: flex; |
8400 | -webkit-box-pack: center; | 8400 | -webkit-box-pack: center; |
8401 | -ms-flex-pack: center; | 8401 | -ms-flex-pack: center; |
8402 | justify-content: center; | 8402 | justify-content: center; |
8403 | -webkit-box-align: center; | 8403 | -webkit-box-align: center; |
8404 | -ms-flex-align: center; | 8404 | -ms-flex-align: center; |
8405 | align-items: center; | 8405 | align-items: center; |
8406 | overflow: hidden; | 8406 | overflow: hidden; |
8407 | border-radius: 8px; | 8407 | border-radius: 8px; |
8408 | color: #fff; | 8408 | color: #fff; |
8409 | background: #9c9d9d; | 8409 | background: #9c9d9d; |
8410 | } | 8410 | } |
8411 | .cabinet__avatar-pic svg { | 8411 | .cabinet__avatar-pic svg { |
8412 | width: 50%; | 8412 | width: 50%; |
8413 | aspect-ratio: 1/1; | 8413 | aspect-ratio: 1/1; |
8414 | z-index: 1; | 8414 | z-index: 1; |
8415 | position: relative; | 8415 | position: relative; |
8416 | } | 8416 | } |
8417 | .cabinet__avatar-pic img{ | 8417 | .cabinet__avatar-pic img{ |
8418 | max-width: 100%; | 8418 | max-width: 100%; |
8419 | max-height: 100%; | 8419 | max-height: 100%; |
8420 | } | 8420 | } |
8421 | .cabinet__avatar-form { | 8421 | .cabinet__avatar-form { |
8422 | width: calc(100% - 100px); | 8422 | width: calc(100% - 100px); |
8423 | padding-left: 15px; | 8423 | padding-left: 15px; |
8424 | display: -webkit-box; | 8424 | display: -webkit-box; |
8425 | display: -ms-flexbox; | 8425 | display: -ms-flexbox; |
8426 | display: flex; | 8426 | display: flex; |
8427 | -webkit-box-orient: vertical; | 8427 | -webkit-box-orient: vertical; |
8428 | -webkit-box-direction: normal; | 8428 | -webkit-box-direction: normal; |
8429 | -ms-flex-direction: column; | 8429 | -ms-flex-direction: column; |
8430 | flex-direction: column; | 8430 | flex-direction: column; |
8431 | gap: 6px; | 8431 | gap: 6px; |
8432 | } | 8432 | } |
8433 | .candidate-top-wrapper{ | 8433 | .candidate-top-wrapper{ |
8434 | display: flex; | 8434 | display: flex; |
8435 | } | 8435 | } |
8436 | .candidate-top-wrapper .candidate-thumbnail{ | 8436 | .candidate-top-wrapper .candidate-thumbnail{ |
8437 | width: 100px; | 8437 | width: 100px; |
8438 | height: 100px; | 8438 | height: 100px; |
8439 | min-width: 100px; | 8439 | min-width: 100px; |
8440 | border-radius: 8px; | 8440 | border-radius: 8px; |
8441 | overflow: hidden; | 8441 | overflow: hidden; |
8442 | } | 8442 | } |
8443 | .candidate-top-wrapper .candidate-thumbnail img{ | 8443 | .candidate-top-wrapper .candidate-thumbnail img{ |
8444 | max-height: 100%; | 8444 | max-height: 100%; |
8445 | max-width: 100%; | 8445 | max-width: 100%; |
8446 | } | 8446 | } |
8447 | .candidate-top-wrapper .candidate-information{ | 8447 | .candidate-top-wrapper .candidate-information{ |
8448 | padding-left: 20px; | 8448 | padding-left: 20px; |
8449 | font-size: 21px; | 8449 | font-size: 21px; |
8450 | display: flex; | 8450 | display: flex; |
8451 | align-items: center; | 8451 | align-items: center; |
8452 | } | 8452 | } |
8453 | .candidate-top-wrapper .candidate-information .candidate-title{ | 8453 | .candidate-top-wrapper .candidate-information .candidate-title{ |
8454 | font-size: inherit; | 8454 | font-size: inherit; |
8455 | } | 8455 | } |
8456 | .content-single-candidate .education-detail-description{ | 8456 | .content-single-candidate .education-detail-description{ |
8457 | margin-bottom: 50px; | 8457 | margin-bottom: 50px; |
8458 | text-align: justify; | 8458 | text-align: justify; |
8459 | } | 8459 | } |
8460 | .content-single-candidate .education-detail-description h3.title{ | 8460 | .content-single-candidate .education-detail-description h3.title{ |
8461 | font-size: 18px; | 8461 | font-size: 18px; |
8462 | margin: 0 0 20px; | 8462 | margin: 0 0 20px; |
8463 | } | 8463 | } |
8464 | .content-single-candidate .education-detail-description .inner{ | 8464 | .content-single-candidate .education-detail-description .inner{ |
8465 | font-size: 16px; | 8465 | font-size: 16px; |
8466 | font-weight: 300; | 8466 | font-weight: 300; |
8467 | line-height: 22px; | 8467 | line-height: 22px; |
8468 | color: #77838F; | 8468 | color: #77838F; |
8469 | } | 8469 | } |
8470 | .education-detail-programs h3.title{ | 8470 | .education-detail-programs h3.title{ |
8471 | font-size: 18px; | 8471 | font-size: 18px; |
8472 | margin: 0 0 20px; | 8472 | margin: 0 0 20px; |
8473 | } | 8473 | } |
8474 | .education-detail-programs .accordion{ | 8474 | .education-detail-programs .accordion{ |
8475 | margin: 1rem 0; | 8475 | margin: 1rem 0; |
8476 | padding: 0; | 8476 | padding: 0; |
8477 | list-style: none; | 8477 | list-style: none; |
8478 | border-top: 1px solid #ECEDF2; | 8478 | border-top: 1px solid #ECEDF2; |
8479 | } | 8479 | } |
8480 | .education-detail-programs .accordion.sub{ | 8480 | .education-detail-programs .accordion.sub{ |
8481 | padding-left: 20px; | 8481 | padding-left: 20px; |
8482 | display: none; | 8482 | display: none; |
8483 | } | 8483 | } |
8484 | .education-detail-programs .accordion-item { | 8484 | .education-detail-programs .accordion-item { |
8485 | border-bottom: 1px solid #ECEDF2; | 8485 | border-bottom: 1px solid #ECEDF2; |
8486 | } | 8486 | } |
8487 | .education-detail-programs .accordion-thumb { | 8487 | .education-detail-programs .accordion-thumb { |
8488 | margin: 0; | 8488 | margin: 0; |
8489 | padding: 25px 0; | 8489 | padding: 25px 0; |
8490 | cursor: pointer; | 8490 | cursor: pointer; |
8491 | font-weight: normal; | 8491 | font-weight: normal; |
8492 | color: #0E5C69; | 8492 | color: #0E5C69; |
8493 | font-size: 16px; | 8493 | font-size: 16px; |
8494 | text-transform: uppercase; | 8494 | text-transform: uppercase; |
8495 | } | 8495 | } |
8496 | .education-detail-programs .accordion-thumb::after { | 8496 | .education-detail-programs .accordion-thumb::after { |
8497 | content: ""; | 8497 | content: ""; |
8498 | display: block; | 8498 | display: block; |
8499 | float: right; | 8499 | float: right; |
8500 | position: relative; | 8500 | position: relative; |
8501 | top: 6px; | 8501 | top: 6px; |
8502 | height: 7px; | 8502 | height: 7px; |
8503 | width: 7px; | 8503 | width: 7px; |
8504 | margin-right: 1rem; | 8504 | margin-right: 1rem; |
8505 | margin-left: 0.5rem; | 8505 | margin-left: 0.5rem; |
8506 | border-right: 1px solid; | 8506 | border-right: 1px solid; |
8507 | border-bottom: 1px solid; | 8507 | border-bottom: 1px solid; |
8508 | border-color: #828A96; | 8508 | border-color: #828A96; |
8509 | transform: rotate(-45deg); | 8509 | transform: rotate(-45deg); |
8510 | transition: transform 0.2s ease-out; | 8510 | transition: transform 0.2s ease-out; |
8511 | } | 8511 | } |
8512 | .education-detail-programs .accordion-item .accordion-thumb.ui-state-active::after { | 8512 | .education-detail-programs .accordion-item .accordion-thumb.ui-state-active::after { |
8513 | transform: rotate(45deg); | 8513 | transform: rotate(45deg); |
8514 | } | 8514 | } |
8515 | .accordion-sub .accordion-panel{ | 8515 | .accordion-sub .accordion-panel{ |
8516 | display: none; | 8516 | display: none; |
8517 | } | 8517 | } |
8518 | .accordion > .accordion-item > .accordion-panel{ | 8518 | .accordion > .accordion-item > .accordion-panel{ |
8519 | opacity: 1; | 8519 | opacity: 1; |
8520 | } | 8520 | } |
8521 | .accordion-sub li{ | 8521 | .accordion-sub li{ |
8522 | list-style-type: none; | 8522 | list-style-type: none; |
8523 | } | 8523 | } |
8524 | .accordion-sub .accordion-item .accordion-panel{ | 8524 | .accordion-sub .accordion-item .accordion-panel{ |
8525 | white-space: pre-wrap; | 8525 | white-space: pre-wrap; |
8526 | white-space: -moz-pre-wrap; | 8526 | white-space: -moz-pre-wrap; |
8527 | white-space: -o-pre-wrap; | 8527 | white-space: -o-pre-wrap; |
8528 | } | 8528 | } |
8529 | .accordion-sub li:last-child { | 8529 | .accordion-sub li:last-child { |
8530 | border-bottom: unset; | 8530 | border-bottom: unset; |
8531 | } | 8531 | } |
8532 | .education-detail-contacts{ | 8532 | .education-detail-contacts{ |
8533 | margin-top: 50px; | 8533 | margin-top: 50px; |
8534 | } | 8534 | } |
8535 | .education-detail-contacts h3.title{ | 8535 | .education-detail-contacts h3.title{ |
8536 | font-size: 18px; | 8536 | font-size: 18px; |
8537 | margin: 0 0 20px; | 8537 | margin: 0 0 20px; |
8538 | } | 8538 | } |
8539 | .education-detail-contacts .inner > div{ | 8539 | .education-detail-contacts .inner > div{ |
8540 | display: flex; | 8540 | display: flex; |
8541 | align-items: center; | 8541 | align-items: center; |
8542 | margin-bottom: 20px; | 8542 | margin-bottom: 20px; |
8543 | } | 8543 | } |
8544 | .education-detail-contacts .inner > div .icon{ | 8544 | .education-detail-contacts .inner > div .icon{ |
8545 | margin-right: 20px; | 8545 | margin-right: 20px; |
8546 | } | 8546 | } |
8547 | @media (min-width: 768px) { | 8547 | @media (min-width: 768px) { |
8548 | .cabinet__avatar-form { | 8548 | .cabinet__avatar-form { |
8549 | -webkit-box-align: start; | 8549 | -webkit-box-align: start; |
8550 | -ms-flex-align: start; | 8550 | -ms-flex-align: start; |
8551 | align-items: flex-start; | 8551 | align-items: flex-start; |
8552 | padding-left: 30px; | 8552 | padding-left: 30px; |
8553 | gap: 12px; | 8553 | gap: 12px; |
8554 | } | 8554 | } |
8555 | } | 8555 | } |
8556 | @media (min-width: 768px) { | 8556 | @media (min-width: 768px) { |
8557 | .cabinet__avatar-form .file { | 8557 | .cabinet__avatar-form .file { |
8558 | min-width: 215px; | 8558 | min-width: 215px; |
8559 | } | 8559 | } |
8560 | } | 8560 | } |
8561 | .cabinet__inputs { | 8561 | .cabinet__inputs { |
8562 | display: -webkit-box; | 8562 | display: -webkit-box; |
8563 | display: -ms-flexbox; | 8563 | display: -ms-flexbox; |
8564 | display: flex; | 8564 | display: flex; |
8565 | -webkit-box-orient: vertical; | 8565 | -webkit-box-orient: vertical; |
8566 | -webkit-box-direction: normal; | 8566 | -webkit-box-direction: normal; |
8567 | -ms-flex-direction: column; | 8567 | -ms-flex-direction: column; |
8568 | flex-direction: column; | 8568 | flex-direction: column; |
8569 | gap: 20px; | 8569 | gap: 20px; |
8570 | } | 8570 | } |
8571 | .cabinet__inputs .cabinet__inputs_to_columns_wrap{ | 8571 | .cabinet__inputs .cabinet__inputs_to_columns_wrap{ |
8572 | display: flex; | 8572 | display: flex; |
8573 | } | 8573 | } |
8574 | .cabinet__inputs_to_columns_wrap .cabinet__inputs_to_column{ | 8574 | .cabinet__inputs_to_columns_wrap .cabinet__inputs_to_column{ |
8575 | width: 50%; | 8575 | width: 50%; |
8576 | padding-right: 20px; | 8576 | padding-right: 20px; |
8577 | } | 8577 | } |
8578 | .cabinet__inputs_to_columns_wrap .cabinet__inputs-item{ | 8578 | .cabinet__inputs_to_columns_wrap .cabinet__inputs-item{ |
8579 | margin-bottom: 20px; | 8579 | margin-bottom: 20px; |
8580 | width: 100%; | 8580 | width: 100%; |
8581 | } | 8581 | } |
8582 | @media (min-width: 1280px) { | 8582 | @media (min-width: 1280px) { |
8583 | .cabinet__inputs { | 8583 | .cabinet__inputs { |
8584 | -webkit-box-orient: horizontal; | 8584 | -webkit-box-orient: horizontal; |
8585 | -webkit-box-direction: normal; | 8585 | -webkit-box-direction: normal; |
8586 | -ms-flex-direction: row; | 8586 | -ms-flex-direction: row; |
8587 | flex-direction: row; | 8587 | flex-direction: row; |
8588 | -webkit-box-align: end; | 8588 | -webkit-box-align: end; |
8589 | -ms-flex-align: end; | 8589 | -ms-flex-align: end; |
8590 | align-items: end; | 8590 | align-items: end; |
8591 | -webkit-box-pack: justify; | 8591 | -webkit-box-pack: justify; |
8592 | -ms-flex-pack: justify; | 8592 | -ms-flex-pack: justify; |
8593 | justify-content: space-between; | 8593 | justify-content: space-between; |
8594 | -ms-flex-wrap: wrap; | 8594 | -ms-flex-wrap: wrap; |
8595 | flex-wrap: wrap; | 8595 | flex-wrap: wrap; |
8596 | } | 8596 | } |
8597 | } | 8597 | } |
8598 | @media (min-width: 1280px) { | 8598 | @media (min-width: 1280px) { |
8599 | .cabinet__inputs-item { | 8599 | .cabinet__inputs-item { |
8600 | width: calc(50% - 10px); | 8600 | width: calc(50% - 10px); |
8601 | } | 8601 | } |
8602 | } | 8602 | } |
8603 | @media (min-width: 1280px) { | 8603 | @media (min-width: 1280px) { |
8604 | .cabinet__inputs-item_fullwidth { | 8604 | .cabinet__inputs-item_fullwidth { |
8605 | width: 100%; | 8605 | width: 100%; |
8606 | } | 8606 | } |
8607 | } | 8607 | } |
8608 | @media (min-width: 1280px) { | 8608 | @media (min-width: 1280px) { |
8609 | .cabinet__inputs-item_min { | 8609 | .cabinet__inputs-item_min { |
8610 | width: calc(15% - 10px); | 8610 | width: calc(15% - 10px); |
8611 | } | 8611 | } |
8612 | } | 8612 | } |
8613 | @media (min-width: 1280px) { | 8613 | @media (min-width: 1280px) { |
8614 | .cabinet__inputs-item_max { | 8614 | .cabinet__inputs-item_max { |
8615 | width: calc(85% - 10px); | 8615 | width: calc(85% - 10px); |
8616 | } | 8616 | } |
8617 | } | 8617 | } |
8618 | @media (min-width: 768px) { | 8618 | @media (min-width: 768px) { |
8619 | .cabinet__inputs-item .button { | 8619 | .cabinet__inputs-item .button { |
8620 | width: 100%; | 8620 | width: 100%; |
8621 | max-width: 215px; | 8621 | max-width: 215px; |
8622 | padding: 0; | 8622 | padding: 0; |
8623 | } | 8623 | } |
8624 | } | 8624 | } |
8625 | @media (max-width: 768px) { | 8625 | @media (max-width: 768px) { |
8626 | .cabinet__inputs .cabinet__inputs_to_columns_wrap{ | 8626 | .cabinet__inputs .cabinet__inputs_to_columns_wrap{ |
8627 | display: block; | 8627 | display: block; |
8628 | } | 8628 | } |
8629 | .cabinet__inputs_to_columns_wrap .cabinet__inputs_to_column{ | 8629 | .cabinet__inputs_to_columns_wrap .cabinet__inputs_to_column{ |
8630 | width: 100%; | 8630 | width: 100%; |
8631 | } | 8631 | } |
8632 | } | 8632 | } |
8633 | .cabinet__inputs-item.column-count-3{ | 8633 | .cabinet__inputs-item.column-count-3{ |
8634 | width: calc(32% - 10px); | 8634 | width: calc(32% - 10px); |
8635 | } | 8635 | } |
8636 | .cabinet__inputs-item-full-row { | 8636 | .cabinet__inputs-item-full-row { |
8637 | width: 100%; | 8637 | width: 100%; |
8638 | } | 8638 | } |
8639 | .cabinet__inputs-item .buttons { | 8639 | .cabinet__inputs-item .buttons { |
8640 | display: grid; | 8640 | display: grid; |
8641 | grid-template-columns: 1fr 1fr; | 8641 | grid-template-columns: 1fr 1fr; |
8642 | gap: 10px; | 8642 | gap: 10px; |
8643 | } | 8643 | } |
8644 | .cabinet__inputs-item .form-group__label{ | 8644 | .cabinet__inputs-item .form-group__label{ |
8645 | font-weight: bold; | 8645 | font-weight: bold; |
8646 | } | 8646 | } |
8647 | @media (min-width: 768px) { | 8647 | @media (min-width: 768px) { |
8648 | .cabinet__inputs-item .buttons { | 8648 | .cabinet__inputs-item .buttons { |
8649 | gap: 20px; | 8649 | gap: 20px; |
8650 | max-width: 470px; | 8650 | max-width: 470px; |
8651 | } | 8651 | } |
8652 | } | 8652 | } |
8653 | @media (min-width: 992px) { | 8653 | @media (min-width: 992px) { |
8654 | .cabinet__inputs-item .buttons { | 8654 | .cabinet__inputs-item .buttons { |
8655 | max-width: none; | 8655 | max-width: none; |
8656 | } | 8656 | } |
8657 | } | 8657 | } |
8658 | @media (min-width: 1280px) { | 8658 | @media (min-width: 1280px) { |
8659 | .cabinet__inputs-item .buttons { | 8659 | .cabinet__inputs-item .buttons { |
8660 | max-width: 470px; | 8660 | max-width: 470px; |
8661 | } | 8661 | } |
8662 | } | 8662 | } |
8663 | .cabinet__inputs-item .buttons .button { | 8663 | .cabinet__inputs-item .buttons .button { |
8664 | max-width: none; | 8664 | max-width: none; |
8665 | } | 8665 | } |
8666 | .cabinet__inputs-item p { | 8666 | .cabinet__inputs-item p { |
8667 | margin: 0; | 8667 | margin: 0; |
8668 | font-size: 14px; | 8668 | font-size: 14px; |
8669 | line-height: 20px; | 8669 | line-height: 20px; |
8670 | } | 8670 | } |
8671 | @media (min-width: 768px) { | 8671 | @media (min-width: 768px) { |
8672 | .cabinet__inputs-item p { | 8672 | .cabinet__inputs-item p { |
8673 | font-size: 16px; | 8673 | font-size: 16px; |
8674 | line-height: 22px; | 8674 | line-height: 22px; |
8675 | } | 8675 | } |
8676 | } | 8676 | } |
8677 | .cabinet__inputs-item p.mod { | 8677 | .cabinet__inputs-item p.mod { |
8678 | margin-top: 12px; | 8678 | margin-top: 12px; |
8679 | } | 8679 | } |
8680 | .cabinet__inputs-item p.mod span { | 8680 | .cabinet__inputs-item p.mod span { |
8681 | color: #377d87; | 8681 | color: #377d87; |
8682 | line-height: 20px; | 8682 | line-height: 20px; |
8683 | font-weight: 700; | 8683 | font-weight: 700; |
8684 | padding: 4px 12px; | 8684 | padding: 4px 12px; |
8685 | border-radius: 4px; | 8685 | border-radius: 4px; |
8686 | background-color: #E6EFF0; | 8686 | background-color: #E6EFF0; |
8687 | } | 8687 | } |
8688 | .cabinet__inputs-item p.hidden { | 8688 | .cabinet__inputs-item p.hidden { |
8689 | display: none; | 8689 | display: none; |
8690 | } | 8690 | } |
8691 | .cabinet__inputs > .button { | 8691 | .cabinet__inputs > .button { |
8692 | padding: 0; | 8692 | padding: 0; |
8693 | width: 100%; | 8693 | width: 100%; |
8694 | max-width: 140px; | 8694 | max-width: 140px; |
8695 | } | 8695 | } |
8696 | @media (min-width: 768px) { | 8696 | @media (min-width: 768px) { |
8697 | .cabinet__inputs > .button { | 8697 | .cabinet__inputs > .button { |
8698 | max-width: 190px; | 8698 | max-width: 190px; |
8699 | } | 8699 | } |
8700 | } | 8700 | } |
8701 | .cabinet__add { | 8701 | .cabinet__add { |
8702 | display: -webkit-box; | 8702 | display: -webkit-box; |
8703 | display: -ms-flexbox; | 8703 | display: -ms-flexbox; |
8704 | display: flex; | 8704 | display: flex; |
8705 | -webkit-box-orient: vertical; | 8705 | -webkit-box-orient: vertical; |
8706 | -webkit-box-direction: normal; | 8706 | -webkit-box-direction: normal; |
8707 | -ms-flex-direction: column; | 8707 | -ms-flex-direction: column; |
8708 | flex-direction: column; | 8708 | flex-direction: column; |
8709 | gap: 10px; | 8709 | gap: 10px; |
8710 | } | 8710 | } |
8711 | @media (min-width: 768px) { | 8711 | @media (min-width: 768px) { |
8712 | .cabinet__add { | 8712 | .cabinet__add { |
8713 | gap: 0; | 8713 | gap: 0; |
8714 | -webkit-box-orient: horizontal; | 8714 | -webkit-box-orient: horizontal; |
8715 | -webkit-box-direction: normal; | 8715 | -webkit-box-direction: normal; |
8716 | -ms-flex-direction: row; | 8716 | -ms-flex-direction: row; |
8717 | flex-direction: row; | 8717 | flex-direction: row; |
8718 | -webkit-box-align: end; | 8718 | -webkit-box-align: end; |
8719 | -ms-flex-align: end; | 8719 | -ms-flex-align: end; |
8720 | align-items: flex-end; | 8720 | align-items: flex-end; |
8721 | } | 8721 | } |
8722 | } | 8722 | } |
8723 | .cabinet__add-pic { | 8723 | .cabinet__add-pic { |
8724 | border-radius: 4px; | 8724 | border-radius: 4px; |
8725 | position: relative; | 8725 | position: relative; |
8726 | overflow: hidden; | 8726 | overflow: hidden; |
8727 | background: #9c9d9d; | 8727 | background: #9c9d9d; |
8728 | color: #fff; | 8728 | color: #fff; |
8729 | width: 100px; | 8729 | width: 100px; |
8730 | aspect-ratio: 1/1; | 8730 | aspect-ratio: 1/1; |
8731 | -webkit-transition: 0.3s; | 8731 | -webkit-transition: 0.3s; |
8732 | transition: 0.3s; | 8732 | transition: 0.3s; |
8733 | } | 8733 | } |
8734 | @media (min-width: 768px) { | 8734 | @media (min-width: 768px) { |
8735 | .cabinet__add-pic { | 8735 | .cabinet__add-pic { |
8736 | width: 220px; | 8736 | width: 220px; |
8737 | border-radius: 8px; | 8737 | border-radius: 8px; |
8738 | } | 8738 | } |
8739 | } | 8739 | } |
8740 | .cabinet__add-pic:hover { | 8740 | .cabinet__add-pic:hover { |
8741 | background: #000; | 8741 | background: #000; |
8742 | } | 8742 | } |
8743 | .cabinet__add-pic input { | 8743 | .cabinet__add-pic input { |
8744 | display: none; | 8744 | display: none; |
8745 | } | 8745 | } |
8746 | .cabinet__add-pic > svg { | 8746 | .cabinet__add-pic > svg { |
8747 | width: 20px; | 8747 | width: 20px; |
8748 | position: absolute; | 8748 | position: absolute; |
8749 | top: 50%; | 8749 | top: 50%; |
8750 | left: 50%; | 8750 | left: 50%; |
8751 | -webkit-transform: translate(-50%, -50%); | 8751 | -webkit-transform: translate(-50%, -50%); |
8752 | -ms-transform: translate(-50%, -50%); | 8752 | -ms-transform: translate(-50%, -50%); |
8753 | transform: translate(-50%, -50%); | 8753 | transform: translate(-50%, -50%); |
8754 | z-index: 1; | 8754 | z-index: 1; |
8755 | } | 8755 | } |
8756 | @media (min-width: 768px) { | 8756 | @media (min-width: 768px) { |
8757 | .cabinet__add-pic > svg { | 8757 | .cabinet__add-pic > svg { |
8758 | width: 50px; | 8758 | width: 50px; |
8759 | } | 8759 | } |
8760 | } | 8760 | } |
8761 | .cabinet__add-pic span { | 8761 | .cabinet__add-pic span { |
8762 | display: -webkit-box; | 8762 | display: -webkit-box; |
8763 | display: -ms-flexbox; | 8763 | display: -ms-flexbox; |
8764 | display: flex; | 8764 | display: flex; |
8765 | -webkit-box-align: center; | 8765 | -webkit-box-align: center; |
8766 | -ms-flex-align: center; | 8766 | -ms-flex-align: center; |
8767 | align-items: center; | 8767 | align-items: center; |
8768 | -webkit-box-pack: center; | 8768 | -webkit-box-pack: center; |
8769 | -ms-flex-pack: center; | 8769 | -ms-flex-pack: center; |
8770 | justify-content: center; | 8770 | justify-content: center; |
8771 | width: 100%; | 8771 | width: 100%; |
8772 | gap: 4px; | 8772 | gap: 4px; |
8773 | font-weight: 700; | 8773 | font-weight: 700; |
8774 | font-size: 8px; | 8774 | font-size: 8px; |
8775 | line-height: 1; | 8775 | line-height: 1; |
8776 | position: absolute; | 8776 | position: absolute; |
8777 | top: 50%; | 8777 | top: 50%; |
8778 | left: 50%; | 8778 | left: 50%; |
8779 | -webkit-transform: translate(-50%, -50%); | 8779 | -webkit-transform: translate(-50%, -50%); |
8780 | -ms-transform: translate(-50%, -50%); | 8780 | -ms-transform: translate(-50%, -50%); |
8781 | transform: translate(-50%, -50%); | 8781 | transform: translate(-50%, -50%); |
8782 | margin-top: 25px; | 8782 | margin-top: 25px; |
8783 | } | 8783 | } |
8784 | @media (min-width: 768px) { | 8784 | @media (min-width: 768px) { |
8785 | .cabinet__add-pic span { | 8785 | .cabinet__add-pic span { |
8786 | font-size: 16px; | 8786 | font-size: 16px; |
8787 | margin-top: 60px; | 8787 | margin-top: 60px; |
8788 | } | 8788 | } |
8789 | } | 8789 | } |
8790 | .cabinet__add-pic span svg { | 8790 | .cabinet__add-pic span svg { |
8791 | width: 7px; | 8791 | width: 7px; |
8792 | aspect-ratio: 1/1; | 8792 | aspect-ratio: 1/1; |
8793 | } | 8793 | } |
8794 | @media (min-width: 768px) { | 8794 | @media (min-width: 768px) { |
8795 | .cabinet__add-pic span svg { | 8795 | .cabinet__add-pic span svg { |
8796 | width: 16px; | 8796 | width: 16px; |
8797 | } | 8797 | } |
8798 | } | 8798 | } |
8799 | .cabinet__add-body { | 8799 | .cabinet__add-body { |
8800 | display: -webkit-box; | 8800 | display: -webkit-box; |
8801 | display: -ms-flexbox; | 8801 | display: -ms-flexbox; |
8802 | display: flex; | 8802 | display: flex; |
8803 | -webkit-box-orient: vertical; | 8803 | -webkit-box-orient: vertical; |
8804 | -webkit-box-direction: normal; | 8804 | -webkit-box-direction: normal; |
8805 | -ms-flex-direction: column; | 8805 | -ms-flex-direction: column; |
8806 | flex-direction: column; | 8806 | flex-direction: column; |
8807 | gap: 10px; | 8807 | gap: 10px; |
8808 | } | 8808 | } |
8809 | @media (min-width: 768px) { | 8809 | @media (min-width: 768px) { |
8810 | .cabinet__add-body { | 8810 | .cabinet__add-body { |
8811 | gap: 20px; | 8811 | gap: 20px; |
8812 | width: calc(100% - 220px); | 8812 | width: calc(100% - 220px); |
8813 | padding-left: 20px; | 8813 | padding-left: 20px; |
8814 | } | 8814 | } |
8815 | } | 8815 | } |
8816 | @media (min-width: 768px) { | 8816 | @media (min-width: 768px) { |
8817 | .cabinet__add-body .button { | 8817 | .cabinet__add-body .button { |
8818 | width: 215px; | 8818 | width: 215px; |
8819 | padding: 0; | 8819 | padding: 0; |
8820 | } | 8820 | } |
8821 | } | 8821 | } |
8822 | .cabinet__fleet { | 8822 | .cabinet__fleet { |
8823 | display: -webkit-box; | 8823 | display: -webkit-box; |
8824 | display: -ms-flexbox; | 8824 | display: -ms-flexbox; |
8825 | display: flex; | 8825 | display: flex; |
8826 | -webkit-box-orient: vertical; | 8826 | -webkit-box-orient: vertical; |
8827 | -webkit-box-direction: normal; | 8827 | -webkit-box-direction: normal; |
8828 | -ms-flex-direction: column; | 8828 | -ms-flex-direction: column; |
8829 | flex-direction: column; | 8829 | flex-direction: column; |
8830 | gap: 20px; | 8830 | gap: 20px; |
8831 | } | 8831 | } |
8832 | @media (min-width: 768px) { | 8832 | @media (min-width: 768px) { |
8833 | .cabinet__fleet { | 8833 | .cabinet__fleet { |
8834 | display: grid; | 8834 | display: grid; |
8835 | grid-template-columns: repeat(2, 1fr); | 8835 | grid-template-columns: repeat(2, 1fr); |
8836 | } | 8836 | } |
8837 | } | 8837 | } |
8838 | @media (min-width: 1280px) { | 8838 | @media (min-width: 1280px) { |
8839 | .cabinet__fleet { | 8839 | .cabinet__fleet { |
8840 | grid-template-columns: repeat(3, 1fr); | 8840 | grid-template-columns: repeat(3, 1fr); |
8841 | } | 8841 | } |
8842 | } | 8842 | } |
8843 | @media (min-width: 768px) { | 8843 | @media (min-width: 768px) { |
8844 | .cabinet__submit { | 8844 | .cabinet__submit { |
8845 | width: 215px; | 8845 | width: 215px; |
8846 | padding: 0; | 8846 | padding: 0; |
8847 | margin: 0 auto; | 8847 | margin: 0 auto; |
8848 | } | 8848 | } |
8849 | } | 8849 | } |
8850 | .cabinet__filters { | 8850 | .cabinet__filters { |
8851 | display: -webkit-box; | 8851 | display: -webkit-box; |
8852 | display: -ms-flexbox; | 8852 | display: -ms-flexbox; |
8853 | display: flex; | 8853 | display: flex; |
8854 | -webkit-box-orient: vertical; | 8854 | -webkit-box-orient: vertical; |
8855 | -webkit-box-direction: normal; | 8855 | -webkit-box-direction: normal; |
8856 | -ms-flex-direction: column; | 8856 | -ms-flex-direction: column; |
8857 | flex-direction: column; | 8857 | flex-direction: column; |
8858 | gap: 10px; | 8858 | gap: 10px; |
8859 | } | 8859 | } |
8860 | .cabinet__export-wrap{ | 8860 | .cabinet__export-wrap{ |
8861 | padding: 10px; | 8861 | padding: 10px; |
8862 | border: 1px #cecece solid; | 8862 | border: 1px #cecece solid; |
8863 | border-radius: 8px; | 8863 | border-radius: 8px; |
8864 | width: 100%; | 8864 | width: 100%; |
8865 | } | 8865 | } |
8866 | .cabinet__export-button-wrap{ | 8866 | .cabinet__export-button-wrap{ |
8867 | max-width: 200px; | 8867 | max-width: 200px; |
8868 | margin-bottom: 10px; | 8868 | margin-bottom: 10px; |
8869 | } | 8869 | } |
8870 | .cabinet__export-options-wrap{ | 8870 | .cabinet__export-options-wrap{ |
8871 | display: flex; | 8871 | display: flex; |
8872 | justify-content: space-between; | 8872 | justify-content: space-between; |
8873 | } | 8873 | } |
8874 | .job-title-list-wrap{ | 8874 | .job-title-list-wrap{ |
8875 | margin-top: 5px; | 8875 | margin-top: 5px; |
8876 | } | 8876 | } |
8877 | .cabinet__export-error{ | 8877 | .cabinet__export-error{ |
8878 | color: red; | 8878 | color: red; |
8879 | } | 8879 | } |
8880 | .flot-image-wrap img{ | 8880 | .flot-image-wrap img{ |
8881 | max-width: 100%; | 8881 | max-width: 100%; |
8882 | max-height: 100%; | 8882 | max-height: 100%; |
8883 | flex: 0 0 auto; | 8883 | flex: 0 0 auto; |
8884 | } | 8884 | } |
8885 | .flot-image-wrap{ | 8885 | .flot-image-wrap{ |
8886 | width: 220px; | 8886 | width: 220px; |
8887 | height: 220px; | 8887 | height: 220px; |
8888 | display: flex; | 8888 | display: flex; |
8889 | justify-content: center; | 8889 | justify-content: center; |
8890 | align-items: center; | 8890 | align-items: center; |
8891 | } | 8891 | } |
8892 | @media (min-width: 768px) { | 8892 | @media (min-width: 768px) { |
8893 | .cabinet__filters { | 8893 | .cabinet__filters { |
8894 | gap: 20px; | 8894 | gap: 20px; |
8895 | } | 8895 | } |
8896 | } | 8896 | } |
8897 | @media (min-width: 1280px) { | 8897 | @media (min-width: 1280px) { |
8898 | .cabinet__filters { | 8898 | .cabinet__filters { |
8899 | -webkit-box-orient: horizontal; | 8899 | -webkit-box-orient: horizontal; |
8900 | -webkit-box-direction: normal; | 8900 | -webkit-box-direction: normal; |
8901 | -ms-flex-direction: row; | 8901 | -ms-flex-direction: row; |
8902 | flex-direction: row; | 8902 | flex-direction: row; |
8903 | -webkit-box-align: start; | 8903 | -webkit-box-align: start; |
8904 | -ms-flex-align: start; | 8904 | -ms-flex-align: start; |
8905 | align-items: flex-start; | 8905 | align-items: flex-start; |
8906 | -webkit-box-pack: justify; | 8906 | -webkit-box-pack: justify; |
8907 | -ms-flex-pack: justify; | 8907 | -ms-flex-pack: justify; |
8908 | justify-content: space-between; | 8908 | justify-content: space-between; |
8909 | } | 8909 | } |
8910 | } | 8910 | } |
8911 | .cabinet__filters-item { | 8911 | .cabinet__filters-item { |
8912 | display: -webkit-box; | 8912 | display: -webkit-box; |
8913 | display: -ms-flexbox; | 8913 | display: -ms-flexbox; |
8914 | display: flex; | 8914 | display: flex; |
8915 | -webkit-box-orient: vertical; | 8915 | -webkit-box-orient: vertical; |
8916 | -webkit-box-direction: normal; | 8916 | -webkit-box-direction: normal; |
8917 | -ms-flex-direction: column; | 8917 | -ms-flex-direction: column; |
8918 | flex-direction: column; | 8918 | flex-direction: column; |
8919 | -webkit-box-align: start; | 8919 | -webkit-box-align: start; |
8920 | -ms-flex-align: start; | 8920 | -ms-flex-align: start; |
8921 | align-items: flex-start; | 8921 | align-items: flex-start; |
8922 | gap: 10px; | 8922 | gap: 10px; |
8923 | } | 8923 | } |
8924 | @media (min-width: 768px) { | 8924 | @media (min-width: 768px) { |
8925 | .cabinet__filters-item { | 8925 | .cabinet__filters-item { |
8926 | gap: 20px; | 8926 | gap: 20px; |
8927 | } | 8927 | } |
8928 | } | 8928 | } |
8929 | @media (min-width: 1280px) { | 8929 | @media (min-width: 1280px) { |
8930 | .cabinet__filters-item { | 8930 | .cabinet__filters-item { |
8931 | width: calc(50% - 10px); | 8931 | width: calc(50% - 10px); |
8932 | max-width: 410px; | 8932 | max-width: 410px; |
8933 | } | 8933 | } |
8934 | } | 8934 | } |
8935 | .cabinet__filters-item .button, | 8935 | .cabinet__filters-item .button, |
8936 | .cabinet__filters-item .select { | 8936 | .cabinet__filters-item .select { |
8937 | width: 100%; | 8937 | width: 100%; |
8938 | } | 8938 | } |
8939 | @media (min-width: 1280px) { | 8939 | @media (min-width: 1280px) { |
8940 | .cabinet__filters-item .button, | 8940 | .cabinet__filters-item .button, |
8941 | .cabinet__filters-item .select { | 8941 | .cabinet__filters-item .select { |
8942 | width: auto; | 8942 | width: auto; |
8943 | } | 8943 | } |
8944 | } | 8944 | } |
8945 | .cabinet__filters-item + .cabinet__filters-item { | 8945 | .cabinet__filters-item + .cabinet__filters-item { |
8946 | -webkit-box-align: end; | 8946 | -webkit-box-align: end; |
8947 | -ms-flex-align: end; | 8947 | -ms-flex-align: end; |
8948 | align-items: flex-end; | 8948 | align-items: flex-end; |
8949 | } | 8949 | } |
8950 | @media (min-width: 1280px) { | 8950 | @media (min-width: 1280px) { |
8951 | .cabinet__filters-item + .cabinet__filters-item { | 8951 | .cabinet__filters-item + .cabinet__filters-item { |
8952 | max-width: 280px; | 8952 | max-width: 280px; |
8953 | } | 8953 | } |
8954 | } | 8954 | } |
8955 | .cabinet__filters .search input { | 8955 | .cabinet__filters .search input { |
8956 | padding-right: 135px; | 8956 | padding-right: 135px; |
8957 | } | 8957 | } |
8958 | .cabinet__filters .search button { | 8958 | .cabinet__filters .search button { |
8959 | width: 115px; | 8959 | width: 115px; |
8960 | } | 8960 | } |
8961 | .cabinet__filters-buttons { | 8961 | .cabinet__filters-buttons { |
8962 | display: grid; | 8962 | display: grid; |
8963 | grid-template-columns: 1fr 1fr; | 8963 | grid-template-columns: 1fr 1fr; |
8964 | gap: 10px; | 8964 | gap: 10px; |
8965 | width: 100%; | 8965 | width: 100%; |
8966 | } | 8966 | } |
8967 | @media (min-width: 768px) { | 8967 | @media (min-width: 768px) { |
8968 | .cabinet__filters-buttons { | 8968 | .cabinet__filters-buttons { |
8969 | gap: 20px; | 8969 | gap: 20px; |
8970 | } | 8970 | } |
8971 | } | 8971 | } |
8972 | .cabinet__filters-buttons .button { | 8972 | .cabinet__filters-buttons .button { |
8973 | padding: 0; | 8973 | padding: 0; |
8974 | gap: 5px; | 8974 | gap: 5px; |
8975 | } | 8975 | } |
8976 | .cabinet__filters-buttons .button.active { | 8976 | .cabinet__filters-buttons .button.active { |
8977 | background: #377d87; | 8977 | background: #377d87; |
8978 | color: #fff; | 8978 | color: #fff; |
8979 | } | 8979 | } |
8980 | .cabinet__filters-buttons .button.active:before { | 8980 | .cabinet__filters-buttons .button.active:before { |
8981 | content: ""; | 8981 | content: ""; |
8982 | width: 6px; | 8982 | width: 6px; |
8983 | height: 6px; | 8983 | height: 6px; |
8984 | background: #fff; | 8984 | background: #fff; |
8985 | border-radius: 999px; | 8985 | border-radius: 999px; |
8986 | } | 8986 | } |
8987 | .cabinet__table-header { | 8987 | .cabinet__table-header { |
8988 | display: -webkit-box; | 8988 | display: -webkit-box; |
8989 | display: -ms-flexbox; | 8989 | display: -ms-flexbox; |
8990 | display: flex; | 8990 | display: flex; |
8991 | -webkit-box-pack: justify; | 8991 | -webkit-box-pack: justify; |
8992 | -ms-flex-pack: justify; | 8992 | -ms-flex-pack: justify; |
8993 | justify-content: space-between; | 8993 | justify-content: space-between; |
8994 | -webkit-box-align: center; | 8994 | -webkit-box-align: center; |
8995 | -ms-flex-align: center; | 8995 | -ms-flex-align: center; |
8996 | align-items: center; | 8996 | align-items: center; |
8997 | font-weight: 700; | 8997 | font-weight: 700; |
8998 | margin-bottom: -10px; | 8998 | margin-bottom: -10px; |
8999 | } | 8999 | } |
9000 | .cabinet__table-header div { | 9000 | .cabinet__table-header div { |
9001 | font-size: 18px; | 9001 | font-size: 18px; |
9002 | } | 9002 | } |
9003 | @media (min-width: 768px) { | 9003 | @media (min-width: 768px) { |
9004 | .cabinet__table-header div { | 9004 | .cabinet__table-header div { |
9005 | font-size: 24px; | 9005 | font-size: 24px; |
9006 | } | 9006 | } |
9007 | } | 9007 | } |
9008 | .cabinet__table-header span { | 9008 | .cabinet__table-header span { |
9009 | color: #000; | 9009 | color: #000; |
9010 | font-size: 14px; | 9010 | font-size: 14px; |
9011 | } | 9011 | } |
9012 | @media (min-width: 768px) { | 9012 | @media (min-width: 768px) { |
9013 | .cabinet__table-header span { | 9013 | .cabinet__table-header span { |
9014 | font-size: 18px; | 9014 | font-size: 18px; |
9015 | } | 9015 | } |
9016 | } | 9016 | } |
9017 | .cabinet__table-header span b { | 9017 | .cabinet__table-header span b { |
9018 | color: #377d87; | 9018 | color: #377d87; |
9019 | } | 9019 | } |
9020 | .cabinet__tabs { | 9020 | .cabinet__tabs { |
9021 | display: grid; | 9021 | display: grid; |
9022 | grid-template-columns: 1fr 1fr; | 9022 | grid-template-columns: 1fr 1fr; |
9023 | gap: 20px; | 9023 | gap: 20px; |
9024 | } | 9024 | } |
9025 | @media (min-width: 768px) { | 9025 | @media (min-width: 768px) { |
9026 | .cabinet__tabs { | 9026 | .cabinet__tabs { |
9027 | max-width: 420px; | 9027 | max-width: 420px; |
9028 | } | 9028 | } |
9029 | } | 9029 | } |
9030 | .cabinet__tabs .button.active { | 9030 | .cabinet__tabs .button.active { |
9031 | background: #377d87; | 9031 | background: #377d87; |
9032 | color: #fff; | 9032 | color: #fff; |
9033 | } | 9033 | } |
9034 | .cabinet__bodies { | 9034 | .cabinet__bodies { |
9035 | display: none; | 9035 | display: none; |
9036 | } | 9036 | } |
9037 | .cabinet__bodies.showed { | 9037 | .cabinet__bodies.showed { |
9038 | display: block; | 9038 | display: block; |
9039 | } | 9039 | } |
9040 | .cabinet__nots { | 9040 | .cabinet__nots { |
9041 | display: -webkit-box; | 9041 | display: -webkit-box; |
9042 | display: -ms-flexbox; | 9042 | display: -ms-flexbox; |
9043 | display: flex; | 9043 | display: flex; |
9044 | -webkit-box-orient: vertical; | 9044 | -webkit-box-orient: vertical; |
9045 | -webkit-box-direction: normal; | 9045 | -webkit-box-direction: normal; |
9046 | -ms-flex-direction: column; | 9046 | -ms-flex-direction: column; |
9047 | flex-direction: column; | 9047 | flex-direction: column; |
9048 | -webkit-box-align: start; | 9048 | -webkit-box-align: start; |
9049 | -ms-flex-align: start; | 9049 | -ms-flex-align: start; |
9050 | align-items: flex-start; | 9050 | align-items: flex-start; |
9051 | gap: 10px; | 9051 | gap: 10px; |
9052 | } | 9052 | } |
9053 | @media (min-width: 768px) { | 9053 | @media (min-width: 768px) { |
9054 | .cabinet__nots { | 9054 | .cabinet__nots { |
9055 | gap: 20px; | 9055 | gap: 20px; |
9056 | } | 9056 | } |
9057 | } | 9057 | } |
9058 | .cabinet__nots .input { | 9058 | .cabinet__nots .input { |
9059 | width: 100%; | 9059 | width: 100%; |
9060 | } | 9060 | } |
9061 | .cabinet__anketa { | 9061 | .cabinet__anketa { |
9062 | display: -webkit-box; | 9062 | display: -webkit-box; |
9063 | display: -ms-flexbox; | 9063 | display: -ms-flexbox; |
9064 | display: flex; | 9064 | display: flex; |
9065 | -webkit-box-orient: vertical; | 9065 | -webkit-box-orient: vertical; |
9066 | -webkit-box-direction: normal; | 9066 | -webkit-box-direction: normal; |
9067 | -ms-flex-direction: column; | 9067 | -ms-flex-direction: column; |
9068 | flex-direction: column; | 9068 | flex-direction: column; |
9069 | -webkit-box-pack: justify; | 9069 | -webkit-box-pack: justify; |
9070 | -ms-flex-pack: justify; | 9070 | -ms-flex-pack: justify; |
9071 | justify-content: space-between; | 9071 | justify-content: space-between; |
9072 | gap: 10px; | 9072 | gap: 10px; |
9073 | } | 9073 | } |
9074 | @media (min-width: 768px) { | 9074 | @media (min-width: 768px) { |
9075 | .cabinet__anketa { | 9075 | .cabinet__anketa { |
9076 | -webkit-box-orient: horizontal; | 9076 | -webkit-box-orient: horizontal; |
9077 | -webkit-box-direction: normal; | 9077 | -webkit-box-direction: normal; |
9078 | -ms-flex-direction: row; | 9078 | -ms-flex-direction: row; |
9079 | flex-direction: row; | 9079 | flex-direction: row; |
9080 | -webkit-box-align: center; | 9080 | -webkit-box-align: center; |
9081 | -ms-flex-align: center; | 9081 | -ms-flex-align: center; |
9082 | align-items: center; | 9082 | align-items: center; |
9083 | } | 9083 | } |
9084 | } | 9084 | } |
9085 | @media (min-width: 992px) { | 9085 | @media (min-width: 992px) { |
9086 | .cabinet__anketa { | 9086 | .cabinet__anketa { |
9087 | -webkit-box-orient: vertical; | 9087 | -webkit-box-orient: vertical; |
9088 | -webkit-box-direction: normal; | 9088 | -webkit-box-direction: normal; |
9089 | -ms-flex-direction: column; | 9089 | -ms-flex-direction: column; |
9090 | flex-direction: column; | 9090 | flex-direction: column; |
9091 | -webkit-box-align: stretch; | 9091 | -webkit-box-align: stretch; |
9092 | -ms-flex-align: stretch; | 9092 | -ms-flex-align: stretch; |
9093 | align-items: stretch; | 9093 | align-items: stretch; |
9094 | } | 9094 | } |
9095 | } | 9095 | } |
9096 | @media (min-width: 1280px) { | 9096 | @media (min-width: 1280px) { |
9097 | .cabinet__anketa { | 9097 | .cabinet__anketa { |
9098 | -webkit-box-orient: horizontal; | 9098 | -webkit-box-orient: horizontal; |
9099 | -webkit-box-direction: normal; | 9099 | -webkit-box-direction: normal; |
9100 | -ms-flex-direction: row; | 9100 | -ms-flex-direction: row; |
9101 | flex-direction: row; | 9101 | flex-direction: row; |
9102 | -webkit-box-align: center; | 9102 | -webkit-box-align: center; |
9103 | -ms-flex-align: center; | 9103 | -ms-flex-align: center; |
9104 | align-items: center; | 9104 | align-items: center; |
9105 | -webkit-box-pack: justify; | 9105 | -webkit-box-pack: justify; |
9106 | -ms-flex-pack: justify; | 9106 | -ms-flex-pack: justify; |
9107 | justify-content: space-between; | 9107 | justify-content: space-between; |
9108 | } | 9108 | } |
9109 | } | 9109 | } |
9110 | .cabinet__anketa-buttons { | 9110 | .cabinet__anketa-buttons { |
9111 | display: -webkit-box; | 9111 | display: -webkit-box; |
9112 | display: -ms-flexbox; | 9112 | display: -ms-flexbox; |
9113 | display: flex; | 9113 | display: flex; |
9114 | -webkit-box-orient: vertical; | 9114 | -webkit-box-orient: vertical; |
9115 | -webkit-box-direction: normal; | 9115 | -webkit-box-direction: normal; |
9116 | -ms-flex-direction: column; | 9116 | -ms-flex-direction: column; |
9117 | flex-direction: column; | 9117 | flex-direction: column; |
9118 | gap: 10px; | 9118 | gap: 10px; |
9119 | } | 9119 | } |
9120 | @media (min-width: 768px) { | 9120 | @media (min-width: 768px) { |
9121 | .cabinet__anketa-buttons { | 9121 | .cabinet__anketa-buttons { |
9122 | display: grid; | 9122 | display: grid; |
9123 | grid-template-columns: 1fr 1fr; | 9123 | grid-template-columns: 1fr 1fr; |
9124 | gap: 20px; | 9124 | gap: 20px; |
9125 | } | 9125 | } |
9126 | } | 9126 | } |
9127 | .cabinet__stats { | 9127 | .cabinet__stats { |
9128 | display: -webkit-box; | 9128 | display: -webkit-box; |
9129 | display: -ms-flexbox; | 9129 | display: -ms-flexbox; |
9130 | display: flex; | 9130 | display: flex; |
9131 | -webkit-box-orient: vertical; | 9131 | -webkit-box-orient: vertical; |
9132 | -webkit-box-direction: normal; | 9132 | -webkit-box-direction: normal; |
9133 | -ms-flex-direction: column; | 9133 | -ms-flex-direction: column; |
9134 | flex-direction: column; | 9134 | flex-direction: column; |
9135 | gap: 6px; | 9135 | gap: 6px; |
9136 | } | 9136 | } |
9137 | @media (min-width: 768px) { | 9137 | @media (min-width: 768px) { |
9138 | .cabinet__stats { | 9138 | .cabinet__stats { |
9139 | gap: 12px; | 9139 | gap: 12px; |
9140 | } | 9140 | } |
9141 | } | 9141 | } |
9142 | .cabinet__stats-title { | 9142 | .cabinet__stats-title { |
9143 | font-size: 14px; | 9143 | font-size: 14px; |
9144 | font-weight: 700; | 9144 | font-weight: 700; |
9145 | color: #000; | 9145 | color: #000; |
9146 | } | 9146 | } |
9147 | @media (min-width: 768px) { | 9147 | @media (min-width: 768px) { |
9148 | .cabinet__stats-title { | 9148 | .cabinet__stats-title { |
9149 | font-size: 24px; | 9149 | font-size: 24px; |
9150 | } | 9150 | } |
9151 | } | 9151 | } |
9152 | .cabinet__stats-body { | 9152 | .cabinet__stats-body { |
9153 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 9153 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
9154 | border-radius: 8px; | 9154 | border-radius: 8px; |
9155 | padding: 10px; | 9155 | padding: 10px; |
9156 | display: grid; | 9156 | display: grid; |
9157 | grid-template-columns: 1fr 1fr; | 9157 | grid-template-columns: 1fr 1fr; |
9158 | gap: 20px; | 9158 | gap: 20px; |
9159 | margin-bottom: 10px; | 9159 | margin-bottom: 10px; |
9160 | } | 9160 | } |
9161 | @media (min-width: 768px) { | 9161 | @media (min-width: 768px) { |
9162 | .cabinet__stats-body { | 9162 | .cabinet__stats-body { |
9163 | padding: 10px 20px; | 9163 | padding: 10px 20px; |
9164 | } | 9164 | } |
9165 | } | 9165 | } |
9166 | .cabinet__stats-item { | 9166 | .cabinet__stats-item { |
9167 | font-size: 12px; | 9167 | font-size: 12px; |
9168 | display: -webkit-box; | 9168 | display: -webkit-box; |
9169 | display: -ms-flexbox; | 9169 | display: -ms-flexbox; |
9170 | display: flex; | 9170 | display: flex; |
9171 | -webkit-box-align: center; | 9171 | -webkit-box-align: center; |
9172 | -ms-flex-align: center; | 9172 | -ms-flex-align: center; |
9173 | align-items: center; | 9173 | align-items: center; |
9174 | line-height: 1; | 9174 | line-height: 1; |
9175 | gap: 6px; | 9175 | gap: 6px; |
9176 | } | 9176 | } |
9177 | @media (min-width: 768px) { | 9177 | @media (min-width: 768px) { |
9178 | .cabinet__stats-item { | 9178 | .cabinet__stats-item { |
9179 | font-size: 20px; | 9179 | font-size: 20px; |
9180 | gap: 10px; | 9180 | gap: 10px; |
9181 | } | 9181 | } |
9182 | } | 9182 | } |
9183 | .cabinet__stats-item svg { | 9183 | .cabinet__stats-item svg { |
9184 | width: 20px; | 9184 | width: 20px; |
9185 | aspect-ratio: 1/1; | 9185 | aspect-ratio: 1/1; |
9186 | color: #377d87; | 9186 | color: #377d87; |
9187 | } | 9187 | } |
9188 | @media (min-width: 768px) { | 9188 | @media (min-width: 768px) { |
9189 | .cabinet__stats-item svg { | 9189 | .cabinet__stats-item svg { |
9190 | width: 40px; | 9190 | width: 40px; |
9191 | margin-right: 10px; | 9191 | margin-right: 10px; |
9192 | } | 9192 | } |
9193 | } | 9193 | } |
9194 | .cabinet__stats-item span { | 9194 | .cabinet__stats-item span { |
9195 | font-weight: 700; | 9195 | font-weight: 700; |
9196 | color: #000; | 9196 | color: #000; |
9197 | } | 9197 | } |
9198 | .cabinet__stats-item b { | 9198 | .cabinet__stats-item b { |
9199 | color: #377d87; | 9199 | color: #377d87; |
9200 | font-size: 14px; | 9200 | font-size: 14px; |
9201 | } | 9201 | } |
9202 | @media (min-width: 768px) { | 9202 | @media (min-width: 768px) { |
9203 | .cabinet__stats-item b { | 9203 | .cabinet__stats-item b { |
9204 | font-size: 24px; | 9204 | font-size: 24px; |
9205 | } | 9205 | } |
9206 | } | 9206 | } |
9207 | .cabinet__stats-subtitle { | 9207 | .cabinet__stats-subtitle { |
9208 | font-size: 14px; | 9208 | font-size: 14px; |
9209 | font-weight: 700; | 9209 | font-weight: 700; |
9210 | color: #377d87; | 9210 | color: #377d87; |
9211 | } | 9211 | } |
9212 | @media (min-width: 768px) { | 9212 | @media (min-width: 768px) { |
9213 | .cabinet__stats-subtitle { | 9213 | .cabinet__stats-subtitle { |
9214 | font-size: 18px; | 9214 | font-size: 18px; |
9215 | } | 9215 | } |
9216 | } | 9216 | } |
9217 | .cabinet__stats-line { | 9217 | .cabinet__stats-line { |
9218 | width: 100%; | 9218 | width: 100%; |
9219 | position: relative; | 9219 | position: relative; |
9220 | overflow: hidden; | 9220 | overflow: hidden; |
9221 | height: 8px; | 9221 | height: 8px; |
9222 | border-radius: 999px; | 9222 | border-radius: 999px; |
9223 | background: #cecece; | 9223 | background: #cecece; |
9224 | } | 9224 | } |
9225 | .cabinet__stats-line span { | 9225 | .cabinet__stats-line span { |
9226 | position: absolute; | 9226 | position: absolute; |
9227 | top: 0; | 9227 | top: 0; |
9228 | left: 0; | 9228 | left: 0; |
9229 | width: 100%; | 9229 | width: 100%; |
9230 | height: 100%; | 9230 | height: 100%; |
9231 | background: #377d87; | 9231 | background: #377d87; |
9232 | border-radius: 999px; | 9232 | border-radius: 999px; |
9233 | } | 9233 | } |
9234 | .cabinet__stats-bottom { | 9234 | .cabinet__stats-bottom { |
9235 | color: #000; | 9235 | color: #000; |
9236 | font-size: 12px; | 9236 | font-size: 12px; |
9237 | } | 9237 | } |
9238 | @media (min-width: 768px) { | 9238 | @media (min-width: 768px) { |
9239 | .cabinet__stats-bottom { | 9239 | .cabinet__stats-bottom { |
9240 | font-size: 16px; | 9240 | font-size: 16px; |
9241 | } | 9241 | } |
9242 | } | 9242 | } |
9243 | .cabinet__works { | 9243 | .cabinet__works { |
9244 | display: -webkit-box; | 9244 | display: -webkit-box; |
9245 | display: -ms-flexbox; | 9245 | display: -ms-flexbox; |
9246 | display: flex; | 9246 | display: flex; |
9247 | -webkit-box-orient: vertical; | 9247 | -webkit-box-orient: vertical; |
9248 | -webkit-box-direction: normal; | 9248 | -webkit-box-direction: normal; |
9249 | -ms-flex-direction: column; | 9249 | -ms-flex-direction: column; |
9250 | flex-direction: column; | 9250 | flex-direction: column; |
9251 | gap: 20px; | 9251 | gap: 20px; |
9252 | } | 9252 | } |
9253 | @media (min-width: 768px) { | 9253 | @media (min-width: 768px) { |
9254 | .cabinet__works { | 9254 | .cabinet__works { |
9255 | gap: 30px; | 9255 | gap: 30px; |
9256 | } | 9256 | } |
9257 | } | 9257 | } |
9258 | .cabinet__works-item { | 9258 | .cabinet__works-item { |
9259 | -webkit-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2); | 9259 | -webkit-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2); |
9260 | box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2); | 9260 | box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2); |
9261 | padding: 10px; | 9261 | padding: 10px; |
9262 | border-radius: 4px; | 9262 | border-radius: 4px; |
9263 | } | 9263 | } |
9264 | @media (min-width: 768px) { | 9264 | @media (min-width: 768px) { |
9265 | .cabinet__works-item { | 9265 | .cabinet__works-item { |
9266 | padding: 20px; | 9266 | padding: 20px; |
9267 | border-radius: 8px; | 9267 | border-radius: 8px; |
9268 | } | 9268 | } |
9269 | } | 9269 | } |
9270 | .cabinet__works-spoiler { | 9270 | .cabinet__works-spoiler { |
9271 | display: -webkit-box; | 9271 | display: -webkit-box; |
9272 | display: -ms-flexbox; | 9272 | display: -ms-flexbox; |
9273 | display: flex; | 9273 | display: flex; |
9274 | -webkit-box-align: center; | 9274 | -webkit-box-align: center; |
9275 | -ms-flex-align: center; | 9275 | -ms-flex-align: center; |
9276 | align-items: center; | 9276 | align-items: center; |
9277 | -webkit-box-pack: justify; | 9277 | -webkit-box-pack: justify; |
9278 | -ms-flex-pack: justify; | 9278 | -ms-flex-pack: justify; |
9279 | justify-content: space-between; | 9279 | justify-content: space-between; |
9280 | } | 9280 | } |
9281 | .cabinet__works-spoiler-left { | 9281 | .cabinet__works-spoiler-left { |
9282 | display: -webkit-box; | 9282 | display: -webkit-box; |
9283 | display: -ms-flexbox; | 9283 | display: -ms-flexbox; |
9284 | display: flex; | 9284 | display: flex; |
9285 | -webkit-box-align: center; | 9285 | -webkit-box-align: center; |
9286 | -ms-flex-align: center; | 9286 | -ms-flex-align: center; |
9287 | align-items: center; | 9287 | align-items: center; |
9288 | width: calc(100% - 22px); | 9288 | width: calc(100% - 22px); |
9289 | } | 9289 | } |
9290 | .cabinet__works-spoiler-right { | 9290 | .cabinet__works-spoiler-right { |
9291 | width: 22px; | 9291 | width: 22px; |
9292 | height: 22px; | 9292 | height: 22px; |
9293 | display: -webkit-box; | 9293 | display: -webkit-box; |
9294 | display: -ms-flexbox; | 9294 | display: -ms-flexbox; |
9295 | display: flex; | 9295 | display: flex; |
9296 | -webkit-box-align: center; | 9296 | -webkit-box-align: center; |
9297 | -ms-flex-align: center; | 9297 | -ms-flex-align: center; |
9298 | align-items: center; | 9298 | align-items: center; |
9299 | -webkit-box-pack: center; | 9299 | -webkit-box-pack: center; |
9300 | -ms-flex-pack: center; | 9300 | -ms-flex-pack: center; |
9301 | justify-content: center; | 9301 | justify-content: center; |
9302 | color: #377d87; | 9302 | color: #377d87; |
9303 | padding: 0; | 9303 | padding: 0; |
9304 | background: none; | 9304 | background: none; |
9305 | border: none; | 9305 | border: none; |
9306 | } | 9306 | } |
9307 | .cabinet__works-spoiler-right svg { | 9307 | .cabinet__works-spoiler-right svg { |
9308 | width: 60%; | 9308 | width: 60%; |
9309 | aspect-ratio: 1/1; | 9309 | aspect-ratio: 1/1; |
9310 | -webkit-transform: rotate(90deg); | 9310 | -webkit-transform: rotate(90deg); |
9311 | -ms-transform: rotate(90deg); | 9311 | -ms-transform: rotate(90deg); |
9312 | transform: rotate(90deg); | 9312 | transform: rotate(90deg); |
9313 | -webkit-transition: 0.3s; | 9313 | -webkit-transition: 0.3s; |
9314 | transition: 0.3s; | 9314 | transition: 0.3s; |
9315 | } | 9315 | } |
9316 | .cabinet__works-spoiler.active .cabinet__works-spoiler-right svg { | 9316 | .cabinet__works-spoiler.active .cabinet__works-spoiler-right svg { |
9317 | -webkit-transform: rotate(-90deg); | 9317 | -webkit-transform: rotate(-90deg); |
9318 | -ms-transform: rotate(-90deg); | 9318 | -ms-transform: rotate(-90deg); |
9319 | transform: rotate(-90deg); | 9319 | transform: rotate(-90deg); |
9320 | } | 9320 | } |
9321 | .cabinet__works-spoiler-buttons { | 9321 | .cabinet__works-spoiler-buttons { |
9322 | display: -webkit-box; | 9322 | display: -webkit-box; |
9323 | display: -ms-flexbox; | 9323 | display: -ms-flexbox; |
9324 | display: flex; | 9324 | display: flex; |
9325 | -webkit-box-align: center; | 9325 | -webkit-box-align: center; |
9326 | -ms-flex-align: center; | 9326 | -ms-flex-align: center; |
9327 | align-items: center; | 9327 | align-items: center; |
9328 | -webkit-box-pack: justify; | 9328 | -webkit-box-pack: justify; |
9329 | -ms-flex-pack: justify; | 9329 | -ms-flex-pack: justify; |
9330 | justify-content: space-between; | 9330 | justify-content: space-between; |
9331 | width: 60px; | 9331 | width: 60px; |
9332 | } | 9332 | } |
9333 | @media (min-width: 768px) { | 9333 | @media (min-width: 768px) { |
9334 | .cabinet__works-spoiler-buttons { | 9334 | .cabinet__works-spoiler-buttons { |
9335 | width: 74px; | 9335 | width: 74px; |
9336 | } | 9336 | } |
9337 | } | 9337 | } |
9338 | .cabinet__works-spoiler-buttons .button { | 9338 | .cabinet__works-spoiler-buttons .button { |
9339 | width: 22px; | 9339 | width: 22px; |
9340 | height: 22px; | 9340 | height: 22px; |
9341 | padding: 0; | 9341 | padding: 0; |
9342 | } | 9342 | } |
9343 | @media (min-width: 768px) { | 9343 | @media (min-width: 768px) { |
9344 | .cabinet__works-spoiler-buttons .button { | 9344 | .cabinet__works-spoiler-buttons .button { |
9345 | width: 30px; | 9345 | width: 30px; |
9346 | height: 30px; | 9346 | height: 30px; |
9347 | } | 9347 | } |
9348 | } | 9348 | } |
9349 | .cabinet__works-spoiler-text { | 9349 | .cabinet__works-spoiler-text { |
9350 | width: calc(100% - 60px); | 9350 | width: calc(100% - 60px); |
9351 | padding-left: 20px; | 9351 | padding-left: 20px; |
9352 | font-size: 17px; | 9352 | font-size: 17px; |
9353 | font-weight: 700; | 9353 | font-weight: 700; |
9354 | color: #000; | 9354 | color: #000; |
9355 | } | 9355 | } |
9356 | @media (min-width: 768px) { | 9356 | @media (min-width: 768px) { |
9357 | .cabinet__works-spoiler-text { | 9357 | .cabinet__works-spoiler-text { |
9358 | width: calc(100% - 74px); | 9358 | width: calc(100% - 74px); |
9359 | font-size: 20px; | 9359 | font-size: 20px; |
9360 | } | 9360 | } |
9361 | } | 9361 | } |
9362 | .cabinet__works-body { | 9362 | .cabinet__works-body { |
9363 | opacity: 0; | 9363 | opacity: 0; |
9364 | height: 0; | 9364 | height: 0; |
9365 | overflow: hidden; | 9365 | overflow: hidden; |
9366 | } | 9366 | } |
9367 | .active + .cabinet__works-body { | 9367 | .active + .cabinet__works-body { |
9368 | -webkit-transition: 0.3s; | 9368 | -webkit-transition: 0.3s; |
9369 | transition: 0.3s; | 9369 | transition: 0.3s; |
9370 | opacity: 1; | 9370 | opacity: 1; |
9371 | height: auto; | 9371 | height: auto; |
9372 | padding-top: 20px; | 9372 | padding-top: 20px; |
9373 | } | 9373 | } |
9374 | .cabinet__works-add { | 9374 | .cabinet__works-add { |
9375 | padding: 0; | 9375 | padding: 0; |
9376 | width: 100%; | 9376 | width: 100%; |
9377 | max-width: 160px; | 9377 | max-width: 160px; |
9378 | } | 9378 | } |
9379 | @media (min-width: 768px) { | 9379 | @media (min-width: 768px) { |
9380 | .cabinet__works-add { | 9380 | .cabinet__works-add { |
9381 | max-width: 220px; | 9381 | max-width: 220px; |
9382 | } | 9382 | } |
9383 | } | 9383 | } |
9384 | .cabinet__buttons { | 9384 | .cabinet__buttons { |
9385 | display: -webkit-box; | 9385 | display: -webkit-box; |
9386 | display: -ms-flexbox; | 9386 | display: -ms-flexbox; |
9387 | display: flex; | 9387 | display: flex; |
9388 | -webkit-box-orient: vertical; | 9388 | -webkit-box-orient: vertical; |
9389 | -webkit-box-direction: normal; | 9389 | -webkit-box-direction: normal; |
9390 | -ms-flex-direction: column; | 9390 | -ms-flex-direction: column; |
9391 | flex-direction: column; | 9391 | flex-direction: column; |
9392 | -webkit-box-align: center; | 9392 | -webkit-box-align: center; |
9393 | -ms-flex-align: center; | 9393 | -ms-flex-align: center; |
9394 | align-items: center; | 9394 | align-items: center; |
9395 | gap: 10px; | 9395 | gap: 10px; |
9396 | } | 9396 | } |
9397 | @media (min-width: 768px) { | 9397 | @media (min-width: 768px) { |
9398 | .cabinet__buttons { | 9398 | .cabinet__buttons { |
9399 | display: grid; | 9399 | display: grid; |
9400 | grid-template-columns: 1fr 1fr; | 9400 | grid-template-columns: 1fr 1fr; |
9401 | gap: 20px; | 9401 | gap: 20px; |
9402 | } | 9402 | } |
9403 | } | 9403 | } |
9404 | .cabinet__buttons .button, | 9404 | .cabinet__buttons .button, |
9405 | .cabinet__buttons .file { | 9405 | .cabinet__buttons .file { |
9406 | padding: 0; | 9406 | padding: 0; |
9407 | width: 100%; | 9407 | width: 100%; |
9408 | max-width: 140px; | 9408 | max-width: 140px; |
9409 | } | 9409 | } |
9410 | @media (min-width: 768px) { | 9410 | @media (min-width: 768px) { |
9411 | .cabinet__buttons .button, | 9411 | .cabinet__buttons .button, |
9412 | .cabinet__buttons .file { | 9412 | .cabinet__buttons .file { |
9413 | max-width: none; | 9413 | max-width: none; |
9414 | } | 9414 | } |
9415 | } | 9415 | } |
9416 | @media (min-width: 768px) { | 9416 | @media (min-width: 768px) { |
9417 | .cabinet__buttons { | 9417 | .cabinet__buttons { |
9418 | gap: 20px; | 9418 | gap: 20px; |
9419 | } | 9419 | } |
9420 | } | 9420 | } |
9421 | @media (min-width: 1280px) { | 9421 | @media (min-width: 1280px) { |
9422 | .cabinet__buttons { | 9422 | .cabinet__buttons { |
9423 | max-width: 400px; | 9423 | max-width: 400px; |
9424 | } | 9424 | } |
9425 | } | 9425 | } |
9426 | .cabinet__buttons_flex{ | 9426 | .cabinet__buttons_flex{ |
9427 | display: flex; | 9427 | display: flex; |
9428 | } | 9428 | } |
9429 | .cabinet__buttons_flex > *{ | 9429 | .cabinet__buttons_flex > *{ |
9430 | margin-right: 10px; | 9430 | margin-right: 10px; |
9431 | } | 9431 | } |
9432 | .cabinet__vacs { | 9432 | .cabinet__vacs { |
9433 | display: -webkit-box; | 9433 | display: -webkit-box; |
9434 | display: -ms-flexbox; | 9434 | display: -ms-flexbox; |
9435 | display: flex; | 9435 | display: flex; |
9436 | -webkit-box-orient: vertical; | 9436 | -webkit-box-orient: vertical; |
9437 | -webkit-box-direction: reverse; | 9437 | -webkit-box-direction: reverse; |
9438 | -ms-flex-direction: column-reverse; | 9438 | -ms-flex-direction: column-reverse; |
9439 | flex-direction: column-reverse; | 9439 | flex-direction: column-reverse; |
9440 | -webkit-box-align: center; | 9440 | -webkit-box-align: center; |
9441 | -ms-flex-align: center; | 9441 | -ms-flex-align: center; |
9442 | align-items: center; | 9442 | align-items: center; |
9443 | gap: 20px; | 9443 | gap: 20px; |
9444 | } | 9444 | } |
9445 | .cabinet__vacs-body { | 9445 | .cabinet__vacs-body { |
9446 | display: -webkit-box; | 9446 | display: -webkit-box; |
9447 | display: -ms-flexbox; | 9447 | display: -ms-flexbox; |
9448 | display: flex; | 9448 | display: flex; |
9449 | -webkit-box-orient: vertical; | 9449 | -webkit-box-orient: vertical; |
9450 | -webkit-box-direction: normal; | 9450 | -webkit-box-direction: normal; |
9451 | -ms-flex-direction: column; | 9451 | -ms-flex-direction: column; |
9452 | flex-direction: column; | 9452 | flex-direction: column; |
9453 | gap: 20px; | 9453 | gap: 20px; |
9454 | width: 100%; | 9454 | width: 100%; |
9455 | } | 9455 | } |
9456 | @media (min-width: 768px) { | 9456 | @media (min-width: 768px) { |
9457 | .cabinet__vacs-body { | 9457 | .cabinet__vacs-body { |
9458 | gap: 30px; | 9458 | gap: 30px; |
9459 | } | 9459 | } |
9460 | } | 9460 | } |
9461 | .cabinet__vacs-item { | 9461 | .cabinet__vacs-item { |
9462 | display: none; | 9462 | display: none; |
9463 | background: #fff; | 9463 | background: #fff; |
9464 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 9464 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
9465 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 9465 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
9466 | } | 9466 | } |
9467 | .cabinet__vacs-item:nth-of-type(1), .cabinet__vacs-item:nth-of-type(2) { | 9467 | .cabinet__vacs-item:nth-of-type(1), .cabinet__vacs-item:nth-of-type(2) { |
9468 | display: -webkit-box; | 9468 | display: -webkit-box; |
9469 | display: -ms-flexbox; | 9469 | display: -ms-flexbox; |
9470 | display: flex; | 9470 | display: flex; |
9471 | } | 9471 | } |
9472 | .cabinet__vacs.active .cabinet__vacs-item { | 9472 | .cabinet__vacs.active .cabinet__vacs-item { |
9473 | display: -webkit-box; | 9473 | display: -webkit-box; |
9474 | display: -ms-flexbox; | 9474 | display: -ms-flexbox; |
9475 | display: flex; | 9475 | display: flex; |
9476 | } | 9476 | } |
9477 | .main__employer-page-two-item-text-body img { | 9477 | .main__employer-page-two-item-text-body img { |
9478 | display: inline !important; | 9478 | display: inline !important; |
9479 | border: none !important; | 9479 | border: none !important; |
9480 | box-shadow: none !important; | 9480 | box-shadow: none !important; |
9481 | height: 1em !important; | 9481 | height: 1em !important; |
9482 | width: 1em !important; | 9482 | width: 1em !important; |
9483 | margin: 0 0.07em !important; | 9483 | margin: 0 0.07em !important; |
9484 | vertical-align: -0.1em !important; | 9484 | vertical-align: -0.1em !important; |
9485 | background: none !important; | 9485 | background: none !important; |
9486 | padding: 0 !important; | 9486 | padding: 0 !important; |
9487 | } | 9487 | } |
9488 | .main__employer-page-two-item-text-body p{ | 9488 | .main__employer-page-two-item-text-body p{ |
9489 | margin: 0 0 20px; | 9489 | margin: 0 0 20px; |
9490 | } | 9490 | } |
9491 | #sertificate .one-sertificate{ | 9491 | #sertificate .one-sertificate{ |
9492 | display: flex; | 9492 | display: flex; |
9493 | justify-content: space-between; | 9493 | justify-content: space-between; |
9494 | margin-bottom: 15px; | 9494 | margin-bottom: 15px; |
9495 | border-bottom: 1px #ccc solid; | 9495 | border-bottom: 1px #ccc solid; |
9496 | padding-bottom: 15px; | 9496 | padding-bottom: 15px; |
9497 | } | 9497 | } |
9498 | #sertificate .one-sertificate .sertificate-field{ | 9498 | #sertificate .one-sertificate .sertificate-field{ |
9499 | display: block; | 9499 | display: block; |
9500 | } | 9500 | } |
9501 | #sertificate .one-sertificate .sertificate-field.sertificate-name{ | 9501 | #sertificate .one-sertificate .sertificate-field.sertificate-name{ |
9502 | width: 50%; | 9502 | width: 50%; |
9503 | max-width: 50%; | 9503 | max-width: 50%; |
9504 | } | 9504 | } |
9505 | #sertificate .one-sertificate .sertificate-field.sertificate-buttons{ | 9505 | #sertificate .one-sertificate .sertificate-field.sertificate-buttons{ |
9506 | display: flex; | 9506 | display: flex; |
9507 | justify-content: space-between; | 9507 | justify-content: space-between; |
9508 | } | 9508 | } |
9509 | #sertificate .one-sertificate .sertificate-field.sertificate-buttons a{ | 9509 | #sertificate .one-sertificate .sertificate-field.sertificate-buttons a{ |
9510 | width: 30px; | 9510 | width: 30px; |
9511 | height: 30px; | 9511 | height: 30px; |
9512 | padding: 5px; | 9512 | padding: 5px; |
9513 | } | 9513 | } |
9514 | #prev_worker .cabinet__inputs-item-buttons a{ | 9514 | #prev_worker .cabinet__inputs-item-buttons a{ |
9515 | width: 30px; | 9515 | width: 30px; |
9516 | height: 30px; | 9516 | height: 30px; |
9517 | padding: 5px; | 9517 | padding: 5px; |
9518 | } | 9518 | } |
9519 | #prev_worker .cabinet__inputs-item-buttons{ | 9519 | #prev_worker .cabinet__inputs-item-buttons{ |
9520 | width: 100px; | 9520 | width: 100px; |
9521 | } | 9521 | } |
9522 | #prev_worker .cabinet__inputs{ | 9522 | #prev_worker .cabinet__inputs{ |
9523 | -webkit-box-align: start; | 9523 | -webkit-box-align: start; |
9524 | -ms-flex-align: start; | 9524 | -ms-flex-align: start; |
9525 | align-items: start; | 9525 | align-items: start; |
9526 | } | 9526 | } |
9527 | #prev_worker .cabinet__inputs-item-buttons flex{ | 9527 | #prev_worker .cabinet__inputs-item-buttons flex{ |
9528 | justify-content: end; | 9528 | justify-content: end; |
9529 | } | 9529 | } |
9530 | #prev_worker .cabinet__body-item{ | 9530 | #prev_worker .cabinet__body-item{ |
9531 | border-bottom: 1px #cccccc solid; | 9531 | border-bottom: 1px #cccccc solid; |
9532 | padding-bottom: 25px; | 9532 | padding-bottom: 25px; |
9533 | } | 9533 | } |
9534 | @media (max-width: 1280px) { | 9534 | @media (max-width: 1280px) { |
9535 | #prev_worker .cabinet__inputs-item-buttons{ | 9535 | #prev_worker .cabinet__inputs-item-buttons{ |
9536 | position: absolute; | 9536 | position: absolute; |
9537 | right: 0; | 9537 | right: 0; |
9538 | } | 9538 | } |
9539 | } | 9539 | } |
9540 | body .cke_notifications_area{ | 9540 | body .cke_notifications_area{ |
9541 | opacity: 0; | 9541 | opacity: 0; |
9542 | display: none !important; | 9542 | display: none !important; |
9543 | } | 9543 | } |
9544 | .unread-messages-count{ | 9544 | .unread-messages-count{ |
9545 | background-color: #377d87; | 9545 | background-color: #377d87; |
9546 | color: #fff; | 9546 | color: #fff; |
9547 | padding: 5px 10px; | 9547 | padding: 5px 10px; |
9548 | border-radius: 45px; | 9548 | border-radius: 45px; |
9549 | } | 9549 | } |
9550 | 9550 | ||
9551 | .flot-one-ship .flot-label{ | 9551 | .flot-one-ship .flot-label{ |
9552 | font-weight: bold; | 9552 | font-weight: bold; |
9553 | display: flex; | 9553 | display: flex; |
9554 | } | 9554 | } |
9555 | .flot-one-ship .flot-label .flot-label-name{ | 9555 | .flot-one-ship .flot-label .flot-label-name{ |
9556 | color: #377d87; | 9556 | color: #377d87; |
9557 | min-width: 120px; | 9557 | min-width: 120px; |
9558 | } | 9558 | } |
9559 | .picker { | 9559 | .picker { |
9560 | display: none; | 9560 | display: none; |
9561 | -webkit-box-pack: center; | 9561 | -webkit-box-pack: center; |
9562 | -ms-flex-pack: center; | 9562 | -ms-flex-pack: center; |
9563 | justify-content: center; | 9563 | justify-content: center; |
9564 | -webkit-box-align: center; | 9564 | -webkit-box-align: center; |
9565 | -ms-flex-align: center; | 9565 | -ms-flex-align: center; |
9566 | align-items: center; | 9566 | align-items: center; |
9567 | } | 9567 | } |
9568 | .picker-dialog { | 9568 | .picker-dialog { |
9569 | position: relative !important; | 9569 | position: relative !important; |
9570 | max-width: 820px; | 9570 | max-width: 820px; |
9571 | border: none; | 9571 | border: none; |
9572 | background: #fff; | 9572 | background: #fff; |
9573 | border-radius: 10px; | 9573 | border-radius: 10px; |
9574 | padding: 20px 10px; | 9574 | padding: 20px 10px; |
9575 | } | 9575 | } |
9576 | @media (min-width: 768px) { | 9576 | @media (min-width: 768px) { |
9577 | .picker-dialog { | 9577 | .picker-dialog { |
9578 | padding: 80px; | 9578 | padding: 80px; |
9579 | } | 9579 | } |
9580 | } | 9580 | } |
9581 | .picker-close { | 9581 | .picker-close { |
9582 | font-size: 3rem; | 9582 | font-size: 3rem; |
9583 | } | 9583 | } |
9584 | .picker-close:hover { | 9584 | .picker-close:hover { |
9585 | color: #377d87; | 9585 | color: #377d87; |
9586 | } | 9586 | } |
9587 | .picker-header { | 9587 | .picker-header { |
9588 | padding: 0; | 9588 | padding: 0; |
9589 | position: static; | 9589 | position: static; |
9590 | border: none; | 9590 | border: none; |
9591 | margin-bottom: 10px; | 9591 | margin-bottom: 10px; |
9592 | } | 9592 | } |
9593 | @media (min-width: 768px) { | 9593 | @media (min-width: 768px) { |
9594 | .picker-header { | 9594 | .picker-header { |
9595 | margin-bottom: 20px; | 9595 | margin-bottom: 20px; |
9596 | } | 9596 | } |
9597 | } | 9597 | } |
9598 | .picker-title { | 9598 | .picker-title { |
9599 | color: #696b6b; | 9599 | color: #696b6b; |
9600 | font-weight: 700; | 9600 | font-weight: 700; |
9601 | font-size: 22px; | 9601 | font-size: 22px; |
9602 | line-height: 1.2; | 9602 | line-height: 1.2; |
9603 | text-align: center; | 9603 | text-align: center; |
9604 | } | 9604 | } |
9605 | @media (min-width: 768px) { | 9605 | @media (min-width: 768px) { |
9606 | .picker-title { | 9606 | .picker-title { |
9607 | text-align: left; | 9607 | text-align: left; |
9608 | font-size: 34px; | 9608 | font-size: 34px; |
9609 | } | 9609 | } |
9610 | } | 9610 | } |
9611 | @media (min-width: 992px) { | 9611 | @media (min-width: 992px) { |
9612 | .picker-title { | 9612 | .picker-title { |
9613 | font-size: 44px; | 9613 | font-size: 44px; |
9614 | } | 9614 | } |
9615 | } | 9615 | } |
9616 | .picker-list { | 9616 | .picker-list { |
9617 | padding: 0 20px; | 9617 | padding: 0 20px; |
9618 | } | 9618 | } |
9619 | @media (min-width: 768px) { | 9619 | @media (min-width: 768px) { |
9620 | .picker-list { | 9620 | .picker-list { |
9621 | padding: 0 60px; | 9621 | padding: 0 60px; |
9622 | } | 9622 | } |
9623 | } | 9623 | } |
9624 | @media (min-width: 992px) { | 9624 | @media (min-width: 992px) { |
9625 | .picker-list { | 9625 | .picker-list { |
9626 | padding: 0 90px; | 9626 | padding: 0 90px; |
9627 | } | 9627 | } |
9628 | } | 9628 | } |
9629 | .picker-item { | 9629 | .picker-item { |
9630 | display: -webkit-box; | 9630 | display: -webkit-box; |
9631 | display: -ms-flexbox; | 9631 | display: -ms-flexbox; |
9632 | display: flex; | 9632 | display: flex; |
9633 | -webkit-box-pack: center; | 9633 | -webkit-box-pack: center; |
9634 | -ms-flex-pack: center; | 9634 | -ms-flex-pack: center; |
9635 | justify-content: center; | 9635 | justify-content: center; |
9636 | -webkit-box-align: center; | 9636 | -webkit-box-align: center; |
9637 | -ms-flex-align: center; | 9637 | -ms-flex-align: center; |
9638 | align-items: center; | 9638 | align-items: center; |
9639 | line-height: 1; | 9639 | line-height: 1; |
9640 | font-size: 28px; | 9640 | font-size: 28px; |
9641 | line-height: 40px; | 9641 | line-height: 40px; |
9642 | color: #699da5; | 9642 | color: #699da5; |
9643 | font-weight: 700; | 9643 | font-weight: 700; |
9644 | } | 9644 | } |
9645 | @media (min-width: 992px) { | 9645 | @media (min-width: 992px) { |
9646 | .picker-item { | 9646 | .picker-item { |
9647 | font-size: 36px; | 9647 | font-size: 36px; |
9648 | } | 9648 | } |
9649 | } | 9649 | } |
9650 | .picker-cell__header { | 9650 | .picker-cell__header { |
9651 | color: #377d87; | 9651 | color: #377d87; |
9652 | } | 9652 | } |
9653 | .picker-cell__control:before { | 9653 | .picker-cell__control:before { |
9654 | border-color: #377d87; | 9654 | border-color: #377d87; |
9655 | } | 9655 | } |
9656 | .picker-picked { | 9656 | .picker-picked { |
9657 | background: #fff; | 9657 | background: #fff; |
9658 | border-radius: 8px; | 9658 | border-radius: 8px; |
9659 | color: #377d87; | 9659 | color: #377d87; |
9660 | } | 9660 | } |
9661 | .picker-footer { | 9661 | .picker-footer { |
9662 | display: -webkit-box !important; | 9662 | display: -webkit-box !important; |
9663 | display: -ms-flexbox !important; | 9663 | display: -ms-flexbox !important; |
9664 | display: flex !important; | 9664 | display: flex !important; |
9665 | -webkit-box-orient: horizontal; | 9665 | -webkit-box-orient: horizontal; |
9666 | -webkit-box-direction: reverse; | 9666 | -webkit-box-direction: reverse; |
9667 | -ms-flex-direction: row-reverse; | 9667 | -ms-flex-direction: row-reverse; |
9668 | flex-direction: row-reverse; | 9668 | flex-direction: row-reverse; |
9669 | -webkit-box-align: center; | 9669 | -webkit-box-align: center; |
9670 | -ms-flex-align: center; | 9670 | -ms-flex-align: center; |
9671 | align-items: center; | 9671 | align-items: center; |
9672 | gap: 12px; | 9672 | gap: 12px; |
9673 | margin-top: 20px; | 9673 | margin-top: 20px; |
9674 | border: none; | 9674 | border: none; |
9675 | } | 9675 | } |
9676 | .picker-footer button { | 9676 | .picker-footer button { |
9677 | display: -webkit-box; | 9677 | display: -webkit-box; |
9678 | display: -ms-flexbox; | 9678 | display: -ms-flexbox; |
9679 | display: flex; | 9679 | display: flex; |
9680 | -webkit-box-pack: center; | 9680 | -webkit-box-pack: center; |
9681 | -ms-flex-pack: center; | 9681 | -ms-flex-pack: center; |
9682 | justify-content: center; | 9682 | justify-content: center; |
9683 | -webkit-box-align: center; | 9683 | -webkit-box-align: center; |
9684 | -ms-flex-align: center; | 9684 | -ms-flex-align: center; |
9685 | align-items: center; | 9685 | align-items: center; |
9686 | color: #fff; | 9686 | color: #fff; |
9687 | background: #377d87; | 9687 | background: #377d87; |
9688 | height: 30px; | 9688 | height: 30px; |
9689 | border-radius: 8px; | 9689 | border-radius: 8px; |
9690 | padding: 0 12px; | 9690 | padding: 0 12px; |
9691 | border: 1px solid #377d87; | 9691 | border: 1px solid #377d87; |
9692 | font-weight: 700; | 9692 | font-weight: 700; |
9693 | font-size: 12px; | 9693 | font-size: 12px; |
9694 | text-align: center; | 9694 | text-align: center; |
9695 | line-height: 1; | 9695 | line-height: 1; |
9696 | gap: 6px; | 9696 | gap: 6px; |
9697 | -webkit-transition: 0.3s; | 9697 | -webkit-transition: 0.3s; |
9698 | transition: 0.3s; | 9698 | transition: 0.3s; |
9699 | cursor: pointer; | 9699 | cursor: pointer; |
9700 | } | 9700 | } |
9701 | @media (min-width: 768px) { | 9701 | @media (min-width: 768px) { |
9702 | .picker-footer button { | 9702 | .picker-footer button { |
9703 | padding: 0 24px; | 9703 | padding: 0 24px; |
9704 | font-size: 16px; | 9704 | font-size: 16px; |
9705 | height: 44px; | 9705 | height: 44px; |
9706 | gap: 12px; | 9706 | gap: 12px; |
9707 | } | 9707 | } |
9708 | } | 9708 | } |
9709 | @media (min-width: 992px) { | 9709 | @media (min-width: 992px) { |
9710 | .picker-footer button { | 9710 | .picker-footer button { |
9711 | padding: 0 36px; | 9711 | padding: 0 36px; |
9712 | } | 9712 | } |
9713 | } | 9713 | } |
9714 | .picker-footer button:hover { | 9714 | .picker-footer button:hover { |
9715 | background: transparent; | 9715 | background: transparent; |
9716 | color: #377d87; | 9716 | color: #377d87; |
9717 | } | 9717 | } |
9718 | .picker-footer .picker-cancel { | 9718 | .picker-footer .picker-cancel { |
9719 | background: transparent; | 9719 | background: transparent; |
9720 | color: #377d87; | 9720 | color: #377d87; |
9721 | } | 9721 | } |
9722 | .picker-footer .picker-cancel:hover { | 9722 | .picker-footer .picker-cancel:hover { |
9723 | background: #377d87; | 9723 | background: #377d87; |
9724 | color: #fff; | 9724 | color: #fff; |
9725 | } | 9725 | } |
9726 | .picker .picker-body { | 9726 | .picker .picker-body { |
9727 | background: #e9f1fb; | 9727 | background: #e9f1fb; |
9728 | border-radius: 8px; | 9728 | border-radius: 8px; |
9729 | } | 9729 | } |
9730 | .picker .picker-cell__body:before { | 9730 | .picker .picker-cell__body:before { |
9731 | background: -webkit-gradient(linear, left bottom, left top, from(hsla(0, 0%, 100%, 0)), to(#e9f1fb)); | 9731 | background: -webkit-gradient(linear, left bottom, left top, from(hsla(0, 0%, 100%, 0)), to(#e9f1fb)); |
9732 | background: linear-gradient(0deg, hsla(0, 0%, 100%, 0), #e9f1fb); | 9732 | background: linear-gradient(0deg, hsla(0, 0%, 100%, 0), #e9f1fb); |
9733 | } | 9733 | } |
9734 | .picker .picker-cell__body:after { | 9734 | .picker .picker-cell__body:after { |
9735 | background: -webkit-gradient(linear, left top, left bottom, from(hsla(0, 0%, 100%, 0)), to(#e9f1fb)); | 9735 | background: -webkit-gradient(linear, left top, left bottom, from(hsla(0, 0%, 100%, 0)), to(#e9f1fb)); |
9736 | background: linear-gradient(180deg, hsla(0, 0%, 100%, 0), #e9f1fb); | 9736 | background: linear-gradient(180deg, hsla(0, 0%, 100%, 0), #e9f1fb); |
9737 | } | 9737 | } |
9738 | 9738 | ||
9739 | .picker-open { | 9739 | .picker-open { |
9740 | display: -webkit-box; | 9740 | display: -webkit-box; |
9741 | display: -ms-flexbox; | 9741 | display: -ms-flexbox; |
9742 | display: flex; | 9742 | display: flex; |
9743 | } | 9743 | } |
9744 | 9744 | ||
9745 | nav .drop-down { | 9745 | nav .drop-down { |
9746 | list-style: none; | 9746 | list-style: none; |
9747 | overflow: hidden; /* When ul height is reduced, ensure overflowing li are not shown */ | 9747 | overflow: hidden; /* When ul height is reduced, ensure overflowing li are not shown */ |
9748 | height: 200px; /* 172px = (38 (li) + 5 (li border)) * 4 (number of li) */ | 9748 | height: 200px; /* 172px = (38 (li) + 5 (li border)) * 4 (number of li) */ |
9749 | margin: 0 auto; | 9749 | margin: 0 auto; |
9750 | padding: 0; | 9750 | padding: 0; |
9751 | -webkit-transition: height 0.3s ease; | 9751 | -webkit-transition: height 0.3s ease; |
9752 | transition: height 0.3s ease; | 9752 | transition: height 0.3s ease; |
9753 | } | 9753 | } |
9754 | 9754 | ||
9755 | nav .drop-down.closed { | 9755 | nav .drop-down.closed { |
9756 | /* When toggled via jQuery this class will reduce the height of the ul which inconjuction | 9756 | /* When toggled via jQuery this class will reduce the height of the ul which inconjuction |
9757 | with overflow: hidden set on the ul will hide all list items apart from the first */ | 9757 | with overflow: hidden set on the ul will hide all list items apart from the first */ |
9758 | /* current li height 38px + 5px border */ | 9758 | /* current li height 38px + 5px border */ |
9759 | height: 43px; | 9759 | height: 43px; |
9760 | } | 9760 | } |
9761 | 9761 | ||
9762 | .select2-selection__choice[title*="Все должности"] .select2-selection__choice__remove { | 9762 | .select2-selection__choice[title*="Все должности"] .select2-selection__choice__remove { |
9763 | display: none !important; | 9763 | display: none !important; |
9764 | } | 9764 | } |
9765 | 9765 | ||
9766 | .cabinet__inputs-item:has(.input-picker:disabled) { | 9766 | .cabinet__inputs-item:has(.input-picker:disabled) { |
9767 | display: none; | 9767 | display: none; |
9768 | } | 9768 | } |
9769 | |||
9770 | .select select {display: none;} | ||
9769 | 9771 |
resources/views/employers/vacancy_autolift.blade.php
1 | @extends('layout.frontend', ['title' => 'Автоподнятие вакансий']) | 1 | @extends('layout.frontend', ['title' => 'Автоподнятие вакансий']) |
2 | @section('scripts') | 2 | @section('scripts') |
3 | <script> | 3 | <script> |
4 | $(document).on('click', '#submit', function () { | 4 | $(document).on('click', '#submit', function () { |
5 | let data = {}; | 5 | let data = {}; |
6 | data.is_enabled = $('[name="is_enabled"]').checked; | 6 | data.is_enabled = $('[name="is_enabled"]').val(); |
7 | data.times_per_day = $('[name="times_per_day"]').chosen().val(); | 7 | data.times_per_day = $('[name="times_per_day"]').chosen().val(); |
8 | data.days_repeat = $('[name="days_repeat"]').chosen().val(); | 8 | data.days_repeat = $('[name="days_repeat"]').chosen().val(); |
9 | data.time_send_first = $('[name="time_send_first"]').val(); | 9 | data.time_send_first = $('[name="time_send_first"]').val(); |
10 | data.time_send_second = $('[name="time_send_second"]').val(); | 10 | data.time_send_second = $('[name="time_send_second"]').val(); |
11 | data.time_send_third = $('[name="time_send_third"]').val(); | 11 | data.time_send_third = $('[name="time_send_third"]').val(); |
12 | data.time_send_tg = $('[name="time_send_tg"]').val(); | 12 | data.time_send_tg = $('[name="time_send_tg"]').val(); |
13 | 13 | ||
14 | data.vacancies = []; | 14 | data.vacancies = []; |
15 | 15 | ||
16 | document.getElementsByName('vacancy_table_row').forEach(function(field) { | 16 | document.getElementsByName('vacancy_table_row').forEach(function(field) { |
17 | data.vacancies.push({ | 17 | data.vacancies.push({ |
18 | 'id': field.dataset.id, | 18 | 'id': field.dataset.id, |
19 | 'autolift_site': field.querySelector('input[name="autolift_site"]').checked, | 19 | 'autolift_site': field.querySelector('input[name="autolift_site"]').checked, |
20 | 'autosend_tg': field.querySelector('input[name="autosend_tg"]').checked | 20 | 'autosend_tg': field.querySelector('input[name="autosend_tg"]').checked |
21 | }) | 21 | }) |
22 | }); | 22 | }); |
23 | 23 | ||
24 | $.ajax({ | 24 | $.ajax({ |
25 | url: '{{ route('employer.autolift_save') }}', | 25 | url: '{{ route('employer.autolift_save') }}', |
26 | type: 'POST', | 26 | type: 'POST', |
27 | data: data, | 27 | data: data, |
28 | headers: { | 28 | headers: { |
29 | 'X-CSRF-TOKEN': '{{ csrf_token() }}' | 29 | 'X-CSRF-TOKEN': '{{ csrf_token() }}' |
30 | }, | 30 | }, |
31 | success: function (result) { | 31 | success: function (result) { |
32 | location.reload(); | 32 | location.reload(); |
33 | }, | 33 | }, |
34 | error: function (result) { | 34 | error: function (result) { |
35 | //todo пульнуть какуюнить модалку | 35 | //todo пульнуть какуюнить модалку |
36 | }, | 36 | }, |
37 | }); | 37 | }); |
38 | }) | 38 | }) |
39 | </script> | 39 | </script> |
40 | @endsection | 40 | @endsection |
41 | @section('content') | 41 | @section('content') |
42 | <section class="cabinet"> | 42 | <section class="cabinet"> |
43 | <div class="container"> | 43 | <div class="container"> |
44 | <ul class="breadcrumbs cabinet__breadcrumbs"> | 44 | <ul class="breadcrumbs cabinet__breadcrumbs"> |
45 | <li><a href="{{ route('index') }}">Главная</a></li> | 45 | <li><a href="{{ route('index') }}">Главная</a></li> |
46 | <li><b>Личный кабинет</b></li> | 46 | <li><b>Личный кабинет</b></li> |
47 | </ul> | 47 | </ul> |
48 | <div class="cabinet__wrapper"> | 48 | <div class="cabinet__wrapper"> |
49 | <div class="cabinet__side"> | 49 | <div class="cabinet__side"> |
50 | <div class="cabinet__side-toper"> | 50 | <div class="cabinet__side-toper"> |
51 | @include('employers.emblema') | 51 | @include('employers.emblema') |
52 | </div> | 52 | </div> |
53 | @include('employers.menu', ['item' => 15]) | 53 | @include('employers.menu', ['item' => 15]) |
54 | </div> | 54 | </div> |
55 | <form class="cabinet__body"> | 55 | <form class="cabinet__body"> |
56 | @csrf | 56 | @csrf |
57 | <div class="cabinet__body-item"> | 57 | <div class="cabinet__body-item"> |
58 | <h2 class="title cabinet__title">Автоподнятие вакансий</h2> | 58 | <h2 class="title cabinet__title">Автоподнятие вакансий</h2> |
59 | <div class="cabinet__inputs"> | 59 | <div class="cabinet__inputs"> |
60 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth"> | 60 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth"> |
61 | <?php | 61 | <?php |
62 | $createdAtClone = isset($options->created_at) ? clone($options->created_at) : now(); | 62 | $createdAtClone = isset($options->created_at) ? clone($options->created_at) : now(); |
63 | $diff = $createdAtClone->addDays($options->days_repeat)->diffInDays($options->created_at); | 63 | $diff = $createdAtClone->addDays($options->days_repeat)->diffInDays($options->created_at); |
64 | ?> | 64 | ?> |
65 | <label class="toggle"> | 65 | <label class="toggle"> |
66 | <input type="checkbox" @if($options->is_enabled) checked disabled @endif class="toggle__input js_autoraise_toggle"> | 66 | <input type="checkbox" @if($options->is_enabled) checked disabled @endif class="toggle__input js_autoraise_toggle"> |
67 | <span class="toggle__icon"></span> | 67 | <span class="toggle__icon"></span> |
68 | <span class="toggle__text">Деактивировано</span> | 68 | <span class="toggle__text">Деактивировано</span> |
69 | <span class="toggle__text">Активировано</span> | 69 | <span class="toggle__text">Активировано</span> |
70 | </label> | 70 | </label> |
71 | <p class="mod js_autoraise_prompt @if($options->is_enabled === 1) hidden @endif">Срок действия автоподнятия вакансии истек. Желаете его возобновить?</p> | 71 | <p class="mod js_autoraise_prompt @if($options->is_enabled === 1) hidden @endif">Срок действия автоподнятия вакансии истек. Желаете его возобновить?</p> |
72 | <p class="mod js_autoraise_prompt @if($options->is_enabled === 0) hidden @endif">Автоподнятие вакансии продолжит действовать в течение следующих дней: <span>{{$diff}}</span></p> | 72 | <p class="mod js_autoraise_prompt @if($options->is_enabled === 0) hidden @endif">Автоподнятие вакансии продолжит действовать в течение следующих дней: <span>{{$diff}}</span></p> |
73 | </div> | 73 | </div> |
74 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 74 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
75 | <label class="form-group__label">Сколько раз в день необходимо обновлять | 75 | <label class="form-group__label">Сколько раз в день необходимо обновлять |
76 | вакансии?</label> | 76 | вакансии?</label> |
77 | <div class="form-group__item"> | 77 | <div class="form-group__item"> |
78 | <div class="select"> | 78 | <div class="select"> |
79 | <select name="times_per_day" class="js-select2 js_autoraise_select"> | 79 | <select name="times_per_day" class="js-select2 js_autoraise_select"> |
80 | <option @if($options['times_per_day'] === null) selected @endif disabled>Выберите вариант из списка</option> | 80 | <option @if($options['times_per_day'] === null) selected @endif disabled>Выберите вариант из списка</option> |
81 | <option @if($options['times_per_day'] === 1) selected @endif value="1">1 раз</option> | 81 | <option @if($options['times_per_day'] === 1) selected @endif value="1">1 раз</option> |
82 | <option @if($options['times_per_day'] === 2) selected @endif value="2">2 раза</option> | 82 | <option @if($options['times_per_day'] === 2) selected @endif value="2">2 раза</option> |
83 | <option @if($options['times_per_day'] === 3) selected @endif value="3">3 раза</option> | 83 | <option @if($options['times_per_day'] === 3) selected @endif value="3">3 раза</option> |
84 | </select> | 84 | </select> |
85 | </div> | 85 | </div> |
86 | </div> | 86 | </div> |
87 | </div> | 87 | </div> |
88 | <label class="cabinet__inputs-item form-group"> | 88 | <label class="cabinet__inputs-item form-group"> |
89 | <div class="form-group__label">Выберите первое время обновления (по | 89 | <div class="form-group__label">Выберите первое время обновления (по |
90 | МСК)</div> | 90 | МСК)</div> |
91 | <div class="form-group__item"> | 91 | <div class="form-group__item"> |
92 | <span class="form-group__item-icon"> | 92 | <span class="form-group__item-icon"> |
93 | <svg> | 93 | <svg> |
94 | <use xlink:href="images/sprite.svg#date"></use> | 94 | <use xlink:href="images/sprite.svg#date"></use> |
95 | </svg> | 95 | </svg> |
96 | </span> | 96 | </span> |
97 | <input | 97 | <input |
98 | name="time_send_first" | 98 | name="time_send_first" |
99 | type="text" | 99 | type="text" |
100 | class="input js-picker input-picker" | 100 | class="input js-picker input-picker" |
101 | placeholder="Время" | 101 | placeholder="Время" |
102 | value="{{ $options['time_send_first'] }}" | 102 | value="{{ $options['time_send_first'] }}" |
103 | > | 103 | > |
104 | </div> | 104 | </div> |
105 | </label> | 105 | </label> |
106 | <label class="cabinet__inputs-item form-group"> | 106 | <label class="cabinet__inputs-item form-group"> |
107 | <div class="form-group__label">Выберите второе время обновления (по | 107 | <div class="form-group__label">Выберите второе время обновления (по |
108 | МСК)</div> | 108 | МСК)</div> |
109 | <div class="form-group__item"> | 109 | <div class="form-group__item"> |
110 | <span class="form-group__item-icon"> | 110 | <span class="form-group__item-icon"> |
111 | <svg> | 111 | <svg> |
112 | <use xlink:href="images/sprite.svg#date"></use> | 112 | <use xlink:href="images/sprite.svg#date"></use> |
113 | </svg> | 113 | </svg> |
114 | </span> | 114 | </span> |
115 | <input | 115 | <input |
116 | name="time_send_second" | 116 | name="time_send_second" |
117 | type="text" | 117 | type="text" |
118 | class="input js-picker input-picker" | 118 | class="input js-picker input-picker" |
119 | placeholder="Время" | 119 | placeholder="Время" |
120 | value="{{ $options['time_send_second'] }}" | 120 | value="{{ $options['time_send_second'] }}" |
121 | @if($options['times_per_day'] < 2) disabled @endif | 121 | @if($options['times_per_day'] < 2) disabled @endif |
122 | > | 122 | > |
123 | </div> | 123 | </div> |
124 | </label> | 124 | </label> |
125 | <label class="cabinet__inputs-item form-group"> | 125 | <label class="cabinet__inputs-item form-group"> |
126 | <div class="form-group__label">Выберите третье время обновления (по МСК)</div> | 126 | <div class="form-group__label">Выберите третье время обновления (по МСК)</div> |
127 | <div class="form-group__item"> | 127 | <div class="form-group__item"> |
128 | <span class="form-group__item-icon"> | 128 | <span class="form-group__item-icon"> |
129 | <svg> | 129 | <svg> |
130 | <use xlink:href="images/sprite.svg#date"></use> | 130 | <use xlink:href="images/sprite.svg#date"></use> |
131 | </svg> | 131 | </svg> |
132 | </span> | 132 | </span> |
133 | <input | 133 | <input |
134 | name="time_send_third" | 134 | name="time_send_third" |
135 | type="text" | 135 | type="text" |
136 | class="input js-picker input-picker" | 136 | class="input js-picker input-picker" |
137 | placeholder="Время" | 137 | placeholder="Время" |
138 | value="{{ $options['time_send_third'] }}" | 138 | value="{{ $options['time_send_third'] }}" |
139 | @if($options['times_per_day'] < 3) disabled @endif | 139 | @if($options['times_per_day'] < 3) disabled @endif |
140 | > | 140 | > |
141 | </div> | 141 | </div> |
142 | </label> | 142 | </label> |
143 | <label class="cabinet__inputs-item form-group"> | 143 | <label class="cabinet__inputs-item form-group"> |
144 | <div class="form-group__label">Выберите время отправки в телеграм (по МСК)</div> | 144 | <div class="form-group__label">Выберите время отправки в телеграм (по МСК)</div> |
145 | <div class="form-group__item"> | 145 | <div class="form-group__item"> |
146 | <span class="form-group__item-icon"> | 146 | <span class="form-group__item-icon"> |
147 | <svg> | 147 | <svg> |
148 | <use xlink:href="images/sprite.svg#date"></use> | 148 | <use xlink:href="images/sprite.svg#date"></use> |
149 | </svg> | 149 | </svg> |
150 | </span> | 150 | </span> |
151 | <input | 151 | <input |
152 | name="time_send_tg" | 152 | name="time_send_tg" |
153 | type="text" | 153 | type="text" |
154 | class="input js-picker" | 154 | class="input js-picker" |
155 | placeholder="Время" | 155 | placeholder="Время" |
156 | value="{{ $options['time_send_tg'] }}" | 156 | value="{{ $options['time_send_tg'] }}" |
157 | > | 157 | > |
158 | </div> | 158 | </div> |
159 | </label> | 159 | </label> |
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 | <div class="select"> | 163 | <div class="select"> |
164 | <select name="days_repeat" class="js-select2"> | 164 | <select name="days_repeat" class="js-select2"> |
165 | <option @if($options['days_repeat'] === null) selected @endif disabled>Выполнять это действие на протяжении</option> | 165 | <option @if($options['days_repeat'] === null) selected @endif disabled>Выполнять это действие на протяжении</option> |
166 | <option @if($options['days_repeat'] === 1) selected @endif value="1">1 день</option> | 166 | <option @if($options['days_repeat'] === 1) selected @endif value="1">1 день</option> |
167 | <option @if($options['days_repeat'] === 3) selected @endif value="3">3 дня</option> | 167 | <option @if($options['days_repeat'] === 3) selected @endif value="3">3 дня</option> |
168 | <option @if($options['days_repeat'] === 5) selected @endif value="5">5 дней</option> | 168 | <option @if($options['days_repeat'] === 5) selected @endif value="5">5 дней</option> |
169 | <option @if($options['days_repeat'] === 7) selected @endif value="7">7 дней</option> | 169 | <option @if($options['days_repeat'] === 7) selected @endif value="7">7 дней</option> |
170 | <option @if($options['days_repeat'] === 10) selected @endif value="10">10 дней</option> | 170 | <option @if($options['days_repeat'] === 10) selected @endif value="10">10 дней</option> |
171 | <option @if($options['days_repeat'] === 15) selected @endif value="15">15 дней</option> | 171 | <option @if($options['days_repeat'] === 15) selected @endif value="15">15 дней</option> |
172 | <option @if($options['days_repeat'] === 30) selected @endif value="30">30 дней</option> | 172 | <option @if($options['days_repeat'] === 30) selected @endif value="30">30 дней</option> |
173 | </select> | 173 | </select> |
174 | </div> | 174 | </div> |
175 | </div> | 175 | </div> |
176 | </div> | 176 | </div> |
177 | </div> | 177 | </div> |
178 | <div class="table table_spoiler"> | 178 | <div class="table table_spoiler"> |
179 | <button type="button" | 179 | <button type="button" |
180 | class="table__button js-toggle js-parent-toggle button button_light button_more"> | 180 | class="table__button js-toggle js-parent-toggle button button_light button_more"> |
181 | <span>Показать ещё</span> | 181 | <span>Показать ещё</span> |
182 | <span>Свернуть</span> | 182 | <span>Свернуть</span> |
183 | </button> | 183 | </button> |
184 | <div class="table__scroll"> | 184 | <div class="table__scroll"> |
185 | <div class="table__body table__body_min-width"> | 185 | <div class="table__body table__body_min-width"> |
186 | <table> | 186 | <table> |
187 | <thead> | 187 | <thead> |
188 | <tr> | 188 | <tr> |
189 | <th>Название</th> | 189 | <th>Название</th> |
190 | <th>Обновлять на сайте</th> | 190 | <th>Обновлять на сайте</th> |
191 | <th>Отправлять в ТГ</th> | 191 | <th>Отправлять в ТГ</th> |
192 | </tr> | 192 | </tr> |
193 | </thead> | 193 | </thead> |
194 | <tbody> | 194 | <tbody> |
195 | @foreach($vacancies as $vacancy) | 195 | @foreach($vacancies as $vacancy) |
196 | <tr name="vacancy_table_row" data-id="{{ $vacancy->id }}"> | 196 | <tr name="vacancy_table_row" data-id="{{ $vacancy->id }}"> |
197 | <td>{{ $vacancy->name }}</td> | 197 | <td>{{ $vacancy->name }}</td> |
198 | <td > | 198 | <td > |
199 | <span class="checkbox-empty"> | 199 | <span class="checkbox-empty"> |
200 | <label class="checkbox"> | 200 | <label class="checkbox"> |
201 | <input | 201 | <input |
202 | type="checkbox" | 202 | type="checkbox" |
203 | class="checkbox__input" | 203 | class="checkbox__input" |
204 | @if($vacancy->autolift_site) checked @endif | 204 | @if($vacancy->autolift_site) checked @endif |
205 | name="autolift_site" | 205 | name="autolift_site" |
206 | > | 206 | > |
207 | <span class="checkbox__icon"> | 207 | <span class="checkbox__icon"> |
208 | <svg> | 208 | <svg> |
209 | <use xlink:href="{{ asset('images/sprite.svg#v') }}"></use> | 209 | <use xlink:href="{{ asset('images/sprite.svg#v') }}"></use> |
210 | </svg> | 210 | </svg> |
211 | </span> | 211 | </span> |
212 | </label> | 212 | </label> |
213 | </span> | 213 | </span> |
214 | </td> | 214 | </td> |
215 | <td> | 215 | <td> |
216 | <span class="checkbox-empty"> | 216 | <span class="checkbox-empty"> |
217 | <label class="checkbox"> | 217 | <label class="checkbox"> |
218 | <input | 218 | <input |
219 | type="checkbox" | 219 | type="checkbox" |
220 | class="checkbox__input" | 220 | class="checkbox__input" |
221 | @if($vacancy->autosend_tg) checked @endif | 221 | @if($vacancy->autosend_tg) checked @endif |
222 | name="autosend_tg" | 222 | name="autosend_tg" |
223 | > | 223 | > |
224 | <span class="checkbox__icon"> | 224 | <span class="checkbox__icon"> |
225 | <svg> | 225 | <svg> |
226 | <use xlink:href="{{ asset('images/sprite.svg#v') }}"></use> | 226 | <use xlink:href="{{ asset('images/sprite.svg#v') }}"></use> |
227 | </svg> | 227 | </svg> |
228 | </span> | 228 | </span> |
229 | </label> | 229 | </label> |
230 | </span> | 230 | </span> |
231 | </td> | 231 | </td> |
232 | </tr> | 232 | </tr> |
233 | @endforeach | 233 | @endforeach |
234 | </tbody> | 234 | </tbody> |
235 | </table> | 235 | </table> |
236 | </div> | 236 | </div> |
237 | </div> | 237 | </div> |
238 | <div class="mrg-wrapper" style="display: flex; justify-content: center; clear: both;"> | 238 | <div class="mrg-wrapper" style="display: flex; justify-content: center; clear: both;"> |
239 | <ins class="mrg-tag" data-ad-client="ad-595528" data-ad-slot="595528" style="display: flex; align-items: center; justify-content: center; width: 300px; z-index: 1;"> | 239 | <ins class="mrg-tag" data-ad-client="ad-595528" data-ad-slot="595528" style="display: flex; align-items: center; justify-content: center; width: 300px; z-index: 1;"> |
240 | 240 | ||
241 | </ins> | 241 | </ins> |
242 | </div> | 242 | </div> |
243 | </div> | 243 | </div> |
244 | <div class="cabinet__inputs"> | 244 | <div class="cabinet__inputs"> |
245 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth"> | 245 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth"> |
246 | <button id="submit" type="button" class="button">Сохранить</button> | 246 | <button id="submit" type="button" class="button">Сохранить</button> |
247 | </div> | 247 | </div> |
248 | </div> | 248 | </div> |
249 | </div> | 249 | </div> |
250 | </form> | 250 | </form> |
251 | </div> | 251 | </div> |
252 | </div> | 252 | </div> |
253 | </section> | 253 | </section> |
254 | </div> | 254 | </div> |
255 | @endsection | 255 | @endsection |
256 | 256 |
resources/views/workers/resume_autolift.blade.php
1 | @extends('layout.frontend', ['title' => 'Автоподнятие вакансий']) | 1 | @extends('layout.frontend', ['title' => 'Автоподнятие вакансий']) |
2 | @section('scripts') | 2 | @section('scripts') |
3 | <script> | 3 | <script> |
4 | $(document).on('click', '#submit', function () { | 4 | $(document).on('click', '#submit', function () { |
5 | let data = {}; | 5 | let data = {}; |
6 | console.log($('[name="is_enabled"]').val()); | ||
7 | data.is_enabled = $('[name="is_enabled"]').val(); | 6 | data.is_enabled = $('[name="is_enabled"]').val(); |
8 | data.times_per_day = $('[name="times_per_day"]').chosen().val(); | 7 | data.times_per_day = $('[name="times_per_day"]').chosen().val(); |
9 | data.days_repeat = $('[name="days_repeat"]').chosen().val(); | 8 | data.days_repeat = $('[name="days_repeat"]').chosen().val(); |
10 | data.time_send_first = $('[name="time_send_first"]').val(); | 9 | data.time_send_first = $('[name="time_send_first"]').val(); |
11 | data.time_send_second = $('[name="time_send_second"]').val(); | 10 | data.time_send_second = $('[name="time_send_second"]').val(); |
12 | data.time_send_third = $('[name="time_send_third"]').val(); | 11 | data.time_send_third = $('[name="time_send_third"]').val(); |
13 | data.autolift_site = $('[name="autolift_site"]').val(); | 12 | data.autolift_site = $('[name="autolift_site"]').val(); |
14 | 13 | ||
15 | $.ajax({ | 14 | $.ajax({ |
16 | url: '{{ route('worker.autolift_save') }}', | 15 | url: '{{ route('worker.autolift_save') }}', |
17 | type: 'POST', | 16 | type: 'POST', |
18 | data: data, | 17 | data: data, |
19 | headers: { | 18 | headers: { |
20 | 'X-CSRF-TOKEN': '{{ csrf_token() }}' | 19 | 'X-CSRF-TOKEN': '{{ csrf_token() }}' |
21 | }, | 20 | }, |
22 | success: function (result) { | 21 | success: function (result) { |
23 | location.reload(); | 22 | location.reload(); |
24 | }, | 23 | }, |
25 | error: function (result) { | 24 | error: function (result) { |
26 | //todo пульнуть какуюнить модалку | 25 | //todo пульнуть какуюнить модалку |
27 | }, | 26 | }, |
28 | }); | 27 | }); |
29 | }) | 28 | }) |
30 | </script> | 29 | </script> |
31 | @endsection | 30 | @endsection |
32 | @section('content') | 31 | @section('content') |
33 | <section class="cabinet"> | 32 | <section class="cabinet"> |
34 | <div class="container"> | 33 | <div class="container"> |
35 | <ul class="breadcrumbs cabinet__breadcrumbs"> | 34 | <ul class="breadcrumbs cabinet__breadcrumbs"> |
36 | <li><a href="{{ route('index') }}">Главная</a></li> | 35 | <li><a href="{{ route('index') }}">Главная</a></li> |
37 | <li><b>Личный кабинет</b></li> | 36 | <li><b>Личный кабинет</b></li> |
38 | </ul> | 37 | </ul> |
39 | <div class="cabinet__wrapper"> | 38 | <div class="cabinet__wrapper"> |
40 | <div class="cabinet__side"> | 39 | <div class="cabinet__side"> |
41 | <div class="cabinet__side-toper"> | 40 | <div class="cabinet__side-toper"> |
42 | @include('workers.emblema') | 41 | @include('workers.emblema') |
43 | </div> | 42 | </div> |
44 | @include('workers.menu', ['item' => 15]) | 43 | @include('workers.menu', ['item' => 15]) |
45 | </div> | 44 | </div> |
46 | <form class="cabinet__body"> | 45 | <form class="cabinet__body"> |
47 | @csrf | 46 | @csrf |
48 | <div class="cabinet__body-item"> | 47 | <div class="cabinet__body-item"> |
49 | <h2 class="title cabinet__title">Автоподнятие вакансий</h2> | 48 | <h2 class="title cabinet__title">Автоподнятие вакансий</h2> |
50 | <div class="cabinet__inputs"> | 49 | <div class="cabinet__inputs"> |
51 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth"> | 50 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth"> |
52 | <?php | 51 | <?php |
53 | $createdAtClone = isset($options->created_at) ? clone($options->created_at) : now(); | 52 | $createdAtClone = isset($options->created_at) ? clone($options->created_at) : now(); |
54 | $diff = $createdAtClone->addDays($options->days_repeat)->diffInDays($options->created_at); | 53 | $diff = $createdAtClone->addDays($options->days_repeat)->diffInDays($options->created_at); |
55 | ?> | 54 | ?> |
56 | <label class="toggle"> | 55 | <label class="toggle"> |
57 | <input name="is_enabled" type="checkbox" @if($options->is_enabled) checked disabled @endif class="toggle__input js_autoraise_toggle"> | 56 | <input name="is_enabled" type="checkbox" @if($options->is_enabled) checked disabled @endif class="toggle__input js_autoraise_toggle"> |
58 | <span class="toggle__icon"></span> | 57 | <span class="toggle__icon"></span> |
59 | <span class="toggle__text">Деактивировано</span> | 58 | <span class="toggle__text">Деактивировано</span> |
60 | <span class="toggle__text">Активировано</span> | 59 | <span class="toggle__text">Активировано</span> |
61 | </label> | 60 | </label> |
62 | <p class="mod js_autoraise_prompt @if($options->is_enabled === 1) hidden @endif">Срок действия автоподнятия резюме истек. Желаете его возобновить?</p> | 61 | <p class="mod js_autoraise_prompt @if($options->is_enabled === 1) hidden @endif">Срок действия автоподнятия резюме истек. Желаете его возобновить?</p> |
63 | <p class="mod js_autoraise_prompt @if($options->is_enabled === 0) hidden @endif">Автоподнятие резюме продолжит действовать в течение следующих дней: <span>{{$diff}}</span></p> | 62 | <p class="mod js_autoraise_prompt @if($options->is_enabled === 0) hidden @endif">Автоподнятие резюме продолжит действовать в течение следующих дней: <span>{{$diff}}</span></p> |
64 | </div> | 63 | </div> |
65 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> | 64 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group"> |
66 | <label class="form-group__label">Сколько раз в день необходимо обновлять | 65 | <label class="form-group__label">Сколько раз в день необходимо обновлять |
67 | вакансии?</label> | 66 | вакансии?</label> |
68 | <div class="form-group__item"> | 67 | <div class="form-group__item"> |
69 | <div class="select"> | 68 | <div class="select"> |
70 | <select name="times_per_day" class="js-select2 js_autoraise_select"> | 69 | <select name="times_per_day" class="js-select2 js_autoraise_select"> |
71 | <option @if($options['times_per_day'] === null) selected @endif disabled>Выберите вариант из списка</option> | 70 | <option @if($options['times_per_day'] === null) selected @endif disabled>Выберите вариант из списка</option> |
72 | <option @if($options['times_per_day'] === 1) selected @endif value="1">1 раз</option> | 71 | <option @if($options['times_per_day'] === 1) selected @endif value="1">1 раз</option> |
73 | <option @if($options['times_per_day'] === 2) selected @endif value="2">2 раза</option> | 72 | <option @if($options['times_per_day'] === 2) selected @endif value="2">2 раза</option> |
74 | <option @if($options['times_per_day'] === 3) selected @endif value="3">3 раза</option> | 73 | <option @if($options['times_per_day'] === 3) selected @endif value="3">3 раза</option> |
75 | </select> | 74 | </select> |
76 | </div> | 75 | </div> |
77 | </div> | 76 | </div> |
78 | </div> | 77 | </div> |
79 | <label class="cabinet__inputs-item form-group"> | 78 | <label class="cabinet__inputs-item form-group"> |
80 | <div class="form-group__label">Выберите первое время обновления (по | 79 | <div class="form-group__label">Выберите первое время обновления (по |
81 | МСК)</div> | 80 | МСК)</div> |
82 | <div class="form-group__item"> | 81 | <div class="form-group__item"> |
83 | <span class="form-group__item-icon"> | 82 | <span class="form-group__item-icon"> |
84 | <svg> | 83 | <svg> |
85 | <use xlink:href="images/sprite.svg#date"></use> | 84 | <use xlink:href="images/sprite.svg#date"></use> |
86 | </svg> | 85 | </svg> |
87 | </span> | 86 | </span> |
88 | <input | 87 | <input |
89 | name="time_send_first" | 88 | name="time_send_first" |
90 | type="text" | 89 | type="text" |
91 | class="input js-picker input-picker" | 90 | class="input js-picker input-picker" |
92 | placeholder="Время" | 91 | placeholder="Время" |
93 | value="{{ $options['time_send_first'] }}" | 92 | value="{{ $options['time_send_first'] }}" |
94 | > | 93 | > |
95 | </div> | 94 | </div> |
96 | </label> | 95 | </label> |
97 | <label class="cabinet__inputs-item form-group"> | 96 | <label class="cabinet__inputs-item form-group"> |
98 | <div class="form-group__label">Выберите второе время обновления (по | 97 | <div class="form-group__label">Выберите второе время обновления (по |
99 | МСК)</div> | 98 | МСК)</div> |
100 | <div class="form-group__item"> | 99 | <div class="form-group__item"> |
101 | <span class="form-group__item-icon"> | 100 | <span class="form-group__item-icon"> |
102 | <svg> | 101 | <svg> |
103 | <use xlink:href="images/sprite.svg#date"></use> | 102 | <use xlink:href="images/sprite.svg#date"></use> |
104 | </svg> | 103 | </svg> |
105 | </span> | 104 | </span> |
106 | <input | 105 | <input |
107 | name="time_send_second" | 106 | name="time_send_second" |
108 | type="text" | 107 | type="text" |
109 | class="input js-picker input-picker" | 108 | class="input js-picker input-picker" |
110 | placeholder="Время" | 109 | placeholder="Время" |
111 | value="{{ $options['time_send_second'] }}" | 110 | value="{{ $options['time_send_second'] }}" |
112 | @if($options['times_per_day'] < 2) disabled @endif | 111 | @if($options['times_per_day'] < 2) disabled @endif |
113 | > | 112 | > |
114 | </div> | 113 | </div> |
115 | </label> | 114 | </label> |
116 | <label class="cabinet__inputs-item form-group"> | 115 | <label class="cabinet__inputs-item form-group"> |
117 | <div class="form-group__label">Выберите третье время обновления (по МСК)</div> | 116 | <div class="form-group__label">Выберите третье время обновления (по МСК)</div> |
118 | <div class="form-group__item"> | 117 | <div class="form-group__item"> |
119 | <span class="form-group__item-icon"> | 118 | <span class="form-group__item-icon"> |
120 | <svg> | 119 | <svg> |
121 | <use xlink:href="images/sprite.svg#date"></use> | 120 | <use xlink:href="images/sprite.svg#date"></use> |
122 | </svg> | 121 | </svg> |
123 | </span> | 122 | </span> |
124 | <input | 123 | <input |
125 | name="time_send_third" | 124 | name="time_send_third" |
126 | type="text" | 125 | type="text" |
127 | class="input js-picker input-picker" | 126 | class="input js-picker input-picker" |
128 | placeholder="Время" | 127 | placeholder="Время" |
129 | value="{{ $options['time_send_third'] }}" | 128 | value="{{ $options['time_send_third'] }}" |
130 | @if($options['times_per_day'] < 3) disabled @endif | 129 | @if($options['times_per_day'] < 3) disabled @endif |
131 | > | 130 | > |
132 | </div> | 131 | </div> |
133 | </label> | 132 | </label> |
134 | <div class="cabinet__inputs-item form-group"> | 133 | <div class="cabinet__inputs-item form-group"> |
135 | <label class="form-group__label">Выполнять это действие на протяжении</label> | 134 | <label class="form-group__label">Выполнять это действие на протяжении</label> |
136 | <div class="form-group__item"> | 135 | <div class="form-group__item"> |
137 | <div class="select"> | 136 | <div class="select"> |
138 | <select name="days_repeat" class="js-select2"> | 137 | <select name="days_repeat" class="js-select2"> |
139 | <option @if($options['days_repeat'] === null) selected @endif disabled>Выполнять это действие на протяжении</option> | 138 | <option @if($options['days_repeat'] === null) selected @endif disabled>Выполнять это действие на протяжении</option> |
140 | <option @if($options['days_repeat'] === 1) selected @endif value="1">1 день</option> | 139 | <option @if($options['days_repeat'] === 1) selected @endif value="1">1 день</option> |
141 | <option @if($options['days_repeat'] === 3) selected @endif value="3">3 дня</option> | 140 | <option @if($options['days_repeat'] === 3) selected @endif value="3">3 дня</option> |
142 | <option @if($options['days_repeat'] === 5) selected @endif value="5">5 дней</option> | 141 | <option @if($options['days_repeat'] === 5) selected @endif value="5">5 дней</option> |
143 | <option @if($options['days_repeat'] === 7) selected @endif value="7">7 дней</option> | 142 | <option @if($options['days_repeat'] === 7) selected @endif value="7">7 дней</option> |
144 | <option @if($options['days_repeat'] === 10) selected @endif value="10">10 дней</option> | 143 | <option @if($options['days_repeat'] === 10) selected @endif value="10">10 дней</option> |
145 | <option @if($options['days_repeat'] === 15) selected @endif value="15">15 дней</option> | 144 | <option @if($options['days_repeat'] === 15) selected @endif value="15">15 дней</option> |
146 | <option @if($options['days_repeat'] === 30) selected @endif value="30">30 дней</option> | 145 | <option @if($options['days_repeat'] === 30) selected @endif value="30">30 дней</option> |
147 | </select> | 146 | </select> |
148 | </div> | 147 | </div> |
149 | </div> | 148 | </div> |
150 | </div> | 149 | </div> |
151 | </div> | 150 | </div> |
152 | <div class="table table_spoiler"> | 151 | <div class="table table_spoiler"> |
153 | <div class="table__scroll"> | 152 | <div class="table__scroll"> |
154 | <div class="table__body table__body_min-width"> | 153 | <div class="table__body table__body_min-width"> |
155 | <table> | 154 | <table> |
156 | <thead> | 155 | <thead> |
157 | <tr> | 156 | <tr> |
158 | <th>Название</th> | 157 | <th>Название</th> |
159 | <th>Обновлять на сайте</th> | 158 | <th>Обновлять на сайте</th> |
160 | </tr> | 159 | </tr> |
161 | </thead> | 160 | </thead> |
162 | <tbody> | 161 | <tbody> |
163 | <tr name="resume_table_row" data-id="{{ $worker->id }}"> | 162 | <tr name="resume_table_row" data-id="{{ $worker->id }}"> |
164 | <td>Резюме</td> | 163 | <td>Резюме</td> |
165 | <td > | 164 | <td > |
166 | <span class="checkbox-empty"> | 165 | <span class="checkbox-empty"> |
167 | <label class="checkbox"> | 166 | <label class="checkbox"> |
168 | <input | 167 | <input |
169 | type="checkbox" | 168 | type="checkbox" |
170 | class="checkbox__input" | 169 | class="checkbox__input" |
171 | @if($options->autolift_site) checked @endif | 170 | @if($options->autolift_site) checked @endif |
172 | name="autolift_site" | 171 | name="autolift_site" |
173 | > | 172 | > |
174 | <span class="checkbox__icon"> | 173 | <span class="checkbox__icon"> |
175 | <svg> | 174 | <svg> |
176 | <use xlink:href="{{ asset('images/sprite.svg#v') }}"></use> | 175 | <use xlink:href="{{ asset('images/sprite.svg#v') }}"></use> |
177 | </svg> | 176 | </svg> |
178 | </span> | 177 | </span> |
179 | </label> | 178 | </label> |
180 | </span> | 179 | </span> |
181 | </td> | 180 | </td> |
182 | </tr> | 181 | </tr> |
183 | </tbody> | 182 | </tbody> |
184 | </table> | 183 | </table> |
185 | </div> | 184 | </div> |
186 | </div> | 185 | </div> |
187 | <div class="mrg-wrapper" style="display: flex; justify-content: center; clear: both;"> | 186 | <div class="mrg-wrapper" style="display: flex; justify-content: center; clear: both;"> |
188 | <ins class="mrg-tag" data-ad-client="ad-595528" data-ad-slot="595528" style="display: flex; align-items: center; justify-content: center; width: 300px; z-index: 1;"> | 187 | <ins class="mrg-tag" data-ad-client="ad-595528" data-ad-slot="595528" style="display: flex; align-items: center; justify-content: center; width: 300px; z-index: 1;"> |
189 | 188 | ||
190 | </ins> | 189 | </ins> |
191 | </div> | 190 | </div> |
192 | </div> | 191 | </div> |
193 | <div class="cabinet__inputs"> | 192 | <div class="cabinet__inputs"> |
194 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth"> | 193 | <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth"> |
195 | <button id="submit" type="button" class="button">Сохранить</button> | 194 | <button id="submit" type="button" class="button">Сохранить</button> |
196 | </div> | 195 | </div> |
197 | </div> | 196 | </div> |
198 | </div> | 197 | </div> |
199 | </form> | 198 | </form> |
200 | </div> | 199 | </div> |
201 | </div> | 200 | </div> |
202 | </section> | 201 | </section> |
203 | </div> | 202 | </div> |
204 | @endsection | 203 | @endsection |
205 | 204 |