| 1 |
/* Magnific Popup CSS */ |
| 2 |
|
| 3 |
.mfp-bg { |
| 4 |
|
| 5 |
top: 0; |
| 6 |
|
| 7 |
left: 0; |
| 8 |
|
| 9 |
width: 100%; |
| 10 |
|
| 11 |
height: 100%; |
| 12 |
|
| 13 |
z-index: 999999; |
| 14 |
|
| 15 |
overflow: hidden; |
| 16 |
|
| 17 |
position: fixed; |
| 18 |
|
| 19 |
background: #0b0b0b; |
| 20 |
|
| 21 |
opacity: 0.8; |
| 22 |
|
| 23 |
} |
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
.mfp-wrap { |
| 28 |
|
| 29 |
top: 0; |
| 30 |
|
| 31 |
left: 0; |
| 32 |
|
| 33 |
width: 100%; |
| 34 |
|
| 35 |
height: 100%; |
| 36 |
|
| 37 |
z-index: 999999; |
| 38 |
|
| 39 |
position: fixed; |
| 40 |
|
| 41 |
outline: none !important; |
| 42 |
|
| 43 |
-webkit-backface-visibility: hidden; |
| 44 |
|
| 45 |
} |
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
.mfp-container { |
| 50 |
|
| 51 |
text-align: center; |
| 52 |
|
| 53 |
position: absolute; |
| 54 |
|
| 55 |
width: 100%; |
| 56 |
|
| 57 |
height: 100%; |
| 58 |
|
| 59 |
left: 0; |
| 60 |
|
| 61 |
top: 0; |
| 62 |
|
| 63 |
padding: 0 8px; |
| 64 |
|
| 65 |
box-sizing: border-box; |
| 66 |
|
| 67 |
} |
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
.mfp-container:before { |
| 72 |
|
| 73 |
content: ''; |
| 74 |
|
| 75 |
display: inline-block; |
| 76 |
|
| 77 |
height: 100%; |
| 78 |
|
| 79 |
vertical-align: middle; |
| 80 |
|
| 81 |
} |
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
.mfp-align-top .mfp-container:before { |
| 86 |
|
| 87 |
display: none; |
| 88 |
|
| 89 |
} |
| 90 |
|
| 91 |
|
| 92 |
|
| 93 |
.mfp-content { |
| 94 |
|
| 95 |
position: relative; |
| 96 |
|
| 97 |
display: inline-block; |
| 98 |
|
| 99 |
vertical-align: middle; |
| 100 |
|
| 101 |
margin: 0 auto; |
| 102 |
|
| 103 |
text-align: left; |
| 104 |
|
| 105 |
z-index: 1045; |
| 106 |
|
| 107 |
} |
| 108 |
|
| 109 |
|
| 110 |
|
| 111 |
.mfp-inline-holder .mfp-content, |
| 112 |
|
| 113 |
.mfp-ajax-holder .mfp-content { |
| 114 |
|
| 115 |
width: 100%; |
| 116 |
|
| 117 |
cursor: auto; |
| 118 |
|
| 119 |
} |
| 120 |
|
| 121 |
|
| 122 |
|
| 123 |
.mfp-ajax-cur { |
| 124 |
|
| 125 |
cursor: progress; |
| 126 |
|
| 127 |
} |
| 128 |
|
| 129 |
|
| 130 |
|
| 131 |
.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close { |
| 132 |
|
| 133 |
cursor: -moz-zoom-out; |
| 134 |
|
| 135 |
cursor: -webkit-zoom-out; |
| 136 |
|
| 137 |
cursor: zoom-out; |
| 138 |
|
| 139 |
} |
| 140 |
|
| 141 |
|
| 142 |
|
| 143 |
.mfp-zoom { |
| 144 |
|
| 145 |
cursor: pointer; |
| 146 |
|
| 147 |
cursor: -webkit-zoom-in; |
| 148 |
|
| 149 |
cursor: -moz-zoom-in; |
| 150 |
|
| 151 |
cursor: zoom-in; |
| 152 |
|
| 153 |
} |
| 154 |
|
| 155 |
|
| 156 |
|
| 157 |
.mfp-auto-cursor .mfp-content { |
| 158 |
|
| 159 |
cursor: auto; |
| 160 |
|
| 161 |
} |
| 162 |
|
| 163 |
|
| 164 |
|
| 165 |
.mfp-close, |
| 166 |
|
| 167 |
.mfp-arrow, |
| 168 |
|
| 169 |
.mfp-preloader, |
| 170 |
|
| 171 |
.mfp-counter { |
| 172 |
|
| 173 |
-webkit-user-select: none; |
| 174 |
|
| 175 |
-moz-user-select: none; |
| 176 |
|
| 177 |
user-select: none; |
| 178 |
|
| 179 |
} |
| 180 |
|
| 181 |
|
| 182 |
|
| 183 |
.mfp-loading.mfp-figure { |
| 184 |
|
| 185 |
display: none; |
| 186 |
|
| 187 |
} |
| 188 |
|
| 189 |
|
| 190 |
|
| 191 |
.mfp-hide { |
| 192 |
|
| 193 |
display: none !important; |
| 194 |
|
| 195 |
} |
| 196 |
|
| 197 |
|
| 198 |
|
| 199 |
.mfp-preloader { |
| 200 |
|
| 201 |
color: #CCC; |
| 202 |
|
| 203 |
position: absolute; |
| 204 |
|
| 205 |
top: 50%; |
| 206 |
|
| 207 |
width: auto; |
| 208 |
|
| 209 |
text-align: center; |
| 210 |
|
| 211 |
margin-top: -0.8em; |
| 212 |
|
| 213 |
left: 8px; |
| 214 |
|
| 215 |
right: 8px; |
| 216 |
|
| 217 |
z-index: 1044; |
| 218 |
|
| 219 |
} |
| 220 |
|
| 221 |
|
| 222 |
|
| 223 |
.mfp-preloader a { |
| 224 |
|
| 225 |
color: #CCC; |
| 226 |
|
| 227 |
} |
| 228 |
|
| 229 |
|
| 230 |
|
| 231 |
.mfp-preloader a:hover { |
| 232 |
|
| 233 |
color: #FFF; |
| 234 |
|
| 235 |
} |
| 236 |
|
| 237 |
|
| 238 |
|
| 239 |
.mfp-s-ready .mfp-preloader { |
| 240 |
|
| 241 |
display: none; |
| 242 |
|
| 243 |
} |
| 244 |
|
| 245 |
|
| 246 |
|
| 247 |
.mfp-s-error .mfp-content { |
| 248 |
|
| 249 |
display: none; |
| 250 |
|
| 251 |
} |
| 252 |
|
| 253 |
|
| 254 |
|
| 255 |
button.mfp-close, |
| 256 |
|
| 257 |
button.mfp-arrow { |
| 258 |
|
| 259 |
overflow: visible; |
| 260 |
|
| 261 |
cursor: pointer; |
| 262 |
|
| 263 |
background: transparent; |
| 264 |
|
| 265 |
border: 0; |
| 266 |
|
| 267 |
-webkit-appearance: none; |
| 268 |
|
| 269 |
display: block; |
| 270 |
|
| 271 |
outline: none; |
| 272 |
|
| 273 |
padding: 0; |
| 274 |
|
| 275 |
z-index: 1046; |
| 276 |
|
| 277 |
box-shadow: none; |
| 278 |
|
| 279 |
touch-action: manipulation; |
| 280 |
|
| 281 |
} |
| 282 |
|
| 283 |
|
| 284 |
|
| 285 |
button::-moz-focus-inner { |
| 286 |
|
| 287 |
padding: 0; |
| 288 |
|
| 289 |
border: 0; |
| 290 |
|
| 291 |
} |
| 292 |
|
| 293 |
|
| 294 |
|
| 295 |
.mfp-close { |
| 296 |
|
| 297 |
width: 44px; |
| 298 |
|
| 299 |
height: 44px; |
| 300 |
|
| 301 |
line-height: 44px; |
| 302 |
|
| 303 |
position: absolute; |
| 304 |
|
| 305 |
right: 0; |
| 306 |
|
| 307 |
top: 0; |
| 308 |
|
| 309 |
text-decoration: none; |
| 310 |
|
| 311 |
text-align: center; |
| 312 |
|
| 313 |
opacity: 0.65; |
| 314 |
|
| 315 |
padding: 0 0 18px 10px; |
| 316 |
|
| 317 |
color: #FFF; |
| 318 |
|
| 319 |
font-style: normal; |
| 320 |
|
| 321 |
font-size: 28px; |
| 322 |
|
| 323 |
font-family: Arial, Baskerville, monospace; |
| 324 |
|
| 325 |
} |
| 326 |
|
| 327 |
|
| 328 |
|
| 329 |
.mfp-close:hover, |
| 330 |
|
| 331 |
.mfp-close:focus { |
| 332 |
|
| 333 |
opacity: 1; |
| 334 |
|
| 335 |
} |
| 336 |
|
| 337 |
|
| 338 |
|
| 339 |
.mfp-close:active { |
| 340 |
|
| 341 |
top: 1px; |
| 342 |
|
| 343 |
} |
| 344 |
|
| 345 |
|
| 346 |
|
| 347 |
.mfp-close-btn-in .mfp-close { |
| 348 |
|
| 349 |
color: #333; |
| 350 |
|
| 351 |
} |
| 352 |
|
| 353 |
|
| 354 |
|
| 355 |
.mfp-image-holder .mfp-close, |
| 356 |
|
| 357 |
.mfp-iframe-holder .mfp-close { |
| 358 |
|
| 359 |
color: #FFF; |
| 360 |
|
| 361 |
display: table; |
| 362 |
|
| 363 |
/*right: -6px;*/ |
| 364 |
|
| 365 |
text-align: right; |
| 366 |
|
| 367 |
padding-right: 6px; |
| 368 |
|
| 369 |
border: none !important; |
| 370 |
|
| 371 |
background: none !important; |
| 372 |
|
| 373 |
/*width: 100%;*/ |
| 374 |
|
| 375 |
} |
| 376 |
|
| 377 |
|
| 378 |
|
| 379 |
.mfp-counter { |
| 380 |
|
| 381 |
position: absolute; |
| 382 |
|
| 383 |
top: 0; |
| 384 |
|
| 385 |
right: 0; |
| 386 |
|
| 387 |
color: #CCC; |
| 388 |
|
| 389 |
font-size: 12px; |
| 390 |
|
| 391 |
line-height: 18px; |
| 392 |
|
| 393 |
white-space: nowrap; |
| 394 |
|
| 395 |
} |
| 396 |
|
| 397 |
|
| 398 |
|
| 399 |
.mfp-arrow { |
| 400 |
|
| 401 |
position: absolute; |
| 402 |
|
| 403 |
opacity: 0.65; |
| 404 |
|
| 405 |
margin: 0; |
| 406 |
|
| 407 |
top: 50%; |
| 408 |
|
| 409 |
margin-top: -55px; |
| 410 |
|
| 411 |
padding: 0; |
| 412 |
|
| 413 |
width: 90px; |
| 414 |
|
| 415 |
height: 110px; |
| 416 |
|
| 417 |
-webkit-tap-highlight-color: transparent; |
| 418 |
|
| 419 |
} |
| 420 |
|
| 421 |
|
| 422 |
|
| 423 |
.mfp-arrow:active { |
| 424 |
|
| 425 |
margin-top: -54px; |
| 426 |
|
| 427 |
} |
| 428 |
|
| 429 |
|
| 430 |
|
| 431 |
.mfp-arrow:hover, |
| 432 |
|
| 433 |
.mfp-arrow:focus { |
| 434 |
|
| 435 |
opacity: 1; |
| 436 |
|
| 437 |
} |
| 438 |
|
| 439 |
|
| 440 |
|
| 441 |
.mfp-arrow:before, |
| 442 |
|
| 443 |
.mfp-arrow:after { |
| 444 |
|
| 445 |
content: ''; |
| 446 |
|
| 447 |
display: block; |
| 448 |
|
| 449 |
width: 0; |
| 450 |
|
| 451 |
height: 0; |
| 452 |
|
| 453 |
position: absolute; |
| 454 |
|
| 455 |
left: 0; |
| 456 |
|
| 457 |
top: 0; |
| 458 |
|
| 459 |
margin-top: 35px; |
| 460 |
|
| 461 |
margin-left: 35px; |
| 462 |
|
| 463 |
border: medium inset transparent; |
| 464 |
|
| 465 |
} |
| 466 |
|
| 467 |
|
| 468 |
|
| 469 |
.mfp-arrow:after { |
| 470 |
|
| 471 |
border-top-width: 13px; |
| 472 |
|
| 473 |
border-bottom-width: 13px; |
| 474 |
|
| 475 |
top: 8px; |
| 476 |
|
| 477 |
} |
| 478 |
|
| 479 |
|
| 480 |
|
| 481 |
.mfp-arrow:before { |
| 482 |
|
| 483 |
border-top-width: 21px; |
| 484 |
|
| 485 |
border-bottom-width: 21px; |
| 486 |
|
| 487 |
opacity: 0.7; |
| 488 |
|
| 489 |
} |
| 490 |
|
| 491 |
|
| 492 |
|
| 493 |
.mfp-arrow-left { |
| 494 |
|
| 495 |
left: 0; |
| 496 |
|
| 497 |
} |
| 498 |
|
| 499 |
|
| 500 |
|
| 501 |
.mfp-arrow-left:after { |
| 502 |
|
| 503 |
border-right: 17px solid #FFF; |
| 504 |
|
| 505 |
margin-left: 31px; |
| 506 |
|
| 507 |
} |
| 508 |
|
| 509 |
|
| 510 |
|
| 511 |
.mfp-arrow-left:before { |
| 512 |
|
| 513 |
margin-left: 25px; |
| 514 |
|
| 515 |
border-right: 27px solid #3F3F3F; |
| 516 |
|
| 517 |
} |
| 518 |
|
| 519 |
|
| 520 |
|
| 521 |
.mfp-arrow-right { |
| 522 |
|
| 523 |
right: 0; |
| 524 |
|
| 525 |
} |
| 526 |
|
| 527 |
|
| 528 |
|
| 529 |
.mfp-arrow-right:after { |
| 530 |
|
| 531 |
border-left: 17px solid #FFF; |
| 532 |
|
| 533 |
margin-left: 39px; |
| 534 |
|
| 535 |
} |
| 536 |
|
| 537 |
|
| 538 |
|
| 539 |
.mfp-arrow-right:before { |
| 540 |
|
| 541 |
border-left: 27px solid #3F3F3F; |
| 542 |
|
| 543 |
} |
| 544 |
|
| 545 |
|
| 546 |
|
| 547 |
.mfp-iframe-holder { |
| 548 |
|
| 549 |
padding-top: 40px; |
| 550 |
|
| 551 |
padding-bottom: 40px; |
| 552 |
|
| 553 |
} |
| 554 |
|
| 555 |
|
| 556 |
|
| 557 |
.mfp-iframe-holder .mfp-content { |
| 558 |
|
| 559 |
line-height: 0; |
| 560 |
|
| 561 |
width: 100%; |
| 562 |
|
| 563 |
max-width: 900px; |
| 564 |
|
| 565 |
} |
| 566 |
|
| 567 |
|
| 568 |
|
| 569 |
.mfp-iframe-holder .mfp-close { |
| 570 |
|
| 571 |
top: -40px; |
| 572 |
|
| 573 |
} |
| 574 |
|
| 575 |
|
| 576 |
|
| 577 |
.mfp-iframe-scaler { |
| 578 |
|
| 579 |
width: 100%; |
| 580 |
|
| 581 |
height: 0; |
| 582 |
|
| 583 |
overflow: hidden; |
| 584 |
|
| 585 |
padding-top: 56.25%; |
| 586 |
|
| 587 |
} |
| 588 |
|
| 589 |
|
| 590 |
|
| 591 |
.mfp-iframe-scaler iframe { |
| 592 |
|
| 593 |
position: absolute; |
| 594 |
|
| 595 |
display: block; |
| 596 |
|
| 597 |
top: 0; |
| 598 |
|
| 599 |
left: 0; |
| 600 |
|
| 601 |
width: 100%; |
| 602 |
|
| 603 |
height: 100%; |
| 604 |
|
| 605 |
box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); |
| 606 |
|
| 607 |
background: #000; |
| 608 |
|
| 609 |
} |
| 610 |
|
| 611 |
|
| 612 |
|
| 613 |
/* Main image in popup */ |
| 614 |
|
| 615 |
img.mfp-img { |
| 616 |
|
| 617 |
width: auto; |
| 618 |
|
| 619 |
max-width: 100%; |
| 620 |
|
| 621 |
height: auto; |
| 622 |
|
| 623 |
display: block; |
| 624 |
|
| 625 |
line-height: 0; |
| 626 |
|
| 627 |
box-sizing: border-box; |
| 628 |
|
| 629 |
padding: 40px 0 40px; |
| 630 |
|
| 631 |
margin: 0 auto; |
| 632 |
|
| 633 |
} |
| 634 |
|
| 635 |
|
| 636 |
|
| 637 |
/* The shadow behind the image */ |
| 638 |
|
| 639 |
.mfp-figure { |
| 640 |
|
| 641 |
line-height: 0; |
| 642 |
|
| 643 |
} |
| 644 |
|
| 645 |
|
| 646 |
|
| 647 |
.mfp-figure:after { |
| 648 |
|
| 649 |
content: ''; |
| 650 |
|
| 651 |
position: absolute; |
| 652 |
|
| 653 |
left: 0; |
| 654 |
|
| 655 |
top: 40px; |
| 656 |
|
| 657 |
bottom: 40px; |
| 658 |
|
| 659 |
display: block; |
| 660 |
|
| 661 |
right: 0; |
| 662 |
|
| 663 |
width: auto; |
| 664 |
|
| 665 |
height: auto; |
| 666 |
|
| 667 |
z-index: -1; |
| 668 |
|
| 669 |
box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); |
| 670 |
|
| 671 |
background: #444; |
| 672 |
|
| 673 |
} |
| 674 |
|
| 675 |
|
| 676 |
|
| 677 |
.mfp-figure small { |
| 678 |
|
| 679 |
color: #BDBDBD; |
| 680 |
|
| 681 |
display: block; |
| 682 |
|
| 683 |
font-size: 12px; |
| 684 |
|
| 685 |
line-height: 14px; |
| 686 |
|
| 687 |
} |
| 688 |
|
| 689 |
|
| 690 |
|
| 691 |
.mfp-figure figure { |
| 692 |
|
| 693 |
margin: 0; |
| 694 |
|
| 695 |
} |
| 696 |
|
| 697 |
|
| 698 |
|
| 699 |
.mfp-bottom-bar { |
| 700 |
|
| 701 |
margin-top: -36px; |
| 702 |
|
| 703 |
position: absolute; |
| 704 |
|
| 705 |
top: 100%; |
| 706 |
|
| 707 |
left: 0; |
| 708 |
|
| 709 |
width: 100%; |
| 710 |
|
| 711 |
cursor: auto; |
| 712 |
|
| 713 |
} |
| 714 |
|
| 715 |
|
| 716 |
|
| 717 |
.mfp-title { |
| 718 |
|
| 719 |
text-align: left; |
| 720 |
|
| 721 |
line-height: 18px; |
| 722 |
|
| 723 |
color: #F3F3F3; |
| 724 |
|
| 725 |
word-wrap: break-word; |
| 726 |
|
| 727 |
padding-right: 36px; |
| 728 |
|
| 729 |
} |
| 730 |
|
| 731 |
|
| 732 |
|
| 733 |
.mfp-image-holder .mfp-content { |
| 734 |
|
| 735 |
max-width: 100%; |
| 736 |
|
| 737 |
} |
| 738 |
|
| 739 |
|
| 740 |
|
| 741 |
.mfp-gallery .mfp-image-holder .mfp-figure { |
| 742 |
|
| 743 |
cursor: pointer; |
| 744 |
|
| 745 |
} |
| 746 |
|
| 747 |
|
| 748 |
|
| 749 |
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) { |
| 750 |
|
| 751 |
/** |
| 752 |
|
| 753 |
* Remove all paddings around the image on small screen |
| 754 |
|
| 755 |
*/ |
| 756 |
|
| 757 |
.mfp-img-mobile .mfp-image-holder { |
| 758 |
|
| 759 |
padding-left: 0; |
| 760 |
|
| 761 |
padding-right: 0; |
| 762 |
|
| 763 |
} |
| 764 |
|
| 765 |
|
| 766 |
|
| 767 |
.mfp-img-mobile img.mfp-img { |
| 768 |
|
| 769 |
padding: 0; |
| 770 |
|
| 771 |
} |
| 772 |
|
| 773 |
|
| 774 |
|
| 775 |
.mfp-img-mobile .mfp-figure:after { |
| 776 |
|
| 777 |
top: 0; |
| 778 |
|
| 779 |
bottom: 0; |
| 780 |
|
| 781 |
} |
| 782 |
|
| 783 |
|
| 784 |
|
| 785 |
.mfp-img-mobile .mfp-figure small { |
| 786 |
|
| 787 |
display: inline; |
| 788 |
|
| 789 |
margin-left: 5px; |
| 790 |
|
| 791 |
} |
| 792 |
|
| 793 |
|
| 794 |
|
| 795 |
.mfp-img-mobile .mfp-bottom-bar { |
| 796 |
|
| 797 |
background: rgba(0, 0, 0, 0.6); |
| 798 |
|
| 799 |
bottom: 0; |
| 800 |
|
| 801 |
margin: 0; |
| 802 |
|
| 803 |
top: auto; |
| 804 |
|
| 805 |
padding: 3px 5px; |
| 806 |
|
| 807 |
position: fixed; |
| 808 |
|
| 809 |
box-sizing: border-box; |
| 810 |
|
| 811 |
} |
| 812 |
|
| 813 |
|
| 814 |
|
| 815 |
.mfp-img-mobile .mfp-bottom-bar:empty { |
| 816 |
|
| 817 |
padding: 0; |
| 818 |
|
| 819 |
} |
| 820 |
|
| 821 |
|
| 822 |
|
| 823 |
.mfp-img-mobile .mfp-counter { |
| 824 |
|
| 825 |
right: 5px; |
| 826 |
|
| 827 |
top: 3px; |
| 828 |
|
| 829 |
} |
| 830 |
|
| 831 |
|
| 832 |
|
| 833 |
.mfp-img-mobile .mfp-close { |
| 834 |
|
| 835 |
top: 0; |
| 836 |
|
| 837 |
right: 0; |
| 838 |
|
| 839 |
width: 35px; |
| 840 |
|
| 841 |
height: 35px; |
| 842 |
|
| 843 |
line-height: 35px; |
| 844 |
|
| 845 |
background: rgba(0, 0, 0, 0.6); |
| 846 |
|
| 847 |
position: fixed; |
| 848 |
|
| 849 |
text-align: center; |
| 850 |
|
| 851 |
padding: 0; |
| 852 |
|
| 853 |
} |
| 854 |
|
| 855 |
} |
| 856 |
|
| 857 |
|
| 858 |
|
| 859 |
@media all and (max-width: 900px) { |
| 860 |
|
| 861 |
.mfp-arrow { |
| 862 |
|
| 863 |
-webkit-transform: scale(0.75); |
| 864 |
|
| 865 |
transform: scale(0.75); |
| 866 |
|
| 867 |
} |
| 868 |
|
| 869 |
|
| 870 |
|
| 871 |
.mfp-arrow-left { |
| 872 |
|
| 873 |
-webkit-transform-origin: 0; |
| 874 |
|
| 875 |
transform-origin: 0; |
| 876 |
|
| 877 |
} |
| 878 |
|
| 879 |
|
| 880 |
|
| 881 |
.mfp-arrow-right { |
| 882 |
|
| 883 |
-webkit-transform-origin: 100%; |
| 884 |
|
| 885 |
transform-origin: 100%; |
| 886 |
|
| 887 |
} |
| 888 |
|
| 889 |
|
| 890 |
|
| 891 |
.mfp-container { |
| 892 |
|
| 893 |
padding-left: 6px; |
| 894 |
|
| 895 |
padding-right: 6px; |
| 896 |
|
| 897 |
} |
| 898 |
|
| 899 |
} |
| 900 |
|
| 901 |
|