balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

magnific-popup.css (6951B)


      1 /* Magnific Popup CSS */
      2 .mfp-bg {
      3   top: 0;
      4   left: 0;
      5   width: 100%;
      6   height: 100%;
      7   z-index: 1042;
      8   overflow: hidden;
      9   position: fixed;
     10   background: #0b0b0b;
     11   opacity: 0.8; }
     12 
     13 .mfp-wrap {
     14   top: 0;
     15   left: 0;
     16   width: 100%;
     17   height: 100%;
     18   z-index: 1043;
     19   position: fixed;
     20   outline: none !important;
     21   -webkit-backface-visibility: hidden; }
     22 
     23 .mfp-container {
     24   text-align: center;
     25   position: absolute;
     26   width: 100%;
     27   height: 100%;
     28   left: 0;
     29   top: 0;
     30   padding: 0 8px;
     31   box-sizing: border-box; }
     32 
     33 .mfp-container:before {
     34   content: '';
     35   display: inline-block;
     36   height: 100%;
     37   vertical-align: middle; }
     38 
     39 .mfp-align-top .mfp-container:before {
     40   display: none; }
     41 
     42 .mfp-content {
     43   position: relative;
     44   display: inline-block;
     45   vertical-align: middle;
     46   margin: 0 auto;
     47   text-align: left;
     48   z-index: 1045; }
     49 
     50 .mfp-inline-holder .mfp-content,
     51 .mfp-ajax-holder .mfp-content {
     52   width: 100%;
     53   cursor: auto; }
     54 
     55 .mfp-ajax-cur {
     56   cursor: progress; }
     57 
     58 .mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
     59   cursor: -moz-zoom-out;
     60   cursor: -webkit-zoom-out;
     61   cursor: zoom-out; }
     62 
     63 .mfp-zoom {
     64   cursor: pointer;
     65   cursor: -webkit-zoom-in;
     66   cursor: -moz-zoom-in;
     67   cursor: zoom-in; }
     68 
     69 .mfp-auto-cursor .mfp-content {
     70   cursor: auto; }
     71 
     72 .mfp-close,
     73 .mfp-arrow,
     74 .mfp-preloader,
     75 .mfp-counter {
     76   -webkit-user-select: none;
     77   -moz-user-select: none;
     78   user-select: none; }
     79 
     80 .mfp-loading.mfp-figure {
     81   display: none; }
     82 
     83 .mfp-hide {
     84   display: none !important; }
     85 
     86 .mfp-preloader {
     87   color: #CCC;
     88   position: absolute;
     89   top: 50%;
     90   width: auto;
     91   text-align: center;
     92   margin-top: -0.8em;
     93   left: 8px;
     94   right: 8px;
     95   z-index: 1044; }
     96   .mfp-preloader a {
     97     color: #CCC; }
     98     .mfp-preloader a:hover {
     99       color: #FFF; }
    100 
    101 .mfp-s-ready .mfp-preloader {
    102   display: none; }
    103 
    104 .mfp-s-error .mfp-content {
    105   display: none; }
    106 
    107 button.mfp-close,
    108 button.mfp-arrow {
    109   overflow: visible;
    110   cursor: pointer;
    111   background: transparent;
    112   border: 0;
    113   -webkit-appearance: none;
    114   display: block;
    115   outline: none;
    116   padding: 0;
    117   z-index: 1046;
    118   box-shadow: none;
    119   touch-action: manipulation; }
    120 
    121 button::-moz-focus-inner {
    122   padding: 0;
    123   border: 0; }
    124 
    125 .mfp-close {
    126   width: 44px;
    127   height: 44px;
    128   line-height: 44px;
    129   position: absolute;
    130   right: 0;
    131   top: 0;
    132   text-decoration: none;
    133   text-align: center;
    134   opacity: 0.65;
    135   padding: 0 0 18px 10px;
    136   color: #FFF;
    137   font-style: normal;
    138   font-size: 28px;
    139   font-family: Arial, Baskerville, monospace; }
    140   .mfp-close:hover,
    141   .mfp-close:focus {
    142     opacity: 1; }
    143   .mfp-close:active {
    144     top: 1px; }
    145 
    146 .mfp-close-btn-in .mfp-close {
    147   color: #333; }
    148 
    149 .mfp-image-holder .mfp-close,
    150 .mfp-iframe-holder .mfp-close {
    151   color: #FFF;
    152   right: -6px;
    153   text-align: right;
    154   padding-right: 6px;
    155   width: 100%; }
    156 
    157 .mfp-counter {
    158   position: absolute;
    159   top: 0;
    160   right: 0;
    161   color: #CCC;
    162   font-size: 12px;
    163   line-height: 18px;
    164   white-space: nowrap; }
    165 
    166 .mfp-arrow {
    167   position: absolute;
    168   opacity: 0.65;
    169   margin: 0;
    170   top: 50%;
    171   margin-top: -55px;
    172   padding: 0;
    173   width: 90px;
    174   height: 110px;
    175   -webkit-tap-highlight-color: transparent; }
    176   .mfp-arrow:active {
    177     margin-top: -54px; }
    178   .mfp-arrow:hover,
    179   .mfp-arrow:focus {
    180     opacity: 1; }
    181   .mfp-arrow:before,
    182   .mfp-arrow:after {
    183     content: '';
    184     display: block;
    185     width: 0;
    186     height: 0;
    187     position: absolute;
    188     left: 0;
    189     top: 0;
    190     margin-top: 35px;
    191     margin-left: 35px;
    192     border: medium inset transparent; }
    193   .mfp-arrow:after {
    194     border-top-width: 13px;
    195     border-bottom-width: 13px;
    196     top: 8px; }
    197   .mfp-arrow:before {
    198     border-top-width: 21px;
    199     border-bottom-width: 21px;
    200     opacity: 0.7; }
    201 
    202 .mfp-arrow-left {
    203   left: 0; }
    204   .mfp-arrow-left:after {
    205     border-right: 17px solid #FFF;
    206     margin-left: 31px; }
    207   .mfp-arrow-left:before {
    208     margin-left: 25px;
    209     border-right: 27px solid #3F3F3F; }
    210 
    211 .mfp-arrow-right {
    212   right: 0; }
    213   .mfp-arrow-right:after {
    214     border-left: 17px solid #FFF;
    215     margin-left: 39px; }
    216   .mfp-arrow-right:before {
    217     border-left: 27px solid #3F3F3F; }
    218 
    219 .mfp-iframe-holder {
    220   padding-top: 40px;
    221   padding-bottom: 40px; }
    222   .mfp-iframe-holder .mfp-content {
    223     line-height: 0;
    224     width: 100%;
    225     max-width: 900px; }
    226   .mfp-iframe-holder .mfp-close {
    227     top: -40px; }
    228 
    229 .mfp-iframe-scaler {
    230   width: 100%;
    231   height: 0;
    232   overflow: hidden;
    233   padding-top: 56.25%; }
    234   .mfp-iframe-scaler iframe {
    235     position: absolute;
    236     display: block;
    237     top: 0;
    238     left: 0;
    239     width: 100%;
    240     height: 100%;
    241     box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    242     background: #000; }
    243 
    244 /* Main image in popup */
    245 img.mfp-img {
    246   width: auto;
    247   max-width: 100%;
    248   height: auto;
    249   display: block;
    250   line-height: 0;
    251   box-sizing: border-box;
    252   padding: 40px 0 40px;
    253   margin: 0 auto; }
    254 
    255 /* The shadow behind the image */
    256 .mfp-figure {
    257   line-height: 0; }
    258   .mfp-figure:after {
    259     content: '';
    260     position: absolute;
    261     left: 0;
    262     top: 40px;
    263     bottom: 40px;
    264     display: block;
    265     right: 0;
    266     width: auto;
    267     height: auto;
    268     z-index: -1;
    269     box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    270     background: #444; }
    271   .mfp-figure small {
    272     color: #BDBDBD;
    273     display: block;
    274     font-size: 12px;
    275     line-height: 14px; }
    276   .mfp-figure figure {
    277     margin: 0; }
    278 
    279 .mfp-bottom-bar {
    280   margin-top: -36px;
    281   position: absolute;
    282   top: 100%;
    283   left: 0;
    284   width: 100%;
    285   cursor: auto; }
    286 
    287 .mfp-title {
    288   text-align: left;
    289   line-height: 18px;
    290   color: #F3F3F3;
    291   word-wrap: break-word;
    292   padding-right: 36px; }
    293 
    294 .mfp-image-holder .mfp-content {
    295   max-width: 100%; }
    296 
    297 .mfp-gallery .mfp-image-holder .mfp-figure {
    298   cursor: pointer; }
    299 
    300 @media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
    301   /**
    302        * Remove all paddings around the image on small screen
    303        */
    304   .mfp-img-mobile .mfp-image-holder {
    305     padding-left: 0;
    306     padding-right: 0; }
    307   .mfp-img-mobile img.mfp-img {
    308     padding: 0; }
    309   .mfp-img-mobile .mfp-figure:after {
    310     top: 0;
    311     bottom: 0; }
    312   .mfp-img-mobile .mfp-figure small {
    313     display: inline;
    314     margin-left: 5px; }
    315   .mfp-img-mobile .mfp-bottom-bar {
    316     background: rgba(0, 0, 0, 0.6);
    317     bottom: 0;
    318     margin: 0;
    319     top: auto;
    320     padding: 3px 5px;
    321     position: fixed;
    322     box-sizing: border-box; }
    323     .mfp-img-mobile .mfp-bottom-bar:empty {
    324       padding: 0; }
    325   .mfp-img-mobile .mfp-counter {
    326     right: 5px;
    327     top: 3px; }
    328   .mfp-img-mobile .mfp-close {
    329     top: 0;
    330     right: 0;
    331     width: 35px;
    332     height: 35px;
    333     line-height: 35px;
    334     background: rgba(0, 0, 0, 0.6);
    335     position: fixed;
    336     text-align: center;
    337     padding: 0; } }
    338 
    339 @media all and (max-width: 900px) {
    340   .mfp-arrow {
    341     -webkit-transform: scale(0.75);
    342     transform: scale(0.75); }
    343   .mfp-arrow-left {
    344     -webkit-transform-origin: 0;
    345     transform-origin: 0; }
    346   .mfp-arrow-right {
    347     -webkit-transform-origin: 100%;
    348     transform-origin: 100%; }
    349   .mfp-container {
    350     padding-left: 6px;
    351     padding-right: 6px; } }