magnific-popup.css 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. .mfp-bg {
  2. background: rgb(11, 11, 11); left: 0px; top: 0px; width: 100%; height: 100%; overflow: hidden; position: fixed; z-index: 999991; opacity: 0.8;
  3. }
  4. .mfp-wrap {
  5. left: 0px; top: 0px; width: 100%; height: 100%; position: fixed; z-index: 999992; -webkit-backface-visibility: hidden;
  6. }
  7. .mfp-container {
  8. padding: 0px 8px; left: 0px; top: 0px; width: 100%; height: 100%; text-align: center; position: absolute; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box;
  9. }
  10. .mfp-container::before {
  11. height: 100%; vertical-align: middle; display: inline-block; content: "";
  12. }
  13. .mfp-align-top .mfp-container::before {
  14. display: none;
  15. }
  16. .mfp-content {
  17. margin: 0px auto; text-align: left; vertical-align: middle; display: inline-block; position: relative; z-index: 1045;
  18. }
  19. .mfp-inline-holder .mfp-content {
  20. width: 100%; cursor: auto;
  21. }
  22. .mfp-ajax-holder .mfp-content {
  23. width: 100%; cursor: auto;
  24. }
  25. .mfp-ajax-cur {
  26. cursor: progress;
  27. }
  28. .mfp-zoom-out-cur {
  29. }
  30. .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  31. }
  32. .mfp-zoom {
  33. cursor: pointer;
  34. }
  35. .mfp-auto-cursor .mfp-content {
  36. cursor: auto;
  37. }
  38. .mfp-close {
  39. -webkit-user-select: none; -moz-user-select: none; user-select: none;
  40. }
  41. .mfp-arrow {
  42. -webkit-user-select: none; -moz-user-select: none; user-select: none;
  43. }
  44. .mfp-preloader {
  45. -webkit-user-select: none; -moz-user-select: none; user-select: none;
  46. }
  47. .mfp-counter {
  48. -webkit-user-select: none; -moz-user-select: none; user-select: none;
  49. }
  50. .mfp-loading.mfp-figure {
  51. display: none;
  52. }
  53. .mfp-hide {
  54. display: none !important;
  55. }
  56. .mfp-preloader {
  57. left: 8px; top: 50%; width: auto; text-align: center; right: 8px; color: rgb(204, 204, 204); margin-top: -0.8em; position: absolute; z-index: 1044;
  58. }
  59. .mfp-preloader a {
  60. color: rgb(204, 204, 204);
  61. }
  62. .mfp-preloader a:hover {
  63. color: white;
  64. }
  65. .mfp-s-ready .mfp-preloader {
  66. display: none;
  67. }
  68. .mfp-s-error .mfp-content {
  69. display: none;
  70. }
  71. button.mfp-close {
  72. background: none; padding: 0px; border: 0px currentColor; border-image: none; overflow: visible; display: block; z-index: 1046; cursor: pointer; box-shadow: none; -webkit-box-shadow: none; -webkit-appearance: none;
  73. }
  74. button.mfp-arrow {
  75. background: none; padding: 0px; border: 0px currentColor; border-image: none; overflow: visible; display: block; z-index: 1046; cursor: pointer; box-shadow: none; -webkit-box-shadow: none; -webkit-appearance: none;
  76. }
  77. .mfp-close {
  78. padding: 0px 0px 18px 10px; top: 0px; width: 44px; height: 44px; text-align: center; right: 0px; color: white; line-height: 44px; font-family: Arial, Baskerville, monospace; font-size: 28px; font-style: normal; text-decoration: none; position: absolute; opacity: 0.65;
  79. }
  80. .mfp-close:hover {
  81. opacity: 1;
  82. }
  83. .mfp-close:focus {
  84. opacity: 1;
  85. }
  86. .mfp-close:active {
  87. top: 1px;
  88. }
  89. .mfp-close-btn-in .mfp-close {
  90. color: rgb(51, 51, 51);
  91. }
  92. .mfp-image-holder .mfp-close {
  93. width: 100%; text-align: right; right: -6px; color: white; padding-right: 6px;
  94. }
  95. .mfp-iframe-holder .mfp-close {
  96. width: 100%; text-align: right; right: -6px; color: white; padding-right: 6px;
  97. }
  98. .mfp-counter {
  99. top: 0px; right: 0px; color: rgb(204, 204, 204); line-height: 18px; font-size: 12px; position: absolute;
  100. }
  101. .mfp-arrow {
  102. margin: -55px 0px 0px; padding: 0px; top: 50%; width: 90px; height: 110px; position: absolute; opacity: 0.65; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  103. }
  104. .mfp-arrow:active {
  105. margin-top: -54px;
  106. }
  107. .mfp-arrow:hover {
  108. opacity: 1;
  109. }
  110. .mfp-arrow:focus {
  111. opacity: 1;
  112. }
  113. .mfp-arrow::before {
  114. border: inset transparent; border-image: none; left: 0px; top: 0px; width: 0px; height: 0px; margin-top: 35px; margin-left: 35px; display: block; position: absolute; content: "";
  115. }
  116. .mfp-arrow::after {
  117. border: inset transparent; border-image: none; left: 0px; top: 0px; width: 0px; height: 0px; margin-top: 35px; margin-left: 35px; display: block; position: absolute; content: "";
  118. }
  119. .mfp-arrow .mfp-b {
  120. border: inset transparent; border-image: none; left: 0px; top: 0px; width: 0px; height: 0px; margin-top: 35px; margin-left: 35px; display: block; position: absolute; content: "";
  121. }
  122. .mfp-arrow .mfp-a {
  123. border: inset transparent; border-image: none; left: 0px; top: 0px; width: 0px; height: 0px; margin-top: 35px; margin-left: 35px; display: block; position: absolute; content: "";
  124. }
  125. .mfp-arrow::after {
  126. top: 8px; border-top-width: 13px; border-bottom-width: 13px;
  127. }
  128. .mfp-arrow .mfp-a {
  129. top: 8px; border-top-width: 13px; border-bottom-width: 13px;
  130. }
  131. .mfp-arrow::before {
  132. border-top-width: 21px; border-bottom-width: 21px; opacity: 0.7;
  133. }
  134. .mfp-arrow .mfp-b {
  135. border-top-width: 21px; border-bottom-width: 21px; opacity: 0.7;
  136. }
  137. .mfp-arrow-left {
  138. left: 0px;
  139. }
  140. .mfp-arrow-left::after {
  141. margin-left: 31px; border-right-color: white; border-right-width: 17px; border-right-style: solid;
  142. }
  143. .mfp-arrow-left .mfp-a {
  144. margin-left: 31px; border-right-color: white; border-right-width: 17px; border-right-style: solid;
  145. }
  146. .mfp-arrow-left::before {
  147. margin-left: 25px; border-right-color: rgb(63, 63, 63); border-right-width: 27px; border-right-style: solid;
  148. }
  149. .mfp-arrow-left .mfp-b {
  150. margin-left: 25px; border-right-color: rgb(63, 63, 63); border-right-width: 27px; border-right-style: solid;
  151. }
  152. .mfp-arrow-right {
  153. right: 0px;
  154. }
  155. .mfp-arrow-right::after {
  156. margin-left: 39px; border-left-color: white; border-left-width: 17px; border-left-style: solid;
  157. }
  158. .mfp-arrow-right .mfp-a {
  159. margin-left: 39px; border-left-color: white; border-left-width: 17px; border-left-style: solid;
  160. }
  161. .mfp-arrow-right::before {
  162. border-left-color: rgb(63, 63, 63); border-left-width: 27px; border-left-style: solid;
  163. }
  164. .mfp-arrow-right .mfp-b {
  165. border-left-color: rgb(63, 63, 63); border-left-width: 27px; border-left-style: solid;
  166. }
  167. .mfp-iframe-holder {
  168. padding-top: 40px; padding-bottom: 40px;
  169. }
  170. .mfp-iframe-holder .mfp-content {
  171. width: 100%; line-height: 0; max-width: 900px;
  172. }
  173. .mfp-iframe-holder .mfp-close {
  174. top: -40px;
  175. }
  176. .mfp-iframe-scaler {
  177. width: 100%; height: 0px; overflow: hidden; padding-top: 56.25%;
  178. }
  179. .mfp-iframe-scaler iframe {
  180. background: black; left: 0px; top: 0px; width: 100%; height: 100%; display: block; position: absolute; box-shadow: 0px 0px 8px rgba(0,0,0,0.6);
  181. }
  182. img.mfp-img {
  183. margin: 0px auto; padding: 40px 0px; width: auto; height: auto; line-height: 0; display: block; max-width: 100%; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box;
  184. }
  185. .mfp-figure {
  186. line-height: 0;
  187. }
  188. .mfp-figure::after {
  189. background: rgb(68, 68, 68); left: 0px; top: 40px; width: auto; height: auto; right: 0px; bottom: 40px; display: block; position: absolute; z-index: -1; content: ""; box-shadow: 0px 0px 8px rgba(0,0,0,0.6);
  190. }
  191. .mfp-figure small {
  192. color: rgb(189, 189, 189); line-height: 14px; font-size: 12px; display: block;
  193. }
  194. .mfp-figure figure {
  195. margin: 0px;
  196. }
  197. .mfp-bottom-bar {
  198. left: 0px; top: 100%; width: 100%; margin-top: -36px; position: absolute; cursor: auto;
  199. }
  200. .mfp-title {
  201. text-align: left; color: rgb(243, 243, 243); line-height: 18px; padding-right: 36px; -ms-word-wrap: break-word;
  202. }
  203. .mfp-image-holder .mfp-content {
  204. max-width: 100%;
  205. }
  206. .mfp-gallery .mfp-image-holder .mfp-figure {
  207. cursor: pointer;
  208. }
  209. @media screen and (orientation:landscape) and (max-width:800px), screen and (max-height:300px)
  210. {
  211. .mfp-img-mobile .mfp-image-holder {
  212. padding-right: 0px; padding-left: 0px;
  213. }
  214. .mfp-img-mobile img.mfp-img {
  215. padding: 0px;
  216. }
  217. .mfp-img-mobile .mfp-figure::after {
  218. top: 0px; bottom: 0px;
  219. }
  220. .mfp-img-mobile .mfp-figure small {
  221. margin-left: 5px; display: inline;
  222. }
  223. .mfp-img-mobile .mfp-bottom-bar {
  224. background: rgba(0, 0, 0, 0.6); margin: 0px; padding: 3px 5px; top: auto; bottom: 0px; position: fixed; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box;
  225. }
  226. .mfp-img-mobile :empty.mfp-bottom-bar {
  227. padding: 0px;
  228. }
  229. .mfp-img-mobile .mfp-counter {
  230. top: 3px; right: 5px;
  231. }
  232. .mfp-img-mobile .mfp-close {
  233. background: rgba(0, 0, 0, 0.6); padding: 0px; top: 0px; width: 35px; height: 35px; text-align: center; right: 0px; line-height: 35px; position: fixed;
  234. }
  235. }
  236. @media all and (max-width:900px)
  237. {
  238. .mfp-arrow {
  239. transform: scale(0.75); -webkit-transform: scale(0.75);
  240. }
  241. .mfp-arrow-left {
  242. transform-origin: 0% 50%; -webkit-transform-origin: 0;
  243. }
  244. .mfp-arrow-right {
  245. transform-origin: 100% 50%; -webkit-transform-origin: 100%;
  246. }
  247. .mfp-container {
  248. padding-right: 6px; padding-left: 6px;
  249. }
  250. }
  251. .mfp-ie7 .mfp-img {
  252. padding: 0px;
  253. }
  254. .mfp-ie7 .mfp-bottom-bar {
  255. left: 50%; width: 600px; padding-bottom: 5px; margin-top: 5px; margin-left: -300px;
  256. }
  257. .mfp-ie7 .mfp-container {
  258. padding: 0px;
  259. }
  260. .mfp-ie7 .mfp-content {
  261. padding-top: 44px;
  262. }
  263. .mfp-ie7 .mfp-close {
  264. top: 0px; right: 0px; padding-top: 0px;
  265. }