Commit ce68184813c0221a9515f6cfbd91a126ceb2d40c

Authored by Administrator
1 parent 9c259891

firs page

.htaccess 0 → 100644
  1 +<IfModule mod_rewrite.c>
  2 +
  3 + Options +FollowSymlinks
  4 +
  5 + RewriteEngine On
  6 +
  7 +</IfModule>
  8 +
  9 +<IfModule mod_rewrite.c>
  10 +
  11 + RewriteBase /
  12 + # deal with admin first
  13 + RewriteRule ^storage/(.*)?$ /storage/$1 [L,PT]
  14 +
  15 + RewriteCond %{REQUEST_URI} ^/(admin)
  16 +
  17 +
  18 +
  19 + RewriteRule ^admin/assets/(.*)$ backend/web/assets/$1 [L]
  20 +
  21 + RewriteRule ^admin/css/(.*)$ backend/web/css/$1 [L]
  22 +
  23 + RewriteRule ^admin/js/(.*)$ backend/web/js/$1 [L]
  24 +
  25 + RewriteRule ^admin/images/(.*)$ backend/web/images/$1 [L]
  26 +
  27 + RewriteRule ^admin/fonts/(.*)$ backend/web/fonts/$1 [L]
  28 +
  29 +
  30 +
  31 +
  32 +
  33 + RewriteCond %{REQUEST_URI} !^/backend/web/(assets|css|js|images|fonts)/
  34 +
  35 + RewriteCond %{REQUEST_URI} ^/(admin)
  36 +
  37 + RewriteRule ^.*$ backend/web/index.php [L]
  38 +
  39 +
  40 +
  41 + RewriteCond %{REQUEST_URI} ^/(assets|css)
  42 +
  43 + RewriteRule ^assets/(.*)$ frontend/web/assets/$1 [L]
  44 +
  45 + RewriteRule ^css/(.*)$ frontend/web/css/$1 [L]
  46 +
  47 + RewriteRule ^js/(.*)$ frontend/web/js/$1 [L]
  48 +
  49 + RewriteRule ^images/(.*)$ frontend/web/images/$1 [L]
  50 +
  51 + RewriteRule ^fonts/(.*)$ frontend/web/fonts/$1 [L]
  52 +
  53 +
  54 + RewriteCond %{REQUEST_URI} !^/(frontend|backend)/web/(assets|css|js|images|fonts)/
  55 +
  56 + RewriteCond %{REQUEST_URI} !index.php
  57 +
  58 + RewriteCond %{REQUEST_FILENAME} !-f [OR]
  59 +
  60 + RewriteCond %{REQUEST_FILENAME} !-d
  61 +
  62 + RewriteRule ^.*$ frontend/web/index.php
  63 +
  64 +</IfModule>
  65 +
  66 +#для возможности загрузки файлов парсера
  67 +<IfModule mod_php5.c>
  68 + php_value upload_max_filesize 20M
  69 + php_value post_max_size 30M
  70 +</IfModule>
0 \ No newline at end of file 71 \ No newline at end of file
@@ -4,8 +4,8 @@ @@ -4,8 +4,8 @@
4 "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", 4 "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
5 "This file is @generated automatically" 5 "This file is @generated automatically"
6 ], 6 ],
7 - "hash": "0a46956b2ac16c603963c69e1b1f078c",  
8 - "content-hash": "1827ea8c78463126c172696034e7e2aa", 7 + "hash": "7f5c25d428fdc1b8171eeefb33740f46",
  8 + "content-hash": "269319a9b7db2499c82b3ac2409e9b8d",
9 "packages": [ 9 "packages": [
10 { 10 {
11 "name": "almasaeed2010/adminlte", 11 "name": "almasaeed2010/adminlte",
@@ -138,12 +138,12 @@ @@ -138,12 +138,12 @@
138 "version": "2.1.4", 138 "version": "2.1.4",
139 "source": { 139 "source": {
140 "type": "git", 140 "type": "git",
141 - "url": "https://github.com/jquery/jquery.git", 141 + "url": "https://github.com/jquery/jquery-dist.git",
142 "reference": "7751e69b615c6eca6f783a81e292a55725af6b85" 142 "reference": "7751e69b615c6eca6f783a81e292a55725af6b85"
143 }, 143 },
144 "dist": { 144 "dist": {
145 "type": "zip", 145 "type": "zip",
146 - "url": "https://api.github.com/repos/jquery/jquery/zipball/7751e69b615c6eca6f783a81e292a55725af6b85", 146 + "url": "https://api.github.com/repos/jquery/jquery-dist/zipball/7751e69b615c6eca6f783a81e292a55725af6b85",
147 "reference": "7751e69b615c6eca6f783a81e292a55725af6b85", 147 "reference": "7751e69b615c6eca6f783a81e292a55725af6b85",
148 "shasum": "" 148 "shasum": ""
149 }, 149 },
@@ -204,16 +204,16 @@ @@ -204,16 +204,16 @@
204 }, 204 },
205 { 205 {
206 "name": "bower-asset/jquery.inputmask", 206 "name": "bower-asset/jquery.inputmask",
207 - "version": "3.1.63", 207 + "version": "3.2.5",
208 "source": { 208 "source": {
209 "type": "git", 209 "type": "git",
210 "url": "https://github.com/RobinHerbots/jquery.inputmask.git", 210 "url": "https://github.com/RobinHerbots/jquery.inputmask.git",
211 - "reference": "c40c7287eadc31e341ebbf0c02352eb55b9cbc48" 211 + "reference": "d08264a678865849c808359d126e3bddb9ec87a6"
212 }, 212 },
213 "dist": { 213 "dist": {
214 "type": "zip", 214 "type": "zip",
215 - "url": "https://api.github.com/repos/RobinHerbots/jquery.inputmask/zipball/c40c7287eadc31e341ebbf0c02352eb55b9cbc48",  
216 - "reference": "c40c7287eadc31e341ebbf0c02352eb55b9cbc48", 215 + "url": "https://api.github.com/repos/RobinHerbots/jquery.inputmask/zipball/d08264a678865849c808359d126e3bddb9ec87a6",
  216 + "reference": "d08264a678865849c808359d126e3bddb9ec87a6",
217 "shasum": "" 217 "shasum": ""
218 }, 218 },
219 "require": { 219 "require": {
@@ -222,23 +222,17 @@ @@ -222,23 +222,17 @@
222 "type": "bower-asset-library", 222 "type": "bower-asset-library",
223 "extra": { 223 "extra": {
224 "bower-asset-main": [ 224 "bower-asset-main": [
225 - "./dist/inputmask/jquery.inputmask.js",  
226 - "./dist/inputmask/jquery.inputmask.extensions.js",  
227 - "./dist/inputmask/jquery.inputmask.date.extensions.js",  
228 - "./dist/inputmask/jquery.inputmask.numeric.extensions.js",  
229 - "./dist/inputmask/jquery.inputmask.phone.extensions.js",  
230 - "./dist/inputmask/jquery.inputmask.regex.extensions.js" 225 + "./dist/inputmask/inputmask.js"
231 ], 226 ],
232 "bower-asset-ignore": [ 227 "bower-asset-ignore": [
233 - "**/.*",  
234 - "qunit/",  
235 - "nuget/",  
236 - "tools/",  
237 - "js/",  
238 - "*.md",  
239 - "build.properties",  
240 - "build.xml",  
241 - "jquery.inputmask.jquery.json" 228 + "**/*",
  229 + "!dist/*",
  230 + "!dist/inputmask/*",
  231 + "!dist/min/*",
  232 + "!dist/min/inputmask/*",
  233 + "!extra/bindings/*",
  234 + "!extra/dependencyLibs/*",
  235 + "!extra/phone-codes/*"
242 ] 236 ]
243 }, 237 },
244 "license": [ 238 "license": [
@@ -284,16 +278,16 @@ @@ -284,16 +278,16 @@
284 }, 278 },
285 { 279 {
286 "name": "bower-asset/yii2-pjax", 280 "name": "bower-asset/yii2-pjax",
287 - "version": "v2.0.5", 281 + "version": "dev-master",
288 "source": { 282 "source": {
289 "type": "git", 283 "type": "git",
290 "url": "https://github.com/yiisoft/jquery-pjax.git", 284 "url": "https://github.com/yiisoft/jquery-pjax.git",
291 - "reference": "6818718408086db6bdcf33649cecb86b6b4f9b67" 285 + "reference": "3bceef03fa80ceee8da5854fa3249df1afc871cd"
292 }, 286 },
293 "dist": { 287 "dist": {
294 "type": "zip", 288 "type": "zip",
295 - "url": "https://api.github.com/repos/yiisoft/jquery-pjax/zipball/6818718408086db6bdcf33649cecb86b6b4f9b67",  
296 - "reference": "6818718408086db6bdcf33649cecb86b6b4f9b67", 289 + "url": "https://api.github.com/repos/yiisoft/jquery-pjax/zipball/3bceef03fa80ceee8da5854fa3249df1afc871cd",
  290 + "reference": "3bceef03fa80ceee8da5854fa3249df1afc871cd",
297 "shasum": "" 291 "shasum": ""
298 }, 292 },
299 "require": { 293 "require": {
@@ -306,27 +300,32 @@ @@ -306,27 +300,32 @@
306 ".travis.yml", 300 ".travis.yml",
307 "Gemfile", 301 "Gemfile",
308 "Gemfile.lock", 302 "Gemfile.lock",
  303 + "CONTRIBUTING.md",
309 "vendor/", 304 "vendor/",
310 "script/", 305 "script/",
311 "test/" 306 "test/"
312 - ] 307 + ],
  308 + "branch-alias": {
  309 + "dev-master": "2.0.3-dev"
  310 + }
313 }, 311 },
314 "license": [ 312 "license": [
315 "MIT" 313 "MIT"
316 - ] 314 + ],
  315 + "time": "2015-12-31 08:33:51"
317 }, 316 },
318 { 317 {
319 "name": "cebe/markdown", 318 "name": "cebe/markdown",
320 - "version": "1.1.0", 319 + "version": "dev-master",
321 "source": { 320 "source": {
322 "type": "git", 321 "type": "git",
323 "url": "https://github.com/cebe/markdown.git", 322 "url": "https://github.com/cebe/markdown.git",
324 - "reference": "54a2c49de31cc44e864ebf0500a35ef21d0010b2" 323 + "reference": "d7b6f46cd423174c8a86c7f816dea45008dbf454"
325 }, 324 },
326 "dist": { 325 "dist": {
327 "type": "zip", 326 "type": "zip",
328 - "url": "https://api.github.com/repos/cebe/markdown/zipball/54a2c49de31cc44e864ebf0500a35ef21d0010b2",  
329 - "reference": "54a2c49de31cc44e864ebf0500a35ef21d0010b2", 327 + "url": "https://api.github.com/repos/cebe/markdown/zipball/d7b6f46cd423174c8a86c7f816dea45008dbf454",
  328 + "reference": "d7b6f46cd423174c8a86c7f816dea45008dbf454",
330 "shasum": "" 329 "shasum": ""
331 }, 330 },
332 "require": { 331 "require": {
@@ -373,7 +372,7 @@ @@ -373,7 +372,7 @@
373 "markdown", 372 "markdown",
374 "markdown-extra" 373 "markdown-extra"
375 ], 374 ],
376 - "time": "2015-03-06 05:28:07" 375 + "time": "2016-01-21 11:46:58"
377 }, 376 },
378 { 377 {
379 "name": "cebe/yii2-gravatar", 378 "name": "cebe/yii2-gravatar",
@@ -420,7 +419,7 @@ @@ -420,7 +419,7 @@
420 }, 419 },
421 { 420 {
422 "name": "developeruz/yii2-db-rbac", 421 "name": "developeruz/yii2-db-rbac",
423 - "version": "1.0.8", 422 + "version": "dev-master",
424 "source": { 423 "source": {
425 "type": "git", 424 "type": "git",
426 "url": "https://github.com/developeruz/yii2-db-rbac.git", 425 "url": "https://github.com/developeruz/yii2-db-rbac.git",
@@ -559,16 +558,16 @@ @@ -559,16 +558,16 @@
559 }, 558 },
560 { 559 {
561 "name": "kartik-v/yii2-krajee-base", 560 "name": "kartik-v/yii2-krajee-base",
562 - "version": "v1.7.9", 561 + "version": "1.8.2",
563 "source": { 562 "source": {
564 "type": "git", 563 "type": "git",
565 "url": "https://github.com/kartik-v/yii2-krajee-base.git", 564 "url": "https://github.com/kartik-v/yii2-krajee-base.git",
566 - "reference": "6f10fd0a0bfccd729764c65fa65eb4ccf2cbade9" 565 + "reference": "0c274e31e4392cbafc5fe158eae81738794e02ce"
567 }, 566 },
568 "dist": { 567 "dist": {
569 "type": "zip", 568 "type": "zip",
570 - "url": "https://api.github.com/repos/kartik-v/yii2-krajee-base/zipball/6f10fd0a0bfccd729764c65fa65eb4ccf2cbade9",  
571 - "reference": "6f10fd0a0bfccd729764c65fa65eb4ccf2cbade9", 569 + "url": "https://api.github.com/repos/kartik-v/yii2-krajee-base/zipball/0c274e31e4392cbafc5fe158eae81738794e02ce",
  570 + "reference": "0c274e31e4392cbafc5fe158eae81738794e02ce",
572 "shasum": "" 571 "shasum": ""
573 }, 572 },
574 "require": { 573 "require": {
@@ -601,7 +600,7 @@ @@ -601,7 +600,7 @@
601 "widget", 600 "widget",
602 "yii2" 601 "yii2"
603 ], 602 ],
604 - "time": "2015-11-25 07:03:35" 603 + "time": "2016-01-10 12:26:29"
605 }, 604 },
606 { 605 {
607 "name": "kartik-v/yii2-widget-select2", 606 "name": "kartik-v/yii2-widget-select2",
@@ -609,12 +608,12 @@ @@ -609,12 +608,12 @@
609 "source": { 608 "source": {
610 "type": "git", 609 "type": "git",
611 "url": "https://github.com/kartik-v/yii2-widget-select2.git", 610 "url": "https://github.com/kartik-v/yii2-widget-select2.git",
612 - "reference": "fa0175d936012eac3f7a382792cbb13948015c4e" 611 + "reference": "701bf8069a85fafbac1ced54dcd00e579e60471b"
613 }, 612 },
614 "dist": { 613 "dist": {
615 "type": "zip", 614 "type": "zip",
616 - "url": "https://api.github.com/repos/kartik-v/yii2-widget-select2/zipball/fa0175d936012eac3f7a382792cbb13948015c4e",  
617 - "reference": "fa0175d936012eac3f7a382792cbb13948015c4e", 615 + "url": "https://api.github.com/repos/kartik-v/yii2-widget-select2/zipball/701bf8069a85fafbac1ced54dcd00e579e60471b",
  616 + "reference": "701bf8069a85fafbac1ced54dcd00e579e60471b",
618 "shasum": "" 617 "shasum": ""
619 }, 618 },
620 "require": { 619 "require": {
@@ -649,7 +648,7 @@ @@ -649,7 +648,7 @@
649 "widget", 648 "widget",
650 "yii2" 649 "yii2"
651 ], 650 ],
652 - "time": "2015-09-22 03:10:57" 651 + "time": "2016-01-10 16:51:42"
653 }, 652 },
654 { 653 {
655 "name": "lusitanian/oauth", 654 "name": "lusitanian/oauth",
@@ -715,7 +714,7 @@ @@ -715,7 +714,7 @@
715 }, 714 },
716 { 715 {
717 "name": "mihaildev/yii2-ckeditor", 716 "name": "mihaildev/yii2-ckeditor",
718 - "version": "1.0.1", 717 + "version": "dev-master",
719 "source": { 718 "source": {
720 "type": "git", 719 "type": "git",
721 "url": "https://github.com/MihailDev/yii2-ckeditor.git", 720 "url": "https://github.com/MihailDev/yii2-ckeditor.git",
@@ -812,16 +811,16 @@ @@ -812,16 +811,16 @@
812 }, 811 },
813 { 812 {
814 "name": "nodge/yii2-eauth", 813 "name": "nodge/yii2-eauth",
815 - "version": "2.3.0", 814 + "version": "dev-master",
816 "source": { 815 "source": {
817 "type": "git", 816 "type": "git",
818 "url": "https://github.com/Nodge/yii2-eauth.git", 817 "url": "https://github.com/Nodge/yii2-eauth.git",
819 - "reference": "25963e78c6083734736187bff992dd9da60fd125" 818 + "reference": "f45efd95e3853db33153cc1b856d1f648d221938"
820 }, 819 },
821 "dist": { 820 "dist": {
822 "type": "zip", 821 "type": "zip",
823 - "url": "https://api.github.com/repos/Nodge/yii2-eauth/zipball/25963e78c6083734736187bff992dd9da60fd125",  
824 - "reference": "25963e78c6083734736187bff992dd9da60fd125", 822 + "url": "https://api.github.com/repos/Nodge/yii2-eauth/zipball/f45efd95e3853db33153cc1b856d1f648d221938",
  823 + "reference": "f45efd95e3853db33153cc1b856d1f648d221938",
825 "shasum": "" 824 "shasum": ""
826 }, 825 },
827 "require": { 826 "require": {
@@ -861,7 +860,7 @@ @@ -861,7 +860,7 @@
861 "oauth", 860 "oauth",
862 "yii2" 861 "yii2"
863 ], 862 ],
864 - "time": "2015-10-17 16:51:17" 863 + "time": "2016-01-13 18:15:48"
865 }, 864 },
866 { 865 {
867 "name": "rmrevin/yii2-fontawesome", 866 "name": "rmrevin/yii2-fontawesome",
@@ -917,16 +916,16 @@ @@ -917,16 +916,16 @@
917 }, 916 },
918 { 917 {
919 "name": "swiftmailer/swiftmailer", 918 "name": "swiftmailer/swiftmailer",
920 - "version": "v5.4.1", 919 + "version": "5.x-dev",
921 "source": { 920 "source": {
922 "type": "git", 921 "type": "git",
923 "url": "https://github.com/swiftmailer/swiftmailer.git", 922 "url": "https://github.com/swiftmailer/swiftmailer.git",
924 - "reference": "0697e6aa65c83edf97bb0f23d8763f94e3f11421" 923 + "reference": "fffbc0e2a7e376dbb0a4b5f2ff6847330f20ccf9"
925 }, 924 },
926 "dist": { 925 "dist": {
927 "type": "zip", 926 "type": "zip",
928 - "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/0697e6aa65c83edf97bb0f23d8763f94e3f11421",  
929 - "reference": "0697e6aa65c83edf97bb0f23d8763f94e3f11421", 927 + "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/fffbc0e2a7e376dbb0a4b5f2ff6847330f20ccf9",
  928 + "reference": "fffbc0e2a7e376dbb0a4b5f2ff6847330f20ccf9",
930 "shasum": "" 929 "shasum": ""
931 }, 930 },
932 "require": { 931 "require": {
@@ -966,28 +965,29 @@ @@ -966,28 +965,29 @@
966 "mail", 965 "mail",
967 "mailer" 966 "mailer"
968 ], 967 ],
969 - "time": "2015-06-06 14:19:39" 968 + "time": "2016-01-03 15:42:47"
970 }, 969 },
971 { 970 {
972 "name": "yiisoft/yii2", 971 "name": "yiisoft/yii2",
973 - "version": "2.0.6", 972 + "version": "dev-master",
974 "source": { 973 "source": {
975 "type": "git", 974 "type": "git",
976 "url": "https://github.com/yiisoft/yii2-framework.git", 975 "url": "https://github.com/yiisoft/yii2-framework.git",
977 - "reference": "f42b2eb80f61992438661b01d0d74c6738e2ff38" 976 + "reference": "b2e6f32de516b43238db0ed36b1c16bf9f22d2db"
978 }, 977 },
979 "dist": { 978 "dist": {
980 "type": "zip", 979 "type": "zip",
981 - "url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/f42b2eb80f61992438661b01d0d74c6738e2ff38",  
982 - "reference": "f42b2eb80f61992438661b01d0d74c6738e2ff38", 980 + "url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/b2e6f32de516b43238db0ed36b1c16bf9f22d2db",
  981 + "reference": "b2e6f32de516b43238db0ed36b1c16bf9f22d2db",
983 "shasum": "" 982 "shasum": ""
984 }, 983 },
985 "require": { 984 "require": {
986 "bower-asset/jquery": "2.1.*@stable | 1.11.*@stable", 985 "bower-asset/jquery": "2.1.*@stable | 1.11.*@stable",
987 - "bower-asset/jquery.inputmask": "3.1.*", 986 + "bower-asset/jquery.inputmask": "~3.2.2",
988 "bower-asset/punycode": "1.3.*", 987 "bower-asset/punycode": "1.3.*",
989 "bower-asset/yii2-pjax": ">=2.0.1", 988 "bower-asset/yii2-pjax": ">=2.0.1",
990 "cebe/markdown": "~1.0.0 | ~1.1.0", 989 "cebe/markdown": "~1.0.0 | ~1.1.0",
  990 + "ext-ctype": "*",
991 "ext-mbstring": "*", 991 "ext-mbstring": "*",
992 "ezyang/htmlpurifier": "4.6.*", 992 "ezyang/htmlpurifier": "4.6.*",
993 "lib-pcre": "*", 993 "lib-pcre": "*",
@@ -1046,6 +1046,11 @@ @@ -1046,6 +1046,11 @@
1046 "name": "Paul Klimov", 1046 "name": "Paul Klimov",
1047 "email": "klimov.paul@gmail.com", 1047 "email": "klimov.paul@gmail.com",
1048 "role": "Core framework development" 1048 "role": "Core framework development"
  1049 + },
  1050 + {
  1051 + "name": "Dmitry Naumenko",
  1052 + "email": "d.naumenko.a@gmail.com",
  1053 + "role": "Core framework development"
1049 } 1054 }
1050 ], 1055 ],
1051 "description": "Yii PHP Framework Version 2", 1056 "description": "Yii PHP Framework Version 2",
@@ -1054,20 +1059,20 @@ @@ -1054,20 +1059,20 @@
1054 "framework", 1059 "framework",
1055 "yii2" 1060 "yii2"
1056 ], 1061 ],
1057 - "time": "2015-08-05 22:00:30" 1062 + "time": "2016-01-21 07:55:52"
1058 }, 1063 },
1059 { 1064 {
1060 "name": "yiisoft/yii2-bootstrap", 1065 "name": "yiisoft/yii2-bootstrap",
1061 - "version": "2.0.5", 1066 + "version": "dev-master",
1062 "source": { 1067 "source": {
1063 "type": "git", 1068 "type": "git",
1064 "url": "https://github.com/yiisoft/yii2-bootstrap.git", 1069 "url": "https://github.com/yiisoft/yii2-bootstrap.git",
1065 - "reference": "1464f93834b1d5edb1f5625f7ffd6c3723fa4923" 1070 + "reference": "7de7d5d63d655c0c69764f80f2dfc549e9b1d9f0"
1066 }, 1071 },
1067 "dist": { 1072 "dist": {
1068 "type": "zip", 1073 "type": "zip",
1069 - "url": "https://api.github.com/repos/yiisoft/yii2-bootstrap/zipball/1464f93834b1d5edb1f5625f7ffd6c3723fa4923",  
1070 - "reference": "1464f93834b1d5edb1f5625f7ffd6c3723fa4923", 1074 + "url": "https://api.github.com/repos/yiisoft/yii2-bootstrap/zipball/7de7d5d63d655c0c69764f80f2dfc549e9b1d9f0",
  1075 + "reference": "7de7d5d63d655c0c69764f80f2dfc549e9b1d9f0",
1071 "shasum": "" 1076 "shasum": ""
1072 }, 1077 },
1073 "require": { 1078 "require": {
@@ -1104,24 +1109,24 @@ @@ -1104,24 +1109,24 @@
1104 "bootstrap", 1109 "bootstrap",
1105 "yii2" 1110 "yii2"
1106 ], 1111 ],
1107 - "time": "2015-09-23 17:48:24" 1112 + "time": "2015-12-19 19:45:57"
1108 }, 1113 },
1109 { 1114 {
1110 "name": "yiisoft/yii2-composer", 1115 "name": "yiisoft/yii2-composer",
1111 - "version": "2.0.3", 1116 + "version": "dev-master",
1112 "source": { 1117 "source": {
1113 "type": "git", 1118 "type": "git",
1114 "url": "https://github.com/yiisoft/yii2-composer.git", 1119 "url": "https://github.com/yiisoft/yii2-composer.git",
1115 - "reference": "ca8d23707ae47d20b0454e4b135c156f6da6d7be" 1120 + "reference": "574dcb1d101ae55be230e0c00a2428af6ec4c5c1"
1116 }, 1121 },
1117 "dist": { 1122 "dist": {
1118 "type": "zip", 1123 "type": "zip",
1119 - "url": "https://api.github.com/repos/yiisoft/yii2-composer/zipball/ca8d23707ae47d20b0454e4b135c156f6da6d7be",  
1120 - "reference": "ca8d23707ae47d20b0454e4b135c156f6da6d7be", 1124 + "url": "https://api.github.com/repos/yiisoft/yii2-composer/zipball/574dcb1d101ae55be230e0c00a2428af6ec4c5c1",
  1125 + "reference": "574dcb1d101ae55be230e0c00a2428af6ec4c5c1",
1121 "shasum": "" 1126 "shasum": ""
1122 }, 1127 },
1123 "require": { 1128 "require": {
1124 - "composer-plugin-api": "1.0.0" 1129 + "composer-plugin-api": "^1.0"
1125 }, 1130 },
1126 "type": "composer-plugin", 1131 "type": "composer-plugin",
1127 "extra": { 1132 "extra": {
@@ -1151,20 +1156,20 @@ @@ -1151,20 +1156,20 @@
1151 "extension installer", 1156 "extension installer",
1152 "yii2" 1157 "yii2"
1153 ], 1158 ],
1154 - "time": "2015-03-01 06:22:44" 1159 + "time": "2015-12-01 20:06:03"
1155 }, 1160 },
1156 { 1161 {
1157 "name": "yiisoft/yii2-jui", 1162 "name": "yiisoft/yii2-jui",
1158 - "version": "2.0.4", 1163 + "version": "dev-master",
1159 "source": { 1164 "source": {
1160 "type": "git", 1165 "type": "git",
1161 "url": "https://github.com/yiisoft/yii2-jui.git", 1166 "url": "https://github.com/yiisoft/yii2-jui.git",
1162 - "reference": "ce16f29cca654702c2ee500ccad9657a2d2e6a09" 1167 + "reference": "1425ab29929dd195f468d3c4eb340ab509f28b83"
1163 }, 1168 },
1164 "dist": { 1169 "dist": {
1165 "type": "zip", 1170 "type": "zip",
1166 - "url": "https://api.github.com/repos/yiisoft/yii2-jui/zipball/ce16f29cca654702c2ee500ccad9657a2d2e6a09",  
1167 - "reference": "ce16f29cca654702c2ee500ccad9657a2d2e6a09", 1171 + "url": "https://api.github.com/repos/yiisoft/yii2-jui/zipball/1425ab29929dd195f468d3c4eb340ab509f28b83",
  1172 + "reference": "1425ab29929dd195f468d3c4eb340ab509f28b83",
1168 "shasum": "" 1173 "shasum": ""
1169 }, 1174 },
1170 "require": { 1175 "require": {
@@ -1201,20 +1206,20 @@ @@ -1201,20 +1206,20 @@
1201 "jQuery UI", 1206 "jQuery UI",
1202 "yii2" 1207 "yii2"
1203 ], 1208 ],
1204 - "time": "2015-05-10 22:09:43" 1209 + "time": "2015-12-24 06:23:53"
1205 }, 1210 },
1206 { 1211 {
1207 "name": "yiisoft/yii2-swiftmailer", 1212 "name": "yiisoft/yii2-swiftmailer",
1208 - "version": "2.0.4", 1213 + "version": "dev-master",
1209 "source": { 1214 "source": {
1210 "type": "git", 1215 "type": "git",
1211 "url": "https://github.com/yiisoft/yii2-swiftmailer.git", 1216 "url": "https://github.com/yiisoft/yii2-swiftmailer.git",
1212 - "reference": "4ec435a89e30b203cea99770910fb5499cb3627a" 1217 + "reference": "2cca1bb86444a6438b0720f8c60120a400982366"
1213 }, 1218 },
1214 "dist": { 1219 "dist": {
1215 "type": "zip", 1220 "type": "zip",
1216 - "url": "https://api.github.com/repos/yiisoft/yii2-swiftmailer/zipball/4ec435a89e30b203cea99770910fb5499cb3627a",  
1217 - "reference": "4ec435a89e30b203cea99770910fb5499cb3627a", 1221 + "url": "https://api.github.com/repos/yiisoft/yii2-swiftmailer/zipball/2cca1bb86444a6438b0720f8c60120a400982366",
  1222 + "reference": "2cca1bb86444a6438b0720f8c60120a400982366",
1218 "shasum": "" 1223 "shasum": ""
1219 }, 1224 },
1220 "require": { 1225 "require": {
@@ -1251,22 +1256,22 @@ @@ -1251,22 +1256,22 @@
1251 "swiftmailer", 1256 "swiftmailer",
1252 "yii2" 1257 "yii2"
1253 ], 1258 ],
1254 - "time": "2015-05-10 22:12:32" 1259 + "time": "2015-12-07 11:40:31"
1255 } 1260 }
1256 ], 1261 ],
1257 "packages-dev": [ 1262 "packages-dev": [
1258 { 1263 {
1259 "name": "bower-asset/typeahead.js", 1264 "name": "bower-asset/typeahead.js",
1260 - "version": "v0.10.5", 1265 + "version": "v0.11.1",
1261 "source": { 1266 "source": {
1262 "type": "git", 1267 "type": "git",
1263 "url": "https://github.com/twitter/typeahead.js.git", 1268 "url": "https://github.com/twitter/typeahead.js.git",
1264 - "reference": "5f198b87d1af845da502ea9df93a5e84801ce742" 1269 + "reference": "588440f66559714280628a4f9799f0c4eb880a4a"
1265 }, 1270 },
1266 "dist": { 1271 "dist": {
1267 "type": "zip", 1272 "type": "zip",
1268 - "url": "https://api.github.com/repos/twitter/typeahead.js/zipball/5f198b87d1af845da502ea9df93a5e84801ce742",  
1269 - "reference": "5f198b87d1af845da502ea9df93a5e84801ce742", 1273 + "url": "https://api.github.com/repos/twitter/typeahead.js/zipball/588440f66559714280628a4f9799f0c4eb880a4a",
  1274 + "reference": "588440f66559714280628a4f9799f0c4eb880a4a",
1270 "shasum": "" 1275 "shasum": ""
1271 }, 1276 },
1272 "require": { 1277 "require": {
@@ -1284,32 +1289,30 @@ @@ -1284,32 +1289,30 @@
1284 }, 1289 },
1285 { 1290 {
1286 "name": "fzaninotto/faker", 1291 "name": "fzaninotto/faker",
1287 - "version": "v1.5.0", 1292 + "version": "dev-master",
1288 "source": { 1293 "source": {
1289 "type": "git", 1294 "type": "git",
1290 "url": "https://github.com/fzaninotto/Faker.git", 1295 "url": "https://github.com/fzaninotto/Faker.git",
1291 - "reference": "d0190b156bcca848d401fb80f31f504f37141c8d" 1296 + "reference": "de2ed3bbe68254efeff68db60092fc8ed5298055"
1292 }, 1297 },
1293 "dist": { 1298 "dist": {
1294 "type": "zip", 1299 "type": "zip",
1295 - "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/d0190b156bcca848d401fb80f31f504f37141c8d",  
1296 - "reference": "d0190b156bcca848d401fb80f31f504f37141c8d", 1300 + "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/de2ed3bbe68254efeff68db60092fc8ed5298055",
  1301 + "reference": "de2ed3bbe68254efeff68db60092fc8ed5298055",
1297 "shasum": "" 1302 "shasum": ""
1298 }, 1303 },
1299 "require": { 1304 "require": {
1300 "php": ">=5.3.3" 1305 "php": ">=5.3.3"
1301 }, 1306 },
1302 "require-dev": { 1307 "require-dev": {
  1308 + "ext-intl": "*",
1303 "phpunit/phpunit": "~4.0", 1309 "phpunit/phpunit": "~4.0",
1304 "squizlabs/php_codesniffer": "~1.5" 1310 "squizlabs/php_codesniffer": "~1.5"
1305 }, 1311 },
1306 - "suggest": {  
1307 - "ext-intl": "*"  
1308 - },  
1309 "type": "library", 1312 "type": "library",
1310 "extra": { 1313 "extra": {
1311 "branch-alias": { 1314 "branch-alias": {
1312 - "dev-master": "1.5.x-dev" 1315 + "dev-master": "1.6.x-dev"
1313 } 1316 }
1314 }, 1317 },
1315 "autoload": { 1318 "autoload": {
@@ -1332,11 +1335,11 @@ @@ -1332,11 +1335,11 @@
1332 "faker", 1335 "faker",
1333 "fixtures" 1336 "fixtures"
1334 ], 1337 ],
1335 - "time": "2015-05-29 06:29:14" 1338 + "time": "2016-01-08 14:16:18"
1336 }, 1339 },
1337 { 1340 {
1338 "name": "phpspec/php-diff", 1341 "name": "phpspec/php-diff",
1339 - "version": "v1.0.2", 1342 + "version": "dev-master",
1340 "source": { 1343 "source": {
1341 "type": "git", 1344 "type": "git",
1342 "url": "https://github.com/phpspec/php-diff.git", 1345 "url": "https://github.com/phpspec/php-diff.git",
@@ -1370,16 +1373,16 @@ @@ -1370,16 +1373,16 @@
1370 }, 1373 },
1371 { 1374 {
1372 "name": "yiisoft/yii2-codeception", 1375 "name": "yiisoft/yii2-codeception",
1373 - "version": "2.0.4", 1376 + "version": "dev-master",
1374 "source": { 1377 "source": {
1375 "type": "git", 1378 "type": "git",
1376 "url": "https://github.com/yiisoft/yii2-codeception.git", 1379 "url": "https://github.com/yiisoft/yii2-codeception.git",
1377 - "reference": "de5007e7a99359597abbfe1c88dca3ce620061c5" 1380 + "reference": "ee239c244fd011f11c8827f97ebe7600d03f1841"
1378 }, 1381 },
1379 "dist": { 1382 "dist": {
1380 "type": "zip", 1383 "type": "zip",
1381 - "url": "https://api.github.com/repos/yiisoft/yii2-codeception/zipball/de5007e7a99359597abbfe1c88dca3ce620061c5",  
1382 - "reference": "de5007e7a99359597abbfe1c88dca3ce620061c5", 1384 + "url": "https://api.github.com/repos/yiisoft/yii2-codeception/zipball/ee239c244fd011f11c8827f97ebe7600d03f1841",
  1385 + "reference": "ee239c244fd011f11c8827f97ebe7600d03f1841",
1383 "shasum": "" 1386 "shasum": ""
1384 }, 1387 },
1385 "require": { 1388 "require": {
@@ -1411,20 +1414,20 @@ @@ -1411,20 +1414,20 @@
1411 "codeception", 1414 "codeception",
1412 "yii2" 1415 "yii2"
1413 ], 1416 ],
1414 - "time": "2015-05-10 22:08:30" 1417 + "time": "2015-11-20 08:52:21"
1415 }, 1418 },
1416 { 1419 {
1417 "name": "yiisoft/yii2-debug", 1420 "name": "yiisoft/yii2-debug",
1418 - "version": "2.0.5", 1421 + "version": "dev-master",
1419 "source": { 1422 "source": {
1420 "type": "git", 1423 "type": "git",
1421 "url": "https://github.com/yiisoft/yii2-debug.git", 1424 "url": "https://github.com/yiisoft/yii2-debug.git",
1422 - "reference": "1b302e67521d46feb2413d9d96ca94ed82b39b0e" 1425 + "reference": "7a28977497e43bf7180a793389e6a5739ec52756"
1423 }, 1426 },
1424 "dist": { 1427 "dist": {
1425 "type": "zip", 1428 "type": "zip",
1426 - "url": "https://api.github.com/repos/yiisoft/yii2-debug/zipball/1b302e67521d46feb2413d9d96ca94ed82b39b0e",  
1427 - "reference": "1b302e67521d46feb2413d9d96ca94ed82b39b0e", 1429 + "url": "https://api.github.com/repos/yiisoft/yii2-debug/zipball/7a28977497e43bf7180a793389e6a5739ec52756",
  1430 + "reference": "7a28977497e43bf7180a793389e6a5739ec52756",
1428 "shasum": "" 1431 "shasum": ""
1429 }, 1432 },
1430 "require": { 1433 "require": {
@@ -1458,24 +1461,24 @@ @@ -1458,24 +1461,24 @@
1458 "debugger", 1461 "debugger",
1459 "yii2" 1462 "yii2"
1460 ], 1463 ],
1461 - "time": "2015-08-06 16:14:06" 1464 + "time": "2015-12-31 16:25:50"
1462 }, 1465 },
1463 { 1466 {
1464 "name": "yiisoft/yii2-faker", 1467 "name": "yiisoft/yii2-faker",
1465 - "version": "2.0.3", 1468 + "version": "dev-master",
1466 "source": { 1469 "source": {
1467 "type": "git", 1470 "type": "git",
1468 "url": "https://github.com/yiisoft/yii2-faker.git", 1471 "url": "https://github.com/yiisoft/yii2-faker.git",
1469 - "reference": "b88ca69ee226a3610b2c26c026c3203d7ac50f6c" 1472 + "reference": "186c77214e0a4b75f10380b4e6e5f82788922cb7"
1470 }, 1473 },
1471 "dist": { 1474 "dist": {
1472 "type": "zip", 1475 "type": "zip",
1473 - "url": "https://api.github.com/repos/yiisoft/yii2-faker/zipball/b88ca69ee226a3610b2c26c026c3203d7ac50f6c",  
1474 - "reference": "b88ca69ee226a3610b2c26c026c3203d7ac50f6c", 1476 + "url": "https://api.github.com/repos/yiisoft/yii2-faker/zipball/186c77214e0a4b75f10380b4e6e5f82788922cb7",
  1477 + "reference": "186c77214e0a4b75f10380b4e6e5f82788922cb7",
1475 "shasum": "" 1478 "shasum": ""
1476 }, 1479 },
1477 "require": { 1480 "require": {
1478 - "fzaninotto/faker": "*", 1481 + "fzaninotto/faker": "~1.4",
1479 "yiisoft/yii2": "*" 1482 "yiisoft/yii2": "*"
1480 }, 1483 },
1481 "type": "yii2-extension", 1484 "type": "yii2-extension",
@@ -1505,24 +1508,24 @@ @@ -1505,24 +1508,24 @@
1505 "faker", 1508 "faker",
1506 "yii2" 1509 "yii2"
1507 ], 1510 ],
1508 - "time": "2015-03-01 06:22:44" 1511 + "time": "2015-12-18 01:52:12"
1509 }, 1512 },
1510 { 1513 {
1511 "name": "yiisoft/yii2-gii", 1514 "name": "yiisoft/yii2-gii",
1512 - "version": "2.0.4", 1515 + "version": "dev-master",
1513 "source": { 1516 "source": {
1514 "type": "git", 1517 "type": "git",
1515 "url": "https://github.com/yiisoft/yii2-gii.git", 1518 "url": "https://github.com/yiisoft/yii2-gii.git",
1516 - "reference": "e5a023e8779bd774194842ec1b8fb4917cf04007" 1519 + "reference": "d1a58d8c64f9075960665dc5347f5906ecb063cf"
1517 }, 1520 },
1518 "dist": { 1521 "dist": {
1519 "type": "zip", 1522 "type": "zip",
1520 - "url": "https://api.github.com/repos/yiisoft/yii2-gii/zipball/e5a023e8779bd774194842ec1b8fb4917cf04007",  
1521 - "reference": "e5a023e8779bd774194842ec1b8fb4917cf04007", 1523 + "url": "https://api.github.com/repos/yiisoft/yii2-gii/zipball/d1a58d8c64f9075960665dc5347f5906ecb063cf",
  1524 + "reference": "d1a58d8c64f9075960665dc5347f5906ecb063cf",
1522 "shasum": "" 1525 "shasum": ""
1523 }, 1526 },
1524 "require": { 1527 "require": {
1525 - "bower-asset/typeahead.js": "0.10.*", 1528 + "bower-asset/typeahead.js": "0.10.* | ~0.11.0",
1526 "phpspec/php-diff": ">=1.0.2", 1529 "phpspec/php-diff": ">=1.0.2",
1527 "yiisoft/yii2": ">=2.0.4", 1530 "yiisoft/yii2": ">=2.0.4",
1528 "yiisoft/yii2-bootstrap": "~2.0" 1531 "yiisoft/yii2-bootstrap": "~2.0"
@@ -1558,11 +1561,11 @@ @@ -1558,11 +1561,11 @@
1558 "gii", 1561 "gii",
1559 "yii2" 1562 "yii2"
1560 ], 1563 ],
1561 - "time": "2015-05-10 22:09:31" 1564 + "time": "2016-01-15 17:12:14"
1562 } 1565 }
1563 ], 1566 ],
1564 "aliases": [], 1567 "aliases": [],
1565 - "minimum-stability": "stable", 1568 + "minimum-stability": "dev",
1566 "stability-flags": { 1569 "stability-flags": {
1567 "kartik-v/yii2-widget-select2": 20 1570 "kartik-v/yii2-widget-select2": 20
1568 }, 1571 },
frontend/assets/AppAsset.php
@@ -18,15 +18,18 @@ class AppAsset extends AssetBundle @@ -18,15 +18,18 @@ class AppAsset extends AssetBundle
18 public $basePath = '@webroot'; 18 public $basePath = '@webroot';
19 public $baseUrl = '@web'; 19 public $baseUrl = '@web';
20 public $css = [ 20 public $css = [
21 - 'css/site.css',  
22 - 'css/flags32.css' 21 + 'css/style.css',
23 ]; 22 ];
24 public $js = [ 23 public $js = [
25 - 'js/option.js' 24 + 'js/script.js',
  25 + 'http://maps.google.com/maps/api/js?sensor=false',
  26 + 'js/markerclusterer.js',
  27 + 'js/jquery.scrollbox.min.js',
  28 + 'js/slider.js',
  29 + 'js/jquery.rating.js'
26 ]; 30 ];
27 public $depends = [ 31 public $depends = [
28 - 'yii\web\YiiAsset',  
29 - 'yii\bootstrap\BootstrapAsset', 32 + 'yii\web\YiiAsset'
30 ]; 33 ];
31 public $jsOptions = array( 34 public $jsOptions = array(
32 'position' => \yii\web\View::POS_HEAD 35 'position' => \yii\web\View::POS_HEAD
frontend/views/layouts/main.php
@@ -9,94 +9,222 @@ use yii\bootstrap\NavBar; @@ -9,94 +9,222 @@ use yii\bootstrap\NavBar;
9 use yii\widgets\Breadcrumbs; 9 use yii\widgets\Breadcrumbs;
10 use frontend\assets\AppAsset; 10 use frontend\assets\AppAsset;
11 use common\widgets\Alert; 11 use common\widgets\Alert;
12 -use common\models\MenuTree; 12 +use \yii\widgets\Menu;
  13 +use \yii\helpers\Url;
13 14
14 AppAsset::register($this); 15 AppAsset::register($this);
15 ?> 16 ?>
  17 +
16 <?php $this->beginPage() ?> 18 <?php $this->beginPage() ?>
  19 +
17 <!DOCTYPE html> 20 <!DOCTYPE html>
  21 +
18 <html lang="<?= Yii::$app->language ?>"> 22 <html lang="<?= Yii::$app->language ?>">
  23 +
19 <head> 24 <head>
  25 + <link href='https://fonts.googleapis.com/css?family=Roboto:400,700&subset=cyrillic,latin' rel='stylesheet' type='text/css'>
20 <meta charset="<?= Yii::$app->charset ?>"> 26 <meta charset="<?= Yii::$app->charset ?>">
21 - <meta name="viewport" content="width=device-width, initial-scale=1"> 27 +
22 <?= Html::csrfMetaTags() ?> 28 <?= Html::csrfMetaTags() ?>
  29 +
23 <title><?= Html::encode($this->title) ?></title> 30 <title><?= Html::encode($this->title) ?></title>
  31 +
24 <?php $this->head() ?> 32 <?php $this->head() ?>
  33 +
25 </head> 34 </head>
26 -<body> 35 +
  36 +<body onload=" initialize()">
  37 +
27 <?php $this->beginBody() ?> 38 <?php $this->beginBody() ?>
28 39
29 -<div class="wrap">  
30 - <?php  
31 -  
32 - NavBar::begin([  
33 - 'options' => [  
34 - 'class' => 'navbar-inverse navbar-fixed-top',  
35 - ]  
36 - ]);  
37 -  
38 - echo Nav::widget([  
39 - 'options' => ['class' => 'navbar-nav navbar-right'],  
40 - 'items' => (new MenuTree())->build('TOP')  
41 - ]);  
42 -/*  
43 -  
44 - $menuItems = [  
45 - ['label' => 'Home', 'url' => ['/site/index']],  
46 - ['label' => 'About', 'url' => ['/site/about']],  
47 - ['label' => 'Contact', 'url' => ['/site/contact']],  
48 - ];  
49 -  
50 - // меню с базы  
51 - $menuItems = [];  
52 -  
53 - foreach ((new \frontend\models\Front())->actionMenu('TOP') as $row)  
54 - {  
55 - $menuItems[] = ['label' => $row['page_title'], 'url' => $row['page_alias']];  
56 - }  
57 -  
58 - if (Yii::$app->user->isGuest)  
59 - {  
60 - $menuItems[] = ['label' => 'Signup', 'url' => ['/site/signup']];  
61 - $menuItems[] = ['label' => 'Login', 'url' => ['/site/login']];  
62 - }  
63 - else  
64 - {  
65 - $menuItems[] = [  
66 - 'label' => 'Logout (' . Yii::$app->user->identity->username . ')',  
67 - 'url' => ['/site/logout'],  
68 - 'linkOptions' => ['data-method' => 'post']  
69 - ];  
70 - }  
71 -  
72 - echo Nav::widget([  
73 - 'options' => ['class' => 'navbar-nav navbar-right'],  
74 - 'items' => $menuItems,  
75 - ]);  
76 -*/  
77 - NavBar::end();  
78 -  
79 - ?>  
80 -  
81 -  
82 - <div class="container">  
83 - <?= Breadcrumbs::widget([  
84 - 'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],  
85 - ]) ?>  
86 - <?= Alert::widget() ?>  
87 - <?= $content ?> 40 +<div class="section-box header">
  41 + <div class="section-box first-header">
  42 + <div class="box-wr">
  43 + <div class="box-all">
  44 + <a href="/"><img class="logo" src="images/logo.png" width="100" height="68" alt=""/></a>
  45 + <div class="header-proektant-slogan">Международная Федерация Проектантов</div>
  46 + <ul class="header-contacts-menu">
  47 + <li><span><img src="images/ico-contact.png" alt=""/></span><a href="#">Контакты</a></li>
  48 + <li><span><img src="images/ico-question.png" alt=""/></span><a href="#">Помощь</a></li>
  49 + </ul>
  50 + <div class="header-cabinet-wr">
  51 + <div class="header-cabinet-foto"><img src="images/ded-ico.png" alt=""/></div>
  52 + <div class="header-cabinet-profile">Профиль</div>
  53 + <a href="#">Личный кабинет</a>
  54 + </div>
  55 + </div>
  56 + </div>
  57 + </div>
  58 +</div>
  59 +<div class="section-box menu-header-all">
  60 + <div class="box-wr">
  61 + <div class="box-all">
  62 + <ul class="main-menu">
  63 + <li>
  64 + <span>Проектанту</span>
  65 + <div class="main-menu-hover">
  66 + <ul>
  67 + <li class="main-menu-category">Предложить работу</li>
  68 + <li><a href="#">Добавить проект</a></li>
  69 + <li><a href="#">Предложить работу</a></li>
  70 + <li><a href="#">Разместить вакансию</a></li>
  71 + <li><a href="#">Открыть конкурс</a></li>
  72 + </ul>
  73 + <ul>
  74 + <li class="main-menu-category">Найти исполнителя</li>
  75 + <li><a href="#">Услуги фрилансеров</a></li>
  76 + <li><a href="#">Примеры работ</a></li>
  77 + </ul>
  78 + <ul>
  79 + <li><a href="#">Безопасная сделка</a></li>
  80 + </ul>
  81 + </div>
  82 + </li>
  83 + <li>
  84 + <span>Заказчику</span>
  85 + <div class="main-menu-hover">
  86 + <ul>
  87 + <li class="main-menu-category">Предложить работу</li>
  88 + <li><a href="#">Добавить проект</a></li>
  89 + <li><a href="#">Предложить работу</a></li>
  90 + <li><a href="#">Разместить вакансию</a></li>
  91 + <li><a href="#">Открыть конкурс</a></li>
  92 + </ul>
  93 + <ul>
  94 + <li class="main-menu-category">Найти исполнителя</li>
  95 + <li><a href="#">Услуги фрилансеров</a></li>
  96 + <li><a href="#">Примеры работ</a></li>
  97 + </ul>
  98 + <ul>
  99 + <li><a href="#">Безопасная сделка</a></li>
  100 + </ul>
  101 + </div>
  102 + </li>
  103 + <li>
  104 + <span>Компании</span>
  105 + <div class="main-menu-hover">
  106 + <ul>
  107 + <li class="main-menu-category">Предложить работу</li>
  108 + <li><a href="#">Добавить проект</a></li>
  109 + <li><a href="#">Предложить работу</a></li>
  110 + <li><a href="#">Разместить вакансию</a></li>
  111 + <li><a href="#">Открыть конкурс</a></li>
  112 + </ul>
  113 + <ul>
  114 + <li class="main-menu-category">Найти исполнителя</li>
  115 + <li><a href="#">Услуги фрилансеров</a></li>
  116 + <li><a href="#">Примеры работ</a></li>
  117 + </ul>
  118 + <ul>
  119 + <li><a href="#">Безопасная сделка</a></li>
  120 + </ul>
  121 + </div>
  122 + </li>
  123 + </ul>
  124 + <div class="search-main-menu">
  125 + <form action="">
  126 + <input type="search"/>
  127 + <input type="submit" value=""/>
  128 + </form>
  129 + </div>
  130 + </div>
88 </div> 131 </div>
89 </div> 132 </div>
  133 +<!--end header-->
90 134
91 -<footer class="footer">  
92 - <div class="container">  
93 - <p class="pull-left">&copy; My Company <?= date('Y') ?></p> 135 +<div class="section-box content">
  136 + <?= $content ?>
  137 +</div>
  138 +
  139 +
  140 +<div class="section-box footer">
  141 + <div class="section-box footer-all">
  142 + <div class="box-wr">
  143 + <div class="box-all">
  144 + <div class="footer-all-wr">
  145 + <div class="footer-menu-wrapper first-footer-menu">
  146 + <ul class="footer-menu ">
  147 + <li><a href="#">Регистрация проектанта</a></li>
  148 + <li><a href="#">Проекты</a></li>
  149 + <li><a href="#">Вакансии</a></li>
  150 + <li><a href="#">Рейтинг проектантов</a></li>
  151 + </ul>
  152 + </div>
  153 +
  154 + <div class="footer-menu-wrapper second-footer-menu">
  155 + <ul class="footer-menu">
  156 + <li><a href="#">Регистрация заказчика</a></li>
  157 + <li><a href="#">Рейтинг заказчиков</a></li>
  158 + </ul>
  159 + <div class="footer-menu-project">
  160 + <div class="footer-menu-project-ico">
  161 + <a target="_blank" href="#"><img src="images/soc-ico-1.png" alt=""/></a>
  162 + <a target="_blank" href="#"><img src="images/soc-ico-2.png" alt=""/></a>
  163 + </div>
  164 + <div class="footer-menu-project-ico-txt">новые проекты</div>
  165 + </div>
  166 + </div>
  167 +
  168 + <div class="footer-menu-wrapper third-footer-menu">
  169 + <ul class="footer-menu">
  170 + <li><a href="#">Регистрация компаний</a></li>
  171 + <li><a href="#">Рейтинг компаний</a></li>
  172 + </ul>
  173 + <div class="footer-menu-project-two">
  174 + <div class="footer-menu-project-ico">
  175 + <a target="_blank" href="#"><img src="images/soc-ico-3.png" alt=""/></a>
  176 + <a target="_blank" href="#"><img src="images/soc-ico-4.png" alt=""/></a>
  177 + <a target="_blank" href="#"><img src="images/soc-ico-5.png" alt=""/></a>
  178 + </div>
  179 + <div class="footer-menu-project-ico-txt">новости сервера</div>
  180 + </div>
  181 + </div>
  182 +
  183 + <div class="footer-menu-wrapper last-footer-menu">
  184 + <ul class="footer-menu ">
  185 + <li><a href="#">Русский</a></li>
  186 + <li><a href="#">Конфиденциальность</a></li>
  187 + <li><a href="#">Условия использования</a></li>
  188 + <li><a href="#">Файлы cookie</a></li>
  189 + <li><a href="#">Реклама</a></li>
  190 + <li><a href="#">Ad Choices</a></li>
94 191
95 - <p class="pull-right"><?= Yii::powered() ?></p> 192 + <li><a href="#">Ещё</a></li>
  193 + </ul>
  194 + </div>
  195 +
  196 + </div>
  197 + </div>
  198 + </div>
96 </div> 199 </div>
97 -</footer>  
98 200
  201 + <div class="section-box artweb-footer-all">
  202 + <div class="box-wr">
  203 + <div class="box-all">
  204 + <div class="copyright">
  205 + Proektant © 2015
  206 + </div>
  207 + <div class="artweb-wr">
  208 + <a target="_blank" href="http://artweb.ua/">Создание сайтов</a>
  209 + <div class="artweb-img">
  210 + <a target="_blank" href="http://artweb.ua/"><img src="images/artweb.png" /></a>
  211 + </div>
  212 + </div>
  213 + </div>
  214 + </div>
  215 + </div>
  216 +</div>
  217 +<script>
  218 + $('div.rating').rating({
  219 + fx: 'full',
  220 + readOnly: 'true',
  221 + url: 'rating.php'
  222 + });
  223 +</script>
99 <?php $this->endBody() ?> 224 <?php $this->endBody() ?>
  225 +
100 </body> 226 </body>
  227 +
101 </html> 228 </html>
  229 +
102 <?php $this->endPage() ?> 230 <?php $this->endPage() ?>
frontend/views/site/index.php
@@ -4,51 +4,173 @@ @@ -4,51 +4,173 @@
4 4
5 $this->title = 'My Yii Application'; 5 $this->title = 'My Yii Application';
6 ?> 6 ?>
7 -<div class="site-index">  
8 7
9 - <div class="jumbotron">  
10 - <h1>Congratulations!</h1>  
11 -  
12 - <p class="lead">You have successfully created your Yii-powered application.</p>  
13 -  
14 - <p><a class="btn btn-lg btn-success" href="http://www.yiiframework.com">Get started with Yii</a></p> 8 +<div class="section-box-16" style="background: url('images/blog/box-16.jpg') no-repeat">
  9 + <div class="box-wr">
  10 + <div class="box-all">
  11 + <div class="blog-buttons-wr style">
  12 + <a class="blog-buttons-offer" href="#">Предложить<br />проект</a>
  13 + <a class="blog-buttons-write" href="#">Написать<br />сообщение</a>
  14 + <a class="blog-buttons-add-favorite" href="#">Добавить<br />в закладки</a>
  15 + </div>
  16 + </div>
15 </div> 17 </div>
  18 +</div>
  19 +<div class="section-box menu-content-wr">
  20 + <div class="box-wr">
  21 + <div class="box-all">
  22 + <ul class="menu-content">
  23 + <li><a href="#">Общее</a></li>
  24 + <li><a href="#">Портфолио</a></li>
  25 + <li class="active-menu-content"><a href="#">Блог</a></li>
  26 + <li><a href="#">Отзывы </a></li>
  27 + <li><a href="#">Места работы</a></li>
  28 + <li><a href="#">Галерея</a></li>
  29 + </ul>
  30 + </div>
  31 + </div>
  32 +</div>
  33 +<div class="section-box-15 section-box-17">
  34 + <div class="box-wr">
  35 + <div class="box-all">
  36 + <div class="performer-vacancy-sidebar-left-wr">
  37 + <div class="performer-vacancy-sidebar-left">
  38 + <div class="performance-vacancy-sidebar-company-wr">
  39 + <div class="performance-vacancy-sidebar-company-title style">Познякижилстрой</div>
  40 + <div class="performance-vacancy-sidebar-company-job style">
  41 + <ul>
  42 + <li class="activejob">
  43 + <a href="#">Испонитель</a>
  44 + <div class="sidebar-droped-wr style">
  45 + <ul>
  46 + <li><a href="#">Заказчик</a></li>
  47 + <li style="display: none"><a href="#">Испонитель</a></li>
  48 + </ul>
  49 + </div>
  50 + </li>
  51 + </ul>
  52 + </div>
  53 + <div class="performance-vacancy-sidebar-stars style">
  54 + <div class="rating">
  55 + <!--оценка-->
  56 + <input type="hidden" class="val" value="5"/>
  57 + <!--количество голосов-->
  58 + <input type="hidden" class="votes" value="12"/>
  59 + </div>
  60 + </div>
  61 + <div class="performance-vacancy-sidebar-comm style">30 отзывов</div>
  62 + <a href="#" class="performance-vacancy-sidebar-write style">написать отзыв</a>
  63 + </div>
  64 + <div class="performer-vacancy-sidebar-img style"><img src="images/ded-foto.jpg" alt=""/></div>
  65 + <div class="performer-vacancy-sidebar-all style">
  66 + <div class="performer-vacancy-sidebar-soc style">
  67 + <ul>
  68 + <li><a target="_blank" href="#"><img src="images/ico-fb.png" alt=""/></a></li>
  69 + <li><a target="_blank" href="#"><img src="images/ico-tw.png" alt=""/></a></li>
  70 + <li><a target="_blank" href="#"><img src="images/ico-in.png" alt=""/></a></li>
  71 + <li><a target="_blank" href="#"><img src="images/ico-vk.png" alt=""/></a></li>
  72 + </ul>
  73 + </div>
  74 + <div class="performer-vacancy-sidebar-views style">
  75 + <ul class="style">
  76 + <li><img src="images/sidebar-ico/ico-1.png" alt=""/><div class="sidebarvievstxt">2562 просмотра</div></li>
  77 + <li><img src="images/sidebar-ico/ico-9.png" alt=""/><div class="sidebarvievstxt"><span class="sidebar-views-txt">Статус: </span>свободен</div></li>
  78 + <li><img src="images/sidebar-ico/ico-2.png" alt=""/><div class="sidebarvievstxt"><span class="sidebar-views-txt">На сайте: </span>1г. 8 мес.</div></li>
  79 + <li><img src="images/sidebar-ico/ico-3.png" alt=""/><div class="sidebarvievstxt"><span class="sidebar-views-txt">Последний визит:<br /></span>2 дня назад</div></li>
  80 + <li><img src="images/sidebar-ico/ico-10.png" alt=""/><div class="sidebarvievstxt"><span class="sidebar-views-txt">Трудовой стаж:<br /></span>10 лет 6 месяцев</div></li>
  81 + <li><img src="images/sidebar-ico/ico-11.png" alt=""/><div class="sidebarvievstxt"><span class="sidebar-views-txt">Звание в МФП:<br /></span>кандидат в МФП</div></li>
  82 + <li><img src="images/sidebar-ico/ico-4.png" alt=""/><div class="sidebarvievstxt"><span class="sidebar-views-txt">Последнее обновление: </span>1 ноября 2015</div></li>
  83 + <li><img src="images/sidebar-ico/ico-12.png" alt=""/><div class="sidebarvievstxt"><span class="sidebar-views-txt">Стоимость работ:<br /></span>от 500 грн за час</div></li>
  84 + <li><img src="images/sidebar-ico/ico-13.png" alt=""/><div class="sidebarvievstxt">Наличный, безналичный расчет, электронные деньги</div></li>
  85 + <li><img src="images/sidebar-ico/ico-14.png" alt=""/><div class="sidebarvievstxt"><span class="sidebar-views-txt">Текущее место работы:<br /></span>ООО “Дизайнер”</div></li>
16 86
17 - <div class="body-content">  
18 -  
19 - <div class="row">  
20 - <div class="col-lg-4">  
21 - <h2>Heading</h2>  
22 -  
23 - <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et  
24 - dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip  
25 - ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu  
26 - fugiat nulla pariatur.</p>  
27 -  
28 - <p><a class="btn btn-default" href="http://www.yiiframework.com/doc/">Yii Documentation &raquo;</a></p> 87 + </ul>
  88 + </div>
  89 + </div>
  90 + </div>
29 </div> 91 </div>
30 - <div class="col-lg-4">  
31 - <h2>Heading</h2>  
32 -  
33 - <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et  
34 - dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip  
35 - ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu  
36 - fugiat nulla pariatur.</p> 92 + <div class="section-box performer-vacancy-vacant-wr">
37 93
38 - <p><a class="btn btn-default" href="http://www.yiiframework.com/forum/">Yii Forum &raquo;</a></p>  
39 - </div>  
40 - <div class="col-lg-4">  
41 - <h2>Heading</h2> 94 + <div class="performer-vacancy-vacant-title-reclam-wr style">
  95 + <div class="blog-post-wr">
  96 + <div class="blog-post-title style"><p>Как обшить балкон вагонкой своими руками: пошаговая инструкция</p></div>
  97 + <div class="blog-post-icons-wr style">
  98 + <div class="blog-post-date">
  99 + <span></span><p>22.09.2015</p>
  100 + </div>
  101 + <div class="blog-post-views">
  102 + <span></span><p>240</p>
  103 + </div>
  104 + <div class="blog-post-comm-num">
  105 + <span></span><p>12</p>
  106 + </div>
  107 + </div>
  108 + <div class="blog-post-content style">
  109 + <img src="images/blog/blog-post-img.jpg" alt=""/>
  110 + <p>Балкон, обшитый вагонкой, выглядит аккуратно, стильно и уютно. Монтаж обшивки вполне возможно выполнить своими силами — достаточно иметь в распоряжении необходимые инструменты и владеть базовыми навыками строительно-ремонтных работ.</p>
  111 + <p>Евровагонка — удобная в монтаже фасонная доска, которая позволяет создать обшивку из плотно пригнанных элементов с качественно обработанной поверхностью. Толщина евровагонки составляет 125 мм, общая ширина (с гребнем) 960 мм, рабочая ширина 880 мм.Балкон, обшитый вагонкой, выглядит аккуратно, стильно и уютно. Монтаж обшивки вполне возможно выполнить своими силами — достаточно</p>
  112 + <p>Балкон, обшитый вагонкой, выглядит аккуратно, стильно и уютно. Монтаж обшивки вполне возможно выполнить своими силами — достаточно иметь в распоряжении необходимые инструменты и владеть базовыми навыками строительно-ремонтных работ. Евровагонка — удобная в монтаже фасонная доска, которая позволяет создать обшивку из плотно пригнанных элементов с качественно обработанной поверхностью. Толщина евровагонки составляет 125 мм, общая ширина (с гребнем) 960 мм, рабочая ширина 880 мм.</p>
  113 + </div>
  114 + <a href="#" class="blog-post-see-all style"><span>Подробнее</span></a>
  115 + </div>
42 116
43 - <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et  
44 - dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip  
45 - ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu  
46 - fugiat nulla pariatur.</p> 117 + <div class="blog-post-wr">
  118 + <div class="blog-post-title style"><p>Как обшить балкон вагонкой своими руками: пошаговая инструкция</p></div>
  119 + <div class="blog-post-icons-wr style">
  120 + <div class="blog-post-date">
  121 + <span></span><p>22.09.2015</p>
  122 + </div>
  123 + <div class="blog-post-views">
  124 + <span></span><p>240</p>
  125 + </div>
  126 + <div class="blog-post-comm-num">
  127 + <span></span><p>12</p>
  128 + </div>
  129 + </div>
  130 + <div class="blog-post-content style">
  131 + <img src="images/blog/blog-post-img.jpg" alt=""/>
  132 + <p>Балкон, обшитый вагонкой, выглядит аккуратно, стильно и уютно. Монтаж обшивки вполне возможно выполнить своими силами — достаточно иметь в распоряжении необходимые инструменты и владеть базовыми навыками строительно-ремонтных работ.</p>
  133 + <p>Евровагонка — удобная в монтаже фасонная доска, которая позволяет создать обшивку из плотно пригнанных элементов с качественно обработанной поверхностью. Толщина евровагонки составляет 125 мм, общая ширина (с гребнем) 960 мм, рабочая ширина 880 мм.Балкон, обшитый вагонкой, выглядит аккуратно, стильно и уютно. Монтаж обшивки вполне возможно выполнить своими силами — достаточно</p>
  134 + <p>Балкон, обшитый вагонкой, выглядит аккуратно, стильно и уютно. Монтаж обшивки вполне возможно выполнить своими силами — достаточно иметь в распоряжении необходимые инструменты и владеть базовыми навыками строительно-ремонтных работ. Евровагонка — удобная в монтаже фасонная доска, которая позволяет создать обшивку из плотно пригнанных элементов с качественно обработанной поверхностью. Толщина евровагонки составляет 125 мм, общая ширина (с гребнем) 960 мм, рабочая ширина 880 мм.</p>
  135 + </div>
  136 + <a href="#" class="blog-post-see-all style"><span>Подробнее</span></a>
  137 + </div>
47 138
48 - <p><a class="btn btn-default" href="http://www.yiiframework.com/extensions/">Yii Extensions &raquo;</a></p> 139 + <div class="blog-post-wr">
  140 + <div class="blog-post-title style"><p>Как обшить балкон вагонкой своими руками: пошаговая инструкция</p></div>
  141 + <div class="blog-post-icons-wr style">
  142 + <div class="blog-post-date">
  143 + <span></span><p>22.09.2015</p>
  144 + </div>
  145 + <div class="blog-post-views">
  146 + <span></span><p>240</p>
  147 + </div>
  148 + <div class="blog-post-comm-num">
  149 + <span></span><p>12</p>
  150 + </div>
  151 + </div>
  152 + <div class="blog-post-content style">
  153 + <img src="images/blog/blog-post-img.jpg" alt=""/>
  154 + <p>Балкон, обшитый вагонкой, выглядит аккуратно, стильно и уютно. Монтаж обшивки вполне возможно выполнить своими силами — достаточно иметь в распоряжении необходимые инструменты и владеть базовыми навыками строительно-ремонтных работ.</p>
  155 + <p>Евровагонка — удобная в монтаже фасонная доска, которая позволяет создать обшивку из плотно пригнанных элементов с качественно обработанной поверхностью. Толщина евровагонки составляет 125 мм, общая ширина (с гребнем) 960 мм, рабочая ширина 880 мм.Балкон, обшитый вагонкой, выглядит аккуратно, стильно и уютно. Монтаж обшивки вполне возможно выполнить своими силами — достаточно</p>
  156 + <p>Балкон, обшитый вагонкой, выглядит аккуратно, стильно и уютно. Монтаж обшивки вполне возможно выполнить своими силами — достаточно иметь в распоряжении необходимые инструменты и владеть базовыми навыками строительно-ремонтных работ. Евровагонка — удобная в монтаже фасонная доска, которая позволяет создать обшивку из плотно пригнанных элементов с качественно обработанной поверхностью. Толщина евровагонки составляет 125 мм, общая ширина (с гребнем) 960 мм, рабочая ширина 880 мм.</p>
  157 + </div>
  158 + <a href="#" class="blog-post-see-all style"><span>Подробнее</span></a>
  159 + </div>
  160 + </div>
  161 + <div class="navi-buttons-wr style">
  162 + <ul class="pagination">
  163 + <li><a href="#">1</a></li>
  164 + <li class="active"><a href="#">2</a></li>
  165 + <li><a href="#">3</a></li>
  166 + <li><a href="#">4</a></li>
  167 + <li><a href="#">5</a></li>
  168 + <li class="dots-next"><a href="#">...</a></li>
  169 + <li><a href="#">156</a></li>
  170 + </ul>
  171 + </div>
49 </div> 172 </div>
50 </div> 173 </div>
51 -  
52 </div> 174 </div>
53 -</div>  
54 -<iframe src="https://www.google.com/maps/embed/v1/view?key=AIzaSyCaeB8Lppsl-JqjsGWVHxxMQ3WqU8vGlOQ&center=50.4004297,30.6290586&zoom=18" frameborder="0" width="100%" height="300px"></iframe> 175 +
  176 +</div>
55 \ No newline at end of file 177 \ No newline at end of file
frontend/web/css/flags32.css deleted
1 -.f32 .flag{display:inline-block;height:32px;width:32px;vertical-align:text-top;line-height:32px;background:url(../images/flags32.png) no-repeat;}  
2 -.f32 ._African_Union{background-position:0 -32px;}  
3 -.f32 ._Arab_League{background-position:0 -64px;}  
4 -.f32 ._ASEAN{background-position:0 -96px;}  
5 -.f32 ._CARICOM{background-position:0 -128px;}  
6 -.f32 ._CIS{background-position:0 -160px;}  
7 -.f32 ._Commonwealth{background-position:0 -192px;}  
8 -.f32 ._England{background-position:0 -224px;}  
9 -.f32 ._European_Union, .f32 .eu{background-position:0 -256px;}  
10 -.f32 ._Islamic_Conference{background-position:0 -288px;}  
11 -.f32 ._Kosovo{background-position:0 -320px;}  
12 -.f32 ._NATO{background-position:0 -352px;}  
13 -.f32 ._Northern_Cyprus{background-position:0 -384px;}  
14 -.f32 ._Northern_Ireland{background-position:0 -416px;}  
15 -.f32 ._Olimpic_Movement{background-position:0 -448px;}  
16 -.f32 ._OPEC{background-position:0 -480px;}  
17 -.f32 ._Red_Cross{background-position:0 -512px;}  
18 -.f32 ._Scotland{background-position:0 -544px;}  
19 -.f32 ._Somaliland{background-position:0 -576px;}  
20 -.f32 ._Tibet{background-position:0 -608px;}  
21 -.f32 ._United_Nations{background-position:0 -640px;}  
22 -.f32 ._Wales{background-position:0 -672px;}  
23 -.f32 .ad{background-position:0 -704px;}  
24 -.f32 .ae{background-position:0 -736px;}  
25 -.f32 .af{background-position:0 -768px;}  
26 -.f32 .ag{background-position:0 -800px;}  
27 -.f32 .ai{background-position:0 -832px;}  
28 -.f32 .al{background-position:0 -864px;}  
29 -.f32 .am{background-position:0 -896px;}  
30 -.f32 .ao{background-position:0 -928px;}  
31 -.f32 .aq{background-position:0 -960px;}  
32 -.f32 .ar{background-position:0 -992px;}  
33 -.f32 .as{background-position:0 -1024px;}  
34 -.f32 .at{background-position:0 -1056px;}  
35 -.f32 .au{background-position:0 -1088px;}  
36 -.f32 .aw{background-position:0 -1120px;}  
37 -.f32 .ax{background-position:0 -1152px;}  
38 -.f32 .az{background-position:0 -1184px;}  
39 -.f32 .ba{background-position:0 -1216px;}  
40 -.f32 .bb{background-position:0 -1248px;}  
41 -.f32 .bd{background-position:0 -1280px;}  
42 -.f32 .be{background-position:0 -1312px;}  
43 -.f32 .bf{background-position:0 -1344px;}  
44 -.f32 .bg{background-position:0 -1376px;}  
45 -.f32 .bh{background-position:0 -1408px;}  
46 -.f32 .bi{background-position:0 -1440px;}  
47 -.f32 .bj{background-position:0 -1472px;}  
48 -.f32 .bm{background-position:0 -1504px;}  
49 -.f32 .bn{background-position:0 -1536px;}  
50 -.f32 .bo{background-position:0 -1568px;}  
51 -.f32 .br{background-position:0 -1600px;}  
52 -.f32 .bs{background-position:0 -1632px;}  
53 -.f32 .bt{background-position:0 -1664px;}  
54 -.f32 .bw{background-position:0 -1696px;}  
55 -.f32 .by{background-position:0 -1728px;}  
56 -.f32 .bz{background-position:0 -1760px;}  
57 -.f32 .ca{background-position:0 -1792px;}  
58 -.f32 .cd{background-position:0 -1824px;}  
59 -.f32 .cf{background-position:0 -1856px;}  
60 -.f32 .cg{background-position:0 -1888px;}  
61 -.f32 .ch{background-position:0 -1920px;}  
62 -.f32 .ci{background-position:0 -1952px;}  
63 -.f32 .ck{background-position:0 -1984px;}  
64 -.f32 .cl{background-position:0 -2016px;}  
65 -.f32 .cm{background-position:0 -2048px;}  
66 -.f32 .cn{background-position:0 -2080px;}  
67 -.f32 .co{background-position:0 -2112px;}  
68 -.f32 .cr{background-position:0 -2144px;}  
69 -.f32 .cu{background-position:0 -2176px;}  
70 -.f32 .cv{background-position:0 -2208px;}  
71 -.f32 .cy{background-position:0 -2240px;}  
72 -.f32 .cz{background-position:0 -2272px;}  
73 -.f32 .de{background-position:0 -2304px;}  
74 -.f32 .dj{background-position:0 -2336px;}  
75 -.f32 .dk{background-position:0 -2368px;}  
76 -.f32 .dm{background-position:0 -2400px;}  
77 -.f32 .do{background-position:0 -2432px;}  
78 -.f32 .dz{background-position:0 -2464px;}  
79 -.f32 .ec{background-position:0 -2496px;}  
80 -.f32 .ee{background-position:0 -2528px;}  
81 -.f32 .eg{background-position:0 -2560px;}  
82 -.f32 .eh{background-position:0 -2592px;}  
83 -.f32 .er{background-position:0 -2624px;}  
84 -.f32 .es{background-position:0 -2656px;}  
85 -.f32 .et{background-position:0 -2688px;}  
86 -.f32 .fi{background-position:0 -2720px;}  
87 -.f32 .fj{background-position:0 -2752px;}  
88 -.f32 .fm{background-position:0 -2784px;}  
89 -.f32 .fo{background-position:0 -2816px;}  
90 -.f32 .fr{background-position:0 -2848px;} .f32 .bl, .f32 .cp, .f32 .mf, .f32 .yt{background-position:0 -2848px;}  
91 -.f32 .ga{background-position:0 -2880px;}  
92 -.f32 .gb{background-position:0 -2912px;} .f32 .sh{background-position:0 -2912px;}  
93 -.f32 .gd{background-position:0 -2944px;}  
94 -.f32 .ge{background-position:0 -2976px;}  
95 -.f32 .gg{background-position:0 -3008px;}  
96 -.f32 .gh{background-position:0 -3040px;}  
97 -.f32 .gi{background-position:0 -3072px;}  
98 -.f32 .gl{background-position:0 -3104px;}  
99 -.f32 .gm{background-position:0 -3136px;}  
100 -.f32 .gn{background-position:0 -3168px;}  
101 -.f32 .gp{background-position:0 -3200px;}  
102 -.f32 .gq{background-position:0 -3232px;}  
103 -.f32 .gr{background-position:0 -3264px;}  
104 -.f32 .gt{background-position:0 -3296px;}  
105 -.f32 .gu{background-position:0 -3328px;}  
106 -.f32 .gw{background-position:0 -3360px;}  
107 -.f32 .gy{background-position:0 -3392px;}  
108 -.f32 .hk{background-position:0 -3424px;}  
109 -.f32 .hn{background-position:0 -3456px;}  
110 -.f32 .hr{background-position:0 -3488px;}  
111 -.f32 .ht{background-position:0 -3520px;}  
112 -.f32 .hu{background-position:0 -3552px;}  
113 -.f32 .id{background-position:0 -3584px;}  
114 -.f32 .mc{background-position:0 -3584px;}  
115 -.f32 .ie{background-position:0 -3616px;}  
116 -.f32 .il{background-position:0 -3648px;}  
117 -.f32 .im{background-position:0 -3680px;}  
118 -.f32 .in{background-position:0 -3712px;}  
119 -.f32 .iq{background-position:0 -3744px;}  
120 -.f32 .ir{background-position:0 -3776px;}  
121 -.f32 .is{background-position:0 -3808px;}  
122 -.f32 .it{background-position:0 -3840px;}  
123 -.f32 .je{background-position:0 -3872px;}  
124 -.f32 .jm{background-position:0 -3904px;}  
125 -.f32 .jo{background-position:0 -3936px;}  
126 -.f32 .jp{background-position:0 -3968px;}  
127 -.f32 .ke{background-position:0 -4000px;}  
128 -.f32 .kg{background-position:0 -4032px;}  
129 -.f32 .kh{background-position:0 -4064px;}  
130 -.f32 .ki{background-position:0 -4096px;}  
131 -.f32 .km{background-position:0 -4128px;}  
132 -.f32 .kn{background-position:0 -4160px;}  
133 -.f32 .kp{background-position:0 -4192px;}  
134 -.f32 .kr{background-position:0 -4224px;}  
135 -.f32 .kw{background-position:0 -4256px;}  
136 -.f32 .ky{background-position:0 -4288px;}  
137 -.f32 .kz{background-position:0 -4320px;}  
138 -.f32 .la{background-position:0 -4352px;}  
139 -.f32 .lb{background-position:0 -4384px;}  
140 -.f32 .lc{background-position:0 -4416px;}  
141 -.f32 .li{background-position:0 -4448px;}  
142 -.f32 .lk{background-position:0 -4480px;}  
143 -.f32 .lr{background-position:0 -4512px;}  
144 -.f32 .ls{background-position:0 -4544px;}  
145 -.f32 .lt{background-position:0 -4576px;}  
146 -.f32 .lu{background-position:0 -4608px;}  
147 -.f32 .lv{background-position:0 -4640px;}  
148 -.f32 .ly{background-position:0 -4672px;}  
149 -.f32 .ma{background-position:0 -4704px;}  
150 -.f32 .md{background-position:0 -4736px;}  
151 -.f32 .me{background-position:0 -4768px;}  
152 -.f32 .mg{background-position:0 -4800px;}  
153 -.f32 .mh{background-position:0 -4832px;}  
154 -.f32 .mk{background-position:0 -4864px;}  
155 -.f32 .ml{background-position:0 -4896px;}  
156 -.f32 .mm{background-position:0 -4928px;}  
157 -.f32 .mn{background-position:0 -4960px;}  
158 -.f32 .mo{background-position:0 -4992px;}  
159 -.f32 .mq{background-position:0 -5024px;}  
160 -.f32 .mr{background-position:0 -5056px;}  
161 -.f32 .ms{background-position:0 -5088px;}  
162 -.f32 .mt{background-position:0 -5120px;}  
163 -.f32 .mu{background-position:0 -5152px;}  
164 -.f32 .mv{background-position:0 -5184px;}  
165 -.f32 .mw{background-position:0 -5216px;}  
166 -.f32 .mx{background-position:0 -5248px;}  
167 -.f32 .my{background-position:0 -5280px;}  
168 -.f32 .mz{background-position:0 -5312px;}  
169 -.f32 .na{background-position:0 -5344px;}  
170 -.f32 .nc{background-position:0 -5376px;}  
171 -.f32 .ne{background-position:0 -5408px;}  
172 -.f32 .ng{background-position:0 -5440px;}  
173 -.f32 .ni{background-position:0 -5472px;}  
174 -.f32 .nl{background-position:0 -5504px;} .f32 .bq{background-position:0 -5504px;}  
175 -.f32 .no{background-position:0 -5536px;} .f32 .bv, .f32 .nq, .f32 .sj{background-position:0 -5536px;}  
176 -.f32 .np{background-position:0 -5568px;}  
177 -.f32 .nr{background-position:0 -5600px;}  
178 -.f32 .nz{background-position:0 -5632px;}  
179 -.f32 .om{background-position:0 -5664px;}  
180 -.f32 .pa{background-position:0 -5696px;}  
181 -.f32 .pe{background-position:0 -5728px;}  
182 -.f32 .pf{background-position:0 -5760px;}  
183 -.f32 .pg{background-position:0 -5792px;}  
184 -.f32 .ph{background-position:0 -5824px;}  
185 -.f32 .pk{background-position:0 -5856px;}  
186 -.f32 .pl{background-position:0 -5888px;}  
187 -.f32 .pr{background-position:0 -5920px;}  
188 -.f32 .ps{background-position:0 -5952px;}  
189 -.f32 .pt{background-position:0 -5984px;}  
190 -.f32 .pw{background-position:0 -6016px;}  
191 -.f32 .py{background-position:0 -6048px;}  
192 -.f32 .qa{background-position:0 -6080px;}  
193 -.f32 .re{background-position:0 -6112px;}  
194 -.f32 .ro{background-position:0 -6144px;}  
195 -.f32 .rs{background-position:0 -6176px;}  
196 -.f32 .ru{background-position:0 -6208px;}  
197 -.f32 .rw{background-position:0 -6240px;}  
198 -.f32 .sa{background-position:0 -6272px;}  
199 -.f32 .sb{background-position:0 -6304px;}  
200 -.f32 .sc{background-position:0 -6336px;}  
201 -.f32 .sd{background-position:0 -6368px;}  
202 -.f32 .se{background-position:0 -6400px;}  
203 -.f32 .sg{background-position:0 -6432px;}  
204 -.f32 .si{background-position:0 -6464px;}  
205 -.f32 .sk{background-position:0 -6496px;}  
206 -.f32 .sl{background-position:0 -6528px;}  
207 -.f32 .sm{background-position:0 -6560px;}  
208 -.f32 .sn{background-position:0 -6592px;}  
209 -.f32 .so{background-position:0 -6624px;}  
210 -.f32 .sr{background-position:0 -6656px;}  
211 -.f32 .st{background-position:0 -6688px;}  
212 -.f32 .sv{background-position:0 -6720px;}  
213 -.f32 .sy{background-position:0 -6752px;}  
214 -.f32 .sz{background-position:0 -6784px;}  
215 -.f32 .tc{background-position:0 -6816px;}  
216 -.f32 .td{background-position:0 -6848px;}  
217 -.f32 .tg{background-position:0 -6880px;}  
218 -.f32 .th{background-position:0 -6912px;}  
219 -.f32 .tj{background-position:0 -6944px;}  
220 -.f32 .tl{background-position:0 -6976px;}  
221 -.f32 .tm{background-position:0 -7008px;}  
222 -.f32 .tn{background-position:0 -7040px;}  
223 -.f32 .to{background-position:0 -7072px;}  
224 -.f32 .tr{background-position:0 -7104px;}  
225 -.f32 .tt{background-position:0 -7136px;}  
226 -.f32 .tv{background-position:0 -7168px;}  
227 -.f32 .tw{background-position:0 -7200px;}  
228 -.f32 .tz{background-position:0 -7232px;}  
229 -.f32 .ua{background-position:0 -7264px;}  
230 -.f32 .ug{background-position:0 -7296px;}  
231 -.f32 .us{background-position:0 -7328px;}  
232 -.f32 .uy{background-position:0 -7360px;}  
233 -.f32 .uz{background-position:0 -7392px;}  
234 -.f32 .va{background-position:0 -7424px;}  
235 -.f32 .vc{background-position:0 -7456px;}  
236 -.f32 .ve{background-position:0 -7488px;}  
237 -.f32 .vg{background-position:0 -7520px;}  
238 -.f32 .vi{background-position:0 -7552px;}  
239 -.f32 .vn{background-position:0 -7584px;}  
240 -.f32 .vu{background-position:0 -7616px;}  
241 -.f32 .ws{background-position:0 -7648px;}  
242 -.f32 .ye{background-position:0 -7680px;}  
243 -.f32 .za{background-position:0 -7712px;}  
244 -.f32 .zm{background-position:0 -7744px;}  
245 -.f32 .zw{background-position:0 -7776px;}  
246 -.f32 .sx{background-position:0 -7808px;}  
247 -.f32 .cw{background-position:0 -7840px;}  
248 -.f32 .ss{background-position:0 -7872px;}  
249 -<<<<<<< 1fd2bdb43fc5cfdcf100cac8b72e67fd81e7f0fa  
250 -.f32 .nu{background-position:0 -7904px;}  
251 -=======  
252 -.f32 .nu{background-position:0 -7904px;}  
253 ->>>>>>> 0e0edb85a79343e4d020ff05378179e2323b21bd  
frontend/web/css/site.css deleted
1 -html,  
2 -body {  
3 - height: 100%;  
4 -}  
5 -  
6 -.wrap {  
7 - min-height: 100%;  
8 - height: auto;  
9 - margin: 0 auto -60px;  
10 - padding: 0 0 60px;  
11 -}  
12 -  
13 -.wrap > .container {  
14 - padding: 70px 15px 20px;  
15 -}  
16 -  
17 -.footer {  
18 - height: 60px;  
19 - background-color: #f5f5f5;  
20 - border-top: 1px solid #ddd;  
21 - padding-top: 20px;  
22 -}  
23 -  
24 -.jumbotron {  
25 - text-align: center;  
26 - background-color: transparent;  
27 -}  
28 -  
29 -.jumbotron .btn {  
30 - font-size: 21px;  
31 - padding: 14px 24px;  
32 -}  
33 -  
34 -.not-set {  
35 - color: #c55;  
36 - font-style: italic;  
37 -}  
38 -  
39 -/* add sorting icons to gridview sort links */  
40 -a.asc:after, a.desc:after {  
41 - position: relative;  
42 - top: 1px;  
43 - display: inline-block;  
44 - font-family: 'Glyphicons Halflings';  
45 - font-style: normal;  
46 - font-weight: normal;  
47 - line-height: 1;  
48 - padding-left: 5px;  
49 -}  
50 -  
51 -a.asc:after {  
52 - content: /*"\e113"*/ "\e151";  
53 -}  
54 -  
55 -a.desc:after {  
56 - content: /*"\e114"*/ "\e152";  
57 -}  
58 -  
59 -.sort-numerical a.asc:after {  
60 - content: "\e153";  
61 -}  
62 -  
63 -.sort-numerical a.desc:after {  
64 - content: "\e154";  
65 -}  
66 -  
67 -.sort-ordinal a.asc:after {  
68 - content: "\e155";  
69 -}  
70 -  
71 -.sort-ordinal a.desc:after {  
72 - content: "\e156";  
73 -}  
74 -  
75 -.grid-view th {  
76 - white-space: nowrap;  
77 -}  
78 -  
79 -.hint-block {  
80 - display: block;  
81 - margin-top: 5px;  
82 - color: #999;  
83 -}  
84 -  
85 -.error-summary {  
86 - color: #a94442;  
87 - background: #fdf7f7;  
88 - border-left: 3px solid #eed3d7;  
89 - padding: 10px 20px;  
90 - margin: 0 0 15px 0;  
91 -}  
92 -.remove-lang {  
93 - position: absolute;  
94 - right: 0;  
95 - cursor: pointer;  
96 -}  
97 \ No newline at end of file 0 \ No newline at end of file
frontend/web/css/style.css 0 → 100644
  1 +*{
  2 + margin: 0;
  3 + padding: 0;}
  4 +body {
  5 + font-family: 'Roboto';
  6 + font-style: normal;
  7 + font-weight: 400;
  8 + font-size: 15px;
  9 + color: #333;
  10 +}
  11 +img {
  12 + border: none;
  13 +}
  14 +
  15 +input::-webkit-input-placeholder{color:#777}input::-moz-placeholder{color:#777}input:-moz-placeholder{color:#777}input:-ms-input-placeholder{color:#777}textarea::-webkit-input-placeholder{color:#777}textarea::-moz-placeholder{color:#777}textarea:-moz-placeholder{color:#777}textarea:-ms-input-placeholder{color:#777}
  16 +input, textarea{color: #777}
  17 +[class*="section-box"] {
  18 + width: 100%;
  19 + position: relative;
  20 + float: left;
  21 +}
  22 +.box-wr {margin: 0 auto; width: 960px;}
  23 +.box-all {width: 960px; float: left; box-sizing: border-box; padding: 0 10px; position: relative}
  24 +.section-box.header {
  25 + height: 114px;
  26 +}
  27 +.section-box-1 {
  28 + height: 500px;
  29 + background: url("../images/sect-bg-1.jpg") 50% no-repeat;
  30 +}
  31 +.section-box-3 {
  32 + height: 601px;
  33 + background: #fff;
  34 + box-sizing: border-box;
  35 + padding-top: 40px;
  36 +}
  37 +.section-box-4 {
  38 + height: 424px;
  39 + background: url("../images/sect-bg-4.jpg") 50% no-repeat;
  40 +}
  41 +.section-box-map {height: 500px; margin-top: 21px}
  42 +.section-box.footer {
  43 + height: 272px;
  44 +}
  45 +.section-box.first-header {
  46 + height: 114px;
  47 + background: #fff;
  48 +}
  49 +.section-box.first-header .box-all {
  50 + height: 114px;
  51 +}
  52 +.section-box.menu-header-all {
  53 + height: 41px;
  54 + background: #0072bc;
  55 +}
  56 +.section-box.footer-all {
  57 + height: 232px;
  58 + background: #f1f1f1;
  59 + box-sizing: border-box;
  60 +}
  61 +.section-box.artweb-footer-all {
  62 + height: 40px;
  63 + background: #757575;
  64 +}
  65 +img.logo {
  66 + position: absolute;
  67 + top: 50%;
  68 + margin-top: -34px;
  69 + left: 10px;
  70 +}
  71 +.header-proektant-slogan {
  72 + width: 620px;
  73 + padding:23px 0 0 120px;
  74 + box-sizing: border-box;
  75 + font-size: 28px;
  76 + line-height: 35px;
  77 + float: left;
  78 +}
  79 +ul.header-contacts-menu {
  80 + width: 136px;
  81 + float: left;
  82 + height: 114px;
  83 + margin-left: 20px;
  84 + box-sizing: border-box;
  85 + padding-top: 30px;
  86 +}
  87 +ul.header-contacts-menu li {
  88 + list-style: none;
  89 + position: relative;
  90 + box-sizing: border-box;
  91 + padding-left: 22px;
  92 + height: 20px;
  93 + transition: 0.3s;
  94 + margin-top: 11px;
  95 +}
  96 +ul.header-contacts-menu li:first-child {
  97 + margin-top: 0;
  98 +}
  99 +ul.header-contacts-menu li:hover a {
  100 + opacity: 0.9;
  101 +}
  102 +ul.header-contacts-menu li span {
  103 + width: 16px;
  104 + height: 16px;
  105 + position: absolute;
  106 + left: 0;
  107 + top: 50%;
  108 + margin-top: -8px;
  109 +}
  110 +ul.header-contacts-menu li a {
  111 + color: #0072bc;
  112 + text-decoration: underline;
  113 + font-size: 13px;
  114 + height: 20px;
  115 + display: block;
  116 + line-height: 20px;
  117 +}
  118 +ul.header-contacts-menu li:last-child a {
  119 + text-decoration: dashed;
  120 +}
  121 +.header-cabinet-wr {
  122 + width: 164px;
  123 + float: left;
  124 + height: 114px;
  125 + box-sizing: border-box;
  126 + padding-top: 33px;
  127 +}
  128 +.header-cabinet-foto {
  129 + width: 48px;
  130 + height: 48px;
  131 + float: left;
  132 + overflow: hidden;
  133 + border-radius: 4px;
  134 + background: url("../images/ico-profile.png") no-repeat;
  135 +}
  136 +.header-cabinet-foto img {
  137 + width: 48px;
  138 + height: 48px;
  139 + max-width: 48px;
  140 + max-height: 48px;
  141 +}
  142 +.header-cabinet-profile {
  143 + float: left;
  144 + font-size: 18px;
  145 + margin-right: 26px;
  146 + margin-top: 5px;
  147 + margin-left: 13px;
  148 +}
  149 +.header-cabinet-wr a {
  150 + float: left;
  151 + text-decoration: underline;
  152 + color: #0072bc;
  153 + font-size: 13px;
  154 + transition: 0.3s;
  155 + margin-left: 14px;
  156 +}
  157 +.header-cabinet-wr a:hover{opacity: 0.9}
  158 +ul.main-menu {
  159 + width: 620px;
  160 + float: left;
  161 + height: 41px;
  162 +}
  163 +ul.main-menu li {
  164 + float: left;
  165 + list-style: none;
  166 + height: 100%;
  167 + border-right: 1px solid #338ec9;
  168 + padding: 0 35px 0 20px;
  169 + position: relative;
  170 +}
  171 +ul.main-menu li:first-child{
  172 + border-left: 1px solid #338ec9;
  173 +}
  174 +ul.main-menu li span {
  175 + cursor: pointer;
  176 + color: #fff;
  177 + display: block;
  178 + height: 100%;
  179 + line-height: 41px;
  180 + position: relative;
  181 +}
  182 +ul.main-menu li span:after{
  183 + content: '';
  184 + width: 9px;
  185 + height: 6px;
  186 + position: absolute;
  187 + right: 0;
  188 + margin-right: -15px;
  189 + top: 50%;
  190 + margin-top: -3px;
  191 + background: url("../images/arrow-main-menu.png") no-repeat;
  192 +}
  193 +.main-menu-hover {
  194 + display: none;
  195 + background: #fff;
  196 + width: 218px;
  197 + border: 1px solid #d7d7d7;
  198 + position: absolute;
  199 + top: 41px;
  200 + left: 0;
  201 + z-index: 333;
  202 +}
  203 +.main-menu li ul{
  204 + width: 218px;
  205 + float: left;
  206 + border-bottom:1px solid #d7d7d7;
  207 +
  208 +}
  209 +.main-menu li ul li {
  210 + width: 100%;
  211 + float: left;
  212 + border-right: 0;
  213 + padding: 0;
  214 + text-align: center;
  215 + height: 40px;
  216 + line-height: 40px;
  217 +}
  218 +.main-menu li ul li a {
  219 + text-decoration: none;
  220 + width: 100%;
  221 + height: 40px;
  222 + line-height: 40px;
  223 + color: inherit;
  224 +}
  225 +.main-menu li ul li:hover{
  226 + background: #62b8ef;
  227 +}
  228 +.main-menu li ul li:hover a{
  229 + color: #fff;
  230 +}
  231 +.main-menu li ul li:first-child{border-left: none}
  232 +.main-menu li:hover .main-menu-hover{display: block !important;}
  233 +.main-menu-category{color: #0072bc !important;}
  234 +.main-menu-category:hover {
  235 + color: #0072bc !important;
  236 + background: #fff !important;
  237 +}
  238 +.main-menu-hover ul:last-child {
  239 + border-bottom: none;
  240 +}
  241 +
  242 +
  243 +.search-main-menu {
  244 + float: right;
  245 + width: 300px;
  246 + height: 41px;
  247 +}
  248 +.search-main-menu form {
  249 + width: 100%;
  250 + height: 100%;
  251 + position: relative;
  252 + margin-top: 6px;
  253 +}
  254 +.search-main-menu form input {
  255 + width: 100%;
  256 + height: 29px;
  257 + border: none;
  258 + box-sizing: border-box;
  259 + padding: 0 32px 0 10px;
  260 +}
  261 +.search-main-menu form input[type="submit"] {
  262 + width: 29px;
  263 + height: 27px;
  264 + margin-top: 1px;
  265 + position: absolute;
  266 + top: 0;
  267 + right: 1px;
  268 + background: #fff url("../images/ico-search.png") 7px 6px no-repeat;
  269 + border: none;
  270 + outline: none;
  271 + cursor: pointer;
  272 + padding: 0 !important;
  273 +}
  274 +.section-box-base {
  275 + font-size: 40px;
  276 + font-weight: 700;
  277 + color: #fff;
  278 + text-align: center;
  279 + margin-top: 42px;
  280 + line-height: 48px;
  281 +}
  282 +.section-box-base-block {
  283 + height: 282px;
  284 + overflow: hidden;
  285 + margin-top: 80px;
  286 +}
  287 +.base-blocks {
  288 + width: 300px;
  289 + height: 100%;
  290 + float: left;
  291 + margin-left: 20px;
  292 + text-align: center;
  293 +}
  294 +.base-blocks:first-child{margin-left: 0}
  295 +.base-blocks-button {
  296 + width: 248px;
  297 + height: 62px;
  298 + border-radius: 4px;
  299 + display: block;
  300 + text-align: center;
  301 + color: #fff;
  302 + font-size: 18px;
  303 + text-decoration: none;
  304 + line-height: 65px;
  305 + margin: 0 auto;
  306 + transition: 0.3s;
  307 +}
  308 +.base-blocks-button:hover{font-size: 20px}
  309 +.base-blocks-button.first_butt{
  310 + background: #fc9b28;
  311 + border-bottom: 3px solid #ef8505;
  312 +}
  313 +.base-blocks-button.second_butt{
  314 + background: #64c04a;
  315 + border-bottom: 3px solid #3e9825;
  316 +}
  317 +.base-blocks-button.third_butt{
  318 + background: #0e83cf;
  319 + border-bottom: 3px solid #0054a6;
  320 +}
  321 +.base-blocks-button.first_butt:hover{
  322 + background: #ef8505;
  323 + border-bottom: 3px solid #fc9b28;
  324 +}
  325 +.base-blocks-button.second_butt:hover{
  326 + background: #3e9825;
  327 + border-bottom: 3px solid #64c04a;
  328 +}
  329 +.base-blocks-button.third_butt:hover{
  330 + background: #0054a6;
  331 + border-bottom: 3px solid #0e83cf;
  332 +}
  333 +.base-blocks-text {
  334 + width: 100%;
  335 +}
  336 +.base-blocks-text p {
  337 + width: 100%;
  338 + color: #fff;
  339 + font-size: 18px;
  340 + line-height: 22px;
  341 + margin-top: 20px;
  342 +}
  343 +.base-blocks-text p:first-child{margin-top: 17px}
  344 +.base-blocks-text p a {
  345 + width: 100%;
  346 + text-decoration: underline;
  347 + color: #69d34b;
  348 + transition: 0.3s;
  349 + display: block;
  350 +}
  351 +.base-blocks-text p a:hover{opacity: 0.9}
  352 +.menu-two-wrapp-title {
  353 + width: 100%;
  354 + float: left;
  355 + font-size: 28px;
  356 + font-weight: 700;
  357 + text-align: center;
  358 + margin-top: 44px;
  359 +}
  360 +.menu-two-wrapp {
  361 + width: 100%;
  362 + float: left;
  363 + border-radius: 4px;
  364 + /*min-height: 322px;*/
  365 + height: 323px;
  366 + position: relative;
  367 + overflow: hidden;
  368 + margin-top: 23px;
  369 + border-top: 1px solid #dfdfdf;
  370 + border-bottom: 1px solid #dfdfdf;
  371 + border-right: 1px solid #dfdfdf;
  372 +}
  373 +ul.content-menu-first {
  374 + width: 235px;
  375 + float: left;
  376 + position: relative;
  377 +}
  378 +ul.content-menu-first li {
  379 + width: 100%;
  380 + list-style: none;
  381 + box-sizing: border-box;
  382 + border-top: 1px solid #dfdfdf;
  383 + border-right: 1px solid #dfdfdf;
  384 + height: 36px;
  385 + line-height: 36px;
  386 + cursor: pointer;
  387 + transition: 0.3s;
  388 + background: #fff;
  389 +}
  390 +ul.content-menu-first li:first-child {border-top: 0}
  391 +ul.content-menu-first li:hover {
  392 + background: #bb0f3f;
  393 +}
  394 +
  395 +ul.content-menu-first li a {
  396 + text-decoration: none;
  397 + color: #333333;
  398 + display: block;
  399 +}
  400 +ul.content-menu-first li:hover a{
  401 + color: #fff !important;
  402 +}
  403 +ul.content-menu-first li span {
  404 + width: 5px;
  405 + height: 100%;
  406 + display: block;
  407 + margin-right: 13px;
  408 + float: left;
  409 +}
  410 +ul.content-menu-first li > ul {
  411 + position: absolute;
  412 + top: 0;
  413 + left: 235px;
  414 + width: 235px;
  415 + height: 100%;
  416 + display: none;
  417 +}
  418 +
  419 +ul.content-menu-first li:hover ul {
  420 + display: block;
  421 +}
  422 +ul.content-menu-first li ul li:hover {
  423 + background: #f3f3f3 !important;
  424 +}
  425 +ul.content-menu-first li ul li:hover a {
  426 + color: #333333 !important;
  427 +}
  428 +ul.content-menu-first li > ul li{box-sizing: border-box;padding-left: 19px}
  429 +ul.content-menu-first li > ul li a{color: #fff !important}
  430 +.remove-link, .remove-link-two {position: relative}
  431 +.hack-arrow {
  432 + width: 6px;
  433 + height: 100%;
  434 + background: url("../images/arrow-menu-two.png") center center no-repeat;
  435 + position: absolute;
  436 + right: 8px;
  437 + top: 0;
  438 +}
  439 +.yes-after:hover .hack-arrow {
  440 + background: url("../images/arrow-menu-two-hov.png") center center no-repeat;
  441 +}
  442 +.remove-link-two .hack-arrow {
  443 + background: url("../images/arrow-menu-two-hov.png") center center no-repeat;
  444 +}
  445 +/*.yes-after-two:hover .new-arow {*/
  446 +/*background: url("../images/arrow-menu-two.png") no-repeat;*/
  447 +/*}*/
  448 +li.hov-arrow:after{ background: url("../images/arrow-menu-two-hov.png") no-repeat !important;}
  449 +ul.third-ul-menu{display: none !important;}
  450 +ul.content-menu-first li ul li:hover ul.third-ul-menu{display: block !important;}
  451 +.third-ul-menu li:last-child{border-bottom: 1px solid #dfdfdf;}
  452 +ul.last-ul-menu{display: none!important;}
  453 +.last-display-imp{display: block !important;}
  454 +.last-ul-menu li{border-right: none !important}
  455 +ul.third-ul-menu li:hover ul.last-ul-menu {display: block !important;}
  456 +ul.content-menu-first li ul li:last-child, ul.content-menu-first li:last-child{border-bottom: 1px solid #dfdfdf;}
  457 +ul.third-ul-menu li {background: #fff !important; height: auto; line-height: 18px; min-height: 36px; padding: 9px 0 8px 0;}
  458 +ul.third-ul-menu li:after{margin-top: -13px; }
  459 +/*ul.third-ul-menu li:after{margin-top: -13px; height: 100% !important; background: red !important;}*/
  460 +/***************************/
  461 +
  462 +
  463 +.all-project-home-title_menu {
  464 + width: 100%;
  465 + float: left;
  466 + text-align: center;
  467 +}
  468 +.all-project-home-title_menu p {
  469 + font-weight: 700;
  470 + font-size: 28px;
  471 + float: left;
  472 + display: block;
  473 + height: 40px;
  474 + line-height: 40px;
  475 + margin-left: 182px;
  476 + margin-right: 29px;
  477 +}
  478 +.all-project-home-title_menu ul {float: left; height: 40px; box-sizing: border-box; padding-top: 10px}
  479 +.all-project-home-title_menu ul li {
  480 + float: left;
  481 + list-style: none;
  482 + height: 27px;
  483 + line-height: 27px;
  484 + color: #0072bc;
  485 + cursor: pointer;
  486 + padding: 0 17px;
  487 +}
  488 +.all-project-home-title_menu ul li span {
  489 + border-bottom: 1px dashed #0072bc;
  490 + font-size: 15px;
  491 +}
  492 +li.project-home-active {
  493 + background:#0072bc;
  494 + cursor: default !important;
  495 + border-radius: 27px;
  496 +}
  497 +li.project-home-active span {
  498 + border-bottom: none !important;
  499 +}
  500 +li.project-home-active span{
  501 + color: #fff;
  502 +}
  503 +.shadow-map {
  504 + width: 100%;
  505 + height: 6px;
  506 + background: url("../images/shadow-map.png");
  507 + position: absolute;
  508 + top: 0;
  509 + left: 0;
  510 + z-index: 3;
  511 +}
  512 +.federation-home-title {
  513 + width: 100%;
  514 + float: left;
  515 + font-size: 28px;
  516 + font-weight: 700;
  517 + color: #fff;
  518 + margin-top: 44px;
  519 + text-align: center;
  520 +}
  521 +.federation-home-list {
  522 +
  523 + height: 27px;
  524 + width: 502px;
  525 + margin: 0 auto;
  526 +}
  527 +.federation-home-list li {
  528 + list-style: none;
  529 + float: left;
  530 +
  531 + padding: 0 20px;
  532 + height: 27px;
  533 + line-height: 27px;
  534 + cursor: pointer;
  535 +}
  536 +.federation-home-list li span {
  537 + border-bottom: 1px dashed #0072bc;
  538 + color: #fff;
  539 +}
  540 +.federation-home-list li:last-child span {
  541 + border-bottom: 1px dashed #fff200;
  542 + color: #fff200;
  543 +}
  544 +.federation-home-list-active {
  545 + color: inherit !important;
  546 + background: #fff;
  547 + border-radius: 27px;
  548 + cursor: default !important;
  549 +}
  550 +.federation-home-list-active span {
  551 + border-bottom: none !important;
  552 + color: inherit !important;
  553 +}
  554 +.federation-home-list-wr {
  555 + width: 100%;
  556 + float: left;
  557 + margin-top: 22px;
  558 + position: relative;
  559 + height: 27px;
  560 +}
  561 +.federation-home-blocks {
  562 + width: 300px;
  563 + height: 134px;
  564 + float: left;
  565 + margin-left: 20px;
  566 + margin-top: 122px;
  567 +}
  568 +.federation-home-blocks:first-child{margin-left: 0}
  569 +.federation-home-blocks-wr-blocks {display: none}
  570 +.federation-home-blocks-wr-blocks:first-child {display: block}
  571 +.federation-home-blocks-wr, .federation-home-blocks-wr-blocks{width: 100%;float: left}
  572 +.federation-home-ico, .federation-home-text {width: 100%; float: left; text-align: center}
  573 +.federation-home-ico{height: 46px}
  574 +.federation-home-text {
  575 + font-size: 18px;
  576 + color: #fff;
  577 + margin-top: 28px;
  578 + box-sizing: border-box;
  579 + padding: 0 27px;
  580 +}
  581 +.footer-all-wr {
  582 + width: 100%;
  583 + float: left;
  584 + margin-top: 34px;
  585 +}
  586 +.footer-menu {
  587 + width: 100%;
  588 + float: left;
  589 +}
  590 +.footer-menu li {
  591 + width: 100%;
  592 + float: left;
  593 + list-style: none;
  594 + height: 31px;
  595 +}
  596 +.footer-menu li a {
  597 + color: #555;
  598 + font-size: 13px;
  599 + text-decoration: none;
  600 +}
  601 +.footer-menu li a:hover{
  602 + text-decoration: underline;
  603 +}
  604 +.footer-menu-wrapper {
  605 + width: 207px;
  606 + float: left;
  607 + height: 198px;
  608 +}
  609 +.first-footer-menu {
  610 + margin-right: 13px;
  611 +}
  612 +.second-footer-menu .footer-menu li, .third-footer-menu .footer-menu li {height: 28px}
  613 +.footer-menu-project {
  614 + width: 125px;
  615 + height: 72px;
  616 + border-radius: 4px;
  617 + border: 1px solid #c1c1c1;float: left;
  618 + margin-top: 27px;
  619 +}
  620 +.footer-menu-project-ico {
  621 + width: 100%;
  622 + box-sizing: border-box;
  623 + padding: 7px 0 0 23px;
  624 + float: left;
  625 +}
  626 +.footer-menu-project-ico a {
  627 + width: 36px;
  628 + height: 36px;
  629 + float: left;
  630 + margin-left: 8px;
  631 +}
  632 +.footer-menu-project-ico img {
  633 + width: 36px;
  634 + height: 36px;
  635 +}
  636 +.footer-menu-project-ico a:first-child{margin-left: 0}
  637 +.footer-menu-project-ico-txt {
  638 + width: 100%;
  639 + float: left;
  640 + text-align: center;
  641 + font-size: 13px;
  642 + color: #555;
  643 + line-height: 16px;
  644 + margin-top: 6px;
  645 +}
  646 +.footer-menu-project-two {
  647 + width: 151px;
  648 + height: 72px;
  649 + border-radius: 4px;
  650 + border: 1px solid #c1c1c1;float: left;
  651 + margin-top: 27px;
  652 +}
  653 +.footer-menu-project-two .footer-menu-project-ico {
  654 + padding: 7px 0 0 14px;
  655 +}
  656 +.last-footer-menu {
  657 + width: 300px;
  658 + float: right;
  659 +}
  660 +.last-footer-menu .footer-menu li {
  661 + text-align: right;
  662 + height: 22px;
  663 +}
  664 +.last-footer-menu .footer-menu li:last-child {
  665 + margin-top: 20px;
  666 + margin-top: 22px;
  667 +}
  668 +.copyright {
  669 + width: 50%;
  670 + float: left;
  671 + height: 40px;
  672 + line-height: 40px;
  673 + font-size: 11px;
  674 + color: #fff;
  675 +}
  676 +.artweb-wr {
  677 + width: 50%;
  678 + float: right;
  679 + height: 40px;
  680 + position: relative;
  681 +}
  682 +.artweb-wr a {
  683 + height: 40px;
  684 + line-height: 40px;
  685 + text-decoration: underline;
  686 + color: #fff;
  687 + opacity: 0.3;
  688 + font-size: 11px;
  689 + float: right;
  690 + margin-right: 36px;
  691 +}
  692 +.artweb-img {
  693 + width: 24px;
  694 + height: 23px;
  695 + position: absolute;
  696 + right: 0;
  697 + top: 50%;
  698 + margin-top: -11px;
  699 + opacity: 0.3;
  700 + cursor: default;
  701 +}
  702 +.artweb-img img {
  703 + width: 24px;
  704 + height: 23px;
  705 +}
  706 +.artweb-img a {
  707 + margin: 0;
  708 + padding: 0;
  709 + width: 24px;
  710 + height: 23px;
  711 + display: block;
  712 +}
  713 +
  714 +.style {width: 100%;float: left}
  715 +.form-questions-wrapp {
  716 + width: 502px;
  717 + height: 347px;
  718 + border-radius: 4px;
  719 + background: #fff;
  720 + opacity: 0.5;
  721 + position: absolute;
  722 + top: 111px;
  723 + left: 50%;
  724 + margin-left: -251px;
  725 +}
  726 +.form-questions {
  727 + width: 502px;
  728 + position: absolute;
  729 + top: 111px;
  730 + left: 50%;
  731 + margin-left: -251px;
  732 + box-sizing: border-box;
  733 + padding: 40px 40px 0 20px;
  734 +}
  735 +.form-questions textarea {
  736 + width: 420px;
  737 + height: 142px;
  738 + max-height: 142px;
  739 + background: #fff;
  740 + border: none;
  741 + border-radius: 4px;
  742 + float: left;
  743 + resize: none;
  744 + box-sizing: border-box;
  745 + padding: 8px 0 0 10px;
  746 + margin-left: 20px;
  747 +
  748 +}
  749 +.form-questions input {
  750 + width: 200px;
  751 + height: 32px;
  752 + float: left;
  753 + background: #fff;
  754 + border: none;
  755 + border-radius: 4px;
  756 + box-sizing: border-box;
  757 + margin-left: 20px;
  758 + margin-top: 22px;
  759 + padding-left: 8px;
  760 +}
  761 +.form-questions input[type="submit"] {
  762 + width: 190px;
  763 + height: 40px;
  764 + color: #fff;
  765 + line-height: 42px;
  766 + background: #077cc6;
  767 + border-bottom: 2px solid #0054a6;
  768 + font-size: 13px;
  769 + font-weight: 700;
  770 + text-transform: uppercase;
  771 + margin-top: 30px;
  772 + cursor: pointer;
  773 + outline: none;
  774 + transition: 0.2s;
  775 + margin-left: 136px;
  776 +}
  777 +.form-questions input[type="submit"]:hover {
  778 + background: #0054a6;
  779 + border-bottom: 2px solid #077cc6;
  780 +}
  781 +.callback {
  782 + width: 100%;
  783 + float: left;
  784 + padding: 0 20px;
  785 + box-sizing: border-box;
  786 + margin-top: 8px;
  787 +}
  788 +.callback input {
  789 + width: 100%;
  790 + height: 29px;
  791 + float: left;
  792 + background: #fff;
  793 + box-sizing: border-box;
  794 + border: 1px solid #dcdcdc;
  795 + margin-top: 5px;
  796 + padding-left: 10px;
  797 +}
  798 +.callback input[type="submit"] {
  799 + background: #0072bc;
  800 + color: #fff;
  801 + cursor: pointer;
  802 + transition: 0.3s;
  803 + margin-top: 20px;
  804 + font-size: 13px;
  805 + border-radius: 4px;
  806 + border: none;
  807 + padding: 0;
  808 +}
  809 +.callback label {
  810 + width: 100%;
  811 + float: left;
  812 + font-weight: 700;
  813 + font-size: 13px;
  814 + margin-top: 13px;
  815 +}
  816 +.callback input[type="submit"]:hover {
  817 + background: #0c81cc;
  818 +}
  819 +.performance-vacancy-call-back-conf {
  820 + width: 180px;
  821 + margin-top: 20px;
  822 + border-top: 1px solid #dbdbdb;
  823 + font-size: 11px;
  824 + color: #636363;
  825 + height: 45px;
  826 + line-height: 45px;
  827 + text-align: center;
  828 + float: left;
  829 + margin-left: 20px;
  830 +}
  831 +#overlay{
  832 + position: fixed;
  833 + width: 100%;height: 100%;
  834 + background: #000;
  835 + opacity: 0.95;
  836 + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=95)";
  837 + display: none;
  838 + z-index: 9991;
  839 +}
  840 +
  841 +#modal_form {
  842 + width: 460px;
  843 + height: 533px;
  844 + position: fixed;
  845 + top: 30%;
  846 + left: 50%;
  847 + margin-top: -230px;
  848 + margin-left: -267px;
  849 + display: none;
  850 + opacity: 0;
  851 + z-index: 9992;
  852 +
  853 +}
  854 +.closed-form {
  855 + width: 15px;height: 15px;
  856 + background: url("../images/modal-close.png") no-repeat;
  857 + position: absolute;
  858 + top: -39px;
  859 + right: -50px;
  860 + cursor: pointer;
  861 + transition: 0.3s;
  862 +}
  863 +.closed-form:hover{opacity: 0.8}
  864 +.form-resume-wr {
  865 + width: 100%;
  866 + height: 100%;
  867 + float: left;
  868 + display: block;
  869 + position: relative;
  870 + border-radius: 4px;
  871 + overflow: hidden;
  872 + background: #fff;
  873 + position: relative;
  874 +}
  875 +.form-resume-sub {
  876 + height: 73px;
  877 + line-height: 73px;
  878 + color: #fff;
  879 + background: #0c81cc;
  880 + text-align: center;
  881 + font-size: 18px;
  882 +}
  883 +.form-resume-wr form {
  884 + width: 240px;
  885 + float: left;
  886 + position: absolute;
  887 + top: 73px;
  888 + left: 50%;
  889 + margin-left: -120px;
  890 + margin-top: 22px;
  891 +}
  892 +.form-resume-wr form label {
  893 + font-size: 13px;
  894 + font-weight: 700;
  895 + width: 100%;
  896 + float: left;
  897 + margin-bottom: 5px;
  898 +}
  899 +.form-resume-wr form input {
  900 + width: 240px;
  901 + height: 29px;
  902 + border: 1px solid #dcdcdc;
  903 + box-sizing: border-box;
  904 + padding-left: 10px;
  905 + margin-bottom: 13px;
  906 +}
  907 +.form-resume-wr form textarea {
  908 + width: 240px;
  909 + height: 123px;
  910 + max-height: 123px;
  911 + min-height: 123px;
  912 + resize: none;
  913 + border: 1px solid #dcdcdc;
  914 + box-sizing: border-box;
  915 + padding: 5px 0 0 10px;
  916 +}
  917 +.form-resume-wr form input[type="submit"] {
  918 + background: #0072bc;
  919 + color: #fff;
  920 + cursor: pointer;
  921 + height: 29px;
  922 + border: 1px solid #0072bc;
  923 + padding: 0 32px;
  924 + outline: none;
  925 + transition: 0.2s;
  926 + border-radius: 4px;
  927 + font-size: 13px;
  928 + width: auto;
  929 + margin-top: 48px;
  930 + margin-left: 30px;
  931 +}
  932 +.form-resume-wr form input[type="submit"]:hover {
  933 + background: #fff;
  934 + color: #0072bc;
  935 +}
  936 +.form-resume-wr form input[type="file"] {
  937 + border: none;outline: none;
  938 +}
  939 +.label-file {position: relative; width: 100%; float: left; height: 29px; margin-top: 10px}
  940 +.label-file label {
  941 + width: 96px !important;
  942 + line-height: 31px;
  943 +}
  944 +.label-file input {
  945 + position: absolute;
  946 + z-index: 9993;
  947 + width: 90px !important;
  948 + height: 29px !important;
  949 + background: #fff;
  950 + border: 1px solid #0072bc !important;
  951 + opacity: 0;
  952 + filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
  953 + top: 1px;
  954 + left: 96px;
  955 + cursor: pointer;
  956 +}
  957 +.label-file input[type="file"] {
  958 + cursor: pointer;
  959 +}
  960 +.label-file a {
  961 + position: absolute;
  962 + z-index: 9992;
  963 + width: 88px;
  964 + height: 27px;
  965 + background: #fff;
  966 + border: 1px solid #0072bc !important;
  967 + color: #0072bc;
  968 + font-size: 13px;
  969 + text-decoration: none;
  970 + display: block;
  971 + line-height: 27px;
  972 + text-align: center;
  973 + top: 1px;
  974 + left: 96px;
  975 + cursor: pointer;
  976 + border-radius: 4px;
  977 +}
  978 +[role="button"] {
  979 + cursor: pointer;
  980 +}
  981 +input[type=file]::-webkit-file-upload-button {
  982 + cursor: pointer;
  983 +}
  984 +.res-wrapper-mb {
  985 + width: 100%;
  986 + float: left;
  987 + margin-top: 8px;
  988 + margin-left: 104px;
  989 + position: relative;
  990 +}
  991 +.res-wrapper-mb p {
  992 + width: 250px;
  993 + background: #fff;
  994 + position: absolute;
  995 + top: 0;
  996 + left: -10px;
  997 + font-size: 11px;
  998 + color: #636363;
  999 + z-index: 2;
  1000 + box-sizing: border-box;
  1001 + padding-left: 10px;
  1002 + height: 29px;
  1003 + overflow: hidden;
  1004 +}
  1005 +.res_form_line {
  1006 + width: 100%;
  1007 + height: 1px;
  1008 + background: #dbdbdb;
  1009 + position: absolute;
  1010 + left: 0;bottom: 89px;
  1011 + z-index: 1;
  1012 +}
  1013 +/***rating***/
  1014 +.section-box-15 .rating {padding-left: 0;margin-left: -4px}
  1015 +.section-box-15 .vote-stars, .section-box-15 .vote-active {cursor: default !important}
  1016 +.section-box-15 .rating .vote-result, .section-box-15 .rating .vote-success {display: none}
  1017 +.rating{width:150px; overflow: hidden; height:16px;float:left;box-sizing: border-box;padding-left: 9px;}div.vote-wrap{overflow:hidden}div.vote-block{position:relative}div.vote-hover{float:left;cursor:default}div.vote-stars,div.vote-active{position:absolute;left:0;top:0;cursor:pointer}div.vote-result{color:#ccc;font-size:14px;margin-top:12px;padding-left:190px}div.vote-success{clear:both;color:#ccc;font-size:14px;margin:10px 0 0 10px}
  1018 +/***end-rating***/
  1019 +.section-box-9 .vote-success, .section-box-9 .vote-result{display: none}
  1020 +/****pagination****/
  1021 +.navi-buttons-wr {
  1022 + margin-top: 29px;
  1023 +}
  1024 +.pagination {
  1025 + display: block;
  1026 + padding:0;
  1027 + margin:0;
  1028 + float: right;
  1029 +}
  1030 +.pagination li {
  1031 + display: block;
  1032 + border: 1px solid #dcdcdc;
  1033 + float: left;
  1034 + margin-left: 6px;
  1035 + border-radius: 4px;
  1036 + height: 29px;
  1037 +}
  1038 +.pagination li.active {background: #f1f1f1; border: 1px solid #f1f1f1;}
  1039 +.pagination li.active a {cursor: default}
  1040 +.pagination li:first-child{margin-left: 0}
  1041 +.pagination > li a {
  1042 + padding: 0 11px;
  1043 + height: 100%;
  1044 + line-height: 31px;
  1045 + display: block;
  1046 + text-decoration: none;
  1047 + font-weight: 700;
  1048 + color: inherit;
  1049 +}
  1050 +.pagination li.dots-next {
  1051 + border: 1px solid #fff;
  1052 +}
  1053 +.pagination li:hover {
  1054 + border: 1px solid #0072bc;
  1055 +}
  1056 +.pagination li:hover a {
  1057 + color: #0072bc;
  1058 +}
  1059 +.pagination li.active:hover {
  1060 + border: 1px solid #f1f1f1;
  1061 +}
  1062 +.pagination li.active:hover a {
  1063 + color: inherit;
  1064 +}
  1065 +.pagination li.dots-next:hover {
  1066 + border: 1px solid #fff;
  1067 +}
  1068 +/**************landingCompany**************/
  1069 +
  1070 +.section-box-5 {
  1071 + height: 500px;
  1072 + background: url("../images/landing/bg-5.jpg") 50% no-repeat;
  1073 +}
  1074 +.landing-reg-title{
  1075 + text-align: center;
  1076 + color: #fff;
  1077 + font-size: 48px;
  1078 + font-weight: 700;
  1079 + margin-top: 124px;
  1080 + float: left;
  1081 + width: 100%;
  1082 + text-shadow: 0px 0px 12px rgba(115, 115, 115, 0.75);
  1083 +}
  1084 +.landing-reg-button {
  1085 + height: 65px;
  1086 + margin-top: 94px;
  1087 +}
  1088 +.landing-reg-button a {
  1089 + width: 288px;
  1090 + height: 62px;
  1091 + text-align: center;
  1092 + display: block;
  1093 + background: #0276c0;
  1094 + border-bottom: 3px solid #0054a6;
  1095 + color: #fff;
  1096 + text-decoration: none;
  1097 + font-size: 18px;
  1098 + line-height: 65px;
  1099 + transition: 0.2s;
  1100 + border-radius: 4px;
  1101 + margin: 0 auto;
  1102 +}
  1103 +.landing-reg-button a:hover{
  1104 + background: #0054a6;
  1105 + border-bottom: 3px solid #0276c0;
  1106 +}
  1107 +.landing-reg-txt {text-align: center; font-size: 18px; color: #fff; margin-top: 27px;}
  1108 +.section-box-6 {
  1109 + height: 579px;
  1110 + background: #fff;
  1111 +}
  1112 +.section-box-7 {
  1113 + height: 275px;
  1114 + background: #f1f1f1;
  1115 +}
  1116 +.section-box-8 {
  1117 + height: 444px;
  1118 + background: url("../images/landing/bg-8.jpg") 50% no-repeat;
  1119 +}
  1120 +.section-box-8.landing-work-our-wr-section {
  1121 + height: 273px;
  1122 + background: url("../images/landing-order-project/bg-30.jpg") 50% no-repeat;
  1123 +}
  1124 +.section-box-9 {
  1125 + height: 341px;
  1126 + background: #fff;
  1127 +}
  1128 +.landing-your-buisnes-tit {
  1129 + text-align: center;
  1130 + font-weight: 700;
  1131 + font-size: 28px;
  1132 + margin-top: 44px;
  1133 +}
  1134 +.section-box-6 .box-all {
  1135 + overflow: hidden;
  1136 +}
  1137 +.landing-your-buisnes-anim-wr {
  1138 + width: 960px !important;
  1139 + overflow: hidden;
  1140 + margin-left: -20px;
  1141 + margin-top: 32px;
  1142 + position: relative;
  1143 + perspective: 1000px;-webkit-perspective: 1000px;
  1144 +}
  1145 +.landing-your-buisnes-blocks {
  1146 + width: 300px;
  1147 + height: 218px;
  1148 + float: left;
  1149 + position: relative;
  1150 + margin-left: 20px;
  1151 +}
  1152 +.lan_yo_buis_img {
  1153 + background: url("../images/landing/landing-ico-1.png") no-repeat;
  1154 + height: 163px;
  1155 +}
  1156 +.lan_yo_buis_txt {
  1157 + text-align: center;
  1158 + box-sizing: border-box;
  1159 + padding: 0 50px;
  1160 + line-height: 18px;
  1161 + position: absolute;
  1162 + height: 36px;
  1163 + left: 0;
  1164 + bottom: 35px;
  1165 +}
  1166 +.lan_yo_buis_arr {
  1167 + width: 88px;
  1168 + height: 35px;
  1169 + background: url("../images/landing/landing-ico-2.png") no-repeat;
  1170 + position: absolute;
  1171 +}
  1172 +.lan_yo_buis_arr:last-child{
  1173 + height: 110px;
  1174 +}
  1175 +.landing-your-buisnes-blocks {
  1176 + transform: rotateY(-180deg) ;
  1177 + -moz-transform: rotateY(-180deg);
  1178 + -webkit-transform: rotateY(-180deg);
  1179 + -o-transform: rotateY(-180deg);
  1180 + -ms-transform: rotateY(-180deg);
  1181 + transition: 1.2s;
  1182 +}
  1183 +.landing-best-jobs {
  1184 + height: 111px;
  1185 + text-align: center;
  1186 + line-height: 122px;
  1187 + font-size: 28px;
  1188 + font-weight: 700;
  1189 +}
  1190 +.logos-slider {
  1191 + width: 100%;
  1192 + float: left;
  1193 + height: 130px;
  1194 + position: relative;
  1195 +}
  1196 +.scroll-img {
  1197 + width: 870px;
  1198 + height: 100%;
  1199 + margin: 0 auto;
  1200 + position: relative;
  1201 + overflow: hidden;
  1202 +}
  1203 +.scroll-img ul {
  1204 + margin: 0 auto;
  1205 + width: 1870px;
  1206 + height: 100%;
  1207 +
  1208 +}
  1209 +.scroll-img ul li:first-child{margin-left: 0}
  1210 +.scroll-img ul li {
  1211 + width: 150px;
  1212 + height: 100%;
  1213 + float: left;
  1214 + list-style: none;
  1215 + margin-left: 30px;
  1216 +}
  1217 +.buttons-slider-best {
  1218 + position: absolute;
  1219 + width: 35px;
  1220 + height: 75px;
  1221 + background: red;
  1222 + top: 0;
  1223 + opacity: 0.3;
  1224 + transition: 0.3s;
  1225 +}
  1226 +.buttons-slider-best:hover {opacity: 1}
  1227 +#prew.buttons-slider-best{
  1228 + left: 0;
  1229 + background: url("../images/landing/arrow-best-1.png") 0 50% no-repeat;
  1230 +}
  1231 +#next.buttons-slider-best{
  1232 + right: 0;
  1233 + background: url("../images/landing/arrow-best-2.png") 100% 50% no-repeat;
  1234 +}
  1235 +.scroll-img ul li p {
  1236 + width: 100%;
  1237 + float: left;
  1238 + line-height: 16px;
  1239 + text-align: center;
  1240 + font-size: 13px;
  1241 + color: #666666;
  1242 + margin-top: 8px;
  1243 +}
  1244 +.section-box-8 .landing-best-jobs {color: #fff}
  1245 +.landing-work-our {
  1246 + width: 300px;
  1247 + height: 153px;
  1248 + float: left;
  1249 + margin-left: 20px;
  1250 + position: relative;
  1251 + overflow: hidden;
  1252 +}
  1253 +.land-wrk-wr {
  1254 + width: 100%;
  1255 + overflow: hidden;
  1256 +}
  1257 +.landing-work-our-wr {
  1258 + width: 960px;
  1259 + float: left;
  1260 + margin-left: -20px;
  1261 +}
  1262 +.landing-work-our-img {
  1263 + width: 100%;
  1264 + height: 64px;
  1265 + float: left;
  1266 +}
  1267 +.lnd-wrk-img {
  1268 + width: 64px;
  1269 + height: 64px;
  1270 + margin: 0 auto;
  1271 + background: url("../images/landing/ico-circle-1.png") no-repeat;
  1272 +}
  1273 +.landing-work-our-img p {
  1274 + width: 100%;
  1275 + text-align: center;
  1276 + color: #fff;
  1277 + line-height: 18px;
  1278 + float: left;
  1279 + margin-top: 17px;
  1280 + cursor: default;
  1281 + transition: 0.3s;
  1282 +}
  1283 +.landing-work-our:hover p{font-size: 18px}
  1284 +.landing-work-our-img-text {
  1285 + width: 100%;
  1286 + float: left;
  1287 + height: 100%;
  1288 +}
  1289 +.landing-slider-comments-wr {
  1290 + height: 180px;
  1291 + position: relative;
  1292 +}
  1293 +.landing-slider-comments {
  1294 + width: 860px;
  1295 + height: 100%;
  1296 + background: #f5f5f5;
  1297 + margin: 0 auto;
  1298 + border-radius: 4px;
  1299 + overflow: hidden;
  1300 +}
  1301 +.prev-slide, .next-slide {
  1302 + width: 40px;
  1303 + height: 100%;
  1304 + position: absolute;
  1305 + top: 0;
  1306 + opacity: 0.3;
  1307 + transition: 0.3s;
  1308 +}
  1309 +.prev-slide {left:0; background: url("../images/landing/arrow-best-1.png") 0 50% no-repeat;}
  1310 +.next-slide {right:0;background: url("../images/landing/arrow-best-2.png") 100% 50% no-repeat;}
  1311 +.prev-slide:hover, .next-slide:hover {opacity: 1}
  1312 +.slider-wrapper {
  1313 + width: 100%;
  1314 + height: 100%;
  1315 + overflow: hidden;
  1316 + margin: 0 auto;
  1317 + position: relative;
  1318 +}
  1319 +.slider_timer {height: 100%;position: relative;width: 100%;}
  1320 +.slide_t {
  1321 + width: 100%;
  1322 + height: 100%;
  1323 + float: left;
  1324 +}
  1325 +.land-sld-blocks-wr {
  1326 + width: 100%;
  1327 + height: 100%;
  1328 + float: left;
  1329 + box-sizing: border-box;
  1330 + padding: 30px 19px 30px 30px;
  1331 +}
  1332 +.land-sld-blocks-wr img{
  1333 + width: 120px;height: 120px;border-radius: 100%;float: left;
  1334 +}
  1335 +.land-sld-txt {
  1336 + width: 421px;
  1337 + float: right;
  1338 + position: relative;
  1339 + padding-top: 13px;
  1340 + line-height: 16px;
  1341 +}
  1342 +.land-sld-txt p {
  1343 + font-size: 13px;
  1344 +}
  1345 +.land-sld-txt:before{
  1346 + content: '“';
  1347 + font-size: 111px;
  1348 + font-family: georgia;
  1349 + color: #c6c6c6;
  1350 + position: absolute;
  1351 + left: -56px;
  1352 + top: 46px;
  1353 + width: 35px;
  1354 + height: 28px;
  1355 +}
  1356 +.land-sld-name-tit {
  1357 + float: left;
  1358 + width: 100%;
  1359 + font-size: 20px;
  1360 + height: 24px;
  1361 + line-height: 24px;
  1362 + margin-top: 15px;
  1363 +}
  1364 +.land-sld-autor-comm-wr {
  1365 + float: left;
  1366 + width: 230px;
  1367 + margin-left: 19px;
  1368 +}
  1369 +.land-stars-wr {height: 16px;margin-top: 8px}
  1370 +.land-stars-pro, .land-stars-new {
  1371 + height: 16px;
  1372 + border-radius: 4px;
  1373 + background: #0e84cf;
  1374 + color: #fff;
  1375 + text-align: center;
  1376 + line-height: 17px;
  1377 + text-transform: uppercase;
  1378 + font-size: 11px;
  1379 + float: left;
  1380 + padding: 0 6px;
  1381 +}
  1382 +.land-stars-new {
  1383 + background: #64c04a !important;
  1384 +}
  1385 +.land-comments-a {
  1386 + text-decoration: underline;
  1387 + color: #0072bc;
  1388 + transition: 0.3s;
  1389 + margin-top: 7px;
  1390 + line-height: 12px;
  1391 +}
  1392 +.land-comments-a:hover{opacity: 0.9}
  1393 +.section-box-10 {
  1394 + height: 398px;
  1395 + background: url("../images/landing/bg-10.jpg") 50% no-repeat;
  1396 +}
  1397 +.section-box-11 {
  1398 + height: 537px;
  1399 + background: url("../images/landing/bg-11.jpg") 50% no-repeat;
  1400 +}
  1401 +
  1402 +.section-box-10 .landing-best-jobs, .section-box-11 .landing-best-jobs{color: #fff}
  1403 +.section-box-10 .box-all {padding: 0; overflow: hidden}
  1404 +.land-numbers-wr {margin-left: -10px}
  1405 +.land-numbers {
  1406 + width: 300px;
  1407 + margin-left: 20px;
  1408 + height: 136px;
  1409 + overflow: hidden;
  1410 + float: left;
  1411 + margin-bottom: 2px;
  1412 +}
  1413 +.land-numbers-num, .land-numbers-txt {
  1414 + width: 100%;
  1415 + color: #fff;
  1416 + text-align: center;
  1417 +}
  1418 +.land-numbers-num {font-size: 60px; font-weight: 700;line-height: 60px}
  1419 +.land-numbers-txt {
  1420 + margin-top: 6px;
  1421 + box-sizing: border-box;
  1422 + padding: 0 33px;
  1423 + line-height: 18px;
  1424 +}
  1425 +.wrong {
  1426 + border: 1px solid #ff0042!important;
  1427 +}
  1428 +.normal {
  1429 + border: 1px solid #00ff6c!important;
  1430 +}
  1431 +
  1432 +
  1433 +/****landig-freelance****/
  1434 +.section-box-12 {
  1435 + height: 500px;
  1436 + background: url("../images/landing-freelance/bg-12.jpg") 50% no-repeat;
  1437 +}
  1438 +.section-box-12 .landing-reg-button a {
  1439 + background: #68c64d;
  1440 + border-bottom: 3px solid #3e9825;
  1441 + width: 248px;
  1442 +}
  1443 +.section-box-12 .landing-reg-button a:hover {
  1444 + background: #3e9825;
  1445 + border-bottom: 3px solid #68c64d;
  1446 +}
  1447 +.new-buisnes-freelance .lan_yo_buis_img {
  1448 + background: url("../images/landing-freelance/landing-fr-ico-1.png") no-repeat;
  1449 + height: 163px;
  1450 +}
  1451 +.landing-work-our-wr.freelance .lnd-wrk-img {
  1452 + background: url("../images/landing-freelance/landing-free-ico-1.png") no-repeat;
  1453 +}
  1454 +.order-landing-anim .lan_yo_buis_img {
  1455 + background: url("../images/landing-order-project/landing-or-1.png") no-repeat;
  1456 + height: 163px;
  1457 +}
  1458 +/****landig-work****/
  1459 +.section-box-13 {
  1460 + height: 500px;
  1461 + background: url("../images/landing-work/bg-13.jpg") 50% no-repeat !important;
  1462 +}
  1463 +/****perform-vacancy****/
  1464 +.section-box-14 {
  1465 + height: 380px;
  1466 +}
  1467 +.performance-vacancy-call-back {
  1468 + width: 220px;
  1469 + height: 320px;
  1470 + float: right;
  1471 + background: #fff;
  1472 + border-radius: 4px;
  1473 + margin-top: 30px;
  1474 + overflow: hidden;
  1475 + box-shadow: 0px 0px 5px 0px rgba(149, 149, 149, 0.75);
  1476 +}
  1477 +.performance-vacancy-call-back-title {
  1478 + width: 100%;
  1479 + height: 73px;
  1480 + background: #0c81cc;
  1481 + color: #fff;
  1482 + font-size: 18px;
  1483 + line-height: 18px;
  1484 + box-sizing: border-box;
  1485 + padding-left: 17px;
  1486 + padding-top: 23px;
  1487 +}
  1488 +.performance-vacancy-add-favorite {
  1489 + width: 44px;
  1490 + height: 380px;
  1491 + float: right;
  1492 + margin-right: 20px;
  1493 + position: relative;
  1494 +}
  1495 +.performance-vacancy-add-favorite a{
  1496 + width: 44px;
  1497 + height: 125px;
  1498 + background: url("../images/add_favorite.png") no-repeat;
  1499 + position: absolute;
  1500 + left: 0;bottom: 0;
  1501 + display: block;
  1502 + transition: 0.3s;
  1503 +}
  1504 +.performance-vacancy-add-favorite a:hover{opacity: 0.95}
  1505 +.menu-content-wr {
  1506 + height: 43px;
  1507 + background: #f1f1f1;
  1508 +}
  1509 +.menu-content {
  1510 + width: 720px;
  1511 + float: right;
  1512 + height: 43px;
  1513 +}
  1514 +.menu-content li {
  1515 + list-style: none;
  1516 + float: left;
  1517 + height: 40px;
  1518 + padding: 0 16px;
  1519 + border-top: 3px solid #f1f1f1;
  1520 + background: #f1f1f1;
  1521 +}
  1522 +.menu-content li a {
  1523 + float: left;
  1524 + height: 100%;
  1525 + line-height: 38px;
  1526 + text-decoration: none;
  1527 + color: inherit;
  1528 +}
  1529 +.active-menu-content{
  1530 + transition: 0.3s;
  1531 + border-top: 3px solid #0072bc !important;
  1532 + background: #fff !important;
  1533 +}
  1534 +.active-menu-content a {
  1535 + color: #0072bc !important;
  1536 +}
  1537 +.section-box-15 {
  1538 + background: #fff;
  1539 + padding-top: 27px;
  1540 + padding-bottom: 50px;
  1541 +}
  1542 +.performer-vacancy-vacant-wr {
  1543 + width: 720px;
  1544 + float: right;
  1545 +}
  1546 +.performer-vacancy-vacant-title {
  1547 + font-size: 18px;
  1548 + margin-top: 1px;
  1549 +}
  1550 +.performer-vacant-reclam-bl {
  1551 + width: 100%;
  1552 + float: left;
  1553 + border-bottom: 1px solid #dcdcdc;
  1554 + padding-bottom: 10px;
  1555 +}
  1556 +.performer-vacant-reclam-bl-title {
  1557 + width: 100%;float: left;
  1558 + color: #0072bc;
  1559 + font-size: 16px;
  1560 + text-decoration: none;
  1561 + margin-top: 12px;
  1562 +}
  1563 +.performer-vacant-reclam-bl-title:hover{
  1564 + text-decoration: underline;
  1565 +}
  1566 +.performer-vacant-reclam-bl-title-two {
  1567 + width: 100%;
  1568 + float: left;
  1569 + font-size: 15px;
  1570 + margin-top: 6px;
  1571 +}
  1572 +.performer-vacant-reclam-bl-content {
  1573 + width: 100%;float: left;
  1574 + font-size: 13px;
  1575 + margin-top: 7px;
  1576 + line-height: 18px;
  1577 +}
  1578 +.performer-vacant-reclam-bl-content-read img{
  1579 + width: 4px;
  1580 + height: 7px;
  1581 +}
  1582 +.performer-vacancy-sidebar-left-wr {
  1583 + width: 200px;
  1584 + float: left;
  1585 + background: #fff;
  1586 + position: relative;
  1587 +}
  1588 +.performer-vacancy-sidebar-left {
  1589 + width: 200px;
  1590 + background: #fff;
  1591 + position: absolute;
  1592 + top: -319px;
  1593 + border-radius: 4px;
  1594 + box-shadow: 0px 0px 5px 0px rgba(149, 149, 149, 0.75);
  1595 + float: left;
  1596 +}
  1597 +.performer-vacancy-sidebar-img{text-align: center; margin-top: 10px}
  1598 +.performer-vacancy-sidebar-img img{
  1599 + max-width: 180px;
  1600 + max-height: 180px;
  1601 +}
  1602 +.performer-vacancy-sidebar-soc {
  1603 +
  1604 +}
  1605 +.performer-vacancy-sidebar-soc ul{
  1606 + width: 100%;
  1607 + float: left;
  1608 + height: 24px;
  1609 +}
  1610 +.performer-vacancy-sidebar-soc ul li {
  1611 + width: 24px;
  1612 + height: 100%;
  1613 + display: block;
  1614 + margin-left: 4px;
  1615 + float: left;
  1616 + list-style: none;
  1617 +}
  1618 +.performer-vacancy-sidebar-soc ul li:first-child{margin-left: 0}
  1619 +.performer-vacancy-sidebar-soc ul li a img {width: 24px;height: 24px}
  1620 +.performer-vacancy-sidebar-all {
  1621 + box-sizing: border-box;
  1622 + padding-left: 20px;
  1623 + padding-top: 27px;
  1624 +}
  1625 +.performer-vacancy-sidebar-views ul {margin-top: 19px; padding-bottom: 17px}
  1626 +.performer-vacancy-sidebar-views ul li {
  1627 + list-style: none;
  1628 + width: 100%;
  1629 + float: left;
  1630 + margin-top: 18px;
  1631 + line-height: 16px;
  1632 +}
  1633 +.performer-vacancy-sidebar-views ul li img {
  1634 + float: left;
  1635 + max-width: 20px;
  1636 +}
  1637 +.performer-vacancy-sidebar-views ul li:first-child{margin-top: 0}
  1638 +.sidebarvievstxt {
  1639 + font-size: 13px;
  1640 + width: 156px;
  1641 + float: right;
  1642 + margin-top: -2px;
  1643 + box-sizing: border-box;
  1644 + padding-right: 5px;
  1645 +}
  1646 +.sidebar-views-ico {
  1647 + width: 24px;
  1648 + float: left;
  1649 + height: 100%;
  1650 +}
  1651 +.sidebar-views-txt {
  1652 + font-weight: 700;
  1653 +}
  1654 +.performer-vacancy-sidebar-views ul li a{text-decoration: none; color: inherit;}
  1655 +.performer-vacancy-sidebar-views ul li a:hover {text-decoration: underline}
  1656 +.sidebarvievs-phone {font-size: 15px}
  1657 +.performance-vacancy-sidebar-company-wr {
  1658 + width: 230px;
  1659 + float: left;
  1660 + position: absolute;
  1661 + top: 0;
  1662 + left: 220px;
  1663 + padding-top: 82px;
  1664 +}
  1665 +.performance-vacancy-sidebar-company-title {
  1666 + font-size: 24px;
  1667 + color: #fff;
  1668 + margin-bottom: 1px;
  1669 +}
  1670 +.performance-vacancy-sidebar-company-job ul li{
  1671 + position: relative;
  1672 + list-style: none;
  1673 +}
  1674 +.performance-vacancy-sidebar-company-job ul li a {
  1675 + text-decoration: underline;
  1676 + color: #69d34b;
  1677 + position: relative;
  1678 + height: 22px;
  1679 + line-height: 22px;
  1680 + transition: 0.4s;
  1681 +}
  1682 +.performance-vacancy-sidebar-company-job ul li a:after{
  1683 + content: '';
  1684 + width: 8px;
  1685 + height: 4px;
  1686 + display: block;
  1687 + background: url("../images/sidebar-ico/arrow-ico.png") no-repeat;
  1688 + position: absolute;
  1689 + right: -15px;
  1690 + top: 50%;
  1691 + margin-top: -1px;
  1692 +}
  1693 +.sidebar-droped-wr a {color: inherit !important; text-decoration: none !important;
  1694 +}
  1695 +.sidebar-droped-wr li a:hover{text-decoration: underline !important;}
  1696 +.sidebar-droped-wr {
  1697 + display: none;
  1698 + position: absolute;
  1699 + z-index: 9;
  1700 +}
  1701 +.sidebar-droped-wr ul li a:after {display: none}
  1702 +.sidebar-droped-wr ul li {background: #fff; padding-bottom: 7px;
  1703 + border-bottom-right-radius: 4px;
  1704 + border-bottom-left-radius: 4px;}
  1705 +.performance-vacancy-sidebar-comm {color: #fff; margin-top: 10px}
  1706 +.performance-vacancy-sidebar-write {text-decoration: underline; color: #69d34b; margin-top: 1px}
  1707 +
  1708 +.active-dropped-ul {
  1709 + box-shadow: 0px 0px 5px 0px rgba(149, 149, 149, 0.75);
  1710 + background: #fff;
  1711 + width: 120px;
  1712 + float: left;
  1713 + border-top-left-radius: 4px;
  1714 + border-top-right-radius: 4px;
  1715 +}
  1716 +.active-dropped-ul a{margin-left: 10px}
  1717 +.sidebar-droped-wr.act{display: block}
  1718 +.performance-vacancy-sidebar-stars {margin-top: 24px}
  1719 +
  1720 +/****perform-vacancy-page****/
  1721 +.performer-vacancy-list {
  1722 + border-bottom: 1px solid #dcdcdc;
  1723 + padding-bottom: 16px;
  1724 +}
  1725 +.performer-vacancy-list a{
  1726 + font-size: 13px;
  1727 + color: #0072bc;
  1728 + float: left;
  1729 + margin-top: 1px;
  1730 + position: relative;
  1731 + margin-left: 10px;
  1732 +}
  1733 +.performer-vacancy-list a:before {
  1734 + width: 4px;
  1735 + height: 7px;
  1736 + content: '';
  1737 + display: block;
  1738 + background: url("../images/performar_vacancy/arrow-list-prev.png") no-repeat;
  1739 + position: absolute;
  1740 + top: 50%;
  1741 + margin-top: -3px;
  1742 + left: 0;
  1743 + margin-left: -10px
  1744 +}
  1745 +.performer-vacancy-date {
  1746 + font-size: 11px;color: #636363;margin-top: 18px;
  1747 +}
  1748 +.performance-vacancy-page-title {
  1749 + font-size: 18px;color: #0072bc;
  1750 + margin-top: 13px;
  1751 +}
  1752 +.performance-vacancy-page-options {margin-top: 9px}
  1753 +.performance-vacancy-page-options ul{
  1754 + width: 100%;float: left;
  1755 +}
  1756 +.performance-vacancy-page-options ul li {
  1757 + width: 100%;
  1758 + float: left;
  1759 + list-style: none;
  1760 + line-height: 24px;
  1761 +}
  1762 +.performance-vacancy-page-options ul li:first-child{margin-top: 0}
  1763 +.performance-vacancy-page-options ul li span {
  1764 + display: block;
  1765 + float: left;
  1766 + color: #636363;
  1767 +}
  1768 +.performance-vacancy-page-options ul li p {width: 556px; float: right}
  1769 +.performance-vacancy-description {
  1770 + font-size: 18px;
  1771 + margin-top: 25px;
  1772 +}
  1773 +.performance-vacancy-desc-txt {font-size: 13px;margin-top: 7px}
  1774 +.performance-vacancy-desc-txt p {
  1775 + font-size: 13px;
  1776 + margin-top: 15px;
  1777 + line-height: 16px;
  1778 +}
  1779 +.performance-vacancy-desc-txt p:first-child{margin-top: 0}
  1780 +.performance-vacancy-desc-form {
  1781 + margin-top: 25px;
  1782 +}
  1783 +.performance-vacancy-desc-form a {
  1784 + display: block;
  1785 + background: #0072bc;
  1786 + text-decoration: none;
  1787 + color: #fff;
  1788 + height: 29px;
  1789 + line-height: 29px;
  1790 + float: left;
  1791 + border-radius: 4px;
  1792 + transition: 0.3s;
  1793 + padding: 0 19px;
  1794 + font-size: 13px;
  1795 +}
  1796 +.performance-vacancy-desc-form a:hover{opacity: 0.9}
  1797 +.performer-vacancy-blocks-desk-wr {
  1798 + border-bottom: 1px solid #dcdcdc;
  1799 + padding-bottom: 20px;
  1800 +}
  1801 +.performance-vacancy-similar-title {
  1802 + font-size: 18px;
  1803 +}
  1804 +.performance-vacancy-similar {
  1805 + padding-top: 36px;
  1806 +}
  1807 +.performance-vacancy-similar-blocks-wr .performer-vacant-reclam-bl-title-two {margin-top: 0}
  1808 +.performance-vacancy-similar-blocks-wr {margin-top: 6px}
  1809 +.performance-vacancy-similar-blocks-wr:first-child {margin-top: 0}
  1810 +
  1811 +/***blog****/
  1812 +.section-box-16 {
  1813 + height: 235px;
  1814 +}
  1815 +.blog-buttons-wr {
  1816 + margin-top: 160px;
  1817 + width: 526px;
  1818 + float: right;
  1819 +}
  1820 +.blog-buttons-wr a {
  1821 + float: left;
  1822 + color: #fff;
  1823 + font-size: 13px;
  1824 + position: relative;
  1825 + width: 170px;
  1826 + height: 45px;
  1827 + border-radius: 4px;
  1828 + display: block;
  1829 + transition: 0.2s;
  1830 + text-decoration: none;
  1831 + margin-left: 8px;
  1832 + box-sizing: border-box;
  1833 + padding-left: 59px;
  1834 + padding-top: 8px;
  1835 + line-height: 14px;
  1836 + border-bottom: 2px solid #3e9825;
  1837 + background: rgb(107,203,80);
  1838 + background: -moz-linear-gradient(top, rgba(107,203,80,1) 0%, rgba(96,187,70,1) 100%);
  1839 + background: -webkit-linear-gradient(top, rgba(107,203,80,1) 0%,rgba(96,187,70,1) 100%);
  1840 + background: linear-gradient(to bottom, rgba(107,203,80,1) 0%,rgba(96,187,70,1) 100%);
  1841 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6bcb50', endColorstr='#60bb46',GradientType=0 );
  1842 +
  1843 +}
  1844 +.blog-buttons-wr a:hover {
  1845 + font-size: 15px;
  1846 + background: rgb(96,187,70);
  1847 + background: -moz-linear-gradient(top, rgba(96,187,70,1) 0%, rgba(107,203,80,1) 100%);
  1848 + background: -webkit-linear-gradient(top, rgba(96,187,70,1) 0%,rgba(107,203,80,1) 100%);
  1849 + background: linear-gradient(to bottom, rgba(96,187,70,1) 0%,rgba(107,203,80,1) 100%);
  1850 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#60bb46', endColorstr='#6bcb50',GradientType=0 );
  1851 +}
  1852 +.blog-buttons-wr a:first-child{
  1853 + margin-left: 0;
  1854 + border-bottom: 2px solid #ef8505;
  1855 + background: rgb(253,157,43);
  1856 + background: -moz-linear-gradient(top, rgba(253,157,43,1) 0%, rgba(248,148,30,1) 100%);
  1857 + background: -webkit-linear-gradient(top, rgba(253,157,43,1) 0%,rgba(248,148,30,1) 100%);
  1858 + background: linear-gradient(to bottom, rgba(253,157,43,1) 0%,rgba(248,148,30,1) 100%);
  1859 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fd9d2b', endColorstr='#f8941e',GradientType=0 );
  1860 +}
  1861 +.blog-buttons-wr a:first-child:hover {
  1862 + background: rgb(248,148,30);
  1863 + background: -moz-linear-gradient(top, rgba(248,148,30,1) 0%, rgba(253,157,43,1) 100%);
  1864 + background: -webkit-linear-gradient(top, rgba(248,148,30,1) 0%,rgba(253,157,43,1) 100%);
  1865 + background: linear-gradient(to bottom, rgba(248,148,30,1) 0%,rgba(253,157,43,1) 100%);
  1866 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8941e', endColorstr='#fd9d2b',GradientType=0 );
  1867 +}
  1868 +.blog-buttons-wr a.blog-buttons-add-favorite {
  1869 + border-bottom: 2px solid #0054a6;
  1870 + background: rgb(20,138,214);
  1871 + background: -moz-linear-gradient(top, rgba(20,138,214,1) 0%, rgba(0,114,188,1) 100%);
  1872 + background: -webkit-linear-gradient(top, rgba(20,138,214,1) 0%,rgba(0,114,188,1) 100%);
  1873 + background: linear-gradient(to bottom, rgba(20,138,214,1) 0%,rgba(0,114,188,1) 100%);
  1874 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#148ad6', endColorstr='#0072bc',GradientType=0 );
  1875 +}
  1876 +.blog-buttons-wr a.blog-buttons-add-favorite:hover {
  1877 + background: rgb(0,114,188);
  1878 + background: -moz-linear-gradient(top, rgba(0,114,188,1) 0%, rgba(20,138,214,1) 100%);
  1879 + background: -webkit-linear-gradient(top, rgba(0,114,188,1) 0%,rgba(20,138,214,1) 100%);
  1880 + background: linear-gradient(to bottom, rgba(0,114,188,1) 0%,rgba(20,138,214,1) 100%);
  1881 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0072bc', endColorstr='#148ad6',GradientType=0 );
  1882 +}
  1883 +.blog-buttons-wr a:after {
  1884 + width: 20px;
  1885 + height: 24px;
  1886 + display: block;
  1887 + content: '';
  1888 + background: url("../images/blog/ico-buttons-2.png") no-repeat;
  1889 + position: absolute;
  1890 + top: 50%;
  1891 + margin-top: -12px;
  1892 + left: 15px;
  1893 +}
  1894 +.blog-buttons-wr a:first-child::after {
  1895 + background: url("../images/blog/ico-buttons-1.png") no-repeat;
  1896 + width: 24px;
  1897 +}
  1898 +.blog-buttons-wr a:last-child::after {
  1899 + background: url("../images/blog/ico-buttons-3.png") no-repeat;
  1900 +}
  1901 +.blog-post-wr {
  1902 + width: 100%;
  1903 + float: left;
  1904 + border-bottom: 1px solid #dcdcdc;
  1905 + padding-bottom: 17px;
  1906 + transition: 0.2s;
  1907 + margin-top: 27px;
  1908 +}
  1909 +.blog-post-wr:first-child{margin-top: -1px}
  1910 +.blog-post-title p {
  1911 + font-size: 18px;
  1912 +}
  1913 +.blog-post-icons-wr {
  1914 + height: 16px;
  1915 + margin-top: 9px;
  1916 +}
  1917 +.blog-post-date {
  1918 + width: 97px;
  1919 + height: 100%;
  1920 + float: left;
  1921 +}
  1922 +.blog-post-date span, .blog-post-views span, .blog-post-comm-num span {
  1923 + width: 16px;
  1924 + height: 16px;
  1925 + margin-right: 7px;
  1926 + display: block;
  1927 + background: url("../images/blog/ico-post.png") 0 0 no-repeat;
  1928 + float: left;
  1929 +}
  1930 +.blog-post-date p, .blog-post-views p, .blog-post-comm-num p {
  1931 + height: 100%;
  1932 + line-height: 18px;
  1933 + float: left;
  1934 + color: #888888;
  1935 + font-size: 12px;
  1936 +}
  1937 +.blog-post-views {
  1938 + height: 100%;
  1939 + float: left;
  1940 +}
  1941 +.blog-post-views span {
  1942 + background-position: -16px 0;
  1943 + margin-right: 4px !important;
  1944 +}
  1945 +
  1946 +.blog-post-comm-num {
  1947 + height: 100%;
  1948 + float: left;
  1949 + margin-left: 15px;
  1950 +}
  1951 +.blog-post-comm-num span {
  1952 + background-position: -32px 0;
  1953 + margin-right: 6px !important;
  1954 +}
  1955 +.blog-post-content img{
  1956 + max-width: 340px;
  1957 + float: left;
  1958 + margin-right: 30px;
  1959 + margin-top: 4px;
  1960 +}
  1961 +.blog-post-content {margin-top: 7px; overflow: hidden; }
  1962 +.blog-post-content p {
  1963 + font-size: 13px;
  1964 + line-height: 20px;
  1965 +}
  1966 +.blog-post-see-all {
  1967 + font-size: 13px;
  1968 + color: #0072bc;
  1969 + text-decoration: none;
  1970 + height: 16px;
  1971 + margin-top: 10px;
  1972 +}
  1973 +.blog-post-see-all span {
  1974 + border-bottom: 1px dashed #0072bc;
  1975 + position: relative;
  1976 + height: 100%;
  1977 +}
  1978 +.blog-post-see-all span:after {
  1979 + display: none;
  1980 + position: absolute;
  1981 + content: '';
  1982 + width: 8px;
  1983 + height: 4px;
  1984 + background: url("../images/blog/ico-see-all-dawn.png") no-repeat;
  1985 + top: 50%;
  1986 + margin-top: -2px;
  1987 + right: -13px;
  1988 +}
  1989 +.blog-post-see-all.blog-expand span:after {
  1990 + transform: rotate(180deg);
  1991 +}
  1992 +.section-box-17 .performer-vacancy-sidebar-left{
  1993 + top: -217px;
  1994 +}
  1995 +.section-box-17 .performance-vacancy-sidebar-company-wr {
  1996 + padding-top: 0;
  1997 + margin-top: -6px;
  1998 +}
  1999 +
  2000 +/***company-performer****/
  2001 +.company-performer-title {
  2002 + font-size: 18px;
  2003 +}
  2004 +.company-performer-txt p {
  2005 + width: 100%;
  2006 + font-size: 13px;
  2007 + margin-top: 18px;
  2008 + line-height: 18px;
  2009 +}
  2010 +.company-performer-txt p:first-child{margin-top: 0}
  2011 +.company-performer-type-title {
  2012 + text-align: center;
  2013 + font-size: 18px;
  2014 + margin-top: -18px;
  2015 +}
  2016 +.company-performer-type-map .section-box-map {
  2017 + height: 460px;
  2018 + margin-top: 25px;
  2019 + position: relative;
  2020 +}
  2021 +.section-box-19{margin-top: 36px; margin-bottom: 50px}
  2022 +.company-performer-comm-title {
  2023 + text-align: center;
  2024 + font-size: 18px;
  2025 +}
  2026 +.company-performer-map-menu {
  2027 + position: absolute;
  2028 + width: 235px;
  2029 + height: 324px;
  2030 + top: 20px;
  2031 + left: 20px;
  2032 +}
  2033 +.company-performer-map-menu .content-menu-first li:first-child{
  2034 + border-top: 1px solid #dfdfdf;;
  2035 +}
  2036 +.company-performer-comments-wr {
  2037 + margin-top: 15px;
  2038 +}
  2039 +.company-performer-comments-bl {
  2040 + width: 220px;
  2041 + float: left;
  2042 + margin-left: 20px;
  2043 +}
  2044 +.company-performer-comments-bl:first-child{margin-left: 0}
  2045 +.company-performer-comments-bl .rating {padding-left: 0; margin-left: -4px; width: 130px; overflow: hidden}
  2046 +.company-performer-comments-autor, .company-performer-comments-txt {
  2047 + width: 100%;float: left;font-size: 13px;
  2048 +}
  2049 +.company-performer-comments-autor{margin-top: 6px; font-weight: 700}
  2050 +.company-performer-comments-txt {color: #636363; line-height: 16px; margin-top: 2px; max-height: 80px; overflow: hidden}
  2051 +.company-comm-see-all {
  2052 + width: 100%;
  2053 + float: left;
  2054 + color: #0072bc;
  2055 + text-decoration: none;
  2056 + font-size: 13px;
  2057 +}
  2058 +.company-comm-see-all span{border-bottom: 1px dashed #0072bc; position: relative}
  2059 +.company-performer-comments-txt.auto-height-blog-post {height: auto !important; max-height: none}
  2060 +.company-comm-see-all span:after{
  2061 + background: url("../images/ico-see-all-dawn.png") no-repeat;
  2062 + width: 8px;
  2063 + height: 4px;
  2064 + display: block;
  2065 + content: '';
  2066 + position: absolute;
  2067 + top: 50%;
  2068 + margin-top: -2px;
  2069 + right: -14px;
  2070 +}
  2071 +.company-comm-expand span:after{transform: rotate(180deg)}
  2072 +.company-performer-comments-bl .vote-stars, .company-performer-comments-bl .vote-active {
  2073 + cursor: default !important;
  2074 +}
  2075 +.company-performer-comm-see-all-butt {
  2076 + height: 45px;
  2077 + margin-top: 27px;
  2078 +}
  2079 +.company-performer-comm-see-all-butt a{
  2080 + display: block;
  2081 + margin: 0 auto;
  2082 + width: 168px;
  2083 + height: 43px;
  2084 + border: 1px solid #0072bc;text-align: center;
  2085 + line-height: 45px;
  2086 + text-decoration: none;
  2087 + color: #0072bc;
  2088 + font-size: 13px;
  2089 + border-radius: 4px;
  2090 + transition: 0.2s;
  2091 +}
  2092 +.company-performer-comm-see-all-butt a:hover{background: #0072bc; color: #fff}
  2093 +/****command****/
  2094 +.command-block-wrapper {
  2095 + width: 220px;
  2096 + height: 325px;
  2097 + float: left;
  2098 + margin-left: 20px;
  2099 +}
  2100 +.command-blocks-wr {margin-top: 3px}
  2101 +.command-block-foto {
  2102 + width: 220px;
  2103 + height:220px;
  2104 + overflow: hidden;
  2105 + background: #f1f1f1 url("../images/command/bg-command.png") 50% 100% no-repeat;
  2106 + text-align: center;
  2107 + position: relative;
  2108 + text-align: center;
  2109 +}
  2110 +.command-block-foto img {
  2111 + width: 220px;
  2112 + height: 220px;
  2113 + max-width: 220px;
  2114 + max-height: 220px;
  2115 +}
  2116 +.hover-command-bg {
  2117 + width: 220px;
  2118 + height: 220px;
  2119 + position: absolute;
  2120 + top: 0;
  2121 + left: 0;
  2122 + background: #0072bc;
  2123 + opacity: 0;
  2124 + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  2125 + transition: 0.3s;
  2126 +}
  2127 +.command-block-wr-two {
  2128 + width: 100%;
  2129 + height: 295px;
  2130 + float: left;
  2131 +}
  2132 +.command-block-name, .command-block-job {
  2133 + width: 100%;
  2134 + float: left;
  2135 + text-align: center;
  2136 + font-size: 18px;
  2137 +}
  2138 +.command-block-name {
  2139 + margin-top: 10px;
  2140 +}
  2141 +.command-block-job{font-size: 13px !important;margin-top: 3px;line-height: 16px; height: 32px;overflow: hidden}
  2142 +.command-block-line {
  2143 + width: 100%;
  2144 + height: 5px;
  2145 + background: #e1e1e1;
  2146 + position: relative;
  2147 + float: left;
  2148 + margin-top: 3px;
  2149 + overflow: hidden;
  2150 +}
  2151 +.command-block-line-left, .command-block-line-right {
  2152 + width: 50%;
  2153 + height: 100%;
  2154 + background: #0072bc;
  2155 + position: absolute;
  2156 + top: 0;
  2157 +}
  2158 +.command-block-line-left {
  2159 + left: -50%;
  2160 +}
  2161 +.command-block-line-right {
  2162 + right: -50%;
  2163 +}
  2164 +
  2165 +
  2166 +.command-block-wr-two:hover .hover-command-bg{
  2167 + opacity: 0.2;
  2168 + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
  2169 +}
  2170 +.command-block-wr-two:hover .command-block-line-left {
  2171 + left: 0;
  2172 + transition: 0.2s ease-in;
  2173 +}
  2174 +.command-block-wr-two:hover .command-block-line-right {
  2175 + right: 0;
  2176 + transition: 0.2s ease-in;
  2177 +}
  2178 +.commands-performer-wr {
  2179 + width: 720px;
  2180 + float: right;
  2181 +}
  2182 +.section-box-19.command-command-style {}
  2183 +.command-command-style.navi-buttons-wr {
  2184 + margin-top: 0; !important;
  2185 +}
  2186 +.section-box-line-command {
  2187 + height: 1px;
  2188 + margin-top: -20px;
  2189 +}
  2190 +.section-box-line-command .box-all {
  2191 + border-bottom: 1px solid #dcdcdc;
  2192 +}
  2193 +/****gallery****/
  2194 +.gallery-title {font-size: 18px; margin-bottom: 17px}
  2195 +.video-performer-wrapper {margin-top: 56px}
  2196 +.slider-video-wr {height: 143px; width: 100%; float: left}
  2197 +.video-slider {
  2198 + width: 860px;
  2199 + height: 143px;
  2200 + position: absolute;
  2201 + margin-left: 40px;
  2202 + z-index: 1;
  2203 +}
  2204 +.slider-video-wr #demo5-btn{
  2205 + height: 143px;
  2206 + width: 100%;
  2207 + position: relative;
  2208 +}
  2209 +.slider-video-wr #demo5-backward {
  2210 + position: absolute;
  2211 + left: 0;
  2212 + z-index: 2;
  2213 + width: 16px;
  2214 + height: 24px;
  2215 + background: url("../images/gallery-left.png") no-repeat;
  2216 + top: 50%;
  2217 + margin-top: -12px;
  2218 + border: none;
  2219 + cursor: pointer;
  2220 + outline: none;
  2221 +}
  2222 +.slider-video-wr #demo5-forward {
  2223 + position: absolute;
  2224 + right: 0;
  2225 + z-index: 2;
  2226 + width: 16px;
  2227 + height: 24px;
  2228 + background: url("../images/gallery-right.png") no-repeat;
  2229 + top: 50%;
  2230 + margin-top: -12px;
  2231 + border: none;
  2232 + cursor: pointer;
  2233 + outline: none;
  2234 +}
  2235 +.video-slider ul {min-width: 860px}
  2236 +.video-slider li {
  2237 + position: relative;
  2238 + width: 200px !important;
  2239 + height: 143px !important;
  2240 + margin-left: 20px !important;
  2241 + overflow: hidden;
  2242 +}
  2243 +.video-slider li:first-child {margin-left: 0 !important;}
  2244 +.ytp-large-play-button.ytp-button {display: none!important;}
  2245 +.video-slider iframe {width: 100%!important; height: 100%!important; z-index: 1}
  2246 +.video-slider li a {
  2247 + width: 100%;
  2248 + height: 100%;
  2249 + position: absolute;
  2250 + top: 0;
  2251 + left: 0;
  2252 + z-index: 4;
  2253 + background: url("../images/button_video_01.png") 50% 50% no-repeat;
  2254 + transition: 0.3s;
  2255 +}
  2256 +.video-slider li a:hover {background: url("../images/button_video_02.png") 50% 50% no-repeat;}
  2257 +.video-slider li span {
  2258 + display: block;
  2259 + width: 100%;
  2260 + height: 100%;
  2261 + background: #000;
  2262 + opacity: 0.6;
  2263 + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
  2264 + position: absolute;
  2265 + top: 0;
  2266 + left: 0;
  2267 + z-index: 3;
  2268 +}
  2269 +.video-full {
  2270 + width: 840px;
  2271 + height: 560px;
  2272 + position: fixed;
  2273 + top: 0;
  2274 + left: 50%;
  2275 + margin-left: -420px;
  2276 + z-index: 9992;
  2277 + margin-top: -280px;
  2278 + opacity: 0;
  2279 + display: none;
  2280 +}
  2281 +.video-full-iframe {width: 100%; height: 100%; display: block}
  2282 +.video-full .closed-form {top: 17px; right: -13px}
  2283 +.section-box-20 .performer-vacancy-sidebar-img {margin-bottom: 6px}
  2284 +.gallery-performer-wrapper {overflow: hidden;margin-top: 32px}
  2285 +.gallery-performer-margin {
  2286 + float: left;
  2287 + width: 973px;
  2288 + margin-left: -33px;
  2289 +}
  2290 +.navi-buttons-wr.gallery-style {margin-bottom: 50px;margin-top: 0}
  2291 +
  2292 +
  2293 +.gallery-box {
  2294 + width: 210px;
  2295 + height: 150px;
  2296 + float: left;
  2297 + background: #f1f1f1;
  2298 + margin-left: 33px;
  2299 + margin-bottom: 40px;
  2300 + transition: 0.3s;
  2301 +}
  2302 +.gallery-box:hover{opacity: 0.8}
  2303 +.gallery-box:nth-child(4n) {
  2304 + margin-left: 34px;
  2305 +}
  2306 +.gallery-box-min img{
  2307 + width: 210px;
  2308 + height: 150px;
  2309 +}
  2310 +.gallery-box-hidden, .gallery-box-preview, .gallery-box-big {display: none}
  2311 +.gallery-box-min{display: block}
  2312 +
  2313 +.gallery-page {
  2314 + width: 940px;
  2315 + height: 710px;
  2316 + float: left;
  2317 + display: none;
  2318 + z-index: 9992;
  2319 + position: fixed;
  2320 + left: 50%;
  2321 + margin-left: -470px;
  2322 + top: 0;
  2323 +}
  2324 +.gallery-box-big-wrapper-first {
  2325 + width: 840px;
  2326 + height: 560px;
  2327 + margin: 0 auto;
  2328 +}
  2329 +.gallery-show-big-wrp {
  2330 + width: 840px;height: 560px; margin: 0 auto;position: relative;
  2331 +}
  2332 +.gallery-show-big {
  2333 +
  2334 +}
  2335 +.galley-show-min-wrapper {
  2336 + width: 840px;
  2337 + margin: 0 auto;
  2338 + overflow: hidden;
  2339 + padding-top: 40px;
  2340 + height: 108px;
  2341 +}
  2342 +.gallery-show-big tr{display: none}
  2343 +.gallery-show-big tr:first-child{display: block}
  2344 +.gallery-show-big tr td{
  2345 + vertical-align: middle;
  2346 + width: 840px;
  2347 + height: 560px;
  2348 + text-align: center;
  2349 +}
  2350 +.gallery-show-big img{max-width: 100%; max-height: 100%; vertical-align: middle; position: relative}
  2351 +
  2352 +.gallery-show-min img{
  2353 + margin-right: 20px;cursor: pointer;
  2354 +}
  2355 +.gallery-show-min img:last-child{margin-right: 0}
  2356 +.gallery-show-min {float: left; position: relative; height: 108px}
  2357 +.border-gallery {
  2358 + position: absolute;
  2359 + top: 0;
  2360 + left: 0;
  2361 + width: 148px;
  2362 + height: 104px;
  2363 + border: 2px solid greenyellow;
  2364 +}
  2365 +.gallery-min-left, .gallery-min-right, .copy-gallery-min-left, .copy-gallery-min-right {
  2366 + width: 35px;
  2367 + height: 108px;
  2368 + position: absolute;
  2369 + bottom: 0;
  2370 + cursor: pointer;
  2371 + transition: 0.3s;
  2372 + z-index: 2;
  2373 +}
  2374 +.copy-gallery-min-left, .copy-gallery-min-right, .copy-gallery-big-left, .copy-gallery-big-right {
  2375 + z-index: 1 !important;
  2376 +}
  2377 +.copy-gallery-min-left, .copy-gallery-min-right, .copy-gallery-big-left, .copy-gallery-big-right {opacity: 0.35}
  2378 +.gallery-min-left, .copy-gallery-min-left {
  2379 + left: 0;
  2380 + background: url("../images/gallery-left.png") 0 50% no-repeat;
  2381 +}
  2382 +.gallery-min-right, .copy-gallery-min-right {
  2383 + right: 0;
  2384 + background: url("../images/gallery-right.png") 100% 50% no-repeat;
  2385 +}
  2386 +.copy-gallery-big-left, .copy-gallery-big-right, .gallery-big-left, .gallery-big-right {
  2387 + width: 35px;
  2388 + height: 100%;
  2389 + position: absolute;
  2390 + cursor: pointer;
  2391 + z-index: 2;
  2392 + top: 0;
  2393 +}
  2394 +.gallery-big-left, .copy-gallery-big-left {
  2395 + left: -50px;
  2396 + background: url("../images/gallery-left.png") 0 50% no-repeat;
  2397 +}
  2398 +.gallery-big-right, .copy-gallery-big-right {
  2399 + right: -50px;
  2400 + background: url("../images/gallery-right.png") 100% 50% no-repeat;
  2401 +}
  2402 +
  2403 +
  2404 +.gallery-page-sidebar .performer-vacancy-sidebar-left{
  2405 + top: -190px;
  2406 +}
  2407 +.gallery-page-sidebar .performance-vacancy-sidebar-company-wr {
  2408 + padding-top: 0;
  2409 + margin-top: -6px;
  2410 +}
  2411 +.gallery-page-sidebar .vote-hover, .blocks-check-list-wrapp .vote-hover{padding: 0!important;}
  2412 +.gallery-page-sidebar .rating, .blocks-check-list-wrapp .rating{padding-left: 0!important;}
  2413 +/****search-work***/
  2414 +.blocks-check-list-wrapp .rating {margin-bottom: 16px}
  2415 +.blocks-check-list-wrapp .vote-result, .blocks-check-list-wrapp .vote-success {display: none}
  2416 +.section-box-22 {margin-top: 30px}
  2417 +.left-search-work {
  2418 + width: 200px;
  2419 + float: left;
  2420 + box-shadow: 0px 0px 5px 0px rgba(149, 149, 149, 0.75);
  2421 + border-radius: 4px;
  2422 + box-sizing: border-box;
  2423 + padding: 17px 10px 20px 10px;
  2424 + margin-bottom: 50px;
  2425 +}
  2426 +.right-search-work {
  2427 + width: 720px;
  2428 + float: right;
  2429 + padding-bottom: 50px;
  2430 +}
  2431 +.blocks-check-list-wrapp {
  2432 + width: 100%;
  2433 + float: left;
  2434 + position: relative;
  2435 + margin-top: 1px;
  2436 +}
  2437 +.blocks-check-list-wrapp:first-child {margin-top: 0}
  2438 +.blocks-check-title {
  2439 + width: 100%;
  2440 + float: left;
  2441 + font-size: 13px;
  2442 + font-weight: 700;
  2443 + margin-bottom: 5px;
  2444 +}
  2445 +
  2446 +.search-work-form select {
  2447 + border: 1px solid #dcdcdc;
  2448 + height: 29px;
  2449 + width: 180px;
  2450 + float: left;
  2451 + cursor: pointer;
  2452 + color: #636363;
  2453 + font-size: 13px;
  2454 + -webkit-appearance: none;
  2455 + -moz-appearance: none;
  2456 + appearance: none;
  2457 + background-color: transparent;
  2458 + margin-bottom: 16px;
  2459 +}
  2460 +
  2461 +.search-work-form select option:first-child{border-top: none}
  2462 +.select-after {
  2463 + position: absolute;
  2464 + width: 8px;
  2465 + height:4px;
  2466 + display: block;
  2467 + margin-top: -0px;
  2468 + right: 9px;
  2469 + background: url("../images/arrow-select.png") no-repeat;
  2470 + bottom: 28px;
  2471 +}
  2472 +
  2473 +.blocks-check-list input[type="checkbox"], .blocks-check-list input[type="radio"] {
  2474 + display: none;
  2475 +}
  2476 +
  2477 +.search-work-form input[type="checkbox"] + label, .search-work-form input[type="radio"] + label {
  2478 + color: #0072bc;
  2479 + text-decoration: underline;
  2480 + font-size: 13px;
  2481 + cursor: pointer;
  2482 + margin-left: 6px;
  2483 +}
  2484 +.search-work-form input[type="checkbox"] + label span {
  2485 + width: 12px;
  2486 + height: 12px;
  2487 + background: url('../images/check.png') no-repeat;
  2488 + float: left;
  2489 + transition: 0.2s;
  2490 + margin-top: 4px;
  2491 +}
  2492 +.search-work-form input[type="checkbox"]:checked + label span {
  2493 + background: url('../images/check-active.png') no-repeat;
  2494 +}
  2495 +.search-work-form input[type="radio"] + label span {
  2496 + width: 12px;
  2497 + height: 12px;
  2498 + background: url('../images/radio.png') no-repeat;
  2499 + float: left;
  2500 + transition: 0.2s;
  2501 + margin-top: 4px;
  2502 +}
  2503 +.search-work-form input[type="radio"]:checked + label span {
  2504 + background: url('../images/radio-active.png') no-repeat;
  2505 +}
  2506 +
  2507 +.blocks-check-list {
  2508 + margin-bottom: 3px;
  2509 +}
  2510 +.blocks-check-list:last-child {
  2511 + margin-bottom: 14px;
  2512 +}
  2513 +.blocks-check-list-submit {
  2514 + width: 100%;
  2515 + float: left;
  2516 + margin-top: 6px;
  2517 +}
  2518 +.blocks-check-list-submit input[type="submit"] {
  2519 + width: 82px;
  2520 + height: 29px;
  2521 + border: 1px solid #0072bc;
  2522 + background: #0072bc;
  2523 + color: #fff;
  2524 + text-align: center;
  2525 + margin: 0 auto;
  2526 + border-radius: 4px;
  2527 + display: block;
  2528 + font-size: 13px;
  2529 + cursor: pointer;
  2530 + transition: 0.2s;
  2531 +}
  2532 +.blocks-check-list-submit input[type="submit"]:hover {
  2533 + background: #fff;
  2534 + color: #0072bc;
  2535 +}
  2536 +.search-worker-title {font-size: 18px; margin-top: -3px}
  2537 +.search-worker-title-two {font-size: 13px; font-weight: 700; margin-top: 4px}
  2538 +.search-worker-title-two span {color: #fc9b28}
  2539 +.search-worker-search-wr {
  2540 + border-bottom: 1px solid #dcdcdc;
  2541 + margin-top: 17px;
  2542 + padding-bottom: 12px;
  2543 +}
  2544 +.search-worker-form {float: left}
  2545 +.search-worker-form input {
  2546 + width: 300px;
  2547 + height: 29px;
  2548 + color: #636363;
  2549 + background: #fff;
  2550 + border: 1px solid #dcdcdc;
  2551 + box-sizing: border-box;
  2552 + padding-left: 8px;
  2553 + float: left;
  2554 +}
  2555 +.search-worker-form input[type="submit"] {
  2556 + float: left;
  2557 + width: 82px;
  2558 + height: 29px;
  2559 + border: 1px solid #0072bc;
  2560 + background: #0072bc;
  2561 + color: #fff;
  2562 + text-align: center;
  2563 + border-radius: 4px;
  2564 + display: block;
  2565 + font-size: 13px;
  2566 + cursor: pointer;
  2567 + transition: 0.2s;
  2568 + padding-left: 0;
  2569 + margin-left: 6px;
  2570 +}
  2571 +.search-worker-form input[type="submit"]:hover {
  2572 + background: #fff;
  2573 + color: #0072bc;
  2574 +}
  2575 +
  2576 +.add-to-catalog-search-worker {
  2577 + float: right;
  2578 + width: 197px;
  2579 + height: 29px;
  2580 + border-bottom: 1px solid #3e9825;
  2581 + background: #63bf49;
  2582 + color: #fff;
  2583 + line-height: 29px;
  2584 + box-sizing: border-box;
  2585 + position: relative;
  2586 + border-radius: 4px;
  2587 + padding-left: 34px;
  2588 + font-size: 13px;
  2589 + display: block;
  2590 + text-decoration: none;
  2591 + transition: 0.2s;
  2592 +}
  2593 +.add-to-catalog-search-worker:after {
  2594 + position: absolute;
  2595 + width: 18px;
  2596 + height: 18px;
  2597 + top: 50%;
  2598 + margin-top: -9px;
  2599 + left: 10px;
  2600 + content: '';
  2601 + display: block;
  2602 + background: url("../images/add_catalog.png") no-repeat;
  2603 +}
  2604 +.add-to-catalog-search-worker:hover {
  2605 + border-bottom: 1px solid #63bf49;
  2606 + background: #3e9825;
  2607 +}
  2608 +.search-worker-sort {
  2609 + float: left;
  2610 + font-size: 13px;
  2611 + color: #636363;
  2612 +}
  2613 +.search-worker-sort-wr ul {
  2614 + float: left;
  2615 + margin-top: -2px;
  2616 +}
  2617 +.search-worker-sort-wr ul li {list-style: none}
  2618 +.search-worker-sort-wr ul li a {
  2619 + font-size: 13px;
  2620 + color: #0072bc;
  2621 + text-decoration: none;
  2622 + position: relative;
  2623 + border-bottom: 1px dashed #0072bc;
  2624 +}
  2625 +.activejob a:after {
  2626 + position: absolute;
  2627 + display: block;
  2628 + content: '';
  2629 + width: 8px;
  2630 + height: 4px;
  2631 + right: -14px;
  2632 + top: 6px;
  2633 + background: url("../images/arrow-select.png") no-repeat;
  2634 +}
  2635 +.search-worker-sort-wr {
  2636 + margin-top: 17px;
  2637 +}
  2638 +.search-worker-sort-wr .sidebar-droped-wr a {
  2639 + text-decoration: none;
  2640 + border-bottom: none;
  2641 +}
  2642 +.search-worker-sort-wr .sidebar-droped-wr ul li {
  2643 + padding-bottom: 4px;
  2644 + border-radius: 0;
  2645 +}
  2646 +.search-worker-sort-wr .sidebar-droped-wr ul li a {padding: 0 10px}
  2647 +.search-worker-sort-wr .sidebar-droped-wr.act {
  2648 + margin-left: -10px;
  2649 +}
  2650 +.search-worker-blocks {
  2651 + width: 100%;
  2652 + float: left;
  2653 + padding-bottom: 20px;
  2654 + border-bottom: 1px solid #dcdcdc;
  2655 + margin-top: 30px;
  2656 +}
  2657 +.search-worker-blocks:first-child{margin-top: 20px}
  2658 +.search-worker-blocks-foto-wr {
  2659 + width: 318px;
  2660 +
  2661 + float: left;
  2662 +}
  2663 +.search-worker-blocks-text-wr {
  2664 + width: 382px;
  2665 + float: right;
  2666 +}
  2667 +.search-worker-blocks-ico-wr {
  2668 + width: 48px;
  2669 + float: left;
  2670 +}
  2671 +.search-worker-blocks-title-wr {
  2672 + width: 322px;
  2673 + float: right;
  2674 +}
  2675 +.search-worker-blocks-title-pro, .search-worker-blocks-title {float: left}
  2676 +.search-worker-blocks-title-pro {
  2677 + margin-right: 12px;
  2678 + color: #fff;
  2679 + width: 33px;
  2680 + height: 16px;
  2681 + background: #0e84cf;
  2682 + border-radius: 4px;
  2683 + font-size: 11px;
  2684 + line-height: 17px;
  2685 + text-align: center;
  2686 +}
  2687 +.search-worker-blocks-title {
  2688 + font-size: 18px; margin-top: -4px;
  2689 +}
  2690 +.rating-new {
  2691 + float: left;
  2692 + margin-right: 12px;
  2693 + margin-top: 5px;
  2694 +}
  2695 +.rating-new .vote-result, .rating-new .vote-success {display: none}
  2696 +.rating-new .vote-hover {padding: 0!important;}
  2697 +.search-worker-blocks-atr {
  2698 + float: left;
  2699 + margin-top: 5px;
  2700 +}
  2701 +.search-worker-blocks-buttons a {
  2702 + float: right;
  2703 + height: 28px;
  2704 + color: #fff;
  2705 + text-decoration: none;
  2706 + font-size: 13px;
  2707 + line-height: 29px;
  2708 + border-radius: 4px;
  2709 + margin-left: 4px;
  2710 + position: relative;
  2711 +}
  2712 +.get-project, .get-project-new {
  2713 + border-bottom: 1px solid #ef8505;
  2714 + background: rgb(253,157,43);
  2715 + background: -moz-linear-gradient(top, rgba(253,157,43,1) 0%, rgba(248,148,30,1) 100%);
  2716 + background: -webkit-linear-gradient(top, rgba(253,157,43,1) 0%,rgba(248,148,30,1) 100%);
  2717 + background: linear-gradient(to bottom, rgba(253,157,43,1) 0%,rgba(248,148,30,1) 100%);
  2718 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fd9d2b', endColorstr='#f8941e',GradientType=0 );
  2719 + padding: 0 10px 0 34px;
  2720 +}
  2721 +.get-project:after {
  2722 + width: 18px;
  2723 + height: 18px;
  2724 + content: '';
  2725 + display: block;
  2726 + background: url("../images/search-warker/ico-1.png") no-repeat;
  2727 + top: 50%;
  2728 + margin-top: -9px;
  2729 + left: 10px;
  2730 + position: absolute;
  2731 +}
  2732 +.get-list, .get-list-new{
  2733 + border-bottom: 1px solid #0054a6;
  2734 + background: rgb(20,138,214);
  2735 + background: -moz-linear-gradient(top, rgba(20,138,214,1) 0%, rgba(0,114,188,1) 100%);
  2736 + background: -webkit-linear-gradient(top, rgba(20,138,214,1) 0%,rgba(0,114,188,1) 100%);
  2737 + background: linear-gradient(to bottom, rgba(20,138,214,1) 0%,rgba(0,114,188,1) 100%);
  2738 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#148ad6', endColorstr='#0072bc',GradientType=0 );
  2739 + padding: 0 10px 0 31px;
  2740 +}
  2741 +.get-list:after {
  2742 + width: 15px;
  2743 + height: 18px;
  2744 + content: '';
  2745 + display: block;
  2746 + background: url("../images/search-warker/ico-2.png") no-repeat;
  2747 + top: 50%;
  2748 + margin-top: -9px;
  2749 + left: 10px;
  2750 + position: absolute;
  2751 +}
  2752 +.get-project:hover, .get-project-new:hover {
  2753 + background: rgb(248,148,30);
  2754 + background: -moz-linear-gradient(top, rgba(248,148,30,1) 0%, rgba(253,157,43,1) 100%);
  2755 + background: -webkit-linear-gradient(top, rgba(248,148,30,1) 0%,rgba(253,157,43,1) 100%);
  2756 + background: linear-gradient(to bottom, rgba(248,148,30,1) 0%,rgba(253,157,43,1) 100%);
  2757 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8941e', endColorstr='#fd9d2b',GradientType=0 );
  2758 +}
  2759 +
  2760 +.get-list:hover, .get-list-new:hover {
  2761 + background: rgb(0,114,188);
  2762 + background: -moz-linear-gradient(top, rgba(0,114,188,1) 0%, rgba(20,138,214,1) 100%);
  2763 + background: -webkit-linear-gradient(top, rgba(0,114,188,1) 0%,rgba(20,138,214,1) 100%);
  2764 + background: linear-gradient(to bottom, rgba(0,114,188,1) 0%,rgba(20,138,214,1) 100%);
  2765 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0072bc', endColorstr='#148ad6',GradientType=0 );
  2766 +}
  2767 +.search-worker-blocks-status {
  2768 + font-size: 13px;
  2769 + height: 16px;
  2770 + margin-top: 6px;
  2771 +}
  2772 +.search-worker-blocks-status img {float: left; margin-right: 6px}
  2773 +.search-worker-blocks-status span {
  2774 + height: 16px;
  2775 + display: block;
  2776 + line-height: 16px;
  2777 + float: left;
  2778 +}
  2779 +.search-worker-blocks-visit {
  2780 + font-size: 13px;
  2781 +}
  2782 +.search-worker-blocks-visit, .search-worker-blocks-geographic {font-size: 13px; line-height: 16px}
  2783 +.search-worker-blocks-visit span, .search-worker-blocks-geographic span {font-weight: 700}
  2784 +.search-worker-blocks-geographic {margin-top: 13px; }
  2785 +.search-worker-blocks-visit {margin-top: 17px}
  2786 +.search-worker-blocks-tags a{
  2787 + font-size: 13px;
  2788 + color: #636363;
  2789 + text-decoration: underline;
  2790 +}
  2791 +.search-worker-blocks-tags a:hover {
  2792 + text-decoration: none;
  2793 +}
  2794 +.search-worker-blocks-jobs-portfolio {
  2795 + float: left;
  2796 + font-size: 13px;
  2797 + color: #0072bc;
  2798 + text-decoration: underline;
  2799 + margin-top: 16px;
  2800 + line-height: 16px;
  2801 +
  2802 +}
  2803 +.search-worker-blocks .land-stars-pro, .search-worker-blocks .land-stars-new {
  2804 + margin-right: 11px;
  2805 +}
  2806 +.search-worker-blocks-tags {
  2807 + margin-top: 18px;
  2808 + line-height: 17px;
  2809 +}
  2810 +.search-worker-blocks-buttons {
  2811 + margin-top: 49px;
  2812 +}
  2813 +
  2814 +
  2815 +
  2816 +.gallery-box-search {
  2817 + width: 100%;
  2818 + float: left;
  2819 + height: auto;
  2820 + margin-left: 0;
  2821 + background: none;
  2822 + margin-bottom: 0;
  2823 + transition: none;
  2824 +}
  2825 +.big-img-search {
  2826 + width: 100%;
  2827 + float: left;
  2828 + text-align: center;
  2829 + display: block;
  2830 + max-height: 228px;
  2831 + height: 228px;
  2832 +}
  2833 +.big-img-search img{
  2834 + width: 318px;
  2835 + height: 228px;
  2836 +}
  2837 +.small-img-search {
  2838 + width: 100px;
  2839 + height: 72px;
  2840 + float: left;
  2841 + margin-top: 20px;
  2842 + margin-right: 9px;
  2843 +}
  2844 +.small-img-search img {
  2845 + width: 100%;
  2846 + height: 100%;
  2847 +}
  2848 +.small-img-search:last-of-type {margin-right: 0}
  2849 +/***landing-order-project****/
  2850 +.section-box-23 {
  2851 + height: 500px;
  2852 + background: url("../images/landing-order-project/bg-23.jpg") 50% no-repeat;
  2853 +}
  2854 +.section-box-23 .landing-reg-button a {
  2855 + border-bottom: 3px solid #ef8505;
  2856 + width: 248px;
  2857 + background: #fd9d2b;
  2858 + background: -moz-linear-gradient(top, #fd9d2b 0%, #f8941e 100%);
  2859 + background: -webkit-linear-gradient(top, #fd9d2b 0%,#f8941e 100%);
  2860 + background: linear-gradient(to bottom, #fd9d2b 0%,#f8941e 100%);
  2861 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fd9d2b', endColorstr='#f8941e',GradientType=0 );
  2862 +}
  2863 +.section-box-23 .landing-reg-button a:hover {
  2864 + border-bottom: 3px solid #fd9d2b;
  2865 + width: 248px;
  2866 + background: #f8941e;
  2867 + background: -moz-linear-gradient(top, #f8941e 0%, #fd9d2b 100%);
  2868 + background: -webkit-linear-gradient(top, #f8941e 0%,#fd9d2b 100%);
  2869 + background: linear-gradient(to bottom, #f8941e 0%,#fd9d2b 100%);
  2870 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8941e', endColorstr='#fd9d2b',GradientType=0 );
  2871 +
  2872 +}
  2873 +.workplace-wr {
  2874 + width: 100%;
  2875 + float: left;
  2876 + margin-top: -1px;
  2877 +}
  2878 +.workplace-title {
  2879 + font-size: 18px;
  2880 +}
  2881 +.workplace-experience-post {
  2882 + width: 100%;
  2883 + float: left;
  2884 + margin-top: 17px;
  2885 +}
  2886 +.workplace-experience-post:first-child{margin-top: 0}
  2887 +.workplace-experience-post-title, .workplace-experience-post-date, .workplace-experience-post-vacancy {font-size: 13px; line-height: 18px}
  2888 +.workplace-experience-post-title {font-weight: 700;}
  2889 +.workplace-experience-wr {margin-top: 16px}
  2890 +/***portfolio-project***/
  2891 +.portfolio-project-tags {
  2892 + margin-top: 9px;
  2893 + padding-right: 90px;
  2894 + box-sizing: border-box;
  2895 + margin-left: -16px;
  2896 +}
  2897 +.portfolio-project-tags a {
  2898 + color: #636363;
  2899 + font-size: 13px;
  2900 + text-decoration: underline;
  2901 + margin-left: 16px;
  2902 + display: block;
  2903 + float: left;
  2904 + line-height: 20px;
  2905 + transition: 0.3s;
  2906 +}
  2907 +.portfolio-project-tags a:hover{opacity: 0.8}
  2908 +.portfolio-project-tags a.active-tag {
  2909 + color: #0072bc;
  2910 + text-decoration: none;
  2911 + cursor: default;
  2912 +}
  2913 +.portfolio-project-tags a.active-tag:hover{opacity: 1}
  2914 +.portfolio-project-blocks-wrapper {
  2915 + width: 750px;
  2916 + float: left;
  2917 + margin: 6px 0 0 -20px;
  2918 +}
  2919 +.portfolio-project-blocks-wr {
  2920 + width: 230px;
  2921 + height: 270px;
  2922 + border: 1px solid #dfdfdf;float: left;
  2923 + margin: 20px 0 0 18px;
  2924 + box-shadow: 0px 0px 5px 0px rgba(149, 149, 149, 0.75);
  2925 + border-radius: 6px;
  2926 +}
  2927 +.portfolio-project-blocks-img-title {
  2928 + width: 100%;
  2929 + height: 201px;
  2930 + background: #f1f1f1;
  2931 + float: left;
  2932 + box-sizing: border-box;
  2933 + padding: 10px 10px 0 10px;
  2934 +}
  2935 +.portfolio-project-blocks-img {
  2936 + width: 210px;
  2937 + height: 150px;
  2938 + text-align: center;
  2939 + display: table-cell;
  2940 + vertical-align: middle;
  2941 + transition: 0.3s;
  2942 +}
  2943 +.portfolio-project-blocks-img img {
  2944 + vertical-align: middle;
  2945 + max-width: 210px;
  2946 + max-height: 150px;
  2947 +}
  2948 +.portfolio-project-blocks-title-wr {
  2949 + height: 41px;
  2950 + width: 100%;
  2951 + box-sizing: border-box;
  2952 + padding-left: 11px;
  2953 +}
  2954 +.portfolio-project-blocks-title {
  2955 + width: 210px;
  2956 + height: 41px;
  2957 + display: table-cell;
  2958 + vertical-align: middle;
  2959 + line-height: 16px;
  2960 +}
  2961 +.portfolio-project-blocks-title a {
  2962 + vertical-align: middle;
  2963 + text-decoration: none;
  2964 + color: inherit;
  2965 +}
  2966 +.portfolio-project-blocks-wr:hover .portfolio-project-blocks-title a{text-decoration: underline}
  2967 +.portfolio-project-blocks-wr:hover .portfolio-project-blocks-img{opacity: 0.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";}
  2968 +.portfolio-project-views-wr {
  2969 + border-bottom: 1px solid #dbdbdb;
  2970 + margin: 10px 10px 0 10px;
  2971 + width: 210px;
  2972 + float: left;
  2973 + box-sizing: border-box;
  2974 + padding: 0 0 8px 10px;
  2975 + overflow: hidden;
  2976 +}
  2977 +.ico-views-bl {
  2978 + height: 18px;
  2979 + float: left;
  2980 + box-sizing: border-box;
  2981 + padding-right: 4px;
  2982 +}
  2983 +.portfolio-project-views {
  2984 + min-width: 64px;
  2985 +}
  2986 +.portfolio-project-rati {
  2987 + min-width: 62px;
  2988 +}
  2989 +.portfolio-project-views-img-wr {
  2990 + float: left;
  2991 + height: 18px;
  2992 +}
  2993 +.portfolio-project-views-img {
  2994 + height: 18px;
  2995 + display: table-cell;
  2996 + vertical-align: middle;
  2997 +}
  2998 +.portfolio-project-views-img img {vertical-align: middle}
  2999 +.portfolio-project-views-txt {
  3000 + height: 100%;
  3001 + line-height: 21px;
  3002 + float: left;
  3003 + margin-left: 6px;
  3004 + font-size: 13px;
  3005 +}
  3006 +.portfolio-project-blocks-tags {
  3007 + width: 100%;
  3008 + float: left;
  3009 + box-sizing: border-box;
  3010 + padding-left: 21px;
  3011 + line-height: 30px;
  3012 +}
  3013 +.portfolio-project-blocks-tags a {
  3014 + font-size: 13px;
  3015 + color: #636363;
  3016 +}
  3017 +.portfolio-project-blocks-tags a:hover{text-decoration: none}
  3018 +/***proektant-profile***/
  3019 +.proektant-profile-content {
  3020 + width: 480px;
  3021 + float: left;
  3022 +}
  3023 +.proektant-profile-sidebar-right {
  3024 + width: 220px;
  3025 + float: right;
  3026 +}
  3027 +
  3028 +.proektant-profile-hidden-txt {
  3029 + width: 100%;
  3030 + float: left;
  3031 + overflow: hidden;
  3032 +}
  3033 +.proektant-profile-hidden-txt p {
  3034 + font-size: 13px;
  3035 + line-height: 18px;
  3036 +}
  3037 +.profile-see-all {display: none; float: left; font-size: 13px; color: #0072bc; text-decoration: none; border-bottom: 1px dashed #0072bc; position: relative;}
  3038 +.profile-see-all:before {
  3039 + background: url("../images/ico-see-all-dawn.png") no-repeat;
  3040 + width: 8px;
  3041 + height: 4px;
  3042 + display: block;
  3043 + content: '';
  3044 + position: absolute;
  3045 + top: 50%;
  3046 + margin-top: -2px;
  3047 + right: -14px;
  3048 +}
  3049 +.profile-see-all.profile-txt-big:before {
  3050 + transform: rotate(180deg);
  3051 +}
  3052 +.proektant-profile-courses-wr {
  3053 + border-bottom: 1px solid #dcdcdc;
  3054 + padding-bottom: 15px;
  3055 +}
  3056 +.proektant-profile-courses {
  3057 + width: 100%;float: left;
  3058 + margin-top: 18px;
  3059 +}
  3060 +.proektant-profile-courses-title, .proektant-profile-courses-year, .proektant-profile-courses-content {font-size: 13px; line-height: 18px; width: 100%; float: left}
  3061 +.proektant-profile-courses-title {
  3062 + font-weight: 700;
  3063 +}
  3064 +.proektant-profile-stat-table {margin-top: 9px}
  3065 +.proektant-profile-stat-table table td {
  3066 + height: 33px;
  3067 +}
  3068 +.proektant-profile-stat-table table tr:first-child td{
  3069 + height: 35px;
  3070 + background: #f1f1f1;
  3071 + border-top: none;
  3072 + font-weight: 700;
  3073 +}
  3074 +.proektant-profile-stat-table table td{
  3075 + border-left: 1px solid #dfdfdf;
  3076 + font-size: 13px;
  3077 +}
  3078 +.proektant-profile-stat-table table tr td{
  3079 + border-top: 1px solid #f1f1f1;
  3080 + text-align: center;
  3081 +}
  3082 +.proektant-profile-stat-table table tr td:first-child {
  3083 + text-align: left;
  3084 + padding-left: 11px;
  3085 +}
  3086 +.proektant-profile-stat-title {
  3087 + font-size: 18px;
  3088 + margin-top: 2px;
  3089 +}
  3090 +.proektant-profile-stat-title-h2 {
  3091 + font-size: 13px;
  3092 + font-weight: 700;
  3093 + margin-top: 4px;
  3094 +}
  3095 +.proektant-profile-statistic-wr {
  3096 + margin-top: 26px;
  3097 +}
  3098 +.proektant-profile-tb-blocks {
  3099 + width: 100%;
  3100 + float: left;
  3101 + margin-top: 23px;
  3102 +}
  3103 +.proektant-profile-tb-blocks:first-child{margin-top: 0}
  3104 +.proektant-profile-tb-blocks:first-child .proektant-profile-stat-title{margin-top: 0}
  3105 +.proektant-profile-tb-blocks:first-child .proektant-profile-stat-table{margin-top: 12px}
  3106 +table.last-tabl-profile tr:first-child td {
  3107 + height: 41px;
  3108 +}
  3109 +img.flag-ico-profile {margin-left: -3px}
  3110 +.profile-phone-site>div {height: 18px; display: table-cell; vertical-align: middle; margin-top: 10px}
  3111 +.profile-phone-site>div:first-child{margin-top: 0}
  3112 +.profile-phone-site img {vertical-align: middle; margin-right: 4px}
  3113 +.profile-phone span {font-size: 15px; color: #000; vertical-align: middle}
  3114 +.profile-site a {color: #636363; text-decoration: none; vertical-align: middle}
  3115 +.profile-site a:hover{text-decoration: underline}
  3116 +.profile-phone-site{
  3117 + padding-bottom: 19px;
  3118 + border-bottom: 1px solid #dbdbdb;
  3119 +}
  3120 +.profile-features ul{width: 100%; float: left; margin-top: 26px; border-bottom: 1px solid #dbdbdb; padding-bottom: 13px}
  3121 +.profile-features li{
  3122 + list-style: none;
  3123 + font-size: 13px;
  3124 + line-height: 16px;
  3125 + margin-top: 17px;
  3126 +}
  3127 +.profile-features li:first-child{margin-top: 0}
  3128 +.profile-features li span {font-weight: 700}
  3129 +.features-tags .features-tags-left{color: #0072bc; border-bottom: 1px dashed #0072bc; text-decoration: none; font-size: 13px; position: relative}
  3130 +.features-tags .features-tags-left:after{
  3131 + position: absolute;
  3132 + display: block;
  3133 + content: '';
  3134 + width: 8px;
  3135 + height: 4px;
  3136 + right: -14px;
  3137 + top: 6px;
  3138 + background: url("../images/arrow-select.png") no-repeat;
  3139 +}
  3140 +.features-tags span:first-child{margin-left: 0}
  3141 +.features-tags span.features-tags-display {
  3142 + display: none;
  3143 +}
  3144 +.features-tags {width: 100%; float: left; line-height: 18px; margin-bottom: 17px}
  3145 +.features-tags a {
  3146 + color: #636363;
  3147 + font-size: 13px;
  3148 +}
  3149 +.profile-comments {margin-top: 26px}
  3150 +.profile-comments .company-performer-comm-title{text-align: left}
  3151 +.profile-comments .company-performer-comments-wr{margin-top: 9px}
  3152 +.profile-comments .company-performer-comments-bl{margin-left: 0; margin-top: 21px}
  3153 +.profile-comments .company-performer-comments-bl:first-child{margin-top: 0}
  3154 +.profile-comments .company-performer-comm-see-all-butt {margin-top: 27px}
  3155 +/***proektant_comments***/
  3156 +ul.proektant-comments {margin-top: 15px}
  3157 +.proektant-comments li {
  3158 + width: 100%;
  3159 + float: left;
  3160 + list-style: none;
  3161 + border-bottom: 1px solid #dcdcdc;
  3162 + padding-bottom: 17px;
  3163 + margin-top: 27px;
  3164 +}
  3165 +.proektant-comments li:first-child{margin-top: 0}
  3166 +.proektant-comments li>div{float: left; width: 100%; font-size: 13px}
  3167 +.comments-name {font-weight: 700}
  3168 +.comments-project-link a{
  3169 + color: #0073bc;
  3170 + text-decoration: underline;
  3171 +
  3172 +}
  3173 +.comments-status span {
  3174 + color: #0072bc;
  3175 + border-bottom: 1px dashed #0072bc;
  3176 +}
  3177 +.comments-status, .comments-date, .proektant-comments .rating {margin-top: 3px}
  3178 +.comments-content {line-height: 18px; margin-top: 11px}
  3179 +.comments-project-link {margin-top: 19px}
  3180 +/***search-company***/
  3181 +.search-company-block {
  3182 + width: 100%;
  3183 + float: left;
  3184 + padding-bottom: 20px;
  3185 + border-bottom: 1px solid #dcdcdc;
  3186 + margin-top: 18px;
  3187 +}
  3188 +.search-company-block:first-child{margin-top: 0}
  3189 +.search-company-block:first-child{margin-top: 0}
  3190 +.search-company-block-left {
  3191 + width: 400px;
  3192 + float: left;
  3193 +}
  3194 +.search-company-block-right {
  3195 + width: 320px;
  3196 + float: right;
  3197 +}
  3198 +.search-company-block-left .search-worker-blocks-title-wr {float: left; width: 100% !important;}
  3199 +.search-company-block-left .land-stars-pro, .land-stars-new {margin-right: 11px}
  3200 +.search-company-worker {font-size: 18px; margin-top: 6px; display: block}
  3201 +.search-company-geography, .search-company-visit {font-size: 13px; line-height: 16px}
  3202 +.search-company-geography span, .search-company-visit span {
  3203 + font-weight: 700;
  3204 +}
  3205 +.search-company-geography {margin-top: 17px}
  3206 +.search-company-visit {margin-top: 14px}
  3207 +.search-company-blocks-wr {
  3208 + margin-top: 18px;
  3209 +}
  3210 +.search-company-blocks-wr .rating-new, .search-company-blocks-wr .search-worker-blocks-atr {margin-top: 6px}
  3211 +.search-company-blocks-wr .features-tags {
  3212 + margin-top: 15px;
  3213 + margin-bottom: 0;
  3214 +}
  3215 +.search-company-blocks-wr .search-worker-blocks-buttons {
  3216 + margin-top: 38px;
  3217 + box-sizing: border-box;
  3218 + padding-left: 35px;
  3219 +}
  3220 +.search-company-blocks-wr .search-worker-blocks-buttons a {float: left}
  3221 +.search-company-blocks-wr .search-worker-blocks-foto-wr {float: right}
  3222 +.search-company-blocks-wr .gallery-box:hover{opacity: 1}
  3223 +.logo-img-search-company-wrapper, .logo-img-search-company {height: 228px;width: 100%;}
  3224 +.logo-img-search-company-wrapper {
  3225 + float: left;
  3226 + text-align: center;
  3227 + display: block;
  3228 + max-height: 228px;
  3229 +}
  3230 +.logo-img-search-company-wrapper table{
  3231 + height: 228px
  3232 +}
  3233 +.logo-img-search-company-wrapper table img {vertical-align: middle; max-width: 318px; max-height: 228px; text-align: center}
  3234 +/***proektant-client***/
  3235 +.proektant-client-txt, .proektant-client-txt p{
  3236 + width: 100%;
  3237 + float: left;
  3238 + font-size: 13px;
  3239 + line-height: 18px;
  3240 +}
  3241 +.proektant-client-txt p {
  3242 + margin-top: 18px;
  3243 +}
  3244 +.proektant-client-txt p:first-child{margin-top: 0}
  3245 +.proektant-client-wr .features-tags{
  3246 + margin-bottom: 0;
  3247 +}
  3248 +.proektant-client-address-title, .proektant-client-address-coordinates {
  3249 + width: 100%;
  3250 + float: left;
  3251 +}
  3252 +.proektant-client-address-title {font-size: 18px;}
  3253 +.proektant-client-address-coordinates {font-weight: 700; margin-top: 10px}
  3254 +.proektant-client-address-map {
  3255 + width: 100%;
  3256 + height: 280px;
  3257 + float: left;
  3258 + margin-top: 22px;
  3259 +}
  3260 +.proektant-client-address-map iframe, .video-full iframe {
  3261 + width: 100% !important;
  3262 + height: 100% !important;
  3263 +}
  3264 +.proektant-client-address-wr {margin-top: 31px}
  3265 +/***vacancy-general***/
  3266 +.vacancy-general-sidebar-wr .left-search-work{
  3267 + margin-top: 2px;
  3268 +}
  3269 +.main-menu.main-menu-buttons {width: 440px;}
  3270 +.main-menu-icons-wr {
  3271 + width: 104px;
  3272 + height: 41px;
  3273 + float: right;
  3274 + margin-right: 20px;
  3275 + position: relative;
  3276 +}
  3277 +.main-menu-icons-wr a{
  3278 + height: 24px;
  3279 + float: left;
  3280 + margin-left: 20px;
  3281 + margin-top: 9px;
  3282 +}
  3283 +.main-menu-icons-wr a:first-child{margin-left: 0}
  3284 +.main-menu-icons-home {
  3285 + width: 24px;
  3286 + background:url("../images/menu_icons.png") no-repeat;
  3287 +}
  3288 +.main-menu-icons-edit {
  3289 + width: 20px;
  3290 + background:url("../images/menu_icons.png") -24px 0 no-repeat;
  3291 +}
  3292 +.main-menu-icons-copy {
  3293 + width: 20px;
  3294 + background:url("../images/menu_icons.png") -44px 0 no-repeat;
  3295 +}
  3296 +/***modal***/
  3297 +#modal_form_favorite, #modal_form_offer, #modal_form_question {
  3298 + width: 460px;
  3299 + height: 263px;
  3300 + position: absolute;
  3301 + top: 30%;
  3302 + left: 50%;
  3303 + margin-left: -267px;
  3304 + display: none;
  3305 + opacity: 0;
  3306 + z-index: 9992;
  3307 +}
  3308 +#modal_form_question {height: 533px}
  3309 +#modal_form_favorite .res_form_line {bottom: 85px}
  3310 +.page-favorite {
  3311 + height: 85px;
  3312 + width: 100%;
  3313 + position: absolute;
  3314 + bottom: 0;
  3315 + text-align: center;
  3316 +}
  3317 +.page-favorite a {
  3318 + color: #0c81cc;
  3319 + font-size: 13px;
  3320 + text-decoration: underline;
  3321 + line-height: 85px;
  3322 +}
  3323 +.page-favorite a:hover{text-decoration: none}
  3324 +.favorite-user-wr {
  3325 + margin-top: 26px;
  3326 + float: left;
  3327 +}
  3328 +.favorite-user-wr img {max-width: 48px;max-height: 48px; margin-left: 156px; float: left; margin-right: 13px}
  3329 +.favorite-user-profile {float: left; width: 240px; overflow: hidden; font-size: 13px; margin-top: 17px}
  3330 +.favorite-user-profile-add {float: left; width: 240px; overflow: hidden; font-size: 13px }
  3331 +.favorite-user-profile-add img{float: left; width: 16px; height: 16px; margin-right: 10px; margin-left: 0}
  3332 +.favorite-user-profile-add span{line-height: 18px}
  3333 +
  3334 +form.offer-project {
  3335 + height: 531px;
  3336 +}
  3337 +#off_submit {
  3338 + bottom: 25px;
  3339 + width: 180px;
  3340 + left: 50%;
  3341 + margin: 0 0 0 -90px;
  3342 + position: absolute;
  3343 +}
  3344 +/***cabinet-message***/
  3345 +.cabinet-message-blocks-wr {margin-top: 3px}
  3346 +.cabinet-message-blocks {
  3347 + width: 100%;
  3348 + height: 180px;
  3349 + box-sizing: border-box;
  3350 + border: 1px solid #b7b7b7;
  3351 + float: left;
  3352 + margin-top: 30px;
  3353 +}
  3354 +.cabinet-message-blocks:first-child {margin-top: 0}
  3355 +.ico-sender-wrapper {
  3356 + width: 160px;
  3357 + height: 160px;
  3358 + float: left;
  3359 + margin: 9px 0 0 9px;
  3360 +}
  3361 +.ico-sender {
  3362 + width: 160px;
  3363 + height: 160px;
  3364 + display: table-cell;
  3365 + vertical-align: middle;
  3366 + text-align: center;
  3367 +}
  3368 +.ico-sender img {
  3369 + max-width: 100%;max-height: 100%;
  3370 + vertical-align: middle;
  3371 +}
  3372 +.cabinet-message-text-wrapper {
  3373 + width: 540px;
  3374 + height: 100%;
  3375 + box-sizing: border-box;
  3376 + margin-left: 30px;
  3377 + float: left;
  3378 +}
  3379 +.cabinet-message-title {
  3380 + font-size: 18px;
  3381 + color: #b7b7b7;
  3382 + margin-top: 56px;
  3383 + line-height: 18px;
  3384 +}
  3385 +.cabinet-message-message {
  3386 + height: 32px;
  3387 + margin-top: 21px;
  3388 +}
  3389 +.cabinet-message-message-ico {
  3390 + width: 44px;
  3391 + height: 32px;
  3392 + float: left;
  3393 + margin-right: 26px;
  3394 + background: url("../images/cabinet-message/ico-1.png") no-repeat;
  3395 +}
  3396 +.cabinet-message-message a {
  3397 + line-height: 32px;
  3398 + color: #b7b7b7;
  3399 + text-decoration: none;
  3400 +}
  3401 +.cabinet-message-status {
  3402 + font-size: 13px;
  3403 + color: #b7b7b7;
  3404 + margin-left: 70px;
  3405 + margin-top: 1px;
  3406 +}
  3407 +.cabinet-message-write {
  3408 + width: 179px;
  3409 + height: 178px;
  3410 + display: block;
  3411 + float: right;
  3412 + background: #b7b7b7;
  3413 + text-align: center;
  3414 + text-decoration: none;
  3415 +}
  3416 +
  3417 +.cabinet-message-write-ico{
  3418 + width: 42px;
  3419 + height: 40px;
  3420 + margin-top: 65px;
  3421 + margin-left: 72px;
  3422 + background: url("../images/cabinet-message/ico-3.png") no-repeat;
  3423 +}
  3424 +.cabinet-message-write-txt {color: #fff; text-decoration: underline;margin-top: 11px}
  3425 +.cabinet-message-write:hover .cabinet-message-write-txt {text-decoration: none}
  3426 +.cabinet-message-blocks.new-message-cabinet-blocks {border: 1px solid #0072bc}
  3427 +.new-message-cabinet-blocks .cabinet-message-title {color: #0072bc}
  3428 +.new-message-cabinet-blocks .cabinet-message-message a{color: #0072bc; font-weight: 700}
  3429 +.new-message-cabinet-blocks .cabinet-message-message-ico{background: url("../images/cabinet-message/ico-1.png") -44px 0 no-repeat}
  3430 +.new-message-cabinet-blocks .cabinet-message-write{background: #0072bc}
  3431 +/***search-performers***/
  3432 +.search-worker-title span{color: #fc9b28; font-weight: 700;margin-top: 28px;display: block;}
  3433 +.search-performer-button-bookmark {
  3434 + width: 100%;
  3435 + height: 54px;
  3436 + position: relative;
  3437 + margin-top: -2px;
  3438 +}
  3439 +.search-performer-button-bookmark a {
  3440 + position: absolute;
  3441 + right: -10px;
  3442 + top: 0;
  3443 + width: 214px;
  3444 + height: 53px;
  3445 + border-bottom: 1px solid #0054a6;
  3446 + line-height: 54px;
  3447 + font-size: 18px;
  3448 + color: #fff;
  3449 + background: #148ad6;
  3450 + background: -moz-linear-gradient(top, #148ad6 0%, #0072bc 100%);
  3451 + background: -webkit-linear-gradient(top, #148ad6 0%,#0072bc 100%);
  3452 + background: linear-gradient(to bottom, #148ad6 0%,#0072bc 100%);
  3453 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#148ad6', endColorstr='#0072bc',GradientType=0 );
  3454 + transition: 0.2s;
  3455 + text-decoration: none;
  3456 + text-align: center;
  3457 +}
  3458 +.search-performer-button-bookmark a:hover {
  3459 + background: #0072bc;
  3460 + background: -moz-linear-gradient(top, #0072bc 0%, #148ad6 100%);
  3461 + background: -webkit-linear-gradient(top, #0072bc 0%,#148ad6 100%);
  3462 + background: linear-gradient(to bottom, #0072bc 0%,#148ad6 100%);
  3463 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0072bc', endColorstr='#148ad6',GradientType=0 );
  3464 +}
  3465 +.search-performer-button-bookmark a:before {
  3466 + display: block;
  3467 + content: '';
  3468 + position: absolute;
  3469 + left: 16px;
  3470 + border: 27px solid transparent;
  3471 + border-top: 7px solid #fff;
  3472 + transform: rotate(270deg);
  3473 + height: 52px;
  3474 + top: -16px;
  3475 +}
  3476 +.search-performer-button-performers, .search-performer-button-customers, .search-performer-button-project {
  3477 + width: 170px;
  3478 + height: 43px;
  3479 + line-height: 45px;
  3480 + text-align: center;
  3481 + color: #fff;
  3482 + text-decoration: none;
  3483 + font-size: 16px;
  3484 + margin-top: 15px;
  3485 + display: block;
  3486 + transition: 0.2s;
  3487 + border-radius: 4px;
  3488 +}
  3489 +.search-performer-button-performers {
  3490 + margin-top: 30px;
  3491 + border-bottom: 2px solid #ef8505;
  3492 + background: #fd9d2b;
  3493 + background: -moz-linear-gradient(top, #fd9d2b 0%, #f8941e 100%);
  3494 + background: -webkit-linear-gradient(top, #fd9d2b 0%,#f8941e 100%);
  3495 + background: linear-gradient(to bottom, #fd9d2b 0%,#f8941e 100%);
  3496 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fd9d2b', endColorstr='#f8941e',GradientType=0 );
  3497 +}
  3498 +.search-performer-button-performers:hover {
  3499 + background: #f8941e;
  3500 + background: -moz-linear-gradient(top, #f8941e 0%, #fd9d2b 100%);
  3501 + background: -webkit-linear-gradient(top, #f8941e 0%,#fd9d2b 100%);
  3502 + background: linear-gradient(to bottom, #f8941e 0%,#fd9d2b 100%);
  3503 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8941e', endColorstr='#fd9d2b',GradientType=0 );
  3504 +}
  3505 +.search-performer-button-customers {
  3506 + border-bottom: 2px solid #3e9825;
  3507 + background: #6bcb50;
  3508 + background: -moz-linear-gradient(top, #6bcb50 0%, #60bb46 100%);
  3509 + background: -webkit-linear-gradient(top, #6bcb50 0%,#60bb46 100%);
  3510 + background: linear-gradient(to bottom, #6bcb50 0%,#60bb46 100%);
  3511 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6bcb50', endColorstr='#60bb46',GradientType=0 );
  3512 +
  3513 +}
  3514 +.search-performer-button-customers:hover {
  3515 + background: #60bb46;
  3516 + background: -moz-linear-gradient(top, #60bb46 0%, #6bcb50 100%);
  3517 + background: -webkit-linear-gradient(top, #60bb46 0%,#6bcb50 100%);
  3518 + background: linear-gradient(to bottom, #60bb46 0%,#6bcb50 100%);
  3519 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#60bb46', endColorstr='#6bcb50',GradientType=0 );
  3520 +
  3521 +}
  3522 +.search-performer-button-project{
  3523 + border-bottom: 2px solid #0054a6;
  3524 + background: #148ad6;
  3525 + background: -moz-linear-gradient(top, #148ad6 0%, #0072bc 100%);
  3526 + background: -webkit-linear-gradient(top, #148ad6 0%,#0072bc 100%);
  3527 + background: linear-gradient(to bottom, #148ad6 0%,#0072bc 100%);
  3528 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#148ad6', endColorstr='#0072bc',GradientType=0 );
  3529 +}
  3530 +.search-performer-button-project:hover{
  3531 + background: #0072bc;
  3532 + background: -moz-linear-gradient(top, #0072bc 0%, #148ad6 100%);
  3533 + background: -webkit-linear-gradient(top, #0072bc 0%,#148ad6 100%);
  3534 + background: linear-gradient(to bottom, #0072bc 0%,#148ad6 100%);
  3535 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0072bc', endColorstr='#148ad6',GradientType=0 );
  3536 +}
  3537 +/***message-read***/
  3538 +.cabinet-message-read-autor-wr {
  3539 + margin-top: 3px;
  3540 + height: 200px;
  3541 + box-shadow: 0px 0px 5px 0px rgba(149, 149, 149, 0.75);
  3542 +}
  3543 +.cabinet-message-read-foto-wr {
  3544 + width: 180px;
  3545 + height: 180px;
  3546 + float: left;
  3547 + margin:10px 0 0 10px;
  3548 +}
  3549 +.cabinet-message-read-foto {
  3550 + width: 180px;
  3551 + height: 180px;
  3552 + text-align: center;
  3553 + display: table-cell;
  3554 + vertical-align: middle;
  3555 +}
  3556 +.cabinet-message-read-foto img {
  3557 + max-width: 100%;
  3558 + max-height: 100%;
  3559 + vertical-align: middle;
  3560 +}
  3561 +.cab-mes-read-cont {
  3562 + width: 214px;
  3563 + float: left;
  3564 + overflow: hidden;
  3565 + margin-left: 30px;
  3566 +}
  3567 +.cab-mes-read-cont>div{width: 100%}
  3568 +.cab-mes-read-cont-title {color: #0072bc; font-size: 24px;margin-top: 13px; text-decoration: none}
  3569 +.cab-mes-read-cont-com {color: #0072bc;margin-top: 10px;text-decoration: none}
  3570 +.cab-mes-read-cont-stars {height: 16px;margin-top: 14px}
  3571 +.cab-mes-read-cont-soc a {margin-right: 1px}
  3572 +.cab-mes-read-cont-soc {width: 135px!important; margin-top: 11px}
  3573 +.cabinet-message-read-autor-wr .performance-vacancy-add-favorite {
  3574 + height: 100%;
  3575 + float: left;
  3576 + margin-left: 2px;
  3577 +}
  3578 +.cab-mes-read-last-visit {
  3579 + width: 390px;
  3580 + float: right;
  3581 + height: 100%;
  3582 + box-sizing: border-box;
  3583 + padding-top: 42px;
  3584 +}
  3585 +.cab-mes-read-min-bl {
  3586 + width: 170px;
  3587 + float: left;
  3588 + margin-top: 15px;
  3589 +}
  3590 +.cab-mes-read-min-bl .profile-phone-site {padding-bottom: 0; border-bottom: 0}
  3591 +.cab-mes-read-min-bl .profile-site img {margin-right: 7px}
  3592 +.cab-mes-read-min-bl p {padding-left: 18px;box-sizing: border-box; font-size: 13px}
  3593 +.cabinet-message-read-wr {margin-top: 30px}
  3594 +/***search-profile***/
  3595 +.search-profile-blocks {
  3596 + background: #fcfcfc;
  3597 + margin-top: 30px;
  3598 + box-sizing: border-box;
  3599 + border-radius: 4px;
  3600 + padding: 10px 0 11px 15px;
  3601 + float: left;
  3602 +}
  3603 +.search-profile-blocks:first-child{margin-top: 0}
  3604 +.search-profile-blocks-wr {margin-top: 46px}
  3605 +.srch-prof-title{font-size: 21px; text-decoration: none; color: inherit}
  3606 +.search-profile-blocks:hover .srch-prof-title{text-decoration: underline;}
  3607 +.srch-prof-budget{font-size: 18px; margin-top: 11px}
  3608 +.srch-prof-budget span {width: 10px;height: 10px;display: block; background: #0072bc; float: left; margin-top: 6px; margin-right: 15px}
  3609 +.srch-prof-contract-wr {margin-top: 28px}
  3610 +.srch-prof-contract-button {
  3611 + text-transform: uppercase;
  3612 + height: 23px;
  3613 + line-height: 23px;
  3614 + color: #fff;
  3615 + cursor: default;
  3616 + padding: 0 13px;
  3617 + font-size: 12px;
  3618 + background: #62b8ef;
  3619 + float: left;
  3620 + margin:0 12px 0 -15px;
  3621 +}
  3622 +.srch-prof-contract-txt {
  3623 + line-height: 23px;
  3624 +}
  3625 +.srch-prof-contract-txt span {font-weight: 700}
  3626 +.srch-prof-contract-txt a {text-decoration: underline; color: inherit}
  3627 +.srch-prof-text {margin-top: 37px}
  3628 +.srch-prof-text p{
  3629 + font-size: 13px;
  3630 + width: 100%;
  3631 + line-height: 16px;
  3632 + margin-top: 16px;
  3633 +}
  3634 +.srch-prof-text p:first-child{margin-top: 0}
  3635 +.srch-prof-params {float: left; height: 18px; line-height: 18px; color: #b7b7b7}
  3636 +.srch-prof-params-city {margin-right:63px}
  3637 +.srch-prof-params-city img {margin: 3px 10px 0 0}
  3638 +.srch-prof-params-wr {margin-top: 22px; height: 18px}
  3639 +.srch-prof-params-clock {margin-right: 62px}
  3640 +.srch-prof-params img {margin:3px 10px 0 0}
  3641 +.navi-buttons-yet-wr {position: relative; height: 50px;}
  3642 +.navi-buttons-yet-wr .pagination {margin-top: 10px}
  3643 +.navi-buttons-yet {
  3644 + display: block;
  3645 + float: right;
  3646 + margin-right: 29px;
  3647 + line-height: 50px;
  3648 + color: #333;
  3649 + font-size: 24px;
  3650 + text-decoration: none;
  3651 + padding: 0 39px;
  3652 + background: #f1f1f1;
  3653 + height: 48px;
  3654 + border-radius: 25px;
  3655 + border: 1px solid #f1f1f1;
  3656 + transition: 0.2s;
  3657 +}
  3658 +.navi-buttons-yet:hover{background: #fff; border: 1px solid #0072bc}
  3659 +.reset-filter {text-align: center; text-decoration: none; color: #a1a1a1; font-size: 13px; width: 100%; float: left; display: block}
  3660 +.form-price-wr {width: 100%; float: left; margin-bottom: 5px}
  3661 +.check-valuta {width: 40px; height: 20px; float: right}
  3662 +.check-valuta select{
  3663 + width: 100%;
  3664 + height: 20px;
  3665 +}
  3666 +.check-valuta .select-after {right: 4px; bottom: 7px}
  3667 +.form-price-wr input{
  3668 + width: 53px;
  3669 + height: 18px;
  3670 + border: 1px solid #dcdcdc;
  3671 + float: left;
  3672 + margin-left: 10px;
  3673 + text-align: center;
  3674 +}
  3675 +.form-price-wr input:first-child{margin-left: 0}
  3676 +
  3677 +/*maps*/
  3678 +.map-settings-opacity,.map-settings-wrapp
  3679 +{
  3680 + width:220px;
  3681 + position:absolute;
  3682 + left:0;
  3683 + top:0;
  3684 + bottom:0;
  3685 + box-sizing:border-box;
  3686 + padding-top:62px;
  3687 + z-index:998
  3688 +}
  3689 +
  3690 +.map-settings-opacity
  3691 +{
  3692 + background:#000;
  3693 + opacity:.85;
  3694 + -ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=85)
  3695 +}
  3696 +.min_markers-wrapp {
  3697 + width: 160px;
  3698 + height: 489px;
  3699 + position: absolute;
  3700 + top: 50%;
  3701 + margin-top: -214px;
  3702 + left: 30px;
  3703 +}
  3704 +
  3705 +ul.min_markers,ul.min_markers_two
  3706 +{
  3707 + width:160px;
  3708 + float:left;
  3709 + padding-bottom:26px;
  3710 + border-bottom:1px solid #636363
  3711 +}
  3712 +
  3713 +ul.min_markers_two
  3714 +{
  3715 + border-bottom:none;
  3716 + margin-top:26px
  3717 +}
  3718 +
  3719 +.min_markers li:first-child,.min_markers_two li:first-child
  3720 +{
  3721 + margin-top:0
  3722 +}
  3723 +
  3724 +.min_markers li,.min_markers_two li
  3725 +{
  3726 + cursor:pointer;
  3727 + list-style:none;
  3728 + height:26px;
  3729 + margin-top:10px;
  3730 + width:160px
  3731 +}
  3732 +
  3733 +.min_markers li.active_m,.min_markers_two li.active_m
  3734 +{
  3735 + border:1px solid #636363;
  3736 + border-radius:24px;
  3737 + height:24px;
  3738 + width:158px
  3739 +}
  3740 +
  3741 +.min_markers li.active_m span,.min_markers_two li.active_m span
  3742 +{
  3743 + margin-left:9px;
  3744 + padding-top:3px
  3745 +}
  3746 +
  3747 +.min_markers li.active_m p,.min_markers_two li.active_m p
  3748 +{
  3749 + line-height:24px
  3750 +}
  3751 +
  3752 +.min_markers span,.min_markers_two span
  3753 +{
  3754 + float:left;
  3755 + padding-top:4px;
  3756 + width:24px;
  3757 + display:block;
  3758 + height:24px;
  3759 + box-sizing:border-box;
  3760 + margin-left:10px
  3761 +}
  3762 +
  3763 +.min_markers p,.min_markers_two p
  3764 +{
  3765 + color:#ebebeb;
  3766 + font-size:12px;
  3767 + text-transform:uppercase;
  3768 + float:left;
  3769 + line-height:26px
  3770 +}
  3771 +
  3772 +.min_markers:last-child .min_markers_two:last-child
  3773 +{
  3774 + padding-bottom:0;
  3775 + border-bottom:none;
  3776 + margin-top:26px
  3777 +}
  3778 +
  3779 +.min_markers li.last_m .min_markers_two li.last_m
  3780 +{
  3781 + height:50px
  3782 +}
  3783 +
  3784 +.min_markers li.last_m p,.min_markers_two li.last_m p
  3785 +{
  3786 + float:none;
  3787 + line-height:18px;
  3788 + padding-top:7px
  3789 +}
  3790 +
  3791 +.min_markers li.last_m span,.min_markers_two li.last_m span
  3792 +{
  3793 + margin-top:3px
  3794 +}
  3795 +
  3796 +.min_markers-wrapp
  3797 +{
  3798 + width:160px;
  3799 + height:489px;
  3800 + position:absolute;
  3801 + top:50%;
  3802 + margin-top:-214px;
  3803 + left:30px
  3804 +}
  3805 +
  3806 +.navi-circle-offset
  3807 +{
  3808 + position:absolute;
  3809 + top:0;
  3810 + left:0;
  3811 + display:block;
  3812 + float:left
  3813 +}
  3814 +
  3815 +.slider_map-wr
  3816 +{
  3817 + height:150px;
  3818 + width:100%;
  3819 + position:absolute;
  3820 + left:220px;
  3821 + bottom:0;
  3822 + overflow:hidden
  3823 +}
  3824 +
  3825 +.slider_map_overlay
  3826 +{
  3827 + opacity:.4;
  3828 + height:100%;
  3829 + width:100%;
  3830 + background:#000;
  3831 + position:absolute;
  3832 + left:0;
  3833 + bottom:0
  3834 +}
  3835 +
  3836 +.slider_map
  3837 +{
  3838 + height:150px;
  3839 + width:100%;
  3840 + position:absolute;
  3841 + left:0;
  3842 + bottom:0;
  3843 + overflow:hidden
  3844 +}
  3845 +
  3846 +.slider_map .scroll-img
  3847 +{
  3848 + height:110px;
  3849 + width:100%;
  3850 + overflow:hidden;
  3851 + position:absolute;
  3852 + top:50%;
  3853 + margin-top:-55px;
  3854 + left:0;
  3855 + z-index:10
  3856 +}
  3857 +
  3858 +.slider_map #demo5.scroll-img ul
  3859 +{
  3860 + width:300000px;
  3861 + height:100%
  3862 +}
  3863 +
  3864 +.slider_map .scroll-img ul li
  3865 +{
  3866 + width:300px;
  3867 + height:110px;
  3868 + display:inline-block;
  3869 + margin:0 10px 0 0;
  3870 + background:#fff;
  3871 + border-radius:4px
  3872 +}
  3873 +
  3874 +.slider_map #demo5-backward
  3875 +{
  3876 + width:15px;
  3877 + height:24px;
  3878 + display:block;
  3879 + background:url(../images/slider-arrow-prev.png);
  3880 + cursor:pointer;
  3881 + position:absolute;
  3882 + top:50%;
  3883 + margin-top:-12px;
  3884 + left:25px;
  3885 + z-index:333
  3886 +}
  3887 +
  3888 +.slider_map #demo5-forward
  3889 +{
  3890 + background:url(../images/slider-arrow-next.png);
  3891 + width:15px;
  3892 + height:24px;
  3893 + display:block;
  3894 + cursor:pointer;
  3895 + position:absolute;
  3896 + top:50%;
  3897 + margin-top:-12px;
  3898 + right:25px;
  3899 + z-index:333
  3900 +}
  3901 +
  3902 +.slider-marker-bl
  3903 +{
  3904 + width:100%;
  3905 + height:100%
  3906 +}
  3907 +
  3908 +.slider-marker-bl-img
  3909 +{
  3910 + width:110px;
  3911 + height:90px;
  3912 + margin:10px 10px 0;
  3913 + float:left
  3914 +}
  3915 +
  3916 +.slider-marker-bl-text
  3917 +{
  3918 + width:155px;
  3919 + height:90px;
  3920 + margin-top:10px;
  3921 + float:left
  3922 +}
  3923 +
  3924 +.slider_a
  3925 +{
  3926 + text-decoration:none
  3927 +}
  3928 +
  3929 +.slider-marker-bl-text-title
  3930 +{
  3931 + width:100%;
  3932 + font-weight: 700;
  3933 + color:#333;
  3934 + font-size:13px;
  3935 + height:15px
  3936 +}
  3937 +
  3938 +.slider-marker-bl-text-p
  3939 +{
  3940 + height:75px;
  3941 + width:100%;
  3942 + color:#333;
  3943 + font-size:11px;
  3944 + margin-top:8px
  3945 +}
  3946 +/***proektant-cabinet***/
  3947 +.left-proektant-cabinet {
  3948 + width: 100%;
  3949 + float: left;
  3950 +}
  3951 +.left-left-proektant-cabinet {
  3952 + width: 700px;
  3953 + box-sizing: border-box;
  3954 + padding-right: 19px;
  3955 + float: left;
  3956 +}
  3957 +.right-proektant-cabinet {
  3958 + width: 216px;
  3959 + float: right;
  3960 + box-sizing: border-box;
  3961 + padding-right: 9px;
  3962 +
  3963 +}
  3964 +.left-proektant-cabinet .srch-prof-text {margin-top: 11px}
  3965 +.left-proektant-cabinet .srch-prof-title {color: #0072bc}
  3966 +.left-proektant-cabinet .srch-prof-budget {margin-left: -10px}
  3967 +.left-proektant-cabinet .srch-prof-budget span {margin-right: 9px}
  3968 +.left-proektant-cabinet .srch-prof-params-wr {margin-top: 13px}
  3969 +.left-proektant-cabinet .search-profile-blocks {margin-top: 26px; width: 100%; padding-bottom: 19px}
  3970 +.left-proektant-cabinet .search-profile-blocks:first-child {margin-top: 0}
  3971 +.left-proektant-cabinet-title {
  3972 + font-size: 21px;
  3973 + font-weight: 700;
  3974 + margin-top: -4px;
  3975 +}
  3976 +.cabinet-list {margin:15px 0 12px 0}
  3977 +.cabinet-list li {
  3978 + list-style: none;
  3979 + float: left;
  3980 + height: 18px;
  3981 + line-height: 18px;
  3982 + font-size: 13px;
  3983 + margin-left: 19px;
  3984 +}
  3985 +.cabinet-list li:first-child{margin-left: 0}
  3986 +.cabinet-list li img {margin-top: 4px; float: left; margin-right: 10px}
  3987 +.cabinet-list li span{ border-bottom: 1px solid #333333;}
  3988 +.left-proektant-cabinet .navi-buttons-yet-wr {margin-bottom: 50px}
  3989 +.right-proektant-cabinet-candidate, .right-proektant-cabinet-message, .right-proektant-cabinet-message-new {
  3990 + float: right;
  3991 +}
  3992 +.right-proektant-cabinet-candidate {
  3993 + margin-top: 3px;
  3994 +}
  3995 +.right-proektant-cabinet-candidate img{
  3996 + float: left;
  3997 + margin-top: 10px;
  3998 + margin-right: 6px;
  3999 +}
  4000 +.right-proektant-cabinet-candidate span {
  4001 + font-size: 11px;
  4002 + color: #0072bc;
  4003 + border-bottom: 1px solid #0072bc;
  4004 + padding-bottom: 2px;
  4005 +}
  4006 +.right-proektant-cabinet-message {
  4007 + font-size: 11px;
  4008 + color: #959595;
  4009 + margin-top: 8px;
  4010 +}
  4011 +.right-proektant-cabinet-message-new {margin-top: 2px}
  4012 +.right-proektant-cabinet-message-new img {
  4013 + margin-top: 7px;
  4014 + float: left;
  4015 + margin-right: 9px;
  4016 +}
  4017 +.right-proektant-cabinet-message-new a{
  4018 + font-size: 11px;
  4019 + color: #0072bc;
  4020 +}
  4021 +/***js_scroll***/
  4022 +.jspContainer{overflow:hidden;position:relative}.jspPane{position:absolute}.jspVerticalBar{position:absolute;top:0;right:0;width:16px;height:100%;background:red}.jspHorizontalBar{position:absolute;bottom:0;left:0;width:100%;height:16px;background:red}.jspCap{display:none}.jspHorizontalBar .jspCap{float:left}.jspTrack{background:#dde;position:relative}.jspDrag{background:#bbd;position:relative;top:0;left:0;cursor:pointer}.jspHorizontalBar .jspTrack,.jspHorizontalBar .jspDrag{float:left;height:100%}.jspArrow{background:#50506d;text-indent:-20000px;display:block;cursor:pointer;padding:0;margin:0}.jspArrow.jspDisabled{cursor:default;background:#80808d}.jspVerticalBar .jspArrow{height:16px}.jspHorizontalBar .jspArrow{width:16px;float:left;height:100%}.jspVerticalBar .jspArrow:focus{outline:none}.jspCorner{background:#eeeef4;float:left;height:100%}* html .jspCorner{margin:0 -3px 0 0}
  4023 +/*** message-read***/
  4024 +.comments_block{width:938px;height:498px;background-color:#fcfcfc;border:1px solid #b7b7b7;border-right:none;margin-bottom:57px;color:#333;font-family:Roboto;font-size:13px;position:relative;overflow:hidden;outline:none}.comment_type{width:940px}.comment_type .pole{width:660px;margin:0 auto;position:relative}.comment_type .mes_title{font-size:18px;color:#333;margin:18px 0}.message_text{width:638px;height:78px;resize:none;border:1px solid #c2c2c2;margin:0 auto;margin-bottom:26px;margin-top:18px;padding:10px;font-family:Roboto}.send_mess_but{outline:none;border:none;cursor:pointer;font-size:12px!important;padding-top:2px;width:170px;height:43px;text-align:center;text-transform:uppercase;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#148ad6',endColorstr = '#0072bc');-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr = '#148ad6',endColorstr = '#0072bc')";background-image:-moz-linear-gradient(top,#148ad6,#0072bc);background-image:-ms-linear-gradient(top,#148ad6,#0072bc);background-image:-o-linear-gradient(top,#148ad6,#0072bc);background-image:-webkit-gradient(linear,center top,center bottom,from(#148ad6),to(#0072bc));background-image:-webkit-linear-gradient(top,#148ad6,#0072bc);background-image:linear-gradient(top,#148ad6,#0072bc);color:#fff;border-bottom:2px solid #0054a6;border-radius:4px;transition:.1s;top:170px;line-height:3.5}.send_mess_but:hover{opacity:.9}.send_mess_but:active{line-height:3.7}.pick_file{position:absolute;top:170px;right:0;width:130px}.pick_file .link:after{content:'';background:url(../images/skrpk.png) left center no-repeat;position:absolute;width:19px;height:21px;left:-28px;top:0}.pick_file .link{text-transform:uppercase;color:#0276c0;font-size:13px;cursor:pointer;text-decoration:none;border-bottom:1px solid #70b2db;position:relative}.pick_file .capt{color:#c2c2c2;font-size:11px;line-height:16px;margin-top:3px}.comment_text{position:relative;padding:12px 13px;width:602px;border:1px solid #c2c2c2;min-height:74px;left:10px;line-height:1.3;background-color:#fff}.comment.left .comment_text{float:left}.comment.right .comment_text{float:right}.comment.left .comment_text:before{content:'';background:url(../images/mes_bord_left.png);position:absolute;width:11px;height:11px;top:-1px;left:-11px}.comment.right .comment_text:before{content:'';background:url(../images/mes_bord_right.png);position:absolute;width:11px;height:11px;top:-1px;right:-11px}.comment.left .author_pic{float:left;margin:0 10px}.comment.right .author_pic{float:right;margin:0 25px 0 30px}.comment_time{color:#c6c6c6;font-family:Roboto;font-size:13px;font-weight:600;line-height:32px;position:absolute}.comment.left .comment_time{top:17px;right:-64px}.comment.right .comment_time{top:18px;left:-64px}.comment{position:relative;margin:30px 21px 30px 1px}.comment .offer_link a{color:#0173bd;position:relative}.comment .offer_link a:before{content:'';position:absolute;background:url(../images/skrpk_sm.png) left center no-repeat;width:19px;height:21px;left:-26px;top:-3px}.comment.right .offer_link{float:right;margin-right:94px;margin-top:12px;margin-bottom:-17px}.comment.left .offer_link{left:104px;bottom:-27px}.comment_block .content{overflow:auto;width:938px;height:498px}.fileform{background-color:#FFF;border:1px solid #CCC;border-radius:2px;cursor:pointer;height:26px;overflow:hidden;padding:2px;position:relative;text-align:left;vertical-align:middle;width:230px}.comment_type form{width:660px;margin:0 auto}.comment_type form label{color:#333;font-family:Roboto;font-size:18px}.input_file_text{color:#c2c2c2;font-size:11px;font-family:Roboto;width:125px;position:absolute;right:0;line-height:16px;top:18px;overflow:hidden;text-overflow:ellipsis;white-space:pre-line}.inputfile{float:right;position:relative;width:153px;padding-bottom:10px;background:url(../images/skrpk.png);background-repeat:no-repeat}.input_file{opacity:0;cursor:pointer;width:160px}.inputfile .file_input_title{position:absolute;color:#0276c0;border-bottom:1px solid #0276c0;text-transform:uppercase;font-family:Roboto;font-size:13px;right:0}.jspArrow{background-color:#0173bd;width:20px;height:20px}.jspVerticalBar{width:20px}.jspVerticalBar .jspArrow{height:20px}.jspTrack{background:#ebebeb;position:relative}.jspDrag{background:#c2c2c2;position:relative;top:0;left:0;cursor:pointer;border-left:2px solid #ebebeb;border-right:2px solid #ebebeb}.jspVerticalBar{background:#ebebeb}.jspArrowUp{background:#0173bd url(../images/scroll_up.png) center center no-repeat}.jspArrowUp:hover{opacity:.8}.jspArrowUp:active{background-position-y:1px!important}.jspDisabled.jspArrowUp{background:#80808d url(../images/scroll_up_grey.png) center center no-repeat}.jspArrowDown{background:#0173bd url(../images/scroll_down.png) center center no-repeat}.jspArrowDown:hover{opacity:.8}.jspArrowDown:active{background-position-y:1px!important}.jspArrowDown{background:#0173bd url(../images/scroll_down.png) center center no-repeat}.jspDisabled.jspArrowDown{background:#80808d url(../images/scroll_down_grey.png) center center no-repeat}.jspContainer{outline:none;border:none}
  4025 +/***form-order***/
  4026 +#modal_form_offer {height: 505px;}
  4027 +#modal_form_offer,#modal_form_question{margin-top: 70px;}
  4028 +.form-resume-wr form input[type="submit"]{margin-left: 55px;}
  4029 +.form-resume-wr form{top:72px;}
  4030 +.form-resume-wr.offer form textarea {
  4031 + height: 60px;
  4032 + max-height: 60px;
  4033 + min-height: 60px;
  4034 + margin-bottom: 13px;
  4035 +}
  4036 +.form-resume-wr.question form textarea {
  4037 + height: 185px;
  4038 + max-height: 185px;
  4039 + min-height: 185px;
  4040 +}
  4041 +.form-resume-sub{line-height:73px;}
  4042 +.closed-form{top: -46px;right: -45px;}
  4043 +.list_item .pr_title{
  4044 + font-weight: 700;
  4045 + margin-bottom:3px;
  4046 +}
  4047 +.list_item{
  4048 + font-size: 13px;
  4049 + border: 1px solid #dcdcdc;
  4050 + position: relative;
  4051 + cursor:pointer;
  4052 +}
  4053 +.list_item.title{margin-bottom: 15px;}
  4054 +.list_item .arrow{
  4055 + position: absolute;
  4056 + height: 100%;
  4057 + width: 25px;
  4058 + background-color: #0072bc;
  4059 + top: 0;
  4060 + right: 0;
  4061 + transition:0.15s;
  4062 + transform: rotate(180deg);
  4063 +}
  4064 +.list_item:hover .arrow{opacity:0.6;}
  4065 +.list_item .arrow.up:after{
  4066 + content: '';
  4067 + position: absolute;
  4068 + top: 22px;
  4069 + left: 9px;
  4070 + border: 4px solid transparent;
  4071 + border-bottom-color: white;
  4072 +}
  4073 +.list_item .arrow.down:after{
  4074 + content: '';
  4075 + position: absolute;
  4076 + top: 26px;
  4077 + left: 9px;
  4078 + border: 4px solid transparent;
  4079 + border-top-color: white;
  4080 +}
  4081 +form.offer-project {height: 406px;}
  4082 +.list_item .main_item{padding: 10px 37px 12px 12px;transition:0.3s;}
  4083 +.off_list ul li:hover{background-color: #fffccc; }
  4084 +.act-offer-li{opacity: 0.6; cursor: default }
  4085 +.act-offer-li:hover{background-color: #fff !important; }
  4086 +.off_list{
  4087 + position: absolute;
  4088 + width: 100%;
  4089 + width: 238px;
  4090 + background-color: white;
  4091 + border: 1px solid #dcdcdc;
  4092 + left: -1px;
  4093 + height: 109px;
  4094 + bottom: -110px;
  4095 + overflow: hidden;
  4096 + outline:none;
  4097 +}
  4098 +.off_list .content li{
  4099 + list-style: none;
  4100 + line-height: 18px;
  4101 + font-size: 13px;
  4102 + padding: 9px 0px 10px 12px;
  4103 + border-bottom: 1px solid #dcdcdc;
  4104 + width: 100%;
  4105 + transition:0.2s;
  4106 +}
  4107 +.off_list .content li:last-child{border-bottom:none;}
  4108 +.off_list .content li .title1{font-weight:700;}
  4109 +/*SCROLL*/
  4110 +#modal_form_offer .jspVerticalBar{
  4111 + position: absolute;
  4112 + top: 0;
  4113 + right: 0px;
  4114 + width: 25px;
  4115 + height: 100%;
  4116 + background: #f1f1f1;
  4117 +}
  4118 +#modal_form_offer .jspTrack{background: #f1f1f1;}
  4119 +#modal_form_offer .jspDrag{
  4120 + background: #d7d7d7;
  4121 + border-left: 3px solid #f1f1f1;
  4122 + border-right: 2px solid #f1f1f1;
  4123 + box-shadow: inset 0px 0px 0px 1px #dcdcdc;
  4124 +}
  4125 +#modal_form_offer .jspVerticalBar #modal_form_offer .jspArrow{background-color:#f1f1f1;}
  4126 +#modal_form_offer .jspArrowUp, #modal_form_offer .jspArrowUp.jspDisabled{background:url('../images/arrow-scroll-up.png') center center no-repeat;width: 25px}
  4127 +#modal_form_offer .jspDisabled{opacity: 0.5; width: 25px}
  4128 +#modal_form_offer .jspArrowDown, #modal_form_offer .jspArrowDown.jspDisabled{background:url('../images/arrow-select.png') center center no-repeat; width: 25px}
  4129 +#modal_form_offer .jspArrow:active{background-position-y:7px;}
  4130 +#modal_form_offer .jspArrow.jspDisabled{background-position:center center!important;}
  4131 +/****/
  4132 +.features-tags.features-tags-profile span{font-weight: normal}
  4133 +/***cabinet_profile***/
  4134 +.cabinet-profile .search-profile-blocks{
  4135 + width: 100%;
  4136 +}
  4137 +.cabinet-profile .search-profile-blocks-left {
  4138 + width: 460px;
  4139 + float: left;
  4140 +}
  4141 +.cabinet-profile .srch-prof-params-wr {
  4142 + width: 150px;
  4143 + float: right;
  4144 + margin-top: 8px;
  4145 + height: auto;
  4146 +}
  4147 +.cabinet-profile .srch-prof-params-wr > div {
  4148 + margin: 0;
  4149 +}
  4150 +.cabinet-profile .srch-prof-params-wr .srch-prof-params {
  4151 + width: 100%;
  4152 + float: left;
  4153 + font-weight: 700;
  4154 +}
  4155 +/***tender***/
  4156 +.section-box-tender-title {font-size: 21px; text-align: center; margin-top: 25px}
  4157 +.tender-contract-wr {
  4158 + height: 23px;
  4159 + margin-top: 30px;
  4160 +}
  4161 +.tender-contract-left, .tender-contract-right {height: 100%; width: 50%; float: left}
  4162 +.tender-contract-right {
  4163 + float:right !important;
  4164 +}
  4165 +.tender-contract-left .srch-prof-contract-button {
  4166 + margin: 0 12px 0 0;
  4167 +}
  4168 +.tender-contract-right span {
  4169 + float: right;
  4170 + display: block;
  4171 + height: 100%;
  4172 + line-height: 23px;
  4173 +}
  4174 +.tender-contract-right img {
  4175 + width: 23px;
  4176 + height: 23px;
  4177 + float: right;
  4178 + margin-right: 10px;
  4179 +}
  4180 +.tender-date {margin-top: 6px}
  4181 +.tender-date img{float: left}
  4182 +.tender-date span{float: left; height: 18px; line-height: 18px; display: block}
  4183 +
  4184 +.cab-mes-read-min-bl .profile-phone {
  4185 + font-size: 13px;
  4186 +}
  4187 +.section-box-15.tender-page {
  4188 + padding-top: 6px;
  4189 + padding-bottom: 0;
  4190 +}
  4191 +.tender-page .cabinet-message-read-autor-wr {margin-top: 0}
  4192 +.section-box-tender-navi {margin-top: 16px; height: 25px}
  4193 +.section-box-tender-navi span{font-size: 18px;color: #0072bc; height: 100%; display: block; float: left; line-height: 25px}
  4194 +.section-box-tender-navi a{font-size: 18px; color: #0072bc; text-decoration: underline; height: 100%; display: block; float: left; line-height: 25px}
  4195 +.section-box-tender-navi img {width: 40px; height: 25px; float: left; margin: 0 15px}
  4196 +.tender-info-title {font-size: 18px; margin-bottom: 2px}
  4197 +.section-box-tender-info-wr {line-height: 18px; font-size: 13px; margin-top: 37px}
  4198 +.section-box-tender-txt ul {list-style: none}
  4199 +.section-box-tender-tags-title {font-size: 20px}
  4200 +.section-box-tender-tags a{
  4201 + font-size: 13px;
  4202 + color: #636363;
  4203 +}
  4204 +.section-box-tender-tags-wr {margin-top: 24px}
  4205 +.section-box-tender-tags {
  4206 + line-height: 18px;
  4207 + margin-top: 4px;
  4208 +}
  4209 +.tender-map {margin-top: 15px}
  4210 +.tender-offer-proj-title-all {text-align: center; font-size: 20px; margin-top: 78px;}
  4211 +.tender-offer-proj-blocks-wr {padding-bottom: 50px}
  4212 +.tender-offer-proj-blocks .performer-vacancy-sidebar-left {top: -10px}
  4213 +.tender-offer-proj-blocks {padding-bottom: 17px; border-bottom: 1px solid #bababa; margin-top: 50px}
  4214 +.tender-offer-proj-blocks:first-child{margin-top: 47px}
  4215 +.tender-see-profile {
  4216 + text-decoration: none;
  4217 + text-align: center;
  4218 + color: #bfbfbf;
  4219 + font-size: 13px;
  4220 + transition: 0.2s;
  4221 + margin-left: -20px;
  4222 + width: 200px;
  4223 + margin-top: -8px;
  4224 + padding-bottom: 8px;
  4225 +}
  4226 +.tender-see-profile:hover {text-decoration: underline}
  4227 +.tender-offer-proj-block-right-wr {
  4228 + width: 740px;
  4229 + float: right;
  4230 +}
  4231 +.tender-offer-proj-block-right {
  4232 + width: 100px;
  4233 + height: 100px;
  4234 + float: right;
  4235 + background: #62b8ef;
  4236 +}
  4237 +.tender-offer-proj-min-blocks {
  4238 + width: 98px;
  4239 + height: 49px;
  4240 + margin-top: 1px;
  4241 + margin-left: 1px;
  4242 +}
  4243 +.tender-offer-proj-min-blocks:first-child{background: #fff}
  4244 +.tender-offer-proj-min-blocks span {
  4245 + color: #fff;
  4246 + font-size: 15px;
  4247 + text-transform: uppercase;
  4248 + text-align: center;
  4249 + line-height: 49px;
  4250 + display: block;
  4251 +}
  4252 +.tender-offer-proj-min-blocks:first-child span {
  4253 + color: #62b8ef;
  4254 + text-transform: none;
  4255 +}
  4256 +.tender-offer-proj-block-left {
  4257 + width: 625px;
  4258 + float: left;
  4259 + min-height: 387px;
  4260 + box-sizing: border-box;
  4261 + padding-left: 18px;
  4262 +}
  4263 +.tender-offer-proj-block-left .search-worker-blocks-title-wr {
  4264 + width: 100%;
  4265 + float: left;
  4266 + margin-top: 14px;
  4267 +}
  4268 +.search-worker-blocks-title-title {
  4269 + font-size: 24px;
  4270 + float: left;
  4271 + margin-right: 30px;
  4272 +}
  4273 +.tender-offer-proj-block-left .rating-new {
  4274 + margin-right: 30px;
  4275 +}
  4276 +.link-to-comm {
  4277 + color: #bfbfbf;
  4278 + text-decoration: underline;
  4279 + float: left;
  4280 +}
  4281 +.tender-offer-proj-block-left .rating-new, .tender-offer-proj-block-left .link-to-comm {margin-top: 9px}
  4282 +.tender-offer-proj-txt {
  4283 + line-height: 18px;
  4284 + font-size: 13px;
  4285 + float: left;
  4286 + margin-top: 18px;
  4287 + margin-bottom: 21px;
  4288 +}
  4289 +ul.download-list-files {
  4290 + width: 100%;
  4291 + float: left;
  4292 + margin-bottom: 21px;
  4293 +}
  4294 +ul.download-list-files li {
  4295 + list-style: none;
  4296 + width: 100%;
  4297 + float: left;
  4298 + height: 18px;
  4299 +}
  4300 +ul.download-list-files li span {
  4301 + width: 10px;
  4302 + height: 8px;
  4303 + background: url("../images/tender/ico-3.png") no-repeat;
  4304 + display: block;
  4305 + float: left;
  4306 + margin-top: 3px;
  4307 + margin-left: 3px;
  4308 +}
  4309 +ul.download-list-files li a {float: left; font-size: 13px; text-decoration: none; color: inherit; margin-left: 16px}
  4310 +ul.download-list-files li .download-link {font-size: 11px; color: #c2c2c2; margin-left: 14px; margin-top: 2px; opacity: 0; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";}
  4311 +ul.download-list-files li {margin-top: 7px}
  4312 +ul.download-list-files li:first-child {margin-top: 0}
  4313 +ul.download-list-files li:hover .download-link {transition: 0.2s; opacity: 1; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";}
  4314 +.tender-more-buttons-wr {
  4315 + height: 29px;
  4316 + width: 600px;
  4317 + float: left;
  4318 + box-sizing: border-box;
  4319 + padding-left: 18px;
  4320 +}
  4321 +.tender-more-buttons-wr a:after{display: none}
  4322 +.tender-more-buttons-wr a{
  4323 + padding: 0;
  4324 + height: 28px;
  4325 + color: #fff;
  4326 + text-decoration: none;
  4327 + font-size: 13px;
  4328 + line-height: 29px;
  4329 + border-radius: 4px;
  4330 + width: 167px;
  4331 + text-align: center;
  4332 + display: block;
  4333 + float: left;
  4334 + margin-right: 4px;
  4335 +}
  4336 +.tender-add-answer-title {
  4337 + text-align: center;
  4338 + font-size: 20px;
  4339 + margin-top: 30px;
  4340 +}
  4341 +.form-value-wr {
  4342 + height: 48px;
  4343 + margin-top: 26px;
  4344 +}
  4345 +.form-value-ded-name {
  4346 + height: 48px;
  4347 + float: left;
  4348 + line-height: 48px;
  4349 + margin-left: 18px;
  4350 + font-size: 13px;
  4351 + font-weight: 700;
  4352 +}
  4353 +.form-value-price-wr {float: left;}
  4354 +.form-value-price-wr .blocks-check-list-wrapp {
  4355 + margin-top: 0;
  4356 + margin-left: 20px;
  4357 +}
  4358 +.form-value-price-wr select{
  4359 + border: 1px solid #dcdcdc;
  4360 + height: 20px;
  4361 + width: 40px;
  4362 + float: left;
  4363 + cursor: pointer;
  4364 + color: #636363;
  4365 + font-size: 13px;
  4366 + -webkit-appearance: none;
  4367 + -moz-appearance: none;
  4368 + appearance: none;
  4369 + background-color: transparent;
  4370 +}
  4371 +.form-value-price-wr .check-valuta {float: left}
  4372 +.form-value-price-wr .form-price-wr {width: auto; margin: 14px 0 0 0;}
  4373 +.form-value-price-title {float: left; height: 48px; line-height: 48px; margin-right: 9px; font-size: 13px; font-weight: 700}
  4374 +.form-ico-ded-wr {width: 320px; float: left}
  4375 +.form-tender-txt {margin-top: 21px}
  4376 +.form-tender-txt textarea{
  4377 + width: 100%;
  4378 + max-width: 100%;
  4379 + border: 1px solid #c2c2c2;
  4380 + /*min-height: 98px;*/
  4381 + height: 100px;
  4382 + box-sizing: border-box;
  4383 + padding: 8px 0 10px 11px;
  4384 + font-size: 13px;
  4385 +}
  4386 +.tender-form-buttons-wr {
  4387 + width: 620px;
  4388 + float: left;
  4389 + margin-top: 18px;
  4390 +}
  4391 +.form-tender-answer form input[type="submit"] {
  4392 + height: 45px;
  4393 + outline: none;
  4394 + color: #fff;
  4395 + text-transform: uppercase;
  4396 + font-size: 13px;
  4397 + padding: 0;
  4398 + border-top: none;
  4399 + border-left: none;
  4400 + border-right: none;
  4401 + width: 170px;
  4402 + border-radius: 4px;
  4403 + cursor: pointer;
  4404 + margin-right: 10px;
  4405 + float: left;
  4406 +}
  4407 +.tender-form-buttons-wr a {
  4408 + height: 45px;
  4409 + line-height: 45px;
  4410 + float: left;
  4411 + font-size: 13px;
  4412 + color: #bfbfbf;
  4413 + text-decoration: none;
  4414 +}
  4415 +.tender-form-buttons-wr a:hover{text-decoration: underline}
  4416 +.tender-file-wr {
  4417 + float: right;
  4418 + position: relative;
  4419 + width: 200px;
  4420 +}
  4421 +.tender-file-wr input[type="file"] {
  4422 + width: 131px;
  4423 + height: 16px;
  4424 + position: absolute;
  4425 + right: 0;
  4426 + top: 2px;
  4427 + opacity: 0;
  4428 + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  4429 + z-index: 2;
  4430 +}
  4431 +.tender-file-wr .addfilemulti {
  4432 + position: absolute;
  4433 + right: 0;
  4434 + top: 2px;
  4435 + color: #0276c0;
  4436 + font-size: 13px;
  4437 + text-decoration: underline;
  4438 + height: 16px;
  4439 + line-height: 16px;
  4440 + z-index: 1;
  4441 +}
  4442 +.tender-file-wr .addfilemulti:before {
  4443 + position: absolute;
  4444 + content: '';
  4445 + display: block;
  4446 + width: 13px;
  4447 + height: 14px;
  4448 + left: -23px;
  4449 + top: 50%;
  4450 + margin-top: -7px;
  4451 + background: url("../images/skrpk_min.png") no-repeat;
  4452 +}
  4453 +.MultiFile-remove:before{display: none !important;}
  4454 +.MultiFile-label {height: 18px}
  4455 +.MultiFile-list {margin-top: 25px;float: right}
  4456 +.MultiFile-remove {float: right; margin-left: 31px; margin-top: 3px; width: 12px; height: 12px; background: url("../images/delet-file.png") no-repeat}
  4457 +.MultiFile-title {font-size: 13px; position: relative}
  4458 +.MultiFile-title:before {
  4459 + position: absolute;
  4460 + content: '';
  4461 + width: 10px;
  4462 + height: 8px;
  4463 + background: url("../images/tender/ico-3.png") no-repeat;
  4464 + top: 4px;
  4465 + left: -17px;
  4466 +}
  4467 +.max-size {
  4468 + float: right; color: #c2c2c2; font-size: 11px; margin-top: 20px;
  4469 +}
  4470 +.settings-map-ul { width: 100%;float: left; height: 27px; text-align: center;margin-top: 13px;}
  4471 +.settings-map-ul ul{height: 100%; display: inline-block}
  4472 +.settings-map-ul ul li{float: left; list-style: none; height: 100%;margin-left: 4px}
  4473 +.settings-map-ul ul li:first-child{margin-left: 0}
  4474 +.settings-map-ul ul li a{height: 100%; display: block; text-decoration: none; color: #0072bc; line-height: 27px; padding: 0 15px;}
  4475 +.settings-map-ul ul li a.active {background: #0072bc;color: #fff; border-radius: 27px}
  4476 +.settings-map-ul ul li a span {border-bottom: 1px dashed #0072bc;}
  4477 +.settings-map-ul ul li a.active span{border-bottom: none}
  4478 +
  4479 +.min-post-wr {width: 100%; float: left; }
  4480 +.min-post-block {padding-bottom: 20px; border-bottom: 1px solid #dcdcdc; width: 450px; margin-left: 40px; float: left}
  4481 +.min-post-block:first-child{margin-left: 0}
  4482 +.min-post-block a, .min-post-block a img{width: 200px;height: 153px;display: block; float: left}
  4483 +.min-post-txt {width: 230px;float: right;}
  4484 +.min-post-txt .blog-post-icons-wr {margin-top: 0}
  4485 +.min-post-txt a {text-decoration: none; color: inherit; height: 123px; margin-top: 14px;}
  4486 +.min-post-block:hover a {text-decoration: underline}
  4487 +.section-box-232{margin-top: 40px}
  4488 +.table-team-title {font-size: 18px; text-align: center;}
  4489 +
  4490 +.section-box-233{margin-top: 36px}
  4491 +.table-team-left {width: 450px; float: left}
  4492 +.table-team-right {width: 450px; float: right}
  4493 +.tb-team-wr {width: 100%; float: left;}
  4494 +.tb-team-wr table {width: 100%; float: left; font-size: 13px;}
  4495 +.tb-team-wr table tr{height: 33px}
  4496 +.title-table {background: #0072bc; color: #fff; border-top-left-radius: 5px; border-top-right-radius: 5px}
  4497 +.title-table td:first-child{padding-left: 20px}
  4498 +.all-table {border-left:1px solid #dfdfdf; border-right: 1px solid #dfdfdf; border-bottom: 1px solid #dfdfdf; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px;}
  4499 +.all-table-first {background: #f1f1f1; font-weight: 700;border-left:1px solid #dfdfdf; border-right: 1px solid #dfdfdf;}
  4500 +.all-table tr td, .all-table-first tr td {border-left: 1px solid #dfdfdf}
  4501 +.all-table tr td:first-child, .all-table-first tr td:first-child{border-left: none}
  4502 +.all-table td {border-top: 1px solid #dfdfdf}
  4503 +.all-table tr:first-child td {border-top: none}
  4504 +
  4505 +.tb-team-wr {margin-top: 15px}
  4506 +.tb-team-wr table img{vertical-align: middle}
0 \ No newline at end of file 4507 \ No newline at end of file
frontend/web/js/autoresize.jquery.js 0 → 100644
  1 +(function($){
  2 + $.fn.autoResize = function(options) {
  3 +
  4 + var settings = $.extend({
  5 + onResize : function(){
  6 +
  7 + },
  8 + animate : true,
  9 + animateDuration : 150,
  10 + animateCallback : function(){},
  11 + extraSpace : 20,
  12 + limit: 1000
  13 + }, options);
  14 +
  15 + this.filter('textarea').each(function(){
  16 +
  17 + // Get rid of scrollbars and disable WebKit resizing:
  18 + var textarea = $(this).css({resize:'none','overflow-y':'hidden'}),
  19 +
  20 + origHeight = textarea.height(),
  21 +
  22 + clone = (function(){
  23 +
  24 + var props = ['height','width','lineHeight','textDecoration','letterSpacing'],
  25 + propOb = {};
  26 +
  27 + $.each(props, function(i, prop){
  28 + propOb[prop] = textarea.css(prop);
  29 + });
  30 +
  31 + return textarea.clone().removeAttr('id').removeAttr('name').css({
  32 + position: 'absolute',
  33 + top: 0,
  34 + left: -9999
  35 + }).css(propOb).attr('tabIndex','-1').insertBefore(textarea);
  36 +
  37 + })(),
  38 + lastScrollTop = null,
  39 + updateSize = function() {
  40 + clone.height(0).val($(this).val()).scrollTop(10000);
  41 +
  42 + var scrollTop = Math.max(clone.scrollTop(), origHeight) + settings.extraSpace,
  43 + toChange = $(this).add(clone);
  44 +
  45 + if (lastScrollTop === scrollTop) { return; }
  46 + lastScrollTop = scrollTop;
  47 +
  48 + if ( scrollTop >= settings.limit ) {
  49 + $(this).css('overflow-y','');
  50 + return;
  51 + }
  52 +
  53 + settings.onResize.call(this);
  54 +
  55 + settings.animate && textarea.css('display') === 'block' ?
  56 + toChange.stop().animate({height:scrollTop}, settings.animateDuration, settings.animateCallback)
  57 + : toChange.height(scrollTop);
  58 +
  59 +
  60 + };
  61 +
  62 + textarea
  63 + .unbind('.dynSiz')
  64 + .bind('keyup.dynSiz', updateSize)
  65 + .bind('keydown.dynSiz', updateSize)
  66 + .bind('change.dynSiz', updateSize);
  67 +
  68 + });
  69 +
  70 + return this;
  71 +
  72 + };
  73 +})(jQuery);
0 \ No newline at end of file 74 \ No newline at end of file
frontend/web/js/forms.js 0 → 100644
  1 +$(document).ready(function(){function o(){$(".blog-buttons-add-favorite, .performance-vacancy-add-favorite a, .get-list, .main-menu-icons-copy").click(function(o){var n=$(window).scrollTop();o.preventDefault(),$("#overlay").fadeIn(400,function(){$("#modal_form_favorite").css({display:"block",marginTop:-230+n}).animate({opacity:1,top:"50%"},200)})})}function n(){$(".blog-buttons-offer, .get-project, .main-menu-icons-home").click(function(o){var n=$(window).scrollTop();o.preventDefault(),$("#overlay").fadeIn(400,function(){$("#modal_form_offer").css({display:"block",marginTop:-313+n}).animate({opacity:1,top:"50%"},200)})})}function a(){$(".header-contacts-menu li:last-child").click(function(o){var n=$(window).scrollTop();o.preventDefault(),$("#overlay").fadeIn(400,function(){$("#modal_form_question").css({display:"block",marginTop:-230+n}).animate({opacity:1,top:"50%"},200)})})}if($(".blog-buttons-add-favorite, .performance-vacancy-add-favorite a, .get-list, .main-menu-icons-copy, .blog-buttons-offer, .get-project, .main-menu-icons-home").length>0){var t=$("#overlay").length;$.post("forms-modal.html",function(o){!t>0&&$("body").append('<div id="overlay"></div>'),$("body").append(o)}).complete(function(){$(".closed-form, #overlay").on("click",function(){$("#modal_form_favorite, #modal_form_offer, #modal_form_question").animate({opacity:0,top:"30%"},200,function(){$(this).css("display","none"),$("#overlay").fadeOut(400)})})})}o(),n(),a()});
0 \ No newline at end of file 2 \ No newline at end of file
frontend/web/js/jmousewhell.js 0 → 100644
  1 +!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){function t(t){var s=t||window.event,a=h.call(arguments,1),r=0,f=0,d=0,c=0,m=0,g=0;if(t=e.event.fix(s),t.type="mousewheel","detail"in s&&(d=-1*s.detail),"wheelDelta"in s&&(d=s.wheelDelta),"wheelDeltaY"in s&&(d=s.wheelDeltaY),"wheelDeltaX"in s&&(f=-1*s.wheelDeltaX),"axis"in s&&s.axis===s.HORIZONTAL_AXIS&&(f=-1*d,d=0),r=0===d?f:d,"deltaY"in s&&(d=-1*s.deltaY,r=d),"deltaX"in s&&(f=s.deltaX,0===d&&(r=-1*f)),0!==d||0!==f){if(1===s.deltaMode){var w=e.data(this,"mousewheel-line-height");r*=w,d*=w,f*=w}else if(2===s.deltaMode){var v=e.data(this,"mousewheel-page-height");r*=v,d*=v,f*=v}if(c=Math.max(Math.abs(d),Math.abs(f)),(!l||l>c)&&(l=c,i(s,c)&&(l/=40)),i(s,c)&&(r/=40,f/=40,d/=40),r=Math[r>=1?"floor":"ceil"](r/l),f=Math[f>=1?"floor":"ceil"](f/l),d=Math[d>=1?"floor":"ceil"](d/l),u.settings.normalizeOffset&&this.getBoundingClientRect){var p=this.getBoundingClientRect();m=t.clientX-p.left,g=t.clientY-p.top}return t.deltaX=f,t.deltaY=d,t.deltaFactor=l,t.offsetX=m,t.offsetY=g,t.deltaMode=0,a.unshift(t,r,f,d),o&&clearTimeout(o),o=setTimeout(n,200),(e.event.dispatch||e.event.handle).apply(this,a)}}function n(){l=null}function i(e,t){return u.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120===0}var o,l,s=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],a="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],h=Array.prototype.slice;if(e.event.fixHooks)for(var r=s.length;r;)e.event.fixHooks[s[--r]]=e.event.mouseHooks;var u=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var n=a.length;n;)this.addEventListener(a[--n],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",u.getLineHeight(this)),e.data(this,"mousewheel-page-height",u.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var n=a.length;n;)this.removeEventListener(a[--n],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var n=e(t),i=n["offsetParent"in e.fn?"offsetParent":"parent"]();return i.length||(i=e("body")),parseInt(i.css("fontSize"),10)||parseInt(n.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})});
0 \ No newline at end of file 2 \ No newline at end of file
frontend/web/js/jquery.MultiFile.js 0 → 100644
  1 +/*
  2 + ### jQuery Multiple File Upload Plugin v1.48 - 2012-07-19 ###
  3 + * Home: http://www.fyneworks.com/jquery/multiple-file-upload/
  4 + * Code: http://code.google.com/p/jquery-multifile-plugin/
  5 + *
  6 + * Licensed under http://en.wikipedia.org/wiki/MIT_License
  7 + ###
  8 +*/
  9 +
  10 +/*# AVOID COLLISIONS #*/
  11 +;if(window.jQuery) (function($){
  12 +/*# AVOID COLLISIONS #*/
  13 +
  14 + // plugin initialization
  15 + $.fn.MultiFile = function(options){
  16 + if(this.length==0) return this; // quick fail
  17 +
  18 + // Handle API methods
  19 + if(typeof arguments[0]=='string'){
  20 + // Perform API methods on individual elements
  21 + if(this.length>1){
  22 + var args = arguments;
  23 + return this.each(function(){
  24 + $.fn.MultiFile.apply($(this), args);
  25 + });
  26 + };
  27 + // Invoke API method handler
  28 + $.fn.MultiFile[arguments[0]].apply(this, $.makeArray(arguments).slice(1) || []);
  29 + // Quick exit...
  30 + return this;
  31 + };
  32 +
  33 + // Initialize options for this call
  34 + var options = $.extend(
  35 + {}/* new object */,
  36 + $.fn.MultiFile.options/* default options */,
  37 + options || {} /* just-in-time options */
  38 + );
  39 +
  40 + // Empty Element Fix!!!
  41 + // this code will automatically intercept native form submissions
  42 + // and disable empty file elements
  43 + $('form')
  44 + .not('MultiFile-intercepted')
  45 + .addClass('MultiFile-intercepted')
  46 + .submit($.fn.MultiFile.disableEmpty);
  47 +
  48 + //### http://plugins.jquery.com/node/1363
  49 + // utility method to integrate this plugin with others...
  50 + if($.fn.MultiFile.options.autoIntercept){
  51 + $.fn.MultiFile.intercept( $.fn.MultiFile.options.autoIntercept /* array of methods to intercept */ );
  52 + $.fn.MultiFile.options.autoIntercept = null; /* only run this once */
  53 + };
  54 +
  55 + // loop through each matched element
  56 + this
  57 + .not('.MultiFile-applied')
  58 + .addClass('MultiFile-applied')
  59 + .each(function(){
  60 + //#####################################################################
  61 + // MAIN PLUGIN FUNCTIONALITY - START
  62 + //#####################################################################
  63 +
  64 + // BUG 1251 FIX: http://plugins.jquery.com/project/comments/add/1251
  65 + // variable group_count would repeat itself on multiple calls to the plugin.
  66 + // this would cause a conflict with multiple elements
  67 + // changes scope of variable to global so id will be unique over n calls
  68 + window.MultiFile = (window.MultiFile || 0) + 1;
  69 + var group_count = window.MultiFile;
  70 +
  71 + // Copy parent attributes - Thanks to Jonas Wagner
  72 + // we will use this one to create new input elements
  73 + var MultiFile = {e:this, E:$(this), clone:$(this).clone()};
  74 +
  75 + //===
  76 +
  77 + //# USE CONFIGURATION
  78 + if(typeof options=='number') options = {max:options};
  79 + var o = $.extend({},
  80 + $.fn.MultiFile.options,
  81 + options || {},
  82 + ($.metadata? MultiFile.E.metadata(): ($.meta?MultiFile.E.data():null)) || {}, /* metadata options */
  83 + {} /* internals */
  84 + );
  85 + // limit number of files that can be selected?
  86 + if(!(o.max>0) /*IsNull(MultiFile.max)*/){
  87 + o.max = MultiFile.E.attr('maxlength');
  88 + };
  89 + if(!(o.max>0) /*IsNull(MultiFile.max)*/){
  90 + o.max = (String(MultiFile.e.className.match(/\b(max|limit)\-([0-9]+)\b/gi) || ['']).match(/[0-9]+/gi) || [''])[0];
  91 + if(!(o.max>0)) o.max = -1;
  92 + else o.max = String(o.max).match(/[0-9]+/gi)[0];
  93 + }
  94 + o.max = new Number(o.max);
  95 + // limit extensions?
  96 + o.accept = o.accept || MultiFile.E.attr('accept') || '';
  97 + if(!o.accept){
  98 + o.accept = (MultiFile.e.className.match(/\b(accept\-[\w\|]+)\b/gi)) || '';
  99 + o.accept = new String(o.accept).replace(/^(accept|ext)\-/i,'');
  100 + };
  101 +
  102 + //===
  103 +
  104 + // APPLY CONFIGURATION
  105 + $.extend(MultiFile, o || {});
  106 + MultiFile.STRING = $.extend({},$.fn.MultiFile.options.STRING,MultiFile.STRING);
  107 +
  108 + //===
  109 +
  110 + //#########################################
  111 + // PRIVATE PROPERTIES/METHODS
  112 + $.extend(MultiFile, {
  113 + n: 0, // How many elements are currently selected?
  114 + slaves: [], files: [],
  115 + instanceKey: MultiFile.e.id || 'MultiFile'+String(group_count), // Instance Key?
  116 + generateID: function(z){ return MultiFile.instanceKey + (z>0 ?'_F'+String(z):''); },
  117 + trigger: function(event, element){
  118 + var handler = MultiFile[event], value = $(element).attr('value');
  119 + if(handler){
  120 + var returnValue = handler(element, value, MultiFile);
  121 + if( returnValue!=null ) return returnValue;
  122 + }
  123 + return true;
  124 + }
  125 + });
  126 +
  127 + //===
  128 +
  129 + // Setup dynamic regular expression for extension validation
  130 + // - thanks to John-Paul Bader: http://smyck.de/2006/08/11/javascript-dynamic-regular-expresions/
  131 + if(String(MultiFile.accept).length>1){
  132 + MultiFile.accept = MultiFile.accept.replace(/\W+/g,'|').replace(/^\W|\W$/g,'');
  133 + MultiFile.rxAccept = new RegExp('\\.('+(MultiFile.accept?MultiFile.accept:'')+')$','gi');
  134 + };
  135 +
  136 + //===
  137 +
  138 + // Create wrapper to hold our file list
  139 + MultiFile.wrapID = MultiFile.instanceKey+'_wrap'; // Wrapper ID?
  140 + MultiFile.E.wrap('<div class="MultiFile-wrap" id="'+MultiFile.wrapID+'"></div>');
  141 + MultiFile.wrapper = $('#'+MultiFile.wrapID+'');
  142 +
  143 + //===
  144 +
  145 + // MultiFile MUST have a name - default: file1[], file2[], file3[]
  146 + MultiFile.e.name = MultiFile.e.name || 'file'+ group_count +'[]';
  147 +
  148 + //===
  149 +
  150 + if(!MultiFile.list){
  151 + // Create a wrapper for the list
  152 + // * OPERA BUG: NO_MODIFICATION_ALLOWED_ERR ('list' is a read-only property)
  153 + // this change allows us to keep the files in the order they were selected
  154 + MultiFile.wrapper.append( '<div class="MultiFile-list" id="'+MultiFile.wrapID+'_list"></div>' );
  155 + MultiFile.list = $('#'+MultiFile.wrapID+'_list');
  156 + };
  157 + MultiFile.list = $(MultiFile.list);
  158 +
  159 + //===
  160 +
  161 + // Bind a new element
  162 + MultiFile.addSlave = function( slave, slave_count ){
  163 + //if(window.console) console.log('MultiFile.addSlave',slave_count);
  164 +
  165 + // Keep track of how many elements have been displayed
  166 + MultiFile.n++;
  167 + // Add reference to master element
  168 + slave.MultiFile = MultiFile;
  169 +
  170 + // BUG FIX: http://plugins.jquery.com/node/1495
  171 + // Clear identifying properties from clones
  172 + if(slave_count>0) slave.id = slave.name = '';
  173 +
  174 + // Define element's ID and name (upload components need this!)
  175 + //slave.id = slave.id || MultiFile.generateID(slave_count);
  176 + if(slave_count>0) slave.id = MultiFile.generateID(slave_count);
  177 + //FIX for: http://code.google.com/p/jquery-multifile-plugin/issues/detail?id=23
  178 +
  179 + // 2008-Apr-29: New customizable naming convention (see url below)
  180 + // http://groups.google.com/group/jquery-dev/browse_frm/thread/765c73e41b34f924#
  181 + slave.name = String(MultiFile.namePattern
  182 + /*master name*/.replace(/\$name/gi,$(MultiFile.clone).attr('name'))
  183 + /*master id */.replace(/\$id/gi, $(MultiFile.clone).attr('id'))
  184 + /*group count*/.replace(/\$g/gi, group_count)//(group_count>0?group_count:''))
  185 + /*slave count*/.replace(/\$i/gi, slave_count)//(slave_count>0?slave_count:''))
  186 + );
  187 +
  188 + // If we've reached maximum number, disable input slave
  189 + if( (MultiFile.max > 0) && ((MultiFile.n-1) > (MultiFile.max)) )//{ // MultiFile.n Starts at 1, so subtract 1 to find true count
  190 + slave.disabled = true;
  191 + //};
  192 +
  193 + // Remember most recent slave
  194 + MultiFile.current = MultiFile.slaves[slave_count] = slave;
  195 +
  196 + // We'll use jQuery from now on
  197 + slave = $(slave);
  198 +
  199 + // Clear value
  200 + slave.val('').attr('value','')[0].value = '';
  201 +
  202 + // Stop plugin initializing on slaves
  203 + slave.addClass('MultiFile-applied');
  204 +
  205 + // Triggered when a file is selected
  206 + slave.change(function(){
  207 + //if(window.console) console.log('MultiFile.slave.change',slave_count);
  208 +
  209 + // Lose focus to stop IE7 firing onchange again
  210 + $(this).blur();
  211 +
  212 + //# Trigger Event! onFileSelect
  213 + if(!MultiFile.trigger('onFileSelect', this, MultiFile)) return false;
  214 + //# End Event!
  215 +
  216 + //# Retrive value of selected file from element
  217 + var ERROR = '', v = String(this.value || ''/*.attr('value)*/);
  218 +
  219 + // check extension
  220 + if(MultiFile.accept && v && !v.match(MultiFile.rxAccept))//{
  221 + ERROR = MultiFile.STRING.denied.replace('$ext', String(v.match(/\.\w{1,4}$/gi)));
  222 + //}
  223 + //};
  224 +
  225 + // Disallow duplicates
  226 + for(var f in MultiFile.slaves)//{
  227 + if(MultiFile.slaves[f] && MultiFile.slaves[f]!=this)//{
  228 + //console.log(MultiFile.slaves[f],MultiFile.slaves[f].value);
  229 + if(MultiFile.slaves[f].value==v)//{
  230 + ERROR = MultiFile.STRING.duplicate.replace('$file', v.match(/[^\/\\]+$/gi));
  231 + //};
  232 + //};
  233 + //};
  234 +
  235 + // Create a new file input element
  236 + var newEle = $(MultiFile.clone).clone();// Copy parent attributes - Thanks to Jonas Wagner
  237 + //# Let's remember which input we've generated so
  238 + // we can disable the empty ones before submission
  239 + // See: http://plugins.jquery.com/node/1495
  240 + newEle.addClass('MultiFile');
  241 +
  242 + // Handle error
  243 + if(ERROR!=''){
  244 + // Handle error
  245 + MultiFile.error(ERROR);
  246 +
  247 + // 2007-06-24: BUG FIX - Thanks to Adrian Wr�bel <adrian [dot] wrobel [at] gmail.com>
  248 + // Ditch the trouble maker and add a fresh new element
  249 + MultiFile.n--;
  250 + MultiFile.addSlave(newEle[0], slave_count);
  251 + slave.parent().prepend(newEle);
  252 + slave.remove();
  253 + return false;
  254 + };
  255 +
  256 + // Hide this element (NB: display:none is evil!)
  257 + $(this).css({ position:'absolute', top: '-3000px' });
  258 +
  259 + // Add new element to the form
  260 + slave.after(newEle);
  261 +
  262 + // Update list
  263 + MultiFile.addToList( this, slave_count );
  264 +
  265 + // Bind functionality
  266 + MultiFile.addSlave( newEle[0], slave_count+1 );
  267 +
  268 + //# Trigger Event! afterFileSelect
  269 + if(!MultiFile.trigger('afterFileSelect', this, MultiFile)) return false;
  270 + //# End Event!
  271 +
  272 + }); // slave.change()
  273 +
  274 + // Save control to element
  275 + $(slave).data('MultiFile', MultiFile);
  276 +
  277 + };// MultiFile.addSlave
  278 + // Bind a new element
  279 +
  280 +
  281 +
  282 + // Add a new file to the list
  283 + MultiFile.addToList = function( slave, slave_count ){
  284 + //if(window.console) console.log('MultiFile.addToList',slave_count);
  285 +
  286 + //# Trigger Event! onFileAppend
  287 + if(!MultiFile.trigger('onFileAppend', slave, MultiFile)) return false;
  288 + //# End Event!
  289 +
  290 + // Create label elements
  291 + var r = $('<div class="MultiFile-label"></div>');
  292 + var v = String(slave.value || ''/*.attr('value)*/);
  293 + var mulTxt = MultiFile.STRING.file.replace('$file', v.match(/[^\/\\]+$/gi)[0]);
  294 + if(mulTxt.length>20){
  295 + var nMulTxt = mulTxt.slice(0,20)+'...';
  296 + var a = $('<span class="MultiFile-title">'+nMulTxt+'</span>');
  297 + } else {
  298 + var a = $('<span class="MultiFile-title">'+mulTxt+'</span>');
  299 + }
  300 + var b = $('<a class="MultiFile-remove" href="#'+MultiFile.wrapID+'"></a>');
  301 +
  302 + // Insert label
  303 + MultiFile.list.append(
  304 + r.append(b, ' ', a)
  305 + );
  306 +
  307 + b
  308 + .click(function(){
  309 +
  310 + //# Trigger Event! onFileRemove
  311 + if(!MultiFile.trigger('onFileRemove', slave, MultiFile)) return false;
  312 + //# End Event!
  313 +
  314 + MultiFile.n--;
  315 + MultiFile.current.disabled = false;
  316 +
  317 + // Remove element, remove label, point to current
  318 + MultiFile.slaves[slave_count] = null;
  319 + $(slave).remove();
  320 + $(this).parent().remove();
  321 +
  322 + // Show most current element again (move into view) and clear selection
  323 + $(MultiFile.current).css({ position:'', top: '' });
  324 + $(MultiFile.current).reset().val('').attr('value', '')[0].value = '';
  325 +
  326 + //# Trigger Event! afterFileRemove
  327 + if(!MultiFile.trigger('afterFileRemove', slave, MultiFile)) return false;
  328 + //# End Event!
  329 +
  330 + return false;
  331 + });
  332 +
  333 + //# Trigger Event! afterFileAppend
  334 + if(!MultiFile.trigger('afterFileAppend', slave, MultiFile)) return false;
  335 + //# End Event!
  336 +
  337 + }; // MultiFile.addToList
  338 + // Add element to selected files list
  339 +
  340 +
  341 +
  342 + // Bind functionality to the first element
  343 + if(!MultiFile.MultiFile) MultiFile.addSlave(MultiFile.e, 0);
  344 +
  345 + // Increment control count
  346 + //MultiFile.I++; // using window.MultiFile
  347 + MultiFile.n++;
  348 +
  349 + // Save control to element
  350 + MultiFile.E.data('MultiFile', MultiFile);
  351 +
  352 +
  353 + //#####################################################################
  354 + // MAIN PLUGIN FUNCTIONALITY - END
  355 + //#####################################################################
  356 + }); // each element
  357 + };
  358 +
  359 + /*--------------------------------------------------------*/
  360 +
  361 + /*
  362 + ### Core functionality and API ###
  363 + */
  364 + $.extend($.fn.MultiFile, {
  365 + /**
  366 + * This method removes all selected files
  367 + *
  368 + * Returns a jQuery collection of all affected elements.
  369 + *
  370 + * @name reset
  371 + * @type jQuery
  372 + * @cat Plugins/MultiFile
  373 + * @author Diego A. (http://www.fyneworks.com/)
  374 + *
  375 + * @example $.fn.MultiFile.reset();
  376 + */
  377 + reset: function(){
  378 + var settings = $(this).data('MultiFile');
  379 + //if(settings) settings.wrapper.find('a.MultiFile-remove').click();
  380 + if(settings) settings.list.find('a.MultiFile-remove').click();
  381 + return $(this);
  382 + },
  383 +
  384 +
  385 + /**
  386 + * This utility makes it easy to disable all 'empty' file elements in the document before submitting a form.
  387 + * It marks the affected elements so they can be easily re-enabled after the form submission or validation.
  388 + *
  389 + * Returns a jQuery collection of all affected elements.
  390 + *
  391 + * @name disableEmpty
  392 + * @type jQuery
  393 + * @cat Plugins/MultiFile
  394 + * @author Diego A. (http://www.fyneworks.com/)
  395 + *
  396 + * @example $.fn.MultiFile.disableEmpty();
  397 + * @param String class (optional) A string specifying a class to be applied to all affected elements - Default: 'mfD'.
  398 + */
  399 + disableEmpty: function(klass){ klass = (typeof(klass)=='string'?klass:'')||'mfD';
  400 + var o = [];
  401 + $('input:file.MultiFile').each(function(){ if($(this).val()=='') o[o.length] = this; });
  402 + return $(o).each(function(){ this.disabled = true }).addClass(klass);
  403 + },
  404 +
  405 +
  406 + /**
  407 + * This method re-enables 'empty' file elements that were disabled (and marked) with the $.fn.MultiFile.disableEmpty method.
  408 + *
  409 + * Returns a jQuery collection of all affected elements.
  410 + *
  411 + * @name reEnableEmpty
  412 + * @type jQuery
  413 + * @cat Plugins/MultiFile
  414 + * @author Diego A. (http://www.fyneworks.com/)
  415 + *
  416 + * @example $.fn.MultiFile.reEnableEmpty();
  417 + * @param String klass (optional) A string specifying the class that was used to mark affected elements - Default: 'mfD'.
  418 + */
  419 + reEnableEmpty: function(klass){ klass = (typeof(klass)=='string'?klass:'')||'mfD';
  420 + return $('input:file.'+klass).removeClass(klass).each(function(){ this.disabled = false });
  421 + },
  422 +
  423 +
  424 + /**
  425 + * This method will intercept other jQuery plugins and disable empty file input elements prior to form submission
  426 + *
  427 +
  428 + * @name intercept
  429 + * @cat Plugins/MultiFile
  430 + * @author Diego A. (http://www.fyneworks.com/)
  431 + *
  432 + * @example $.fn.MultiFile.intercept();
  433 + * @param Array methods (optional) Array of method names to be intercepted
  434 + */
  435 + intercepted: {},
  436 + intercept: function(methods, context, args){
  437 + var method, value; args = args || [];
  438 + if(args.constructor.toString().indexOf("Array")<0) args = [ args ];
  439 + if(typeof(methods)=='function'){
  440 + $.fn.MultiFile.disableEmpty();
  441 + value = methods.apply(context || window, args);
  442 + //SEE-http://code.google.com/p/jquery-multifile-plugin/issues/detail?id=27
  443 + setTimeout(function(){ $.fn.MultiFile.reEnableEmpty() },1000);
  444 + return value;
  445 + };
  446 + if(methods.constructor.toString().indexOf("Array")<0) methods = [methods];
  447 + for(var i=0;i<methods.length;i++){
  448 + method = methods[i]+''; // make sure that we have a STRING
  449 + if(method) (function(method){ // make sure that method is ISOLATED for the interception
  450 + $.fn.MultiFile.intercepted[method] = $.fn[method] || function(){};
  451 + $.fn[method] = function(){
  452 + $.fn.MultiFile.disableEmpty();
  453 + value = $.fn.MultiFile.intercepted[method].apply(this, arguments);
  454 + //SEE http://code.google.com/p/jquery-multifile-plugin/issues/detail?id=27
  455 + setTimeout(function(){ $.fn.MultiFile.reEnableEmpty() },1000);
  456 + return value;
  457 + }; // interception
  458 + })(method); // MAKE SURE THAT method IS ISOLATED for the interception
  459 + };// for each method
  460 + } // $.fn.MultiFile.intercept
  461 +
  462 + });
  463 +
  464 + /*--------------------------------------------------------*/
  465 +
  466 + /*
  467 + ### Default Settings ###
  468 + eg.: You can override default control like this:
  469 + $.fn.MultiFile.options.accept = 'gif|jpg';
  470 + */
  471 + $.fn.MultiFile.options = { //$.extend($.fn.MultiFile, { options: {
  472 + accept: '', // accepted file extensions
  473 + max: -1, // maximum number of selectable files
  474 +
  475 + // name to use for newly created elements
  476 + namePattern: '$name', // same name by default (which creates an array)
  477 + /*master name*/ // use $name
  478 + /*master id */ // use $id
  479 + /*group count*/ // use $g
  480 + /*slave count*/ // use $i
  481 + /*other */ // use any combination of he above, eg.: $name_file$i
  482 +
  483 + // STRING: collection lets you show messages in different languages
  484 + STRING: {
  485 + remove:'x',
  486 + denied:'You cannot select a $ext file.\nTry again...',
  487 + file:'$file',
  488 + selected:'File selected: $file',
  489 + duplicate:'Файл с таким названием уже загружен:\n$file'
  490 + },
  491 +
  492 + // name of methods that should be automcatically intercepted so the plugin can disable
  493 + // extra file elements that are empty before execution and automatically re-enable them afterwards
  494 + autoIntercept: [ 'submit', 'ajaxSubmit', 'ajaxForm', 'validate', 'valid' /* array of methods to intercept */ ],
  495 +
  496 + // error handling function
  497 + error: function(s){
  498 + /*
  499 + ERROR! blockUI is not currently working in IE
  500 + if($.blockUI){
  501 + $.blockUI({
  502 + message: s.replace(/\n/gi,'<br/>'),
  503 + css: {
  504 + border:'none', padding:'15px', size:'12.0pt',
  505 + backgroundColor:'#900', color:'#fff',
  506 + opacity:'.8','-webkit-border-radius': '10px','-moz-border-radius': '10px'
  507 + }
  508 + });
  509 + window.setTimeout($.unblockUI, 2000);
  510 + }
  511 + else//{// save a byte!
  512 + */
  513 + alert(s);
  514 + //}// save a byte!
  515 + }
  516 + }; //} });
  517 +
  518 + /*--------------------------------------------------------*/
  519 +
  520 + /*
  521 + ### Additional Methods ###
  522 + Required functionality outside the plugin's scope
  523 + */
  524 +
  525 + // Native input reset method - because this alone doesn't always work: $(element).val('').attr('value', '')[0].value = '';
  526 + $.fn.reset = function(){ return this.each(function(){ try{ this.reset(); }catch(e){} }); };
  527 +
  528 + /*--------------------------------------------------------*/
  529 +
  530 + /*
  531 + ### Default implementation ###
  532 + The plugin will attach itself to file inputs
  533 + with the class 'multi' when the page loads
  534 + */
  535 + $(function(){
  536 + //$("input:file.multi").MultiFile();
  537 + $("input[type=file].multi").MultiFile();
  538 + });
  539 +
  540 +
  541 +
  542 +/*# AVOID COLLISIONS #*/
  543 +})(jQuery);
  544 +/*# AVOID COLLISIONS #*/
frontend/web/js/jquery.rating.js 0 → 100644
  1 +!function(t){t.rating=function(s,i){this.options=t.extend({fx:"float",image:"images/stars.png",width:15,stars:5,minimal:0,titles:["голос","голоса","голосов"],readOnly:!1,url:"",type:"post",loader:"images/ajax-loader.gif",click:function(){}},i||{}),this.el=t(s),this.left=0,this.val=parseFloat(t(".val",s).val())||0,this.val>this.options.stars&&(this.val=this.options.stars),this.val<0&&(this.val=0),this.old=this.val,this.votes=parseInt(t(".votes",s).val())||"",this.voteID=t(".vote-id",s).val()||"",this.vote_wrap=t('<div class="vote-wrap"></div>'),this.vote_block=t('<div class="vote-block"></div>'),this.vote_hover=t('<div class="vote-hover"></div>'),this.vote_stars=t('<div class="vote-stars"></div>'),this.vote_active=t('<div class="vote-active"></div>'),this.vote_result=t('<div class="vote-result"></div>'),this.vote_success=t('<div class="vote-success"></div>'),this.loader=t('<img src="'+this.options.loader+'" alt="load...">'),this.init()};var s=t.rating;s.fn=s.prototype={rating:"0.1"},s.fn.extend=s.extend=t.extend,s.fn.extend({init:function(){if(this.render(),!this.options.readOnly){var s=this,i=0,o=0;this.vote_hover.bind("mousemove mouseover",function(e){if(!s.options.readOnly){var n=t(this),a=0;i=e.clientX>0?e.clientX:e.pageX,o=i-n.offset().left-2;var h=s.options.width*s.options.stars,v=s.options.minimal*s.options.width;o>h&&(o=h),v>o&&(o=v),a=Math.round(o/s.options.width*10)/10,"half"==s.options.fx?o=Math.ceil(o/s.options.width*2)*s.options.width/2:"float"!=s.options.fx&&(o=Math.ceil(o/s.options.width)*s.options.width),a=Math.round(o/s.options.width*10)/10,s.vote_active.css({width:o,"background-position":"0 15px"}),s.vote_success.html("Оценка: "+a+"из 5")}}).bind("mouseout",function(){s.options.readOnly||(s.reset(),s.vote_success.empty())}).bind("click.rating",function(){if(!s.options.readOnly){var t=Math.round(o/s.options.width*10)/10;t>s.options.stars&&(t=s.options.stars),0>t&&(t=0),s.old=s.val,s.val=(s.val*s.votes+t)/(s.votes+1),s.val.toFixed(1),s.vote_success.html("Ваша оценка: "+t),""!=s.options.url&&s.send(t),s.options.readOnly=!0,s.options.click.apply(this,[t])}})}},set:function(){this.vote_active.css({width:this.val*this.options.width,"background-position":"0 15px"})},reset:function(){this.vote_active.css({width:this.old*this.options.width,"background-position":"0 15px"})},setvoters:function(){this.vote_result.html(this.declOfNum(this.votes))},render:function(){this.el.html(this.vote_wrap.append(this.vote_hover.css({padding:"0 4px",height:this.options.width,width:this.options.width*this.options.stars}),this.vote_result.text(this.declOfNum(this.votes)),this.vote_success)),this.vote_block.append(this.vote_stars.css({height:this.options.width,width:this.options.width*this.options.stars,background:"url('"+this.options.image+"') 0 0"}),this.vote_active.css({height:this.options.width,width:this.val*this.options.width,background:"url('"+this.options.image+"') 0 15px"})).appendTo(this.vote_hover)},send:function(s){var i=this;this.vote_result.html(this.loader),t.ajax({url:i.options.url,type:i.options.type,data:{id:this.voteID,score:s},dataType:"json",success:function(t){"OK"==t.status?(i.votes++,i.set()):i.reset(),i.setvoters(),t.msg&&i.vote_success.html(t.msg)}})},declOfNum:function(t){return 0>=t?"":(t=Math.abs(Math.floor(t)),cases=[2,0,1,1,1,2],t+" "+this.options.titles[t%100>4&&20>t%100?2:cases[5>t%10?t%10:5]])}}),t.fn.rating=function(i){if("string"==typeof i){var o=t(this).data("rating"),e=Array.prototype.slice.call(arguments,1);return o[i].apply(o,e)}return this.each(function(){var o=t(this).data("rating");o?(i&&t.extend(o.options,i),o.init()):t(this).data("rating",new s(this,i))})}}(jQuery);
0 \ No newline at end of file 2 \ No newline at end of file
frontend/web/js/jquery.scrollbox.min.js 0 → 100644
  1 +(function($){$.fn.scrollbox=function(config){var defConfig={linear:false,startDelay:2,delay:3,step:5,speed:32,switchItems:1,direction:"vertical",distance:"auto",autoPlay:true,onMouseOverPause:true,paused:false,queue:null,listElement:"ul",listItemElement:"li",infiniteLoop:true,switchAmount:0,afterForward:null,afterBackward:null,triggerStackable:false};config=$.extend(defConfig,config);config.scrollOffset=config.direction==="vertical"?"scrollTop":"scrollLeft";if(config.queue){config.queue=$("#"+config.queue)}return this.each(function(){var container=$(this),containerUL,scrollingId=null,nextScrollId=null,paused=false,releaseStack,backward,forward,resetClock,scrollForward,scrollBackward,forwardHover,pauseHover,switchCount=0,stackedTriggerIndex=0;if(config.onMouseOverPause){container.bind("mouseover",function(){paused=true});container.bind("mouseout",function(){paused=false})}containerUL=container.children(config.listElement+":first-child");if(config.infiniteLoop===false&&config.switchAmount===0){config.switchAmount=containerUL.children().length}scrollForward=function(){if(paused){return}var curLi,i,newScrollOffset,scrollDistance,theStep;curLi=containerUL.children(config.listItemElement+":first-child");scrollDistance=config.distance!=="auto"?config.distance:config.direction==="vertical"?curLi.outerHeight(true):curLi.outerWidth(true);if(!config.linear){theStep=Math.max(3,parseInt((scrollDistance-container[0][config.scrollOffset])*.3,10));newScrollOffset=Math.min(container[0][config.scrollOffset]+theStep,scrollDistance)}else{newScrollOffset=Math.min(container[0][config.scrollOffset]+config.step,scrollDistance)}container[0][config.scrollOffset]=newScrollOffset;if(newScrollOffset>=scrollDistance){for(i=0;i<config.switchItems;i++){if(config.queue&&config.queue.find(config.listItemElement).length>0){containerUL.append(config.queue.find(config.listItemElement)[0]);containerUL.children(config.listItemElement+":first-child").remove()}else{containerUL.append(containerUL.children(config.listItemElement+":first-child"))}++switchCount}container[0][config.scrollOffset]=0;clearInterval(scrollingId);scrollingId=null;if($.isFunction(config.afterForward)){config.afterForward.call(container,{switchCount:switchCount,currentFirstChild:containerUL.children(config.listItemElement+":first-child")})}if(config.triggerStackable&&stackedTriggerIndex!==0){releaseStack();return}if(config.infiniteLoop===false&&switchCount>=config.switchAmount){return}if(config.autoPlay){nextScrollId=setTimeout(forward,config.delay*1e3)}}};scrollBackward=function(){if(paused){return}var curLi,i,newScrollOffset,scrollDistance,theStep;if(container[0][config.scrollOffset]===0){for(i=0;i<config.switchItems;i++){containerUL.children(config.listItemElement+":last-child").insertBefore(containerUL.children(config.listItemElement+":first-child"))}curLi=containerUL.children(config.listItemElement+":first-child");scrollDistance=config.distance!=="auto"?config.distance:config.direction==="vertical"?curLi.height():curLi.width();container[0][config.scrollOffset]=scrollDistance}if(!config.linear){theStep=Math.max(3,parseInt(container[0][config.scrollOffset]*.3,10));newScrollOffset=Math.max(container[0][config.scrollOffset]-theStep,0)}else{newScrollOffset=Math.max(container[0][config.scrollOffset]-config.step,0)}container[0][config.scrollOffset]=newScrollOffset;if(newScrollOffset===0){--switchCount;clearInterval(scrollingId);scrollingId=null;if($.isFunction(config.afterBackward)){config.afterBackward.call(container,{switchCount:switchCount,currentFirstChild:containerUL.children(config.listItemElement+":first-child")})}if(config.triggerStackable&&stackedTriggerIndex!==0){releaseStack();return}if(config.autoPlay){nextScrollId=setTimeout(forward,config.delay*1e3)}}};releaseStack=function(){if(stackedTriggerIndex===0){return}if(stackedTriggerIndex>0){stackedTriggerIndex--;nextScrollId=setTimeout(forward,0)}else{stackedTriggerIndex++;nextScrollId=setTimeout(backward,0)}};forward=function(){clearInterval(scrollingId);scrollingId=setInterval(scrollForward,config.speed)};backward=function(){clearInterval(scrollingId);scrollingId=setInterval(scrollBackward,config.speed)};forwardHover=function(){config.autoPlay=true;paused=false;clearInterval(scrollingId);scrollingId=setInterval(scrollForward,config.speed)};pauseHover=function(){paused=true};resetClock=function(delay){config.delay=delay||config.delay;clearTimeout(nextScrollId);if(config.autoPlay){nextScrollId=setTimeout(forward,config.delay*1e3)}};if(config.autoPlay){nextScrollId=setTimeout(forward,config.startDelay*1e3)}container.bind("resetClock",function(delay){resetClock(delay)});container.bind("forward",function(){if(config.triggerStackable){if(scrollingId!==null){stackedTriggerIndex++}else{forward()}}else{clearTimeout(nextScrollId);forward()}});container.bind("backward",function(){if(config.triggerStackable){if(scrollingId!==null){stackedTriggerIndex--}else{backward()}}else{clearTimeout(nextScrollId);backward()}});container.bind("pauseHover",function(){pauseHover()});container.bind("forwardHover",function(){forwardHover()});container.bind("speedUp",function(speed){if(speed==="undefined"){speed=Math.max(1,parseInt(config.speed/2,10))}config.speed=speed});container.bind("speedDown",function(speed){if(speed==="undefined"){speed=config.speed*2}config.speed=speed});container.bind("updateConfig",function(options){config=$.extend(config,options)})})}})(jQuery);
0 \ No newline at end of file 2 \ No newline at end of file
frontend/web/js/jscroll.js 0 → 100644
  1 +!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){a.fn.jScrollPane=function(b){function c(b,c){function d(c){var f,h,j,k,l,o,p=!1,q=!1;if(N=c,void 0===O)l=b.scrollTop(),o=b.scrollLeft(),b.css({overflow:"hidden",padding:0}),P=b.innerWidth()+ra,Q=b.innerHeight(),b.width(P),O=a('<div class="jspPane" />').css("padding",qa).append(b.children()),R=a('<div class="jspContainer" />').css({width:P+"px",height:Q+"px"}).append(O).appendTo(b);else{if(b.css("width",""),p=N.stickToBottom&&A(),q=N.stickToRight&&B(),k=b.innerWidth()+ra!=P||b.outerHeight()!=Q,k&&(P=b.innerWidth()+ra,Q=b.innerHeight(),R.css({width:P+"px",height:Q+"px"})),!k&&sa==S&&O.outerHeight()==T)return void b.width(P);sa=S,O.css("width",""),b.width(P),R.find(">.jspVerticalBar,>.jspHorizontalBar").remove().end()}O.css("overflow","auto"),S=c.contentWidth?c.contentWidth:O[0].scrollWidth,T=O[0].scrollHeight,O.css("overflow",""),U=S/P,V=T/Q,W=V>1,X=U>1,X||W?(b.addClass("jspScrollable"),f=N.maintainPosition&&($||ba),f&&(h=y(),j=z()),e(),g(),i(),f&&(w(q?S-P:h,!1),v(p?T-Q:j,!1)),F(),C(),L(),N.enableKeyboardNavigation&&H(),N.clickOnTrack&&m(),J(),N.hijackInternalLinks&&K()):(b.removeClass("jspScrollable"),O.css({top:0,left:0,width:R.width()-ra}),D(),G(),I(),n()),N.autoReinitialise&&!pa?pa=setInterval(function(){d(N)},N.autoReinitialiseDelay):!N.autoReinitialise&&pa&&clearInterval(pa),l&&b.scrollTop(0)&&v(l,!1),o&&b.scrollLeft(0)&&w(o,!1),b.trigger("jsp-initialised",[X||W])}function e(){W&&(R.append(a('<div class="jspVerticalBar" />').append(a('<div class="jspCap jspCapTop" />'),a('<div class="jspTrack" />').append(a('<div class="jspDrag" />').append(a('<div class="jspDragTop" />'),a('<div class="jspDragBottom" />'))),a('<div class="jspCap jspCapBottom" />'))),ca=R.find(">.jspVerticalBar"),da=ca.find(">.jspTrack"),Y=da.find(">.jspDrag"),N.showArrows&&(ha=a('<a class="jspArrow jspArrowUp" />').bind("mousedown.jsp",k(0,-1)).bind("click.jsp",E),ia=a('<a class="jspArrow jspArrowDown" />').bind("mousedown.jsp",k(0,1)).bind("click.jsp",E),N.arrowScrollOnHover&&(ha.bind("mouseover.jsp",k(0,-1,ha)),ia.bind("mouseover.jsp",k(0,1,ia))),j(da,N.verticalArrowPositions,ha,ia)),fa=Q,R.find(">.jspVerticalBar>.jspCap:visible,>.jspVerticalBar>.jspArrow").each(function(){fa-=a(this).outerHeight()}),Y.hover(function(){Y.addClass("jspHover")},function(){Y.removeClass("jspHover")}).bind("mousedown.jsp",function(b){a("html").bind("dragstart.jsp selectstart.jsp",E),Y.addClass("jspActive");var c=b.pageY-Y.position().top;return a("html").bind("mousemove.jsp",function(a){p(a.pageY-c,!1)}).bind("mouseup.jsp mouseleave.jsp",o),!1}),f())}function f(){da.height(fa+"px"),$=0,ea=N.verticalGutter+da.outerWidth(),O.width(P-ea-ra);try{0===ca.position().left&&O.css("margin-left",ea+"px")}catch(a){}}function g(){X&&(R.append(a('<div class="jspHorizontalBar" />').append(a('<div class="jspCap jspCapLeft" />'),a('<div class="jspTrack" />').append(a('<div class="jspDrag" />').append(a('<div class="jspDragLeft" />'),a('<div class="jspDragRight" />'))),a('<div class="jspCap jspCapRight" />'))),ja=R.find(">.jspHorizontalBar"),ka=ja.find(">.jspTrack"),_=ka.find(">.jspDrag"),N.showArrows&&(na=a('<a class="jspArrow jspArrowLeft" />').bind("mousedown.jsp",k(-1,0)).bind("click.jsp",E),oa=a('<a class="jspArrow jspArrowRight" />').bind("mousedown.jsp",k(1,0)).bind("click.jsp",E),N.arrowScrollOnHover&&(na.bind("mouseover.jsp",k(-1,0,na)),oa.bind("mouseover.jsp",k(1,0,oa))),j(ka,N.horizontalArrowPositions,na,oa)),_.hover(function(){_.addClass("jspHover")},function(){_.removeClass("jspHover")}).bind("mousedown.jsp",function(b){a("html").bind("dragstart.jsp selectstart.jsp",E),_.addClass("jspActive");var c=b.pageX-_.position().left;return a("html").bind("mousemove.jsp",function(a){r(a.pageX-c,!1)}).bind("mouseup.jsp mouseleave.jsp",o),!1}),la=R.innerWidth(),h())}function h(){R.find(">.jspHorizontalBar>.jspCap:visible,>.jspHorizontalBar>.jspArrow").each(function(){la-=a(this).outerWidth()}),ka.width(la+"px"),ba=0}function i(){if(X&&W){var b=ka.outerHeight(),c=da.outerWidth();fa-=b,a(ja).find(">.jspCap:visible,>.jspArrow").each(function(){la+=a(this).outerWidth()}),la-=c,Q-=c,P-=b,ka.parent().append(a('<div class="jspCorner" />').css("width",b+"px")),f(),h()}X&&O.width(R.outerWidth()-ra+"px"),T=O.outerHeight(),V=T/Q,X&&(ma=Math.ceil(1/U*la),ma>N.horizontalDragMaxWidth?ma=N.horizontalDragMaxWidth:ma<N.horizontalDragMinWidth&&(ma=N.horizontalDragMinWidth),_.width(ma+"px"),aa=la-ma,s(ba)),W&&(ga=Math.ceil(1/V*fa),ga>N.verticalDragMaxHeight?ga=N.verticalDragMaxHeight:ga<N.verticalDragMinHeight&&(ga=N.verticalDragMinHeight),Y.height(ga+"px"),Z=fa-ga,q($))}function j(a,b,c,d){var e,f="before",g="after";"os"==b&&(b=/Mac/.test(navigator.platform)?"after":"split"),b==f?g=b:b==g&&(f=b,e=c,c=d,d=e),a[f](c)[g](d)}function k(a,b,c){return function(){return l(a,b,this,c),this.blur(),!1}}function l(b,c,d,e){d=a(d).addClass("jspActive");var f,g,h=!0,i=function(){0!==b&&ta.scrollByX(b*N.arrowButtonSpeed),0!==c&&ta.scrollByY(c*N.arrowButtonSpeed),g=setTimeout(i,h?N.initialDelay:N.arrowRepeatFreq),h=!1};i(),f=e?"mouseout.jsp":"mouseup.jsp",e=e||a("html"),e.bind(f,function(){d.removeClass("jspActive"),g&&clearTimeout(g),g=null,e.unbind(f)})}function m(){n(),W&&da.bind("mousedown.jsp",function(b){if(void 0===b.originalTarget||b.originalTarget==b.currentTarget){var c,d=a(this),e=d.offset(),f=b.pageY-e.top-$,g=!0,h=function(){var a=d.offset(),e=b.pageY-a.top-ga/2,j=Q*N.scrollPagePercent,k=Z*j/(T-Q);if(0>f)$-k>e?ta.scrollByY(-j):p(e);else{if(!(f>0))return void i();e>$+k?ta.scrollByY(j):p(e)}c=setTimeout(h,g?N.initialDelay:N.trackClickRepeatFreq),g=!1},i=function(){c&&clearTimeout(c),c=null,a(document).unbind("mouseup.jsp",i)};return h(),a(document).bind("mouseup.jsp",i),!1}}),X&&ka.bind("mousedown.jsp",function(b){if(void 0===b.originalTarget||b.originalTarget==b.currentTarget){var c,d=a(this),e=d.offset(),f=b.pageX-e.left-ba,g=!0,h=function(){var a=d.offset(),e=b.pageX-a.left-ma/2,j=P*N.scrollPagePercent,k=aa*j/(S-P);if(0>f)ba-k>e?ta.scrollByX(-j):r(e);else{if(!(f>0))return void i();e>ba+k?ta.scrollByX(j):r(e)}c=setTimeout(h,g?N.initialDelay:N.trackClickRepeatFreq),g=!1},i=function(){c&&clearTimeout(c),c=null,a(document).unbind("mouseup.jsp",i)};return h(),a(document).bind("mouseup.jsp",i),!1}})}function n(){ka&&ka.unbind("mousedown.jsp"),da&&da.unbind("mousedown.jsp")}function o(){a("html").unbind("dragstart.jsp selectstart.jsp mousemove.jsp mouseup.jsp mouseleave.jsp"),Y&&Y.removeClass("jspActive"),_&&_.removeClass("jspActive")}function p(a,b){W&&(0>a?a=0:a>Z&&(a=Z),void 0===b&&(b=N.animateScroll),b?ta.animate(Y,"top",a,q):(Y.css("top",a),q(a)))}function q(a){void 0===a&&(a=Y.position().top),R.scrollTop(0),$=a||0;var c=0===$,d=$==Z,e=a/Z,f=-e*(T-Q);(ua!=c||wa!=d)&&(ua=c,wa=d,b.trigger("jsp-arrow-change",[ua,wa,va,xa])),t(c,d),O.css("top",f),b.trigger("jsp-scroll-y",[-f,c,d]).trigger("scroll")}function r(a,b){X&&(0>a?a=0:a>aa&&(a=aa),void 0===b&&(b=N.animateScroll),b?ta.animate(_,"left",a,s):(_.css("left",a),s(a)))}function s(a){void 0===a&&(a=_.position().left),R.scrollTop(0),ba=a||0;var c=0===ba,d=ba==aa,e=a/aa,f=-e*(S-P);(va!=c||xa!=d)&&(va=c,xa=d,b.trigger("jsp-arrow-change",[ua,wa,va,xa])),u(c,d),O.css("left",f),b.trigger("jsp-scroll-x",[-f,c,d]).trigger("scroll")}function t(a,b){N.showArrows&&(ha[a?"addClass":"removeClass"]("jspDisabled"),ia[b?"addClass":"removeClass"]("jspDisabled"))}function u(a,b){N.showArrows&&(na[a?"addClass":"removeClass"]("jspDisabled"),oa[b?"addClass":"removeClass"]("jspDisabled"))}function v(a,b){var c=a/(T-Q);p(c*Z,b)}function w(a,b){var c=a/(S-P);r(c*aa,b)}function x(b,c,d){var e,f,g,h,i,j,k,l,m,n=0,o=0;try{e=a(b)}catch(p){return}for(f=e.outerHeight(),g=e.outerWidth(),R.scrollTop(0),R.scrollLeft(0);!e.is(".jspPane");)if(n+=e.position().top,o+=e.position().left,e=e.offsetParent(),/^body|html$/i.test(e[0].nodeName))return;h=z(),j=h+Q,h>n||c?l=n-N.horizontalGutter:n+f>j&&(l=n-Q+f+N.horizontalGutter),isNaN(l)||v(l,d),i=y(),k=i+P,i>o||c?m=o-N.horizontalGutter:o+g>k&&(m=o-P+g+N.horizontalGutter),isNaN(m)||w(m,d)}function y(){return-O.position().left}function z(){return-O.position().top}function A(){var a=T-Q;return a>20&&a-z()<10}function B(){var a=S-P;return a>20&&a-y()<10}function C(){R.unbind(za).bind(za,function(a,b,c,d){ba||(ba=0),$||($=0);var e=ba,f=$,g=a.deltaFactor||N.mouseWheelSpeed;return ta.scrollBy(c*g,-d*g,!1),e==ba&&f==$})}function D(){R.unbind(za)}function E(){return!1}function F(){O.find(":input,a").unbind("focus.jsp").bind("focus.jsp",function(a){x(a.target,!1)})}function G(){O.find(":input,a").unbind("focus.jsp")}function H(){function c(){var a=ba,b=$;switch(d){case 40:ta.scrollByY(N.keyboardSpeed,!1);break;case 38:ta.scrollByY(-N.keyboardSpeed,!1);break;case 34:case 32:ta.scrollByY(Q*N.scrollPagePercent,!1);break;case 33:ta.scrollByY(-Q*N.scrollPagePercent,!1);break;case 39:ta.scrollByX(N.keyboardSpeed,!1);break;case 37:ta.scrollByX(-N.keyboardSpeed,!1)}return e=a!=ba||b!=$}var d,e,f=[];X&&f.push(ja[0]),W&&f.push(ca[0]),O.bind("focus.jsp",function(){b.focus()}),b.attr("tabindex",0).unbind("keydown.jsp keypress.jsp").bind("keydown.jsp",function(b){if(b.target===this||f.length&&a(b.target).closest(f).length){var g=ba,h=$;switch(b.keyCode){case 40:case 38:case 34:case 32:case 33:case 39:case 37:d=b.keyCode,c();break;case 35:v(T-Q),d=null;break;case 36:v(0),d=null}return e=b.keyCode==d&&g!=ba||h!=$,!e}}).bind("keypress.jsp",function(a){return a.keyCode==d&&c(),!e}),N.hideFocus?(b.css("outline","none"),"hideFocus"in R[0]&&b.attr("hideFocus",!0)):(b.css("outline",""),"hideFocus"in R[0]&&b.attr("hideFocus",!1))}function I(){b.attr("tabindex","-1").removeAttr("tabindex").unbind("keydown.jsp keypress.jsp"),O.unbind(".jsp")}function J(){if(location.hash&&location.hash.length>1){var b,c,d=escape(location.hash.substr(1));try{b=a("#"+d+', a[name="'+d+'"]')}catch(e){return}b.length&&O.find(d)&&(0===R.scrollTop()?c=setInterval(function(){R.scrollTop()>0&&(x(b,!0),a(document).scrollTop(R.position().top),clearInterval(c))},50):(x(b,!0),a(document).scrollTop(R.position().top)))}}function K(){a(document.body).data("jspHijack")||(a(document.body).data("jspHijack",!0),a(document.body).delegate("a[href*=#]","click",function(b){var c,d,e,f,g,h,i=this.href.substr(0,this.href.indexOf("#")),j=location.href;if(-1!==location.href.indexOf("#")&&(j=location.href.substr(0,location.href.indexOf("#"))),i===j){c=escape(this.href.substr(this.href.indexOf("#")+1));try{d=a("#"+c+', a[name="'+c+'"]')}catch(k){return}d.length&&(e=d.closest(".jspScrollable"),f=e.data("jsp"),f.scrollToElement(d,!0),e[0].scrollIntoView&&(g=a(window).scrollTop(),h=d.offset().top,(g>h||h>g+a(window).height())&&e[0].scrollIntoView()),b.preventDefault())}}))}function L(){var a,b,c,d,e,f=!1;R.unbind("touchstart.jsp touchmove.jsp touchend.jsp click.jsp-touchclick").bind("touchstart.jsp",function(g){var h=g.originalEvent.touches[0];a=y(),b=z(),c=h.pageX,d=h.pageY,e=!1,f=!0}).bind("touchmove.jsp",function(g){if(f){var h=g.originalEvent.touches[0],i=ba,j=$;return ta.scrollTo(a+c-h.pageX,b+d-h.pageY),e=e||Math.abs(c-h.pageX)>5||Math.abs(d-h.pageY)>5,i==ba&&j==$}}).bind("touchend.jsp",function(a){f=!1}).bind("click.jsp-touchclick",function(a){return e?(e=!1,!1):void 0})}function M(){var a=z(),c=y();b.removeClass("jspScrollable").unbind(".jsp"),O.unbind(".jsp"),b.replaceWith(ya.append(O.children())),ya.scrollTop(a),ya.scrollLeft(c),pa&&clearInterval(pa)}var N,O,P,Q,R,S,T,U,V,W,X,Y,Z,$,_,aa,ba,ca,da,ea,fa,ga,ha,ia,ja,ka,la,ma,na,oa,pa,qa,ra,sa,ta=this,ua=!0,va=!0,wa=!1,xa=!1,ya=b.clone(!1,!1).empty(),za=a.fn.mwheelIntent?"mwheelIntent.jsp":"mousewheel.jsp";"border-box"===b.css("box-sizing")?(qa=0,ra=0):(qa=b.css("paddingTop")+" "+b.css("paddingRight")+" "+b.css("paddingBottom")+" "+b.css("paddingLeft"),ra=(parseInt(b.css("paddingLeft"),10)||0)+(parseInt(b.css("paddingRight"),10)||0)),a.extend(ta,{reinitialise:function(b){b=a.extend({},N,b),d(b)},scrollToElement:function(a,b,c){x(a,b,c)},scrollTo:function(a,b,c){w(a,c),v(b,c)},scrollToX:function(a,b){w(a,b)},scrollToY:function(a,b){v(a,b)},scrollToPercentX:function(a,b){w(a*(S-P),b)},scrollToPercentY:function(a,b){v(a*(T-Q),b)},scrollBy:function(a,b,c){ta.scrollByX(a,c),ta.scrollByY(b,c)},scrollByX:function(a,b){var c=y()+Math[0>a?"floor":"ceil"](a),d=c/(S-P);r(d*aa,b)},scrollByY:function(a,b){var c=z()+Math[0>a?"floor":"ceil"](a),d=c/(T-Q);p(d*Z,b)},positionDragX:function(a,b){r(a,b)},positionDragY:function(a,b){p(a,b)},animate:function(a,b,c,d){var e={};e[b]=c,a.animate(e,{duration:N.animateDuration,easing:N.animateEase,queue:!1,step:d})},getContentPositionX:function(){return y()},getContentPositionY:function(){return z()},getContentWidth:function(){return S},getContentHeight:function(){return T},getPercentScrolledX:function(){return y()/(S-P)},getPercentScrolledY:function(){return z()/(T-Q)},getIsScrollableH:function(){return X},getIsScrollableV:function(){return W},getContentPane:function(){return O},scrollToBottom:function(a){p(Z,a)},hijackInternalLinks:a.noop,destroy:function(){M()}}),d(c)}return b=a.extend({},a.fn.jScrollPane.defaults,b),a.each(["arrowButtonSpeed","trackClickSpeed","keyboardSpeed"],function(){b[this]=b[this]||b.speed}),this.each(function(){var d=a(this),e=d.data("jsp");e?e.reinitialise(b):(a("script",d).filter('[type="text/javascript"],:not([type])').remove(),e=new c(d,b),d.data("jsp",e))})},a.fn.jScrollPane.defaults={showArrows:!1,maintainPosition:!0,stickToBottom:!1,stickToRight:!1,clickOnTrack:!0,autoReinitialise:!1,autoReinitialiseDelay:500,verticalDragMinHeight:0,verticalDragMaxHeight:99999,horizontalDragMinWidth:0,horizontalDragMaxWidth:99999,contentWidth:void 0,animateScroll:!1,animateDuration:300,animateEase:"linear",hijackInternalLinks:!1,verticalGutter:4,horizontalGutter:4,mouseWheelSpeed:3,arrowButtonSpeed:0,arrowRepeatFreq:50,arrowScrollOnHover:!1,trackClickSpeed:0,trackClickRepeatFreq:70,verticalArrowPositions:"split",horizontalArrowPositions:"split",enableKeyboardNavigation:!0,hideFocus:!1,keyboardSpeed:0,initialDelay:300,speed:30,scrollPagePercent:.8}});
0 \ No newline at end of file 2 \ No newline at end of file
frontend/web/js/markerclusterer.js 0 → 100644
  1 +function d(a){return function(b){this[a]=b}}function f(a){return function(){return this[a]}}var h; function i(a,b,c){this.extend(i,google.maps.OverlayView);this.b=a;this.a=[];this.l=[];this.V=[36,36,36,36,36];this.j=[];this.v=false;c=c||{};this.f=c.gridSize||60;this.R=c.maxZoom||null;this.j=c.styles||[];this.Q=c.imagePath||this.J;this.P=c.imageExtension||this.I;this.W=c.zoomOnClick||true;l(this);this.setMap(a);this.D=this.b.getZoom();var e=this;google.maps.event.addListener(this.b,"zoom_changed",function(){var g=e.b.mapTypes[e.b.getMapTypeId()].maxZoom,k=e.b.getZoom();if(!(k<0||k>g))if(e.D!=k){e.D= e.b.getZoom();e.m()}});google.maps.event.addListener(this.b,"bounds_changed",function(){e.i()});b&&b.length&&this.z(b,false)}h=i.prototype;h.J="images/markers/clasters";h.I="png";h.extend=function(a,b){return function(c){for(property in c.prototype)this.prototype[property]=c.prototype[property];return this}.apply(a,[b])};h.onAdd=function(){if(!this.v){this.v=true;m(this)}};h.O=function(){};h.draw=function(){}; function l(a){for(var b=0,c;c=a.V[b];b++)a.j.push({url:a.Q+(b+1)+"."+a.P,height:c,width:c})}h=i.prototype;h.u=f("j");h.L=f("a");h.N=f("a");h.C=function(){return this.R||this.b.mapTypes[this.b.getMapTypeId()].maxZoom};h.A=function(a,b){for(var c=0,e=a.length,g=e;g!==0;){g=parseInt(g/10,10);c++}c=Math.min(c,b);return{text:e,index:c}};h.T=d("A");h.B=f("A");h.z=function(a,b){for(var c=0,e;e=a[c];c++)n(this,e);b||this.i()}; function n(a,b){b.setVisible(false);b.setMap(null);b.q=false;b.draggable&&google.maps.event.addListener(b,"dragend",function(){b.q=false;a.m();a.i()});a.a.push(b)}h=i.prototype;h.o=function(a,b){n(this,a);b||this.i()};h.S=function(a){var b=-1;if(this.a.indexOf)b=this.a.indexOf(a);else for(var c=0,e;e=this.a[c];c++)if(e==a)b=c;if(b==-1)return false;this.a.splice(b,1);a.setVisible(false);a.setMap(null);this.m();this.i();return true};h.M=function(){return this.l.length};h.getMap=f("b");h.setMap=d("b"); h.t=f("f");h.U=d("f");function o(a,b){var c=a.getProjection(),e=new google.maps.LatLng(b.getNorthEast().lat(),b.getNorthEast().lng()),g=new google.maps.LatLng(b.getSouthWest().lat(),b.getSouthWest().lng());e=c.fromLatLngToDivPixel(e);e.x+=a.f;e.y-=a.f;g=c.fromLatLngToDivPixel(g);g.x-=a.f;g.y+=a.f;e=c.fromDivPixelToLatLng(e);c=c.fromDivPixelToLatLng(g);b.extend(e);b.extend(c);return b}i.prototype.K=function(){this.m();this.a=[]}; i.prototype.m=function(){for(var a=0,b;b=this.l[a];a++)b.remove();for(a=0;b=this.a[a];a++){b.q=false;b.setMap(null);b.setVisible(false)}this.l=[]};i.prototype.i=function(){m(this)}; function m(a){if(a.v)for(var b=o(a,new google.maps.LatLngBounds(a.b.getBounds().getSouthWest(),a.b.getBounds().getNorthEast())),c=0,e;e=a.a[c];c++){var g=false;if(!e.q&&b.contains(e.getPosition())){for(var k=0,j;j=a.l[k];k++)if(!g&&j.getCenter()&&j.s.contains(e.getPosition())){g=true;j.o(e);break}if(!g){j=new p(a);j.o(e);a.l.push(j)}}}}function p(a){this.h=a;this.b=a.getMap();this.f=a.t();this.d=null;this.a=[];this.s=null;this.k=new q(this,a.u(),a.t())} p.prototype.o=function(a){var b;a:if(this.a.indexOf)b=this.a.indexOf(a)!=-1;else{b=0;for(var c;c=this.a[b];b++)if(c==a){b=true;break a}b=false}if(b)return false;if(!this.d){this.d=a.getPosition();r(this)}if(this.a.length==0){a.setMap(this.b);a.setVisible(true)}else if(this.a.length==1){this.a[0].setMap(null);this.a[0].setVisible(false)}a.q=true;this.a.push(a);if(this.b.getZoom()>this.h.C())for(a=0;b=this.a[a];a++){b.setMap(this.b);b.setVisible(true)}else if(this.a.length<2)s(this.k);else{a=this.h.u().length; b=this.h.B()(this.a,a);this.k.setCenter(this.d);a=this.k;a.w=b;a.ba=b.text;a.X=b.index;if(a.c)a.c.innerHTML=b.text;b=Math.max(0,a.w.index-1);b=Math.min(a.j.length-1,b);b=a.j[b];a.H=b.url;a.g=b.height;a.n=b.width;a.F=b.Z;a.anchor=b.Y;a.G=b.$;this.k.show()}return true};p.prototype.getBounds=function(){r(this);return this.s};p.prototype.remove=function(){this.k.remove();delete this.a};p.prototype.getCenter=f("d");function r(a){a.s=o(a.h,new google.maps.LatLngBounds(a.d,a.d))}p.prototype.getMap=f("b"); function q(a,b,c){a.h.extend(q,google.maps.OverlayView);this.j=b;this.aa=c||0;this.p=a;this.d=null;this.b=a.getMap();this.w=this.c=null;this.r=false;this.setMap(this.b)} q.prototype.onAdd=function(){this.c=document.createElement("DIV");if(this.r){this.c.style.cssText=t(this,u(this,this.d));this.c.innerHTML=this.w.text}this.getPanes().overlayImage.appendChild(this.c);var a=this;google.maps.event.addDomListener(this.c,"click",function(){var b=a.p.h;google.maps.event.trigger(b,"clusterclick",[a.p]);if(b.W){a.b.panTo(a.p.getCenter());a.b.fitBounds(a.p.getBounds())}})}; function u(a,b){var c=a.getProjection().fromLatLngToDivPixel(b);c.x-=parseInt(a.n/2,10);c.y-=parseInt(a.g/2,10);return c}q.prototype.draw=function(){if(this.r){var a=u(this,this.d);this.c.style.top=a.y+"px";this.c.style.left=a.x+"px"}};function s(a){if(a.c)a.c.style.display="none";a.r=false}q.prototype.show=function(){if(this.c){this.c.style.cssText=t(this,u(this,this.d));this.c.style.display=""}this.r=true};q.prototype.remove=function(){this.setMap(null)}; q.prototype.onRemove=function(){if(this.c&&this.c.parentNode){s(this);this.c.parentNode.removeChild(this.c);this.c=null}};q.prototype.setCenter=d("d"); function t(a,b){var c=[];document.all?c.push('filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale,src="'+a.H+'");'):c.push("background:url("+a.H+");");if(typeof a.e==="object"){typeof a.e[0]==="number"&&a.e[0]>0&&a.e[0]<a.g?c.push("height:"+(a.g-a.e[0])+"px; padding-top:"+a.e[0]+"px;"):c.push("height:"+a.g+"px; line-height:"+a.g+"px;");typeof a.e[1]==="number"&&a.e[1]>0&&a.e[1]<a.n?c.push("width:"+(a.n-a.e[1])+"px; padding-left:"+a.e[1]+"px;"):c.push("width:"+a.n+"px; text-align:center;")}else c.push("height:"+ a.g+"px; line-height:"+a.g+"px; width:"+a.n+"px; text-align:center;");c.push("cursor:pointer; top:"+b.y+"px; left:"+b.x+"px; color:"+(a.F?a.F:"#fff")+"; position:absolute; font-size:"+(a.G?a.G:12)+"px; font-family:Arial,sans-serif; font-weight:bold");return c.join("")}window.MarkerClusterer=i;i.prototype.addMarker=i.prototype.o;i.prototype.addMarkers=i.prototype.z;i.prototype.clearMarkers=i.prototype.K;i.prototype.getCalculator=i.prototype.B;i.prototype.getGridSize=i.prototype.t; i.prototype.getMap=i.prototype.getMap;i.prototype.getMarkers=i.prototype.L;i.prototype.getMaxZoom=i.prototype.C;i.prototype.getStyles=i.prototype.u;i.prototype.getTotalClusters=i.prototype.M;i.prototype.getTotalMarkers=i.prototype.N;i.prototype.redraw=i.prototype.i;i.prototype.removeMarker=i.prototype.S;i.prototype.resetViewport=i.prototype.m;i.prototype.setCalculator=i.prototype.T;i.prototype.setGridSize=i.prototype.U;i.prototype.onAdd=i.prototype.onAdd;i.prototype.draw=i.prototype.draw; i.prototype.idle=i.prototype.O;q.prototype.onAdd=q.prototype.onAdd;q.prototype.draw=q.prototype.draw;q.prototype.onRemove=q.prototype.onRemove;
0 \ No newline at end of file 2 \ No newline at end of file
frontend/web/js/myGallery_min.js 0 → 100644
  1 +$(document).ready(function(){function l(l){function i(){var l=$(".gallery-show-min img").length;$(".gallery-show-min").css({width:c*l-t})}function a(){var l=$(".gallery-show-big tr");$(".gallery-show-big tr").css({display:"none"}),$(l[s]).fadeIn(100);var i=$(l[s]).find("img"),a=i.attr("data-link");i.attr("src",a)}$(".gallery-show-wr .gallery-show-min, .gallery-show-wr .gallery-show-big").empty();var s=$(l).index();$(".gallery-show-min").css({marginLeft:0});for(var e=$(l).parent().find(".gallery-box-preview span"),r=$(l).parent().find(".gallery-box-big span"),g=0;g<e.length;g++){var n=$(e[g]).attr("data-link");$(".gallery-show-min").append('<img src="'+n+'"/>')}$(".gallery-show-min img:first-child").addClass("gallery-active-pic"),$(".gallery-show-min img:last-child").css({marginRight:0}),$(".gallery-show-min").append('<div class="border-gallery"></div>');for(var o=0;o<r.length;o++){var y=$(r[o]).attr("data-link");$(".gallery-show-big").append('<tr><td><img data-link="'+y+'"/></td></tr>')}var d=$(".gallery-show-big tr:first-child").find("img"),h=d.attr("data-link");d.attr("src",h);var p=m,f=$(window).height();$(".gallery-page");755>f&&($(".gallery-show-big-wrp, .gallery-show-big, .gallery-show-big tr td").css({height:f/p+"px"}),$(".gallery-show-big img").css({height:f/p+"px"})),i();var v=$(".gallery-show-min img");$(v).removeClass("gallery-active-pic"),$(v[s]).addClass("gallery-active-pic"),$(".border-gallery").css({left:c*s}),a(),0==s?$(".gallery-big-left").css({display:"none"}):$(".gallery-big-left").css({display:"block"})}function i(){var l=$(".gallery-show-min img"),i=$(".gallery-show-min img").length;n>=i?$(".gallery-min-left, .gallery-min-right, .copy-gallery-min-left, .copy-gallery-min-right").css({display:"none"}):($(".gallery-min-right, .copy-gallery-min-left, .copy-gallery-min-right").css({display:"block"}),$(".gallery-min-left").css({display:"none"})),$(".gallery-show-min img").on("click",function(){function a(){var l=$(".gallery-show-big tr");$(".gallery-show-big tr").css({display:"none"}),$(l[g]).fadeIn(100);var i=$(l[g]).find("img"),a=i.attr("data-link");i.attr("src",a)}var s=l,e=$(".gallery-show-min").offset().left;s=$(s[2]).offset().left-e,$(".gallery-show-min img").removeClass("gallery-active-pic"),$(this).addClass("gallery-active-pic");var r=$(".gallery-active-pic").offset().left-e,g=$(".gallery-active-pic").index(),t=i-(g+1);2>=g&&(a(),$(".border-gallery").css({left:r}),$(".gallery-show-min img").removeClass("act-list"),$(".gallery-show-min img:first-child").addClass("act-list"),$(".gallery-min-left").css({display:"none"})),2==g&&(a(),$(".gallery-show-min").stop().animate({marginLeft:-(r-s)},o),$(".gallery-show-min img").removeClass("act-list"),$(".gallery-show-min img:first-child").addClass("act-list")),n-1>=g&&(a(),$(".border-gallery").css({left:r}),g>3&&$(".gallery-show-min").stop().animate({marginLeft:-(r-s)},o)),g>=n-1&&($(".gallery-min-left").css({display:"block"}),i==n&&g==n-1&&($(".border-gallery").css({left:r}),$(".gallery-show-min").stop().animate({marginLeft:0},o)),0==t&&(a(),$(".border-gallery").css({left:r}),$(".gallery-show-min img").removeClass("act-list"),$(this).prev().prev().prev().prev().addClass("act-list"),setTimeout(function(){$(".gallery-min-right").css({display:"none"})},o)),1==t&&(a(),$(".gallery-show-min").stop().animate({marginLeft:-(r-s-c)},o,function(){$(".gallery-min-right").css({display:"none"})}),$(".border-gallery").css({left:r}),$(".gallery-show-min img").removeClass("act-list"),$(this).prev().prev().prev().addClass("act-list")),2==t&&(a(),$(".border-gallery").css({left:r}),$(".gallery-show-min").stop().animate({marginLeft:-(r-s)},o,function(){$(".gallery-min-right").css({display:"none"})}),$(".gallery-show-min img").removeClass("act-list"),$(this).prev().prev().addClass("act-list")),t>2&&(console.log(">2"),a(),$(".border-gallery").css({left:r}),$(".gallery-show-min").stop().animate({marginLeft:-(r-s)},o,function(){$(".gallery-min-right").css({display:"block"})}),$(".gallery-show-min img").removeClass("act-list"),$(this).prev().prev().addClass("act-list")),n>=i&&$(".gallery-min-left").css({display:"none"})),i>n&&t>2&&$(".gallery-min-right").css({display:"block"}),3==g&&($(".gallery-show-min img").removeClass("act-list"),$(this).prev().prev().addClass("act-list"),$(".gallery-show-min").stop().animate({marginLeft:-(r-s)},o),$(l[1]).click(function(){$(".gallery-show-min").stop().animate({marginLeft:0},o)}),n>=i?$(".gallery-show-min").stop().animate({marginLeft:0},o):$(".gallery-min-left").attr("style",'disply:"block"')),g>=1&&i-1>g&&$(".gallery-big-left, .gallery-big-right").css({display:"block"}),g==i-1&&$(".gallery-big-right").css({display:"none"}),0==g&&$(".gallery-big-left").css({display:"none"})})}function a(){var l=$(".gallery-show-min img");$(".gallery-show-min img").removeClass("act-list"),$(".gallery-show-min img:first-child").addClass("act-list"),$(".gallery-min-right").on("click",function(){var i=$(".act-list"),a=i.index()+1,s=$(".gallery-show-min img").length,e=s-a;if($(this).css("display","none"),e>=2*n-1&&($(".gallery-show-min img").removeClass("act-list"),$(l[a+(n-1)]).addClass("act-list"),$(".gallery-show-min").stop().animate({marginLeft:-((a+(n-1))*c)},o,function(){$(".gallery-min-right").css("display","block"),2*n>e&&$(".gallery-min-right").css("display","none")})),2*n-1>e){var r=s-(a+4);r=a+r-1,$(".gallery-show-min img").removeClass("act-list"),$(l[r]).addClass("act-list"),$(".gallery-show-min").stop().animate({marginLeft:-(r*c)},o,function(){})}a>0&&setTimeout(function(){$(".gallery-min-left").css({display:"block"})},o)})}function s(){var l=$(".gallery-show-min img");$(".gallery-show-min img").removeClass("act-list"),$(".gallery-show-min img:first-child").addClass("act-list"),$(".gallery-min-left").on("click",function(){var i=$(".act-list"),a=i.index()+1,s=a-1;s>0&&($(this).css("display","none"),n-1>=s&&($(".gallery-show-min img").removeClass("act-list"),$(".gallery-show-min img:first-child").addClass("act-list"),$(".gallery-show-min").stop().animate({marginLeft:0},o,function(){n+1>=a?$(".gallery-min-right").css({display:"block"}):$(".gallery-min-left").css("display","block")})),s>n-1&&($(".gallery-show-min img").removeClass("act-list"),$(l[a-(n+1)]).addClass("act-list"),$(".gallery-show-min").stop().animate({marginLeft:-((a-(n+1))*c)},o,function(){n+1>=a||($(".gallery-min-right").css("display","block"),$(".gallery-min-left").css("display","block"))})))})}function e(){var l=$(".gallery-show-min img").length,i=$(".gallery-show-min img"),a=3*c;$(".gallery-big-right").on("click",function(){function s(){var l=$(".gallery-show-big tr");$(".gallery-show-big tr").css({display:"none"}),$(l[g]).fadeIn(100);var i=$(l[g]).find("img"),a=i.attr("data-link");i.attr("src",a)}var e=$(".gallery-active-pic"),r=e.index()+1,g=r;2>=r&&($(".gallery-show-min img").removeClass("gallery-active-pic act-list"),$(i[r]).addClass("gallery-active-pic"),$(".gallery-show-min img:first-child").addClass("act-list"),$(".border-gallery").css({left:c*r}),s(),$(".gallery-show-min").stop().animate({marginLeft:0},o)),l-r>0&&r>2&&($(".gallery-show-min img").removeClass("gallery-active-pic act-list"),$(i[r]).addClass("gallery-active-pic"),$(i[r]).prev().prev().addClass("act-list"),s(),$(".border-gallery").css({left:c*r}),l-r>2&&$(".gallery-show-min").stop().animate({marginLeft:-(r*c-a+c)},o),r>=n-2&&r>l&&setTimeout(function(){$(".gallery-min-left").css({display:"block"})},o),r>=l-3&&$(".gallery-min-right").css({display:"none"}),r>=3&&l-4>=r&&$(".gallery-min-right").css({display:"block"})),r>=1&&($(".gallery-big-left").css({display:"block"}),l>n&&r>2&&$(".gallery-min-left").css({display:"block"})),r+1>=l&&$(".gallery-big-right").css({display:"none"})})}function r(){var l=$(".gallery-show-min img").length,i=$(".gallery-show-min img"),a=3*c;$(".gallery-big-left").on("click",function(){function s(){var l=$(".gallery-show-big tr");$(".gallery-show-big tr").css({display:"none"}),$(l[g]).fadeIn(100);var i=$(l[g]).find("img"),a=i.attr("data-link");i.attr("src",a)}var e=$(".gallery-active-pic"),r=e.index()-1,g=r;2>=r&&(r>0&&($(".gallery-show-min img").removeClass("gallery-active-pic act-list"),$(i[r]).addClass("gallery-active-pic"),$(".gallery-show-min img:first-child").addClass("act-list"),$(".border-gallery").css({left:c*r}),s(),$(".gallery-show-min").stop().animate({marginLeft:0},o)),0==r&&($(".gallery-show-min img").removeClass("gallery-active-pic act-list"),$(i[0]).addClass("gallery-active-pic"),$(".gallery-show-min img:first-child").addClass("act-list"),$(".border-gallery").css({left:c*r}),s())),3>r&&setTimeout(function(){$(".gallery-min-left").css({display:"none"})},o),l-r>0&&r>2&&($(".gallery-show-min img").removeClass("gallery-active-pic act-list"),$(i[r]).addClass("gallery-active-pic"),$(i[r]).prev().prev().addClass("act-list"),s(),$(".border-gallery").css({left:c*r}),l-r>2&&$(".gallery-show-min").stop().animate({marginLeft:-(r*c-a+c)},o),r>=3&&l-4>=r&&$(".gallery-min-right").css({display:"block"})),1>r&&$(".gallery-big-left").css({display:"none"}),l-2>=r&&$(".gallery-big-right").css({display:"block"})})}$("body").append('<div id="overlay"></div><div class="gallery-page"><div class="closed-form gallery-closed"></div> <div class="gallery-show-wr"><div class="gallery-show-big-wrp"><table align="center" class="gallery-show-big" width="840" height="560" cellpadding="0" cellspacing="0" border="0"></table><div class="gallery-big-left"></div><div class="gallery-big-right"></div> <div class="copy-gallery-big-left"></div> <div class="copy-gallery-big-right"></div></div><div class="galley-show-min-wrapper"><div class="gallery-show-min"></div></div><div class="gallery-min-left"></div><div class="gallery-min-right"></div><div class="copy-gallery-min-left"></div><div class="copy-gallery-min-right"></div></div></div>');var g=152,t=20,n=5,o=500,c=g+t,y=$(".gallery-page"),m=1.68;$(".gallery-box-min").click(function(g){g.preventDefault();var t=$(this).parent().find(".gallery-box-hidden");if($(t).hasClass("gallery-box-hidden")){var n=m,o=$(window).height(),c=$(".gallery-page");if(755>o)$("#overlay").fadeIn(400,function(){$(".gallery-page").css({display:"block",marginTop:-(y/2)}).animate({opacity:1,top:"50%"},200)}),c.css({height:o/n+148+"px",marginTop:-((o/n+148)/2)+"px"});else{var y=$(".gallery-show-big-wrp").height()+$(".galley-show-min-wrapper").height();$("#overlay").fadeIn(400,function(){$(".gallery-page").css({display:"block",marginTop:-(y/2)}).animate({opacity:1,top:"50%"},200)})}l(this),i(),$(".gallery-min-right").unbind("click"),$(".gallery-min-left").unbind("click"),$(".gallery-min-right").bind("click",a()),$(".gallery-min-left").bind("click",s()),$(".gallery-big-right").unbind("click"),$(".gallery-big-left").unbind("click"),$(".gallery-big-right").bind("click",e()),$(".gallery-big-left").bind("click",r())}}),$(".closed-form, #overlay").click(function(){$(".gallery-page").animate({opacity:0,top:255},200,function(){$(this).css("display","none"),$("#overlay").fadeOut(400)}),$(".gallery-big-left, .gallery-big-right").attr("style",""),$(".gallery-show-wr .gallery-show-min, .gallery-show-wr .gallery-show-big").empty()});var d=m;$(window).resize(function(){var l=$(window).height();755>l?($(".gallery-show-big-wrp, .gallery-show-big, .gallery-show-big tr td").css({height:l/d+"px"}),$(".gallery-show-big img").css({height:l/d+"px"}),y.css({height:l/d+148+"px",marginTop:-((l/d+148)/2)+"px"})):($(".gallery-show-big-wrp, .gallery-show-big, .gallery-show-big tr td, .gallery-show-big img").css({height:560}),y.css({height:710,marginTop:"-355px"}))})});
0 \ No newline at end of file 2 \ No newline at end of file
frontend/web/js/no-comprss/forms-nocompress.js 0 → 100644
  1 +$(document).ready(function(){
  2 + if($('.blog-buttons-add-favorite, .performance-vacancy-add-favorite a, .get-list, .main-menu-icons-copy, .blog-buttons-offer, .get-project, .main-menu-icons-home').length>0) {
  3 + var overlayLength = $('#overlay').length
  4 + $.post("forms-modal.html", function (data) {
  5 + if ( !overlayLength>0 ){
  6 + $("body").append('<div id="overlay"></div>');
  7 + }
  8 + $("body").append(data);
  9 + }).complete(function() {
  10 + $('.closed-form, #overlay').on('click', function(){
  11 + $('#modal_form_favorite, #modal_form_offer, #modal_form_question')
  12 + .animate({opacity: 0, top: '30%'}, 200,
  13 + function(){
  14 + $(this).css('display', 'none');
  15 + $('#overlay').fadeOut(400);
  16 + }
  17 + );
  18 + });
  19 + });
  20 + }
  21 +
  22 + addToFavorites();
  23 + addToOffer();
  24 + addCuestions();
  25 +
  26 + function addToFavorites(){
  27 + $('.blog-buttons-add-favorite, .performance-vacancy-add-favorite a, .get-list, .main-menu-icons-copy').click(function(e){
  28 + var newMarg = $(window).scrollTop();
  29 + e.preventDefault()
  30 + $('#overlay').fadeIn(400,
  31 + function(){
  32 + $('#modal_form_favorite')
  33 + .css({display:'block', marginTop:-230+newMarg})
  34 + .animate({opacity: 1, top: '50%'}, 200);
  35 + });
  36 + })
  37 + }
  38 +
  39 + function addToOffer(){
  40 + $('.blog-buttons-offer, .get-project, .main-menu-icons-home').click(function(e){
  41 + var newMarg = $(window).scrollTop();
  42 + e.preventDefault()
  43 + $('#overlay').fadeIn(400,
  44 + function(){
  45 + $('#modal_form_offer')
  46 + .css({display:'block', marginTop:-313+newMarg})
  47 + .animate({opacity: 1, top: '50%'}, 200);
  48 + });
  49 + })
  50 + }
  51 +
  52 + function addCuestions() {
  53 + $('.header-contacts-menu li:last-child').click(function(e){
  54 + var newMarg = $(window).scrollTop();
  55 + e.preventDefault()
  56 + $('#overlay').fadeIn(400,
  57 + function(){
  58 + $('#modal_form_question')
  59 + .css({display:'block', marginTop:-230+newMarg})
  60 + .animate({opacity: 1, top: '50%'}, 200);
  61 + });
  62 + })
  63 + }
  64 +});
0 \ No newline at end of file 65 \ No newline at end of file
frontend/web/js/no-comprss/jquery.rating-nocompress.js 0 → 100644
  1 +/** http://biznesguide.ru/coding/156.html*/
  2 +
  3 +;(function($){
  4 + $.rating = function(e, o){
  5 +
  6 + this.options = $.extend({
  7 + fx: 'float',
  8 + image: 'images/stars.png',
  9 + width: 15,
  10 + stars: 5,
  11 + minimal: 0,
  12 + titles: ['голос','голоса','голосов'],
  13 + readOnly: false,
  14 + url: '',
  15 + type: 'post',
  16 + loader: 'images/ajax-loader.gif',
  17 + click: function(){}
  18 + }, o || {});
  19 +
  20 + this.el = $(e);
  21 + this.left = 0;
  22 +
  23 + this.val = parseFloat($('.val',e).val()) || 0;
  24 +
  25 + if(this.val > this.options.stars) this.val = this.options.stars;
  26 + if(this.val < 0) this.val = 0;
  27 +
  28 + this.old = this.val;
  29 +
  30 + this.votes = parseInt($('.votes',e).val()) || '';
  31 + this.voteID = $('.vote-id',e).val() || '';
  32 +
  33 + this.vote_wrap = $('<div class="vote-wrap"></div>');
  34 + this.vote_block = $('<div class="vote-block"></div>');
  35 + this.vote_hover = $('<div class="vote-hover"></div>');
  36 + this.vote_stars = $('<div class="vote-stars"></div>');
  37 + this.vote_active = $('<div class="vote-active"></div>');
  38 + this.vote_result = $('<div class="vote-result"></div>');
  39 + this.vote_success = $('<div class="vote-success"></div>');
  40 + this.loader = $('<img src="'+this.options.loader+'" alt="load...">');
  41 +
  42 + this.init();
  43 + };
  44 +
  45 +
  46 + var $r = $.rating;
  47 +
  48 + $r.fn = $r.prototype = {
  49 + rating: '0.1'
  50 + };
  51 +
  52 + $r.fn.extend = $r.extend = $.extend;
  53 +
  54 + $r.fn.extend({
  55 +
  56 + init: function(){
  57 +
  58 + this.render();
  59 +
  60 + if(this.options.readOnly) return;
  61 +
  62 + var self = this, left = 0, width = 0;
  63 +
  64 + this.vote_hover.bind('mousemove mouseover',function(e){
  65 +
  66 + if(self.options.readOnly) return;
  67 +
  68 + var $this = $(this),
  69 + score = 0;
  70 +
  71 + left = e.clientX>0 ? e.clientX: e.pageX;
  72 + width = left - $this.offset().left - 2;
  73 +
  74 + var max = self.options.width*self.options.stars,
  75 + min = self.options.minimal*self.options.width;
  76 +
  77 + if(width > max) width = max;
  78 + if(width < min) width = min;
  79 +
  80 + score = Math.round( width/self.options.width * 10 ) / 10; //округляем до 1 знака после запятой
  81 +
  82 + if(self.options.fx == 'half'){
  83 + width = Math.ceil(width/self.options.width*2)*self.options.width/2;
  84 + }
  85 + else if(self.options.fx != 'float'){
  86 + width = Math.ceil(width/self.options.width) * self.options.width;
  87 + }
  88 +
  89 + score = Math.round( width/self.options.width * 10 ) / 10;
  90 +
  91 + self.vote_active.css({
  92 + 'width':width,
  93 + 'background-position':'0 15px'
  94 + });
  95 +
  96 + self.vote_success.html('Оценка: '+score + 'из 5');
  97 +
  98 + })
  99 + .bind('mouseout',function(){
  100 + if(self.options.readOnly) return;
  101 + self.reset();
  102 + self.vote_success.empty();
  103 + }).
  104 + bind('click.rating',function(){
  105 +
  106 + if(self.options.readOnly) return;
  107 +
  108 + var score = Math.round( width/self.options.width * 10 ) / 10;
  109 +
  110 + if(score > self.options.stars) score = self.options.stars;
  111 + if(score < 0) score = 0;
  112 +
  113 + self.old = self.val;
  114 + self.val = (self.val*self.votes +score)/(self.votes + 1);
  115 + self.val.toFixed(1);
  116 + self.vote_success.html('Ваша оценка: '+score);
  117 + if(self.options.url != ''){
  118 +
  119 + self.send(score);
  120 + }
  121 +
  122 + self.options.readOnly = true;
  123 + self.options.click.apply(this,[score]);
  124 + });
  125 +
  126 + },
  127 + set: function(){
  128 + this.vote_active.css({
  129 + 'width':this.val*this.options.width,
  130 + 'background-position':'0 15px'
  131 + });
  132 + },
  133 + reset: function(){
  134 + this.vote_active.css({
  135 + 'width':this.old*this.options.width,
  136 + 'background-position':'0 15px'
  137 + });
  138 + },
  139 + setvoters: function(){
  140 + this.vote_result.html(this.declOfNum(this.votes));
  141 + },
  142 + render: function(){
  143 +
  144 + this.el.html(this.vote_wrap.append(
  145 + this.vote_hover.css({
  146 + padding:'0 4px',
  147 + height:this.options.width,
  148 + width:this.options.width*this.options.stars
  149 + }),
  150 + this.vote_result.text(this.declOfNum(this.votes)),
  151 + this.vote_success
  152 + ));
  153 +
  154 +
  155 + this.vote_block.append(
  156 + this.vote_stars.css({
  157 + height:this.options.width,
  158 + width:this.options.width*this.options.stars,
  159 + background:"url('"+this.options.image+"') 0 0"
  160 + }),
  161 + this.vote_active.css({
  162 + height:this.options.width,
  163 + width:this.val*this.options.width,
  164 + background:"url('"+this.options.image+"') 0 15px"
  165 + })
  166 + ).appendTo(this.vote_hover);
  167 +
  168 + },
  169 + send: function(score){
  170 +
  171 + var self = this;
  172 + this.vote_result.html(this.loader);
  173 +
  174 + $.ajax({
  175 + url: self.options.url,
  176 + type: self.options.type,
  177 + data:{id:this.voteID,score:score},
  178 + dataType: 'json',
  179 + success: function(data){
  180 + if(data.status == 'OK') {
  181 + self.votes++;
  182 + self.set();
  183 + }
  184 + else{
  185 + self.reset();
  186 + }
  187 +
  188 + self.setvoters();
  189 +
  190 + if(data.msg)self.vote_success.html(data.msg);
  191 + }
  192 + });
  193 +
  194 + },
  195 + declOfNum: function(number){
  196 + if(number <= 0) return '';
  197 + number = Math.abs(Math.floor(number));
  198 + cases = [2, 0, 1, 1, 1, 2];
  199 + return number+' '+ this.options.titles[ (number%100>4 && number%100<20)? 2 : cases[(number%10<5)?number%10:5] ];
  200 + }
  201 + });
  202 +
  203 +
  204 + $.fn.rating = function(o){
  205 +
  206 + if (typeof o == 'string') {
  207 + var instance = $(this).data('rating'), args = Array.prototype.slice.call(arguments, 1);
  208 + return instance[o].apply(instance, args);
  209 + } else {
  210 + return this.each(function() {
  211 + var instance = $(this).data('rating');
  212 + if (instance) {
  213 + if (o) {
  214 + $.extend(instance.options, o);
  215 + }
  216 +
  217 + instance.init();
  218 +
  219 + } else {
  220 +
  221 + $(this).data('rating', new $r(this, o));
  222 + }
  223 + });
  224 + }
  225 + };
  226 +
  227 +})(jQuery);
0 \ No newline at end of file 228 \ No newline at end of file
frontend/web/js/no-comprss/myGallery.js 0 → 100644
  1 +$(document).ready(function(){
  2 + $('body').append('<div id="overlay"></div><div class="gallery-page"><div class="closed-form gallery-closed"></div> <div class="gallery-show-wr"><div class="gallery-show-big-wrp"><table align="center" class="gallery-show-big" width="840" height="560" cellpadding="0" cellspacing="0" border="0"></table><div class="gallery-big-left"></div><div class="gallery-big-right"></div> <div class="copy-gallery-big-left"></div> <div class="copy-gallery-big-right"></div></div><div class="galley-show-min-wrapper"><div class="gallery-show-min"></div></div><div class="gallery-min-left"></div><div class="gallery-min-right"></div><div class="copy-gallery-min-left"></div><div class="copy-gallery-min-right"></div></div></div>');
  3 +
  4 + var previewImgWidth = 152;
  5 + var previewImgMargin = 20;
  6 + var minPicLenght = 5;
  7 +
  8 + var timeAnimate = 500;
  9 + var newPrevScrl = previewImgWidth+previewImgMargin;
  10 + var gallery = $('.gallery-page');
  11 + var procent = 1.68;
  12 + $('.gallery-box-min').click(function(e){
  13 + e.preventDefault();
  14 + var galleryWindowShow = $(this).parent().find('.gallery-box-hidden');
  15 + if($(galleryWindowShow).hasClass('gallery-box-hidden')) {
  16 + var newHeight = procent;
  17 + var windH = $(window).height();
  18 + var gallery = $('.gallery-page');
  19 + if (windH<755){
  20 + $('#overlay').fadeIn(400,
  21 + function(){$('.gallery-page').css({display:'block', marginTop:-(gallShowHeight/2)}).animate({opacity: 1, top:'50%'}, 200);});
  22 + gallery.css({height:((windH/newHeight)+148)+'px', marginTop:-(((windH/newHeight)+148)/2)+'px'});
  23 + }
  24 + else {
  25 + var gallShowHeight = ($('.gallery-show-big-wrp').height())+($('.galley-show-min-wrapper').height());
  26 + $('#overlay').fadeIn(400,
  27 + function(){$('.gallery-page').css({display:'block', marginTop:-(gallShowHeight/2)}).animate({opacity: 1, top:'50%'}, 200);});
  28 + }
  29 +
  30 + addImgToModal(this);
  31 + clickSmallImg();
  32 + $('.gallery-min-right').unbind("click");
  33 + $('.gallery-min-left').unbind("click");
  34 + $('.gallery-min-right').bind("click", arrowNaviRight());
  35 + $('.gallery-min-left').bind("click", arrowNaviLeft());
  36 +
  37 + $('.gallery-big-right').unbind("click");
  38 + $('.gallery-big-left').unbind("click");
  39 + $('.gallery-big-right').bind("click", bigClickRight());
  40 + $('.gallery-big-left').bind("click", bigClickLeft());
  41 + }
  42 + });
  43 +
  44 + $('.closed-form, #overlay').click( function(){
  45 + $('.gallery-page')
  46 + .animate({opacity: 0, top: 255}, 200,
  47 + function(){
  48 + $(this).css('display', 'none');
  49 + $('#overlay').fadeOut(400);
  50 + }
  51 + );
  52 + $('.gallery-big-left, .gallery-big-right').attr('style','');
  53 + $('.gallery-show-wr .gallery-show-min, .gallery-show-wr .gallery-show-big').empty();
  54 + });
  55 + function addImgToModal(label){
  56 + $('.gallery-show-wr .gallery-show-min, .gallery-show-wr .gallery-show-big').empty();
  57 + var minClickIndex = $(label).index();
  58 + $('.gallery-show-min').css({marginLeft:0});
  59 + var previewImg = $(label).parent().find('.gallery-box-preview span');
  60 + var bigImg = $(label).parent().find('.gallery-box-big span');
  61 + for(var pi=0;pi<previewImg.length; pi++) {
  62 + var previewImgLink = $(previewImg[pi]).attr('data-link');
  63 + $('.gallery-show-min').append('<img src="'+previewImgLink+'"/>');
  64 + }
  65 + $('.gallery-show-min img:first-child').addClass('gallery-active-pic');
  66 + $('.gallery-show-min img:last-child').css({marginRight:0});
  67 + $('.gallery-show-min').append('<div class="border-gallery"></div>');
  68 +
  69 +
  70 + for (var px = 0; px< bigImg.length; px++) {
  71 + var bigImgLink = $(bigImg[px]).attr('data-link');
  72 + $('.gallery-show-big').append('<tr><td><img data-link="' + bigImgLink + '"/></td></tr>');
  73 + }
  74 + var bigImgFirstShow = $('.gallery-show-big tr:first-child').find('img');
  75 + var newBigImgFirstShow=bigImgFirstShow.attr('data-link');
  76 + bigImgFirstShow.attr('src',newBigImgFirstShow);
  77 +
  78 + var newHeight = procent;
  79 + var windH = $(window).height();
  80 + var gallery = $('.gallery-page');
  81 + if (windH<755){
  82 + $('.gallery-show-big-wrp, .gallery-show-big, .gallery-show-big tr td').css({height:(windH/newHeight)+'px'});
  83 + $('.gallery-show-big img').css({height:(windH/newHeight)+'px'});
  84 + }
  85 +
  86 + sizeMinBlock();
  87 + function sizeMinBlock(){
  88 + var sizeimmin = $('.gallery-show-min img').length;
  89 + $('.gallery-show-min').css({width:(newPrevScrl*sizeimmin)-previewImgMargin});
  90 + }
  91 +
  92 + var previewImgMin = $('.gallery-show-min img');
  93 + $(previewImgMin).removeClass('gallery-active-pic');
  94 + $(previewImgMin[minClickIndex]).addClass('gallery-active-pic');
  95 + $('.border-gallery').css({left:newPrevScrl*minClickIndex});
  96 +
  97 + function test(){
  98 + var indexBigImg = $('.gallery-show-big tr');
  99 + $('.gallery-show-big tr').css({display:'none'});
  100 +
  101 + $(indexBigImg[minClickIndex]).fadeIn(100);
  102 + var bigImgShow = $(indexBigImg[minClickIndex]).find('img');
  103 + var newBigImgShow=bigImgShow.attr('data-link');
  104 + bigImgShow.attr('src',newBigImgShow);
  105 + }
  106 + test()
  107 +
  108 + if(minClickIndex==0) {
  109 + $('.gallery-big-left').css({display:'none'})
  110 + }
  111 + else {$('.gallery-big-left').css({display:'block'})}
  112 + }
  113 +
  114 + function clickSmallImg(){
  115 + var img2 = $('.gallery-show-min img');
  116 +
  117 + var allMinImgLenght = $('.gallery-show-min img').length;
  118 +
  119 + if(allMinImgLenght<=minPicLenght){
  120 + $('.gallery-min-left, .gallery-min-right, .copy-gallery-min-left, .copy-gallery-min-right').css({display:'none'})
  121 + }
  122 + else {
  123 + $('.gallery-min-right, .copy-gallery-min-left, .copy-gallery-min-right').css({display:'block'})
  124 + $('.gallery-min-left').css({display:'none'})
  125 + }
  126 +
  127 + $('.gallery-show-min img').on('click', function(){
  128 + var img3 = img2;
  129 + var wrappOffset = $('.gallery-show-min').offset().left;
  130 + img3 = ($(img3[2]).offset().left)-wrappOffset;
  131 +
  132 + $('.gallery-show-min img').removeClass('gallery-active-pic');
  133 + $(this).addClass('gallery-active-pic');
  134 +
  135 + var offsetParent = ($('.gallery-active-pic').offset().left)-wrappOffset;
  136 + var smallImgIndex = $('.gallery-active-pic').index();
  137 + //console.log('---------/'+offsetParent)
  138 +
  139 + function test(){
  140 + var indexBigImg = $('.gallery-show-big tr');
  141 + $('.gallery-show-big tr').css({display:'none'});
  142 +
  143 + $(indexBigImg[smallImgIndex]).fadeIn(100);
  144 + var bigImgShow = $(indexBigImg[smallImgIndex]).find('img');
  145 + var newBigImgShow=bigImgShow.attr('data-link');
  146 + bigImgShow.attr('src',newBigImgShow);
  147 + }
  148 +
  149 + var lenghtLeft = allMinImgLenght-(smallImgIndex+1);
  150 + //console.log(lenghtLeft)
  151 +
  152 + if(smallImgIndex<=3-1) {
  153 + test();
  154 + $('.border-gallery').css({left:offsetParent});
  155 + $('.gallery-show-min img').removeClass('act-list');
  156 + $('.gallery-show-min img:first-child').addClass('act-list')
  157 + $('.gallery-min-left').css({display:'none'})
  158 + }
  159 + if(smallImgIndex==3-1){
  160 + test();
  161 + $('.gallery-show-min').stop().animate({marginLeft:-(offsetParent-img3)},timeAnimate)
  162 + $('.gallery-show-min img').removeClass('act-list');
  163 + $('.gallery-show-min img:first-child').addClass('act-list')
  164 + }
  165 +
  166 + if(smallImgIndex<=minPicLenght-1) {
  167 + test();
  168 + $('.border-gallery').css({left:offsetParent});
  169 + if(smallImgIndex>3) {
  170 + $('.gallery-show-min').stop().animate({marginLeft:-(offsetParent-img3)},timeAnimate)
  171 + }
  172 + }
  173 +
  174 + if(smallImgIndex>=minPicLenght-1) {
  175 + $('.gallery-min-left').css({display:'block'});
  176 + if(allMinImgLenght==minPicLenght){
  177 + if(smallImgIndex==minPicLenght-1){
  178 + $('.border-gallery').css({left:offsetParent});
  179 + $('.gallery-show-min').stop().animate({marginLeft:0},timeAnimate)
  180 + }
  181 + }
  182 + if(lenghtLeft==0) {
  183 + test();
  184 + $('.border-gallery').css({left:offsetParent});
  185 +
  186 + $('.gallery-show-min img').removeClass('act-list');
  187 + $(this).prev().prev().prev().prev().addClass('act-list')
  188 + setTimeout(function(){
  189 + $('.gallery-min-right').css({display:'none'})
  190 + },timeAnimate)
  191 + }
  192 + if( lenghtLeft==1) {
  193 + test();
  194 + $('.gallery-show-min').stop().animate({marginLeft:-((offsetParent-img3)-newPrevScrl)},timeAnimate, function(){
  195 + $('.gallery-min-right').css({display:'none'})
  196 +
  197 + })
  198 + $('.border-gallery').css({left:offsetParent});
  199 +
  200 + $('.gallery-show-min img').removeClass('act-list');
  201 + $(this).prev().prev().prev().addClass('act-list')
  202 + }
  203 + if (lenghtLeft==2) {
  204 + test();
  205 + $('.border-gallery').css({left:offsetParent});
  206 + $('.gallery-show-min').stop().animate({marginLeft:-(offsetParent-img3)},timeAnimate, function(){$('.gallery-min-right').css({display:'none'})})
  207 +
  208 + $('.gallery-show-min img').removeClass('act-list');
  209 + $(this).prev().prev().addClass('act-list')
  210 + }
  211 +
  212 + if (lenghtLeft>2) {
  213 + console.log('>2')
  214 + test();
  215 + $('.border-gallery').css({left:offsetParent});
  216 + $('.gallery-show-min').stop().animate({marginLeft:-(offsetParent-img3)},timeAnimate, function(){$('.gallery-min-right').css({display:'block'})})
  217 +
  218 + $('.gallery-show-min img').removeClass('act-list');
  219 + $(this).prev().prev().addClass('act-list')
  220 + }
  221 + if(allMinImgLenght<=minPicLenght) {
  222 + $('.gallery-min-left').css({display:'none'})
  223 + }
  224 + }
  225 +
  226 + if(allMinImgLenght>minPicLenght && lenghtLeft>2) {
  227 + $('.gallery-min-right').css({display:'block'})
  228 + }
  229 +
  230 + if(smallImgIndex==4-1){
  231 + $('.gallery-show-min img').removeClass('act-list');
  232 + $(this).prev().prev().addClass('act-list')
  233 + $('.gallery-show-min').stop().animate({marginLeft:-(offsetParent-img3)},timeAnimate)
  234 + $(img2[1]).click(function(){
  235 + $('.gallery-show-min').stop().animate({marginLeft:0},timeAnimate);
  236 + });
  237 + if (allMinImgLenght<=minPicLenght) {
  238 + $('.gallery-show-min').stop().animate({marginLeft:0},timeAnimate);
  239 + }
  240 + else {
  241 + $('.gallery-min-left').attr('style', 'disply:"block"');
  242 + }
  243 + }
  244 + if(smallImgIndex>=1 && smallImgIndex<allMinImgLenght-1){
  245 + $('.gallery-big-left, .gallery-big-right').css({display:'block'})
  246 +
  247 + }
  248 +
  249 + if(smallImgIndex==allMinImgLenght-1) {
  250 + $('.gallery-big-right').css({display:'none'})
  251 + }
  252 +
  253 + if(smallImgIndex==0) {
  254 + $('.gallery-big-left').css({display:'none'})
  255 + }
  256 + //console.log(smallImgIndex + " smallImgIndex / -" + allMinImgLenght)
  257 + });
  258 + }
  259 +
  260 + function arrowNaviRight(){
  261 + var minList = $('.gallery-show-min img');
  262 + $('.gallery-show-min img').removeClass('act-list');
  263 + $('.gallery-show-min img:first-child').addClass('act-list');
  264 +
  265 + $('.gallery-min-right').on('click', function(){
  266 + var actList = $('.act-list');
  267 + var actListIndex = actList.index()+1;
  268 + var newAllMinImgLenght = $('.gallery-show-min img').length;
  269 +
  270 + var howLeft = newAllMinImgLenght-actListIndex;
  271 + $(this).css('display','none');
  272 + if(howLeft>=(minPicLenght*2)-1) {
  273 + $('.gallery-show-min img').removeClass('act-list');
  274 + $(minList[actListIndex+(minPicLenght-1)]).addClass('act-list');
  275 + $('.gallery-show-min').stop().animate({marginLeft:-((actListIndex+(minPicLenght-1))*newPrevScrl)},timeAnimate, function(){
  276 + $('.gallery-min-right').css('display','block')
  277 + if (howLeft<(minPicLenght*2)) {
  278 + $('.gallery-min-right').css('display','none')
  279 + }
  280 + });
  281 + }
  282 + if (howLeft<(minPicLenght*2)-1) {
  283 + var newActlistIndex = newAllMinImgLenght-(actListIndex+4);
  284 + newActlistIndex = (actListIndex+newActlistIndex)-1;
  285 + $('.gallery-show-min img').removeClass('act-list');
  286 + $(minList[newActlistIndex]).addClass('act-list');
  287 + $('.gallery-show-min').stop().animate({marginLeft:-((newActlistIndex)*newPrevScrl)},timeAnimate, function(){
  288 + //$('.copy-gallery-min-right').css('display','none')
  289 + });
  290 + }
  291 +
  292 + if(actListIndex>0) {
  293 + setTimeout(function(){
  294 + $('.gallery-min-left').css({display:'block'})
  295 + },timeAnimate)
  296 + }
  297 + })
  298 + }
  299 +
  300 + function arrowNaviLeft(){
  301 + var minList = $('.gallery-show-min img');
  302 + $('.gallery-show-min img').removeClass('act-list');
  303 + $('.gallery-show-min img:first-child').addClass('act-list');
  304 +
  305 + $('.gallery-min-left').on('click', function(){
  306 + var actList = $('.act-list');
  307 + var actListIndex = actList.index()+1;
  308 + var howLeft = actListIndex-1;
  309 + if (howLeft>0) {
  310 + $(this).css('display','none');
  311 + if(howLeft<=minPicLenght-1) {
  312 + $('.gallery-show-min img').removeClass('act-list');
  313 + $('.gallery-show-min img:first-child').addClass('act-list');
  314 + $('.gallery-show-min').stop().animate({marginLeft:0},timeAnimate, function(){
  315 + if(actListIndex<=minPicLenght+1) {
  316 + //$('.copy-gallery-min-right').attr('style', '')
  317 + $('.gallery-min-right').css({display:'block'})
  318 + } else {
  319 + $('.gallery-min-left').css('display','block')}
  320 + });
  321 + }
  322 + if (howLeft>minPicLenght-1) {
  323 + $('.gallery-show-min img').removeClass('act-list');
  324 + $(minList[actListIndex-(minPicLenght+1)]).addClass('act-list');
  325 + $('.gallery-show-min').stop().animate({marginLeft:-((actListIndex-(minPicLenght+1))*newPrevScrl)},timeAnimate, function(){
  326 + if(actListIndex<=minPicLenght+1) {
  327 + //$('.copy-gallery-min-left').css({display:'none'})
  328 + } else {
  329 + $('.gallery-min-right').css('display','block')
  330 + $('.gallery-min-left').css('display','block')}
  331 + });
  332 + }
  333 + }
  334 + });
  335 + }
  336 +
  337 + function bigClickRight() {
  338 + var allMinImgLenght = $('.gallery-show-min img').length;
  339 + var img2 = $('.gallery-show-min img');
  340 + var img3 = newPrevScrl*3;
  341 + $('.gallery-big-right').on('click', function(){
  342 + var oneClick = $('.gallery-active-pic');
  343 + var oneClickIndex = oneClick.index()+1;
  344 + var smallImgIndex = oneClickIndex;
  345 + function test(){
  346 + var indexBigImg = $('.gallery-show-big tr');
  347 + $('.gallery-show-big tr').css({display:'none'});
  348 + $(indexBigImg[smallImgIndex]).fadeIn(100);
  349 + var bigImgShow = $(indexBigImg[smallImgIndex]).find('img');
  350 + var newBigImgShow=bigImgShow.attr('data-link');
  351 + bigImgShow.attr('src',newBigImgShow);
  352 + }
  353 + if(oneClickIndex<=3-1){
  354 + $('.gallery-show-min img').removeClass('gallery-active-pic act-list');
  355 + $(img2[oneClickIndex]).addClass('gallery-active-pic');
  356 + $('.gallery-show-min img:first-child').addClass('act-list')
  357 + $('.border-gallery').css({left:(newPrevScrl*oneClickIndex)});
  358 + test();
  359 + $('.gallery-show-min').stop().animate({marginLeft:0},timeAnimate)
  360 + }
  361 + if (allMinImgLenght-oneClickIndex>0 && oneClickIndex>3-1){
  362 + $('.gallery-show-min img').removeClass('gallery-active-pic act-list');
  363 + $(img2[oneClickIndex]).addClass('gallery-active-pic');
  364 + $(img2[oneClickIndex]).prev().prev().addClass('act-list');
  365 + test();
  366 + $('.border-gallery').css({left:(newPrevScrl*oneClickIndex)});
  367 + if(allMinImgLenght-oneClickIndex>2) {
  368 + $('.gallery-show-min').stop().animate({marginLeft:-((oneClickIndex*newPrevScrl)-img3+newPrevScrl)},timeAnimate)
  369 + }
  370 + if(oneClickIndex>=minPicLenght-2) {
  371 + if(oneClickIndex>allMinImgLenght) {
  372 + setTimeout(function(){
  373 + $('.gallery-min-left').css({display:'block'})
  374 + },timeAnimate)
  375 + }
  376 + }
  377 + if(oneClickIndex>=allMinImgLenght-3) {
  378 + $('.gallery-min-right').css({display:'none'})
  379 + }
  380 + if(oneClickIndex>=3 && oneClickIndex<=allMinImgLenght-4){
  381 + $('.gallery-min-right').css({display:'block'})
  382 + }
  383 + }
  384 + if(oneClickIndex>=1) {
  385 + $('.gallery-big-left').css({display:'block'})
  386 + if(allMinImgLenght>minPicLenght){
  387 + if(oneClickIndex>3-1){
  388 + $('.gallery-min-left').css({display:'block'})
  389 + }
  390 + }
  391 + }
  392 + if(oneClickIndex+1>=allMinImgLenght) {
  393 + $('.gallery-big-right').css({display:'none'})
  394 + }
  395 + })
  396 + }
  397 + function bigClickLeft() {
  398 + var allMinImgLenght = $('.gallery-show-min img').length;
  399 + var img2 = $('.gallery-show-min img');
  400 + var img3 = newPrevScrl*3;
  401 + $('.gallery-big-left').on('click', function(){
  402 + var oneClick = $('.gallery-active-pic');
  403 + var oneClickIndex = oneClick.index()-1;
  404 + var smallImgIndex = oneClickIndex;
  405 + function test(){
  406 + var indexBigImg = $('.gallery-show-big tr');
  407 + $('.gallery-show-big tr').css({display:'none'});
  408 + $(indexBigImg[smallImgIndex]).fadeIn(100);
  409 + var bigImgShow = $(indexBigImg[smallImgIndex]).find('img');
  410 + var newBigImgShow=bigImgShow.attr('data-link');
  411 + bigImgShow.attr('src',newBigImgShow);
  412 + }
  413 + if(oneClickIndex<=3-1){
  414 + if(oneClickIndex>0){
  415 + $('.gallery-show-min img').removeClass('gallery-active-pic act-list');
  416 + $(img2[oneClickIndex]).addClass('gallery-active-pic');
  417 + $('.gallery-show-min img:first-child').addClass('act-list')
  418 + $('.border-gallery').css({left:(newPrevScrl*oneClickIndex)});
  419 + test();
  420 + $('.gallery-show-min').stop().animate({marginLeft:0},timeAnimate)
  421 + }
  422 + if(oneClickIndex==0) {
  423 + $('.gallery-show-min img').removeClass('gallery-active-pic act-list');
  424 + $(img2[0]).addClass('gallery-active-pic');
  425 + $('.gallery-show-min img:first-child').addClass('act-list')
  426 + $('.border-gallery').css({left:(newPrevScrl*oneClickIndex)});
  427 + test()
  428 + }
  429 + }
  430 + if(oneClickIndex<3){
  431 + setTimeout(function(){
  432 + $('.gallery-min-left').css({display:'none'})
  433 + },timeAnimate)
  434 + }
  435 + if (allMinImgLenght-oneClickIndex>0 && oneClickIndex>3-1){
  436 + $('.gallery-show-min img').removeClass('gallery-active-pic act-list');
  437 + $(img2[oneClickIndex]).addClass('gallery-active-pic');
  438 + $(img2[oneClickIndex]).prev().prev().addClass('act-list');
  439 + test();
  440 + $('.border-gallery').css({left:(newPrevScrl*oneClickIndex)});
  441 + if(allMinImgLenght-oneClickIndex>2) {
  442 + $('.gallery-show-min').stop().animate({marginLeft:-((oneClickIndex*newPrevScrl)-img3+newPrevScrl)},timeAnimate)
  443 + }
  444 +
  445 + if(oneClickIndex>=3 && oneClickIndex<=allMinImgLenght-4){
  446 + $('.gallery-min-right').css({display:'block'})
  447 + }
  448 + }
  449 + if(oneClickIndex<1) {
  450 + $('.gallery-big-left').css({display:'none'})
  451 + }
  452 + if(oneClickIndex<=allMinImgLenght-2) {
  453 + $('.gallery-big-right').css({display:'block'})
  454 + }
  455 +
  456 + })
  457 + }
  458 + var newHeight = procent;
  459 + $(window).resize(function(){
  460 + var windowHeight = ($(window).height());
  461 + if (windowHeight<755){
  462 + $('.gallery-show-big-wrp, .gallery-show-big, .gallery-show-big tr td').css({height:(windowHeight/newHeight)+'px'})
  463 + $('.gallery-show-big img').css({height:(windowHeight/newHeight)+'px'})
  464 + gallery.css({height:((windowHeight/newHeight)+148)+'px', marginTop:-(((windowHeight/newHeight)+148)/2)+'px'})
  465 + }
  466 + else {
  467 + $('.gallery-show-big-wrp, .gallery-show-big, .gallery-show-big tr td, .gallery-show-big img').css({height:560})
  468 + gallery.css({height:710, marginTop:-(710/2)+'px'})
  469 + }
  470 + })
  471 +});
0 \ No newline at end of file 472 \ No newline at end of file
frontend/web/js/no-comprss/script-nocompress.js 0 → 100644
  1 +$(document).ready(function(){
  2 + var checkscroll = [];
  3 + for(var ch=0;ch<2;ch++) {
  4 + checkscroll[checkscroll.length] = false;
  5 + }
  6 + contentHeight();
  7 + resizeWindow();
  8 + scrolling();
  9 + menuBg();
  10 + projectAllMenu();
  11 + mapLoad();
  12 + federationHome();
  13 + validationForms();
  14 + menuContent();
  15 + jobClick();
  16 + box15Height();
  17 + formRezume();
  18 + fileVal();
  19 + newMenuMap();
  20 + seeAllComm();
  21 + gallerPage();
  22 + selectAfter();
  23 + tagPortfolio();
  24 + seeAllProfile();
  25 + featuresTags();
  26 + inputNumber();
  27 + videoFull();
  28 + function resizeWindow(){
  29 + $(window).resize(function(){
  30 + contentHeight();
  31 + });
  32 + }
  33 + function contentHeight(){
  34 + //прижимаем футер
  35 + var headerHeight = document.getElementsByClassName('section-box header');
  36 + var menuHeight = document.getElementsByClassName('section-box menu-header-all');
  37 + var contentHeight = document.getElementsByClassName('section-box content');
  38 + var footerHeight = document.getElementsByClassName('section-box footer');
  39 + $(contentHeight).css({minHeight:($(window).height())-($(footerHeight).height())-($(headerHeight).height())-($(menuHeight).height())});
  40 + }
  41 + function scrolling(){
  42 + //проверка браузера
  43 + var sUsrAg = navigator.userAgent;
  44 + if(sUsrAg.indexOf("Chrome") > -1) {
  45 + } else if (sUsrAg.indexOf("Safari") > -1) {
  46 + $('body').css({fontFamily:'arial'});
  47 + }
  48 + var _browser = navigator.userAgent;
  49 + _browser = _browser.indexOf("WebKit");
  50 + //scroll
  51 + var tempScrollTop = 0;
  52 + var currentScrollTop = 0;
  53 +
  54 + $(window).scroll(function(){
  55 + if (_browser>=0) {
  56 + currentScrollTop = $('body').scrollTop();
  57 + } else {
  58 + currentScrollTop = $('html').scrollTop();
  59 + }
  60 + if (tempScrollTop < currentScrollTop ){
  61 + if (currentScrollTop>=114) {
  62 + $('.menu-header-all').css({position:'fixed', zIndex:999});
  63 + $('.section-box.content').css({marginTop:41});
  64 + }
  65 +
  66 + if($('.section-box-6').hasClass('section-box-6')) {
  67 + if (currentScrollTop>offsetSect6 && !checkscroll[0]) {
  68 + checkscroll[0]=true;
  69 + landingAnimation();
  70 + }
  71 + }
  72 +
  73 + if($('.section-box-8').hasClass('section-box-8')) {
  74 + if (currentScrollTop>offsetSect8 && !checkscroll[1]) {
  75 + checkscroll[1]=true;
  76 + landingAnimationWhyWork();
  77 + }
  78 + if (currentScrollTop>(offsetSect8+300) && !checkscroll[2]) {
  79 + checkscroll[2]=true;
  80 + landingAnimationWhyWorkTwo();
  81 +
  82 + }
  83 + }
  84 + }
  85 +
  86 + else if (tempScrollTop > currentScrollTop ){
  87 + //console.log('вверх');
  88 + if (currentScrollTop<=114) {
  89 + $('.menu-header-all').css({position:'relative'});
  90 + $('.section-box.content').css({marginTop:0});
  91 + }
  92 +
  93 + }
  94 + tempScrollTop = currentScrollTop;
  95 + });
  96 + }
  97 +
  98 + function menuBg(){
  99 +
  100 + var heightUlTwoMenu = $('ul.content-menu-first').height();
  101 + $('.menu-two-wrapp').css({height:heightUlTwoMenu-1});
  102 +
  103 + $('ul.content-menu-first').hover(function(){
  104 +
  105 + },function(){
  106 + $('.content-menu-first li').css({backgroundColor:'#fff'});
  107 + });
  108 + $('.content-menu-first li').hover(function(){
  109 + var dataMenuBg = $(this).find('span').attr('data-menu-bg');
  110 +
  111 + $('.content-menu-first li').css({backgroundColor:'#fff'});
  112 + $('.content-menu-first li a').css({color:'#333333'});
  113 +
  114 + $(this).css({backgroundColor:dataMenuBg}).find('ul li').css({backgroundColor:dataMenuBg});
  115 + $('.content-menu-first li >ul li').mouseover(function(){
  116 + $(this).parent().parent().css({backgroundColor:dataMenuBg});
  117 + $('.content-menu-first li >ul li').css({backgroundColor:dataMenuBg});
  118 + $('.content-menu-first li >ul li').removeClass('hov-arrow');
  119 + $(this).addClass('hov-arrow');
  120 + })
  121 +
  122 + },function(){
  123 + $('.hov-arrow').removeClass('hov-arrow');
  124 + });
  125 + var thirdUlMenu = $('ul.content-menu-first li ul li ul');
  126 + thirdUlMenu.addClass('third-ul-menu');
  127 + if( thirdUlMenu.hasClass('third-ul-menu') ) {
  128 + thirdUlMenu.parent().find('a').addClass('remove-link');
  129 + $('.third-ul-menu li a').removeClass('remove-link');
  130 + $('.remove-link').parent().addClass('yes-after');
  131 +
  132 + var remLink = $('.remove-link');
  133 + for (var ixx=0;ixx<remLink.length;ixx++) {
  134 + $(remLink[ixx]).html($(remLink[ixx]).text()+'<div class="hack-arrow"></div>')
  135 + }
  136 + }
  137 +
  138 + $('ul.content-menu-first li ul li ul li ul').removeClass('third-ul-menu').addClass('last-ul-menu');
  139 + var lastUlMenu = $('ul.content-menu-first li ul li ul li ul');
  140 + if( lastUlMenu.hasClass('last-ul-menu') ) {
  141 + lastUlMenu.parent().find('a').addClass('remove-link-two');
  142 + $('.remove-link-two').parent().addClass('yes-after yes-after-two');
  143 +
  144 + var remLastLink = $('ul.content-menu-first li ul li ul li.yes-after-two ul');
  145 + remLastLink.find('li').removeClass('yes-after yes-after-two');
  146 + remLastLink.find('a').removeClass('.remove-link-two');
  147 +
  148 + var remLinkT = $('.remove-link-two');
  149 + $('.last-ul-menu .remove-link-two').removeClass('remove-link-two')
  150 + for (var ixx=0;ixx<remLinkT.length;ixx++) {
  151 + $(remLinkT[ixx]).html($(remLinkT[ixx]).text()+'<div class="hack-arrow"></div>')
  152 + $('.last-ul-menu .hack-arrow').removeClass('hack-arrow')
  153 + }
  154 + }
  155 +
  156 +
  157 + $('ul.last-ul-menu').find('a').removeClass('remove-link-two');
  158 + $('.remove-link, .remove-link-two').click(function(e){
  159 + e.preventDefault();
  160 + });
  161 +
  162 + $('ul.content-menu-first > li').hover(function(){
  163 + var dataImgThis = $(this).attr('data-img');
  164 + $('.menu-two-wrapp').css({backgroundImage:'url('+dataImgThis+')'})
  165 + });
  166 + }
  167 +
  168 + function newMenuMap(){
  169 + $('.company-performer-map-menu .content-menu-first>li>ul').addClass('content-menu-map-first');
  170 + $('.company-performer-map-menu .content-menu-first>li>ul>li').addClass('content-menu-map-second');
  171 + $('.company-performer-map-menu .content-menu-first>li').addClass('old-content-menu-map-zero');
  172 + $('.company-performer-map-menu .content-menu-map-first').parent().removeClass('old-content-menu-map-zero').addClass('content-menu-map-zero');
  173 + $('.company-performer-map-menu .content-menu-map-zero').click(function(e){
  174 + e.preventDefault();
  175 + });
  176 + $('.company-performer-map-menu .content-menu-map-second, .company-performer-map-menu .old-content-menu-map-zero').click(function(e){
  177 + e.preventDefault()
  178 + $.post("maps/maps.php", function (data) {
  179 + $("#map_cloud").empty();
  180 + $("#map_cloud").append(data);
  181 + initialize();
  182 + });
  183 + });
  184 + }
  185 +
  186 + function projectAllMenu() {
  187 + $('.all-project-home-title_menu li').click(function(){
  188 + $('.all-project-home-title_menu li').removeClass('project-home-active')
  189 + $(this).addClass('project-home-active')
  190 + })
  191 + }
  192 +
  193 + function mapLoad(){
  194 + $('.settings-map-ul ul li a').click(function (e) {
  195 + e.preventDefault();
  196 + $('.settings-map-ul ul li a').removeClass('active')
  197 + $(this).addClass('active')
  198 + $.post("maps/maps.php", function (data) {
  199 + $("#map_cloud").empty();
  200 + $("#map_cloud").append(data);
  201 + initialize();
  202 + });
  203 + });
  204 + }
  205 + mapLoadNewMenus()
  206 + function mapLoadNewMenus(){
  207 + $('.all-project-home-title_menu ul li').click(function () {
  208 + $.post("maps/maps.php", function (data) {
  209 + $("#map_cloud").empty();
  210 + $("#map_cloud").append(data);
  211 + initialize();
  212 + });
  213 + });
  214 + }
  215 +
  216 + function federationHome(){
  217 + var menu_width = 0;
  218 + $('.federation-home-list li').each(function(){ menu_width = menu_width + $(this).outerWidth()+9 });
  219 + $('.federation-home-list').css({width:menu_width});
  220 +
  221 + $('.federation-home-list li').click(function(){
  222 + $('.federation-home-list li').removeClass('federation-home-list-active')
  223 + $(this).addClass('federation-home-list-active')
  224 + var fedTisIndex = $(this).index()
  225 + var fedBlocks = $('.federation-home-blocks-wr-blocks')
  226 + $(fedBlocks).css({display:'none'})
  227 + $(fedBlocks[fedTisIndex]).css({display:'block'})
  228 + });
  229 + }
  230 +
  231 + if($('.section-box-6').hasClass('section-box-6')) {
  232 + var offsetSect6 = $('.section-box-6').offset().top;
  233 + offsetSect6 = offsetSect6-($(window).height()/2);
  234 + }
  235 + $('.lan_yo_buis_txt, .lan_yo_buis_img, .lan_yo_buis_arr').css({opacity:0})
  236 + function landingAnimation(){
  237 +
  238 + var animBlockLand = $('.landing-your-buisnes-blocks');
  239 + var animBlockLandArrow = $('.lan_yo_buis_arr');
  240 + $(animBlockLand[0]).css({transform:'rotateY(0deg)'}).find('.lan_yo_buis_img ').css({transition:'2s', opacity:1});
  241 + $(animBlockLand[0]).find('.lan_yo_buis_txt').css({transition:'2s', opacity:1});
  242 + setTimeout(function(){
  243 + $(animBlockLand[1]).css({transform:'rotateY(0deg)'}).find('.lan_yo_buis_img ').css({transition:'2s', opacity:1});
  244 + $(animBlockLand[1]).find('.lan_yo_buis_txt').css({transition:'2s', opacity:1});
  245 + },500)
  246 + setTimeout(function(){
  247 + $(animBlockLand[2]).css({transform:'rotateY(0deg)'}).find('.lan_yo_buis_img ').css({transition:'2s', opacity:1});
  248 + $(animBlockLand[2]).find('.lan_yo_buis_txt').css({transition:'2s', opacity:1});
  249 + },1000)
  250 + setTimeout(function(){
  251 + $(animBlockLand[5]).css({transform:'rotateY(0deg)'}).find('.lan_yo_buis_img ').css({transition:'2s', opacity:1});
  252 + $(animBlockLand[5]).find('.lan_yo_buis_txt').css({transition:'2s', opacity:1});
  253 + },1500)
  254 + setTimeout(function(){
  255 + $(animBlockLand[4]).css({transform:'rotateY(0deg)'}).find('.lan_yo_buis_img ').css({transition:'2s', opacity:1});
  256 + $(animBlockLand[4]).find('.lan_yo_buis_txt').css({transition:'2s', opacity:1});
  257 + },2000)
  258 + setTimeout(function(){
  259 + $(animBlockLand[3]).css({transform:'rotateY(0deg)'}).find('.lan_yo_buis_img ').css({transition:'2s', opacity:1});
  260 + $(animBlockLand[3]).find('.lan_yo_buis_txt').css({transition:'2s', opacity:1});
  261 + },2500)
  262 + setTimeout(function(){
  263 + $(animBlockLandArrow[0]).css({transition:'1s', opacity:1});
  264 + },300);
  265 + setTimeout(function(){
  266 + $(animBlockLandArrow[1]).css({transition:'1s', opacity:1});
  267 + },650);
  268 + setTimeout(function(){
  269 + $(animBlockLandArrow[4]).css({transition:'1s', opacity:1});
  270 + },1300);
  271 + setTimeout(function(){
  272 + $(animBlockLandArrow[2]).css({transition:'1s', opacity:1});
  273 + },1950);
  274 + setTimeout(function(){
  275 + $(animBlockLandArrow[3]).css({transition:'1s', opacity:1});
  276 + },2600);
  277 + }
  278 +
  279 + if($('.section-box-8').hasClass('section-box-8')) {
  280 + var offsetSect8 = $('.section-box-8').offset().top;
  281 + offsetSect8 = offsetSect8-(($(window).height())-264);
  282 + }
  283 + var whyWorkImg = $('.landing-work-our-img-text');
  284 + var whyWorkText = $('.landing-work-our-img p');
  285 + whyWorkImg.css({marginTop:155, opacity:0});
  286 + whyWorkText.css({display:'none'});
  287 +
  288 + function landingAnimationWhyWork(){
  289 + whyWorkImg.css({transition:'0.8s'});
  290 +
  291 + $(whyWorkImg[0]).css({marginTop:0, opacity:1});
  292 + $(whyWorkText[0]).delay(600).fadeIn(350);
  293 +
  294 + setTimeout(function(){
  295 + $(whyWorkImg[1]).css({marginTop:0, opacity:1});
  296 + $(whyWorkText[1]).delay(600).fadeIn(350)
  297 + },250);
  298 +
  299 + setTimeout(function(){
  300 + $(whyWorkImg[2]).css({marginTop:0, opacity:1});
  301 + $(whyWorkText[2]).delay(600).fadeIn(350)
  302 + },500);
  303 + }
  304 +
  305 + function landingAnimationWhyWorkTwo(){
  306 + $(whyWorkImg[3]).css({marginTop:0, opacity:1});
  307 + $(whyWorkText[3]).delay(600).fadeIn(350);
  308 +
  309 + setTimeout(function(){
  310 + $(whyWorkImg[4]).css({marginTop:0, opacity:1});
  311 + $(whyWorkText[4]).delay(600).fadeIn(350)
  312 + },250);
  313 +
  314 + setTimeout(function(){
  315 + $(whyWorkImg[5]).css({marginTop:0, opacity:1});
  316 + $(whyWorkText[5]).delay(600).fadeIn(350)
  317 + },500);
  318 + }
  319 +
  320 + function validationForms(){
  321 + var jVal_two = {
  322 +
  323 + 'comments' : function() {
  324 + var ele = $('#comments_two');
  325 + if(ele.val().length < 6) {
  326 + jVal_two.errors = true;
  327 + ele.removeClass('normal').addClass('wrong');
  328 + } else {
  329 + ele.removeClass('wrong').addClass('normal');
  330 + }
  331 + },
  332 + 'phone' : function (){
  333 + var ele = $('#phone_two');
  334 + var patt = /[0-9]/g;
  335 + if(!patt.test(ele.val())) {
  336 + jVal_two.errors = true;
  337 + ele.removeClass('normal').addClass('wrong');
  338 + } else {
  339 + ele.removeClass('wrong').addClass('normal');
  340 + }
  341 + },
  342 +
  343 + 'email' : function() {
  344 + var ele = $('#email_two');
  345 + var patt = /^.+@.+[.].{2,}$/i;
  346 + if(!patt.test(ele.val())) {
  347 + jVal_two.errors = true;
  348 + ele.removeClass('normal').addClass('wrong');
  349 + } else {
  350 + ele.removeClass('wrong').addClass('normal');
  351 + }
  352 + },
  353 +
  354 + 'sendIt' : function (){
  355 + if(!jVal_two.errors) {
  356 + $('.form-questions').submit();
  357 + }
  358 + }
  359 + };
  360 +// ====================================================== //
  361 + $('#send_two').click(function (){
  362 + var obj = $('body, html');
  363 + obj.animate({ scrollTop: $('.form-questions').offset().top-151 }, 750, function (){
  364 + jVal_two.errors = false;
  365 + jVal_two.comments();
  366 + jVal_two.phone();
  367 + jVal_two.email();
  368 + jVal_two.sendIt();
  369 + });
  370 + return false;
  371 + });
  372 +
  373 + $('#comments_two').focusout(function(){
  374 + jVal_two.comments();
  375 + });
  376 + $('#phone_two').focusout(function(){
  377 + jVal_two.phone();
  378 + });
  379 + $('#email_two').focusout(function(){
  380 + jVal_two.email();
  381 + });
  382 +
  383 + var jVal_cb = {
  384 +
  385 + 'cbName' : function() {
  386 + var ele = $('#callbac_name');
  387 + if(ele.val().length < 2) {
  388 + jVal_cb.errors = true;
  389 + ele.removeClass('normal').addClass('wrong');
  390 + } else {
  391 + ele.removeClass('wrong').addClass('normal');
  392 + }
  393 + },
  394 + 'cbPhone' : function (){
  395 + var ele = $('#callbac_phone');
  396 + var patt = /[0-9]/g;
  397 + if(!patt.test(ele.val())) {
  398 + jVal_cb.errors = true;
  399 + ele.removeClass('normal').addClass('wrong');
  400 + } else {
  401 + ele.removeClass('wrong').addClass('normal');
  402 + }
  403 + },
  404 + 'cbSendIt' : function (){
  405 + if(!jVal_cb.errors) {
  406 + $('.callback').submit();
  407 + }
  408 + }
  409 + };
  410 +// ====================================================== //
  411 + $('#callbac_submit').click(function (){
  412 + var obj = $('body, html');
  413 + obj.animate({ scrollTop: $('.callback').offset().top-151 }, 750, function (){
  414 + jVal_cb.errors = false;
  415 + jVal_cb.cbName();
  416 + jVal_cb.cbPhone();
  417 + jVal_cb.cbSendIt();
  418 + });
  419 + return false;
  420 + });
  421 + $('#callbac_name').focusout(function(){
  422 + jVal_cb.cbName();
  423 + });
  424 + $('#callbac_phone').focusout(function(){
  425 + jVal_cb.cbPhone();
  426 + });
  427 +
  428 + var jVal_res = {
  429 + 'resNsme' : function() {
  430 + var ele = $('#res_name');
  431 + if(ele.val().length < 2) {
  432 + jVal_res.errors = true;
  433 + ele.removeClass('normal').addClass('wrong');
  434 + } else {
  435 + ele.removeClass('wrong').addClass('normal');
  436 + }
  437 + },
  438 + 'resPhone' : function (){
  439 + var ele = $('#res_phone');
  440 + var patt = /[0-9]/g;
  441 + if(!patt.test(ele.val())) {
  442 + jVal_res.errors = true;
  443 + ele.removeClass('normal').addClass('wrong');
  444 + } else {
  445 + ele.removeClass('wrong').addClass('normal');
  446 + }
  447 + },
  448 + 'resComm' : function() {
  449 + var ele = $('#res_text');
  450 + if(ele.val().length < 6) {
  451 + jVal_res.errors = true;
  452 + ele.removeClass('normal').addClass('wrong');
  453 + } else {
  454 + ele.removeClass('wrong').addClass('normal');
  455 + }
  456 + },
  457 + 'resSendIt' : function (){
  458 + if(!jVal_res.errors) {
  459 + $('.resforms').submit();
  460 + }
  461 + }
  462 + };
  463 +// ====================================================== //
  464 + $('#res_submit').click(function (){
  465 + jVal_res.errors = false;
  466 + jVal_res.resNsme();
  467 + jVal_res.resPhone();
  468 + jVal_res.resComm();
  469 + jVal_res.resSendIt();
  470 + return false;
  471 + });
  472 +
  473 + $('#res_name').focusout(function(){
  474 + jVal_res.resNsme();
  475 + });
  476 + $('#res_phone').focusout(function(){
  477 + jVal_res.resPhone();
  478 + });
  479 + $('#res_text').focusout(function(){
  480 + jVal_res.resComm();
  481 + });
  482 + }
  483 +
  484 + function menuContent(){
  485 + $('.menu-content li a').click(function(e){
  486 + e.preventDefault()
  487 + $('.menu-content li').removeClass('active-menu-content')
  488 + $(this).parent().addClass('active-menu-content')
  489 + });
  490 + }
  491 +
  492 + function jobClick(){
  493 + $('.activejob a').click(function(e){
  494 + e.preventDefault();
  495 + $('.sidebar-droped-wr').toggleClass('act')
  496 + $('.performance-vacancy-sidebar-company-job>ul').addClass('active-dropped-ul')
  497 + if( !($('.sidebar-droped-wr').hasClass('act')) ) {
  498 + $('.performance-vacancy-sidebar-company-job>ul').removeClass('active-dropped-ul')
  499 + }
  500 + });
  501 +
  502 + $('.sidebar-droped-wr li').click(function(){
  503 + if( $('.sidebar-droped-wr').hasClass('act') ) {
  504 + $('.sidebar-droped-wr').removeClass('act')
  505 + }
  506 + $('.performance-vacancy-sidebar-company-job>ul').removeClass('active-dropped-ul')
  507 + $('.sidebar-droped-wr li').css({display:'block'})
  508 + $(this).css({display:'none'})
  509 + var thisTxtSidebar = $(this).text()
  510 + $('.activejob>a').text(thisTxtSidebar);
  511 + });
  512 + }
  513 + function box15Height(){
  514 + $('.section-box-15').css({minHeight:($('.performer-vacancy-sidebar-views ul').height()-50) })
  515 + $('.section-box-17').css({minHeight:($('.performer-vacancy-sidebar-left').height())-164 })
  516 + }
  517 +
  518 + function formRezume(){
  519 + $('.performance-vacancy-desc-form a').click(function(e){
  520 + e.preventDefault();
  521 + $('#overlay').fadeIn(400,
  522 + function(){
  523 + $('#modal_form')
  524 + .css('display', 'block')
  525 + .animate({opacity: 1, top: '50%'}, 200);
  526 + });
  527 + });
  528 +
  529 + $('.closed-form, #overlay').on('click', function(){
  530 + $('#modal_form')
  531 + .animate({opacity: 0, top: '30%'}, 200,
  532 + function(){
  533 + $(this).css('display', 'none');
  534 + $('#overlay').fadeOut(400);
  535 + }
  536 + );
  537 + });
  538 +
  539 + }
  540 + function fileVal(){
  541 + $('#res_file').change(function(){
  542 + var fileVal = $(this).val();
  543 + if(fileVal.indexOf('C:\\fakepath\\')+1)
  544 + fileVal = fileVal.substr(12);
  545 + var e = $(this).next().find('.fake_file_input');
  546 + e.val(t);
  547 + $('.res-wrapper-mb p').text(fileVal)
  548 + });
  549 + $('.label-file a').click(function(e){
  550 + e.preventDefault()
  551 + })
  552 + }
  553 + fileValMulti();
  554 + function fileValMulti(){
  555 + $('.tender-file-wr input[type="file"]').change(function(){
  556 + $('.max-size').css({marginTop:20})
  557 + })
  558 + if($('.tender-file-wr input[type="file"]').val==0) {
  559 + alert('fdg')
  560 + }
  561 + var txtMulti = $('.MultiFile-title').text()
  562 + console.log(txtMulti)
  563 + $('.tender-file-wr a').click(function(e){
  564 + e.preventDefault()
  565 + })
  566 + }
  567 + $('.tender-form-buttons-wr a').click(function(e){
  568 + e.preventDefault()
  569 + window.location.reload()
  570 + })
  571 +
  572 +
  573 + function seeAllComm(){
  574 + var comNum = $('.company-performer-comments-bl').length;
  575 + var strComm = document.getElementsByClassName('company-performer-comments-txt');
  576 + for(var azz=0; azz<comNum; azz++) {
  577 + var comLenght = ($(strComm[azz]).text().length);
  578 + if (comLenght<220) {
  579 + $(strComm[azz]).next().css({display:'none'})
  580 + }
  581 + }
  582 +
  583 + $('.company-comm-see-all').click(function(e){
  584 + e.preventDefault();
  585 + var expandFirst = $(this).prev();
  586 + expandFirst.toggleClass('auto-height-blog-post');
  587 + $(this).toggleClass('company-comm-expand');
  588 + var expand = 'Развернуть';
  589 + var rolUp = 'Свернуть';
  590 + var seeAllBlogSpan = $(this).find('span');
  591 + if(expandFirst.hasClass('auto-height-blog-post')) {
  592 + seeAllBlogSpan.text(rolUp);
  593 + } else {seeAllBlogSpan.text(expand)}
  594 + })
  595 + }
  596 +
  597 + function gallerPage() {
  598 + var galBlocks = $('.gallery-box');
  599 + for (var i = 1; i < galBlocks.length; i++) {
  600 + if (!(i % 4)) {
  601 + $(galBlocks[i - 1]).css({marginLeft: 34})
  602 + }
  603 + }
  604 + }
  605 + function selectAfter() {
  606 + $('.search-work-form select').after('<div class="select-after"></div>')
  607 + }
  608 +
  609 + function tagPortfolio(){
  610 + $('.portfolio-project-tags a').click(function(){
  611 + $('.portfolio-project-tags a').removeClass('active-tag')
  612 + $(this).addClass('active-tag')
  613 + })
  614 +
  615 + $('.portfolio-project-tags a.active-tag').click(function(e){
  616 + e.preventDefault();
  617 + })
  618 + }
  619 + function seeAllProfile() {
  620 + $('.proektant-profile-hidden-txt').css({height:306});
  621 + var txtLenght = $('.proektant-profile-hidden-txt p').text().length;
  622 +
  623 + var profileSee = $('.profile-see-all');
  624 + var expand = 'Развернуть';
  625 + var rolUp = 'Свернуть';
  626 + if(txtLenght>=1000) {
  627 + profileSee.text(expand).css({display:'block'})
  628 + profileSee.click(function(e){
  629 + e.preventDefault()
  630 + $(this).toggleClass('profile-txt-big');
  631 + if($(this).hasClass('profile-txt-big')) {
  632 + $(this).text(rolUp)
  633 + $('.proektant-profile-hidden-txt').css({height:'auto'})
  634 + } else {
  635 + $(this).text(expand);
  636 + $('.proektant-profile-hidden-txt').css({height:306})
  637 + }
  638 + })
  639 + }
  640 + }
  641 +
  642 + function featuresTags(){
  643 +
  644 + if($('.features-tags-profile').hasClass('features-tags-profile')) {
  645 + var replaceLast = $('.features-tags span:last-child').html()
  646 + var newReplaceLast = replaceLast.replace(/,(?![^,]*,)/m, '')
  647 + $('.features-tags span:last-child').empty().html(newReplaceLast)
  648 +
  649 + var featuresTags = $('.features-tags span')
  650 + var featuresTagsLangth = featuresTags.length
  651 + var featuresTagsLeft = featuresTagsLangth-6
  652 + featuresTagsDisplay()
  653 + function featuresTagsDisplay(){
  654 + for(var i = 6; i<=featuresTagsLangth+1; i++) {
  655 + $(featuresTags[i]).addClass('features-tags-display')
  656 + }
  657 + }
  658 + $(featuresTags[6]).after('<a href="#" class="features-tags-left">еще '+ featuresTagsLeft +'</a>')
  659 +
  660 + $('.features-tags-left').click(function(e){
  661 + e.preventDefault()
  662 + featuresTags.removeClass('features-tags-display')
  663 + $('.features-tags-left').remove()
  664 + })
  665 + }
  666 + if($('.features-tags-company').hasClass('features-tags-company')) {
  667 + var replaceLastTwo = $('.features-tags-company');
  668 +
  669 + for(var i=0; i<replaceLastTwo.length; i++) {
  670 + var repTwo = $(replaceLastTwo[i]).find('span:last-child').html()
  671 + $(replaceLastTwo[i]).find('span:last-child').empty().html(repTwo.replace(/,(?![^,]*,)/m, ''))
  672 + var repLenghtTwo = $(replaceLastTwo[i]).find('span')
  673 + var repLenghtLenTwo = repLenghtTwo.length
  674 + var repLenghtLeftTwo = repLenghtLenTwo-6
  675 +
  676 + $(repLenghtTwo[6-1]).after('<a href="#" class="features-tags-left">еще '+ repLenghtLeftTwo +'</a>')
  677 +
  678 + for(var iq = 6; iq<=repLenghtLenTwo+1; iq++) {
  679 + $(repLenghtTwo[iq]).addClass('features-tags-display')
  680 + }
  681 +
  682 + }
  683 +
  684 + $('.features-tags-left').click(function(e){
  685 + e.preventDefault()
  686 + var newClickTags = $(this).parent().parent().parent().parent();
  687 + newClickTags.find('.features-tags-left').remove();
  688 + newClickTags.find('.features-tags-display').removeClass('features-tags-display')
  689 + })
  690 + }
  691 + }
  692 +
  693 + function include(url) {
  694 + var script = document.createElement('script');
  695 + script.src = url;
  696 + document.getElementsByTagName('head')[0].appendChild(script);
  697 + }
  698 + include("js/forms.js");
  699 + include("js/jmousewhell.js");
  700 + include("js/jscroll.js");
  701 +
  702 + function inputNumber(){
  703 + $('.form-price-wr input').keypress(function(e) {
  704 + if (!(e.which==8 ||(e.which>47 && e.which<58))) return false;
  705 + });
  706 + }
  707 +
  708 + $('.min_markers li').click(function(){
  709 + $('.min_markers li').removeClass('active_m');
  710 + $(this).addClass('active_m');
  711 + $('.min_markers_two li').removeClass('active_m');
  712 + });
  713 + $('.min_markers_two li').click(function(){
  714 + $('.min_markers li').removeClass('active_m');
  715 + $('.min_markers_two li').removeClass('active_m');
  716 + $(this).addClass('active_m');
  717 + })
  718 +//подгрузка карты
  719 + $('.min_markers li, .min_markers_two li').click(function () {
  720 + $.post("maps/maps-all-markers.php", function (data) {
  721 + $("#map_cloud").empty();
  722 + $("#map_cloud").append(data);
  723 + initialize();
  724 + $('#demo5 ul').empty();
  725 + var slider_append = $('.slider_for_maps').children();
  726 + $('#demo5 ul').append(slider_append)
  727 + });
  728 + });
  729 + messagePage();
  730 + function messagePage(){
  731 + $(".input_file").change(function(){
  732 + var filename = $(".input_file").val().replace(/.+[\\\/]/, "");
  733 + if (filename == ""){var filename = "Максимальный размер файла 5 МБ";}
  734 + $(".input_file_text").text(filename);
  735 + });
  736 + if($('.comments_block').hasClass('comments_block')) {
  737 + $(function(){
  738 + $('.comments_block').jScrollPane({showArrows: true, scrollbarWidth: 20, arrowSize: 20});
  739 + });
  740 + }
  741 + }
  742 +
  743 + $('.main-menu').hover(function(){
  744 + $('select').blur()
  745 + })
  746 +
  747 + if($('.section-box-tender-tags-wr').hasClass('section-box-tender-tags-wr')) {
  748 + var lastTagTender = $('.section-box-tender-tags span')
  749 + var lastTagTenderLenght = lastTagTender.length
  750 + var lastTagTenderHtml = $(lastTagTender[lastTagTenderLenght-1]).html()
  751 + $(lastTagTender[lastTagTenderLenght-1]).empty().html(lastTagTenderHtml.replace(/,(?![^,]*,)/m, '.'))
  752 + }
  753 +
  754 + var jVal_res_f = {
  755 +
  756 + 'resComm' : function() {
  757 + var ele = $('#res_f_text');
  758 + if(ele.val().length < 2) {
  759 + jVal_res_f.errors = true;
  760 + ele.removeClass('normal').addClass('wrong');
  761 + } else {
  762 + ele.removeClass('wrong').addClass('normal');
  763 + }
  764 + },
  765 + 'resSendItF' : function (){
  766 + if(!jVal_res_f.errors) {
  767 + $('.resformsfile').submit();
  768 + }
  769 + }
  770 + };
  771 +// ====================================================== //
  772 + $('#res_f_submit').click(function (){
  773 + jVal_res_f.errors = false;
  774 + jVal_res_f.resComm();
  775 + jVal_res_f.resSendItF();
  776 + return false;
  777 + });
  778 + $('#res_f_submit2').click(function (){
  779 + jVal_res_f.errors = false;
  780 + jVal_res_f.resComm();
  781 + jVal_res_f.resSendItF();
  782 + return false;
  783 + });
  784 +
  785 + $('#res_f_text').focusout(function(){
  786 + jVal_res_f.resComm();
  787 + });
  788 +
  789 + var video_slider = $('.video-slider li').length;
  790 + $('.video-slider ul').css({width:(video_slider*220)-20})
  791 +
  792 + function videoFull(){
  793 + if($('.scroll-img').hasClass('video-slider')) {
  794 + $("body").append('<div class="video-full"></div>');
  795 + $('.video-slider ul li').click(function(e){
  796 + $('.video-full').append('<div class="closed-form"></div>')
  797 + e.preventDefault()
  798 + $('#overlay').fadeIn(400,
  799 + function(){
  800 + $('.video-full')
  801 + .css('display', 'block')
  802 + .animate({opacity: 1, top: '50%'}, 200);
  803 + });
  804 +
  805 + var thisIframe = $(this).find('.iframe-video').html();
  806 +
  807 + $('.video-full').append('<div class="video-full-iframe"></div>')
  808 + $('.video-full-iframe').append(thisIframe)
  809 + var iframeSrc = $('.video-full-iframe iframe').attr('src')
  810 + iframeSrc = iframeSrc.replace('showinfo=0','showinfo=1')
  811 + $('.video-full-iframe').empty()
  812 + $('.video-full-iframe').append('<iframe width="100%" height="100%" src="'+iframeSrc+'" frameborder="0" allowfullscreen></iframe>')
  813 +
  814 + $('.closed-form, #overlay').on('click', function(){
  815 + $('#overlay').fadeOut(400)
  816 + $('.video-full')
  817 + .animate({opacity: 0, top: '30%'}, 200,
  818 + function(){
  819 + $(this).css('display', 'none');
  820 + $(this).empty();
  821 + }
  822 + );
  823 + });
  824 + })
  825 + }
  826 + }
  827 +});
0 \ No newline at end of file 828 \ No newline at end of file
frontend/web/js/option.js deleted
1 -function readURL(input) {  
2 - $(input).parents('.tab-pane').find('.image_inputs_prev').remove();  
3 - var urls = [];  
4 - if (input.files) {  
5 - $.each(input.files, function(key, value) {  
6 - var reader = new FileReader();  
7 - reader.onload = function(e) {  
8 - $(input).parent().append('<img src="'+ e.target.result +'" width="100" class="image_inputs_prev" />');  
9 - }  
10 - reader.readAsDataURL(value);  
11 - });  
12 - }  
13 - return urls;  
14 -}  
15 -function checkboxerInit() {  
16 - $.each($('.checkboxer input[type=radio]:checked'), function(index, value) {  
17 - console.log(value);  
18 - $(value).trigger('change');  
19 - });  
20 -}  
21 -$(function() {  
22 - var counter = 0;  
23 - $(document).on('click', '.add_row', function() {  
24 - counter++;  
25 - var clone = $('#main_row').clone().html().replace(new RegExp("Option\\[0\\]", 'g'), "Option["+counter+"]");  
26 - console.log(form);  
27 - $(clone).appendTo('#'+form);  
28 - $('#'+form+' button[type=submit]').parent().appendTo('#'+form);  
29 - });  
30 - $(document).on('click', '.add_lang', function() {  
31 - var field_block = $(this).parent().parent();  
32 - if($(this).hasClass('active')) {  
33 - $(field_block).find('.main_input').attr('required', '').show();  
34 - $(field_block).find('.lang_inputs').hide();  
35 - $(this).removeClass('active');  
36 - } else {  
37 - $(field_block).find('.main_input').removeAttr('required').hide();  
38 - $(field_block).find('.lang_inputs').show();  
39 - $(this).addClass('active');  
40 - }  
41 - });  
42 - $(document).on('click', '.remove_lang', function() {  
43 - $(this).parents('.form-wrapper').remove();  
44 - });  
45 - $(document).on('change', '.image_inputs_field', function() {  
46 - readURL(this);  
47 - });  
48 - $('a.remove_image').on('click', function(e) {  
49 - var el = $(this);  
50 - e.preventDefault();  
51 - if(confirm(confirm_message)) {  
52 - $.ajax({  
53 - type: 'post',  
54 - url: $(this).attr('href'),  
55 - data: $(this).data('params')  
56 - }).done(function() {  
57 - $(el).parents('.additional_image_container').remove();  
58 - });  
59 - }  
60 - return false;  
61 - });  
62 - $.each($('.nav-tabs.f32'), function(key, value) {  
63 - if($(value).find('li').length > 1) {  
64 - $(value).find('li').append('<span class="glyphicon glyphicon-remove-circle remove-lang"></span>');  
65 - }  
66 - });  
67 - $(document).on('click', '.dropdown-menu.f32:not(.old) li a[data-lang]', function() {  
68 - var lang = $(this).data('lang');  
69 - var flag = $(this).find('span').first().clone();  
70 - var el = $(this);  
71 - var id = $(this).attr('href').substr(1);  
72 - var path = form[id].handler;  
73 - var view = form[id].view;  
74 - var model = form[id].model;  
75 - $.get(path, { language_id: lang, widget_id: id, ajaxView: view, model: model }, function(data) {  
76 - $('#'+id+'-tabs li').removeClass('active');  
77 - $('#'+id+'-tabs').append('<li role="lang_inputs" class="active" data-lang="'+lang+'"><a href="#'+id+'-'+lang+'" aria-controls="'+id+'-'+lang+'" role="tab" data-toggle="tab">'+$('<p>').append($(flag)).html()+'</a></li>');  
78 - $('#tab-content-'+id+' .tab-pane.active').removeClass('active');  
79 - $('#tab-content-'+id).append($(data).find('.ajax-loaded').first());  
80 - $('body').append($(data).filter('script'));  
81 - $(el).parent().remove();  
82 - if(!$('#lang-'+id+' li').length) {  
83 - $('#'+id+'Lang').addClass('disabled');  
84 - }  
85 - if($('#'+id+'-tabs li').length > 1) {  
86 - $('#'+id+'-tabs li').append('<span class="glyphicon glyphicon-remove-circle remove-lang"></span>')  
87 - }  
88 - });  
89 - });  
90 - $(document).on('click', '.dropdown-menu.f32.old li a[data-lang]', function() {  
91 - var lang = $(this).data('lang');  
92 - var flag = $(this).find('span').first().clone();  
93 - var el = $(this);  
94 - var id = $(this).attr('href').substr(1);  
95 - $.get(form[id], { language_id: lang, widget_id: id }, function(data) {  
96 - $('#'+id+'-tabs li').removeClass('active');  
97 - $('#'+id+'-tabs').append('<li role="lang_inputs" class="active" data-lang="'+lang+'"><a href="#'+id+'-'+lang+'" aria-controls="'+id+'-'+lang+'" role="tab" data-toggle="tab">'+$('<p>').append($(flag)).html()+'</a></li>');  
98 - $('#tab-content-'+id+' .tab-pane.active').removeClass('active');  
99 - $('#tab-content-'+id).append($(data).find('.ajax-loaded').first());  
100 - $('body').append($(data).filter('script'));  
101 - $(el).parent().remove();  
102 - if(!$('#lang-'+id+' li').length) {  
103 - $('#'+id+'Lang').addClass('disabled');  
104 - }  
105 - if($('#'+id+'-tabs li').length > 1) {  
106 - $('#'+id+'-tabs li').append('<span class="glyphicon glyphicon-remove-circle remove-lang"></span>')  
107 - }  
108 - });  
109 - });  
110 - $(document).on('click', '.remove-lang', function() {  
111 - var lang = $(this).parent().data('lang');  
112 - var flag = $(this).parent().find('span.flag').first().clone();  
113 - var id = $(this).parent().find('a[aria-controls]').first().attr('aria-controls').substr(0,8);  
114 - $('#'+id+'-'+lang).remove();  
115 - $('#lang-'+id).append('<li><a href="#'+id+'" data-lang="'+lang+'">'+$('<p>').append($(flag)).html()+'</a></li>');  
116 - $('#'+id+'Lang').removeClass('disabled');  
117 - $(this).parent().remove();  
118 - if($('#'+id+'-tabs li').length <= 1) {  
119 - $('#'+id+'-tabs li').find('.remove-lang').remove();  
120 - }  
121 - if(!$('#'+id+'-tabs>li.active').length) {  
122 - $('#'+id+'-tabs>li').first().find('a').tab('show');  
123 - }  
124 - });  
125 - $(document).on('change', '.checkboxer .checkboxer_label input[type=radio]', function() {  
126 - console.log($(this).val());  
127 - $(this).parents('.checkboxer').find('.checkboxer_container').removeClass('active');  
128 - $(this).parents('.checkboxer_container').addClass('active');  
129 - });  
130 - $.each($('.f32'), function(i, val) {  
131 - $(val).find('a[role=tab]').first().trigger('click');  
132 - });  
133 - checkboxerInit();  
134 -});  
135 \ No newline at end of file 0 \ No newline at end of file
frontend/web/js/script.js 0 → 100644
  1 +$(document).ready(function(){function e(){$(window).resize(function(){n()})}function n(){var e=document.getElementsByClassName("section-box header"),t=document.getElementsByClassName("section-box menu-header-all"),n=document.getElementsByClassName("section-box content"),s=document.getElementsByClassName("section-box footer");$(n).css({minHeight:$(window).height()-$(s).height()-$(e).height()-$(t).height()})}function s(){var e=navigator.userAgent;e.indexOf("Chrome")>-1||e.indexOf("Safari")>-1&&$("body").css({fontFamily:"arial"});var t=navigator.userAgent;t=t.indexOf("WebKit");var n=0,s=0;$(window).scroll(function(){s=t>=0?$("body").scrollTop():$("html").scrollTop(),s>n?(s>=114&&($(".menu-header-all").css({position:"fixed",zIndex:999}),$(".section-box.content").css({marginTop:41})),$(".section-box-6").hasClass("section-box-6")&&s>E&&!N[0]&&(N[0]=!0,m()),$(".section-box-8").hasClass("section-box-8")&&(s>P&&!N[1]&&(N[1]=!0,u()),s>P+300&&!N[2]&&(N[2]=!0,f()))):n>s&&114>=s&&($(".menu-header-all").css({position:"relative"}),$(".section-box.content").css({marginTop:0})),n=s})}function o(){var e=$("ul.content-menu-first").height();$(".menu-two-wrapp").css({height:e-1}),$("ul.content-menu-first").hover(function(){},function(){$(".content-menu-first li").css({backgroundColor:"#fff"})}),$(".content-menu-first li").hover(function(){var e=$(this).find("span").attr("data-menu-bg");$(".content-menu-first li").css({backgroundColor:"#fff"}),$(".content-menu-first li a").css({color:"#333333"}),$(this).css({backgroundColor:e}).find("ul li").css({backgroundColor:e}),$(".content-menu-first li >ul li").mouseover(function(){$(this).parent().parent().css({backgroundColor:e}),$(".content-menu-first li >ul li").css({backgroundColor:e}),$(".content-menu-first li >ul li").removeClass("hov-arrow"),$(this).addClass("hov-arrow")})},function(){$(".hov-arrow").removeClass("hov-arrow")});var t=$("ul.content-menu-first li ul li ul");if(t.addClass("third-ul-menu"),t.hasClass("third-ul-menu")){t.parent().find("a").addClass("remove-link"),$(".third-ul-menu li a").removeClass("remove-link"),$(".remove-link").parent().addClass("yes-after");for(var n=$(".remove-link"),s=0;s<n.length;s++)$(n[s]).html($(n[s]).text()+'<div class="hack-arrow"></div>')}$("ul.content-menu-first li ul li ul li ul").removeClass("third-ul-menu").addClass("last-ul-menu");var o=$("ul.content-menu-first li ul li ul li ul");if(o.hasClass("last-ul-menu")){o.parent().find("a").addClass("remove-link-two"),$(".remove-link-two").parent().addClass("yes-after yes-after-two");var a=$("ul.content-menu-first li ul li ul li.yes-after-two ul");a.find("li").removeClass("yes-after yes-after-two"),a.find("a").removeClass(".remove-link-two");var i=$(".remove-link-two");$(".last-ul-menu .remove-link-two").removeClass("remove-link-two");for(var s=0;s<i.length;s++)$(i[s]).html($(i[s]).text()+'<div class="hack-arrow"></div>'),$(".last-ul-menu .hack-arrow").removeClass("hack-arrow")}$("ul.last-ul-menu").find("a").removeClass("remove-link-two"),$(".remove-link, .remove-link-two").click(function(e){e.preventDefault()}),$("ul.content-menu-first > li").hover(function(){var e=$(this).attr("data-img");$(".menu-two-wrapp").css({backgroundImage:"url("+e+")"})})}function a(){$(".company-performer-map-menu .content-menu-first>li>ul").addClass("content-menu-map-first"),$(".company-performer-map-menu .content-menu-first>li>ul>li").addClass("content-menu-map-second"),$(".company-performer-map-menu .content-menu-first>li").addClass("old-content-menu-map-zero"),$(".company-performer-map-menu .content-menu-map-first").parent().removeClass("old-content-menu-map-zero").addClass("content-menu-map-zero"),$(".company-performer-map-menu .content-menu-map-zero").click(function(e){e.preventDefault()}),$(".company-performer-map-menu .content-menu-map-second, .company-performer-map-menu .old-content-menu-map-zero").click(function(e){e.preventDefault(),$.post("maps/maps.php",function(e){$("#map_cloud").empty(),$("#map_cloud").append(e),initialize()})})}function i(){$(".all-project-home-title_menu li").click(function(){$(".all-project-home-title_menu li").removeClass("project-home-active"),$(this).addClass("project-home-active")})}function r(){$(".settings-map-ul ul li a").click(function(e){e.preventDefault(),$(".settings-map-ul ul li a").removeClass("active"),$(this).addClass("active"),$.post("maps/maps.php",function(e){$("#map_cloud").empty(),$("#map_cloud").append(e),initialize()})})}function l(){$(".all-project-home-title_menu ul li").click(function(){$.post("maps/maps.php",function(e){$("#map_cloud").empty(),$("#map_cloud").append(e),initialize()})})}function c(){var e=0;$(".federation-home-list li").each(function(){e=e+$(this).outerWidth()+9}),$(".federation-home-list").css({width:e}),$(".federation-home-list li").click(function(){$(".federation-home-list li").removeClass("federation-home-list-active"),$(this).addClass("federation-home-list-active");var e=$(this).index(),t=$(".federation-home-blocks-wr-blocks");$(t).css({display:"none"}),$(t[e]).css({display:"block"})})}function m(){var e=$(".landing-your-buisnes-blocks"),t=$(".lan_yo_buis_arr");$(e[0]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[0]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1}),setTimeout(function(){$(e[1]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[1]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1})},500),setTimeout(function(){$(e[2]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[2]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1})},1e3),setTimeout(function(){$(e[5]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[5]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1})},1500),setTimeout(function(){$(e[4]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[4]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1})},2e3),setTimeout(function(){$(e[3]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[3]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1})},2500),setTimeout(function(){$(t[0]).css({transition:"1s",opacity:1})},300),setTimeout(function(){$(t[1]).css({transition:"1s",opacity:1})},650),setTimeout(function(){$(t[4]).css({transition:"1s",opacity:1})},1300),setTimeout(function(){$(t[2]).css({transition:"1s",opacity:1})},1950),setTimeout(function(){$(t[3]).css({transition:"1s",opacity:1})},2600)}function u(){B.css({transition:"0.8s"}),$(B[0]).css({marginTop:0,opacity:1}),$(O[0]).delay(600).fadeIn(350),setTimeout(function(){$(B[1]).css({marginTop:0,opacity:1}),$(O[1]).delay(600).fadeIn(350)},250),setTimeout(function(){$(B[2]).css({marginTop:0,opacity:1}),$(O[2]).delay(600).fadeIn(350)},500)}function f(){$(B[3]).css({marginTop:0,opacity:1}),$(O[3]).delay(600).fadeIn(350),setTimeout(function(){$(B[4]).css({marginTop:0,opacity:1}),$(O[4]).delay(600).fadeIn(350)},250),setTimeout(function(){$(B[5]).css({marginTop:0,opacity:1}),$(O[5]).delay(600).fadeIn(350)},500)}function d(){var e={comments:function(){var t=$("#comments_two");t.val().length<6?(e.errors=!0,t.removeClass("normal").addClass("wrong")):t.removeClass("wrong").addClass("normal")},phone:function(){var t=$("#phone_two"),n=/[0-9]/g;n.test(t.val())?t.removeClass("wrong").addClass("normal"):(e.errors=!0,t.removeClass("normal").addClass("wrong"))},email:function(){var t=$("#email_two"),n=/^.+@.+[.].{2,}$/i;n.test(t.val())?t.removeClass("wrong").addClass("normal"):(e.errors=!0,t.removeClass("normal").addClass("wrong"))},sendIt:function(){e.errors||$(".form-questions").submit()}};$("#send_two").click(function(){var t=$("body, html");return t.animate({scrollTop:$(".form-questions").offset().top-151},750,function(){e.errors=!1,e.comments(),e.phone(),e.email(),e.sendIt()}),!1}),$("#comments_two").focusout(function(){e.comments()}),$("#phone_two").focusout(function(){e.phone()}),$("#email_two").focusout(function(){e.email()});var t={cbName:function(){var e=$("#callbac_name");e.val().length<2?(t.errors=!0,e.removeClass("normal").addClass("wrong")):e.removeClass("wrong").addClass("normal")},cbPhone:function(){var e=$("#callbac_phone"),n=/[0-9]/g;n.test(e.val())?e.removeClass("wrong").addClass("normal"):(t.errors=!0,e.removeClass("normal").addClass("wrong"))},cbSendIt:function(){t.errors||$(".callback").submit()}};$("#callbac_submit").click(function(){var e=$("body, html");return e.animate({scrollTop:$(".callback").offset().top-151},750,function(){t.errors=!1,t.cbName(),t.cbPhone(),t.cbSendIt()}),!1}),$("#callbac_name").focusout(function(){t.cbName()}),$("#callbac_phone").focusout(function(){t.cbPhone()});var n={resNsme:function(){var e=$("#res_name");e.val().length<2?(n.errors=!0,e.removeClass("normal").addClass("wrong")):e.removeClass("wrong").addClass("normal")},resPhone:function(){var e=$("#res_phone"),t=/[0-9]/g;t.test(e.val())?e.removeClass("wrong").addClass("normal"):(n.errors=!0,e.removeClass("normal").addClass("wrong"))},resComm:function(){var e=$("#res_text");e.val().length<6?(n.errors=!0,e.removeClass("normal").addClass("wrong")):e.removeClass("wrong").addClass("normal")},resSendIt:function(){n.errors||$(".resforms").submit()}};$("#res_submit").click(function(){return n.errors=!1,n.resNsme(),n.resPhone(),n.resComm(),n.resSendIt(),!1}),$("#res_name").focusout(function(){n.resNsme()}),$("#res_phone").focusout(function(){n.resPhone()}),$("#res_text").focusout(function(){n.resComm()})}function p(){$(".menu-content li a").click(function(e){e.preventDefault(),$(".menu-content li").removeClass("active-menu-content"),$(this).parent().addClass("active-menu-content")})}function v(){$(".activejob a").click(function(e){e.preventDefault(),$(".sidebar-droped-wr").toggleClass("act"),$(".performance-vacancy-sidebar-company-job>ul").addClass("active-dropped-ul"),$(".sidebar-droped-wr").hasClass("act")||$(".performance-vacancy-sidebar-company-job>ul").removeClass("active-dropped-ul")}),$(".sidebar-droped-wr li").click(function(){$(".sidebar-droped-wr").hasClass("act")&&$(".sidebar-droped-wr").removeClass("act"),$(".performance-vacancy-sidebar-company-job>ul").removeClass("active-dropped-ul"),$(".sidebar-droped-wr li").css({display:"block"}),$(this).css({display:"none"});var e=$(this).text();$(".activejob>a").text(e)})}function h(){$(".section-box-15").css({minHeight:$(".performer-vacancy-sidebar-views ul").height()-50}),$(".section-box-17").css({minHeight:$(".performer-vacancy-sidebar-left").height()-164})}function g(){$(".performance-vacancy-desc-form a").click(function(e){e.preventDefault(),$("#overlay").fadeIn(400,function(){$("#modal_form").css("display","block").animate({opacity:1,top:"50%"},200)})}),$(".closed-form, #overlay").on("click",function(){$("#modal_form").animate({opacity:0,top:"30%"},200,function(){$(this).css("display","none"),$("#overlay").fadeOut(400)})})}function y(){$("#res_file").change(function(){var e=$(this).val();e.indexOf("C:\\fakepath\\")+1&&(e=e.substr(12));var n=$(this).next().find(".fake_file_input");n.val(t),$(".res-wrapper-mb p").text(e)}),$(".label-file a").click(function(e){e.preventDefault()})}function C(){$('.tender-file-wr input[type="file"]').change(function(){$(".max-size").css({marginTop:20})}),0==$('.tender-file-wr input[type="file"]').val&&alert("fdg");var e=$(".MultiFile-title").text();console.log(e),$(".tender-file-wr a").click(function(e){e.preventDefault()})}function _(){for(var e=$(".company-performer-comments-bl").length,t=document.getElementsByClassName("company-performer-comments-txt"),n=0;e>n;n++){var s=$(t[n]).text().length;220>s&&$(t[n]).next().css({display:"none"})}$(".company-comm-see-all").click(function(e){e.preventDefault();var t=$(this).prev();t.toggleClass("auto-height-blog-post"),$(this).toggleClass("company-comm-expand");var n="Развернуть",s="Свернуть",o=$(this).find("span");t.hasClass("auto-height-blog-post")?o.text(s):o.text(n)})}function b(){for(var e=$(".gallery-box"),t=1;t<e.length;t++)t%4||$(e[t-1]).css({marginLeft:34})}function w(){$(".search-work-form select").after('<div class="select-after"></div>')}function k(){$(".portfolio-project-tags a").click(function(){$(".portfolio-project-tags a").removeClass("active-tag"),$(this).addClass("active-tag")}),$(".portfolio-project-tags a.active-tag").click(function(e){e.preventDefault()})}function x(){$(".proektant-profile-hidden-txt").css({height:306});var e=$(".proektant-profile-hidden-txt p").text().length,t=$(".profile-see-all"),n="Развернуть",s="Свернуть";e>=1e3&&(t.text(n).css({display:"block"}),t.click(function(e){e.preventDefault(),$(this).toggleClass("profile-txt-big"),$(this).hasClass("profile-txt-big")?($(this).text(s),$(".proektant-profile-hidden-txt").css({height:"auto"})):($(this).text(n),$(".proektant-profile-hidden-txt").css({height:306}))}))}function T(){function e(){for(var e=6;o+1>=e;e++)$(s[e]).addClass("features-tags-display")}if($(".features-tags-profile").hasClass("features-tags-profile")){var t=$(".features-tags span:last-child").html(),n=t.replace(/,(?![^,]*,)/m,"");$(".features-tags span:last-child").empty().html(n);var s=$(".features-tags span"),o=s.length,a=o-6;e(),$(s[6]).after('<a href="#" class="features-tags-left">еще '+a+"</a>"),$(".features-tags-left").click(function(e){e.preventDefault(),s.removeClass("features-tags-display"),$(".features-tags-left").remove()})}if($(".features-tags-company").hasClass("features-tags-company")){for(var i=$(".features-tags-company"),r=0;r<i.length;r++){var l=$(i[r]).find("span:last-child").html();$(i[r]).find("span:last-child").empty().html(l.replace(/,(?![^,]*,)/m,""));var c=$(i[r]).find("span"),m=c.length,u=m-6;$(c[5]).after('<a href="#" class="features-tags-left">еще '+u+"</a>");for(var f=6;m+1>=f;f++)$(c[f]).addClass("features-tags-display")}$(".features-tags-left").click(function(e){e.preventDefault();var t=$(this).parent().parent().parent().parent();t.find(".features-tags-left").remove(),t.find(".features-tags-display").removeClass("features-tags-display")})}}function j(e){var t=document.createElement("script");t.src=e,document.getElementsByTagName("head")[0].appendChild(t)}function I(){$(".form-price-wr input").keypress(function(e){return 8==e.which||e.which>47&&e.which<58?void 0:!1})}function D(){$(".input_file").change(function(){var e=$(".input_file").val().replace(/.+[\\\/]/,"");if(""==e)var e="Максимальный размер файла 5 МБ";$(".input_file_text").text(e)}),$(".comments_block").hasClass("comments_block")&&$(function(){$(".comments_block").jScrollPane({showArrows:!0,scrollbarWidth:20,arrowSize:20})})}function z(){$(".scroll-img").hasClass("video-slider")&&($("body").append('<div class="video-full"></div>'),$(".video-slider ul li").click(function(e){$(".video-full").append('<div class="closed-form"></div>'),e.preventDefault(),$("#overlay").fadeIn(400,function(){$(".video-full").css("display","block").animate({opacity:1,top:"50%"},200)});var t=$(this).find(".iframe-video").html();$(".video-full").append('<div class="video-full-iframe"></div>'),$(".video-full-iframe").append(t);var n=$(".video-full-iframe iframe").attr("src");n=n.replace("showinfo=0","showinfo=1"),$(".video-full-iframe").empty(),$(".video-full-iframe").append('<iframe width="100%" height="100%" src="'+n+'" frameborder="0" allowfullscreen></iframe>'),$(".closed-form, #overlay").on("click",function(){$("#overlay").fadeOut(400),$(".video-full").animate({opacity:0,top:"30%"},200,function(){$(this).css("display","none"),$(this).empty()})})}))}for(var N=[],S=0;2>S;S++)N[N.length]=!1;if(n(),e(),s(),o(),i(),r(),c(),d(),p(),v(),h(),g(),y(),a(),_(),b(),w(),k(),x(),T(),I(),z(),l(),$(".section-box-6").hasClass("section-box-6")){var E=$(".section-box-6").offset().top;E-=$(window).height()/2}if($(".lan_yo_buis_txt, .lan_yo_buis_img, .lan_yo_buis_arr").css({opacity:0}),$(".section-box-8").hasClass("section-box-8")){var P=$(".section-box-8").offset().top;P-=$(window).height()-264}var B=$(".landing-work-our-img-text"),O=$(".landing-work-our-img p");if(B.css({marginTop:155,opacity:0}),O.css({display:"none"}),C(),$(".tender-form-buttons-wr a").click(function(e){e.preventDefault(),window.location.reload()}),j("js/forms.js"),j("js/jmousewhell.js"),j("js/jscroll.js"),$(".min_markers li").click(function(){$(".min_markers li").removeClass("active_m"),$(this).addClass("active_m"),$(".min_markers_two li").removeClass("active_m")}),$(".min_markers_two li").click(function(){$(".min_markers li").removeClass("active_m"),$(".min_markers_two li").removeClass("active_m"),$(this).addClass("active_m")}),$(".min_markers li, .min_markers_two li").click(function(){$.post("maps/maps-all-markers.php",function(e){$("#map_cloud").empty(),$("#map_cloud").append(e),initialize(),$("#demo5 ul").empty();var t=$(".slider_for_maps").children();$("#demo5 ul").append(t)})}),D(),$(".main-menu").hover(function(){$("select").blur()}),$(".section-box-tender-tags-wr").hasClass("section-box-tender-tags-wr")){var Y=$(".section-box-tender-tags span"),F=Y.length,A=$(Y[F-1]).html();$(Y[F-1]).empty().html(A.replace(/,(?![^,]*,)/m,"."))}var H={resComm:function(){var e=$("#res_f_text");e.val().length<2?(H.errors=!0,e.removeClass("normal").addClass("wrong")):e.removeClass("wrong").addClass("normal")},resSendItF:function(){H.errors||$(".resformsfile").submit()}};$("#res_f_submit").click(function(){return H.errors=!1,H.resComm(),H.resSendItF(),!1}),$("#res_f_submit2").click(function(){return H.errors=!1,H.resComm(),H.resSendItF(),!1}),$("#res_f_text").focusout(function(){H.resComm()});var W=$(".video-slider li").length;$(".video-slider ul").css({width:220*W-20})});
0 \ No newline at end of file 2 \ No newline at end of file
frontend/web/js/slider.js 0 → 100644
  1 +$(document).ready(function(){function i(){function i(){var i=$(".active_slide").attr("data-id");if(i-=1,-1==i)$(".slider-navi-circle li").removeClass("active-circle"),$(".slider-navi-circle li:first-child").addClass("active-circle");else{var e=$(".slider-navi-circle li")[i];$(".slider-navi-circle li").removeClass("active-circle"),$(e).addClass("active-circle")}}function l(){if(m)return!1;m=!0;var l=$(".slider_timer .active_slide").next();$(".slider_timer .active_slide").removeClass("active_slide"),l.addClass("active_slide");var s=$(".slider_timer .slide_t").index($(".active_slide"));-1==s&&($(".slide_t").removeClass("active_slide"),e.addClass("active_slide"));var t=c-1;if(s==t)_=d*(c-1),$(".slider_timer").animate({marginLeft:-_},a,function(){$(this).css({marginLeft:0}),$(".slider_timer, .slide-clone").removeClass("active_slide"),$(".slide_t:first-child").addClass("active_slide")});else{var r=d*s;$(".slider_timer").animate({marginLeft:-r},a)}i(),setTimeout(function(){m=!1},a)}function s(){if(m)return!1;m=!0;var e=$(".slider_timer .slide_t").index($(".active_slide"));if(0==e){$(".slide_t").removeClass("active_slide"),$(".slide_t:last-child").prev().addClass("active_slide");var l=d*(c-1),s=d*(c-2);$(".slider_timer").css({marginLeft:-l}),$(".slider_timer").animate({marginLeft:-s},a)}else{var t=$(".slider_timer").find(".active_slide");$(".active_slide").prev().addClass("active_slide"),t.removeClass("active_slide");var r=d*(e-1);$(".slider_timer").animate({marginLeft:-r},a)}i(),setTimeout(function(){m=!1},a)}function t(){var i=setInterval(function(){l()},r);$(".landing-slider-comments-wr").hover(function(){clearInterval(i)},function(){i=setInterval(function(){l()},r)})}var a=550,r=4e3,d=$(".slider-wrapper").width(),c=$(".slider_timer .slide_t").length;$(".slide_t").css({width:d});for(var n=1;c>n;n++)$(".slide_t").attr("data-id",function(){return+n++}),$(".slide-clone").attr("data-id","0");$(".slider_timer").css({width:d*c}),$(".slider-navi-circle").append("<ul></ul>");for(var v=1;c>v;v++)$(".slider-navi-circle ul").append('<li class="nav-circle" data-id="'+v+'"></li>');$(".slider-navi-circle li:first-child").addClass("active-circle");var _=0,m=!1;$(".slider-navi-circle li").click(function(){if(m)return!1;m=!0,$(".slider-navi-circle li").removeClass("active-circle"),$(this).addClass("active-circle");var i=($(".slider-navi-circle ul li").index($(".active-circle")),$(this).attr("data-id")),e=i-1;$(".slide_t").removeClass("active_slide");var l=$(".slide_t")[e];$(l).addClass("active_slide");var s=$(".slider_timer .slide_t").index($(".active_slide")),t=d*s;$(".slider_timer").animate({marginLeft:-t},a),setTimeout(function(){m=!1},a)}),$(".next-slide").click(function(i){i.preventDefault(),l()}),$(".prev-slide").click(function(i){i.preventDefault(),s()}),t()}$(".slide_t:first-child").clone().appendTo(".slider_timer").addClass("slide-clone");var e=$(".slide_t:first-child").addClass("active_slide");i()});
0 \ No newline at end of file 2 \ No newline at end of file