Showing posts with label Designs. Show all posts
Showing posts with label Designs. Show all posts

Friday, 29 July 2016

5 Themes For Blogger Official Search Box Widget

Updated on: November 20, 2016

Search box is the must have widget in each and every blog. Search box allows your readers to get access to your articles more easily by helping them to find the content what they are looking for. I have already published Stylish search box widgets for blogger, but blogger also provide their official search box widget, which is basically known as Google Custom Search box.

How to customize blogger official search widget

Google Custom Search (CSE) is the best search box on the web because it gives you numbers of benefits that are hard to resist. For instance - Others 3rd party search boxes only analyses your post title with searched query to show search results, but CSE also analyses your post content, meta codes and many other things to show results so that your readers can get most relevant content. Actually, this work as same as Google Search works, but the only difference is that, you get only that data which is linked with your blog. Blogger users get this widget free of cost where as for non-blogger users its cost near about $100/year. You can add this widget by navigating to Layout > Add widget > Select Search box > Save.

CSS Themes for Blogger Default search box widget

The main reason why most of the bloggers don't want to add this official search widget is, that the look and feel of the widget is very very simple but allows you to change the look of the widget. To style and customize your Search widget you must have knowledge of CSS, but many of you don't, that's why, I created 5 beautiful, professional and stylish themes for your widget. What all you need to do is the simple copy paste work. Go ahead, choose your design and follow the instructions.

Stylish CSS for blogger's Search widget

Simple style to customize blogger official search widget
input.gsc-input{background-color:#fff;border-color:#CDCDCD!important;padding:6px!important;border-radius:5px 0 0 5px!important}input.gsc-search-button{margin-left:-1px!important;border:1px solid #ddd;padding:5px;border-radius:0 5px 5px 0;cursor:pointer}
Css for default search box
input.gsc-input{background-color:#fff;border-color:#62B3EC!important;padding:6px!important;height:17px;font-size:13px}input.gsc-search-button{margin-left:-1px!important;border:1px solid #62B3EC;padding:5px;border-radius:0 5px 5px 0;cursor:pointer;font-size:0;height:31px;width:31px;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR75YtQeDX20mTgXmrpkAmhiY5A_uuCWc6SDrJHwU80tv9JBg0DKkYuJNaMF7cpUMhHrav_KEyMXZDihlWyBVldocOd6JCWr3lcB0k5UdsXNz9wy-RzWAC5QsxlyQzU3SbSpRT7jKMaCg4/s1600/Search-icon.png) no-repeat center;background-color:#62B3EC;background-size:15px}.gsc-search-button:hover{background-color:#3B78E7;border-color:#3B78E7;border-radius:0 5px 5px 0}
Customize google blogspot search box
table.gsc-search-box td.gsc-input{padding-right:5px!important}input.gsc-input{background-color:#fff;border-color:#CCC!important;padding:6px!important;height:17px;font-size:15px;color:#9F999D;border-radius:3px 0 0 3px;border-width:1px 0 1px 1px !important}input.gsc-search-button{margin-left:-1px!important;border:1px solid #CCC;padding:5px;border-radius:0 3px 3px 0;cursor:pointer;font-size:0;height:31px;width:31px;background:#fff url(http://1.bp.blogspot.com/-b7DvNZpfZio/VbJw34qUQOI/AAAAAAAAAFU/MfOQrIYchKQ/s1600/search-icon.png) no-repeat center;border-width:1px 1px 1px 0}
Dark theme for blogger official search box widget
table.gsc-search-box td.gsc-input{padding-right:40px!important}.gsc-search-button{display:none!important}input.gsc-input{padding:5px 0 8px 40px !important;height:22px;font-size:13px;color:#fff;border-radius:19px;border-width:0!important;width:100%!important;box-shadow:2px 3px 3px #292929 inset;background:#fff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR75YtQeDX20mTgXmrpkAmhiY5A_uuCWc6SDrJHwU80tv9JBg0DKkYuJNaMF7cpUMhHrav_KEyMXZDihlWyBVldocOd6JCWr3lcB0k5UdsXNz9wy-RzWAC5QsxlyQzU3SbSpRT7jKMaCg4/s1600/Search-icon.png) no-repeat scroll 16px 12px;background-color:#444;background-size:12px;text-shadow:1px 3px 3px #0B0A0A}
Beautiful CSS for default search widget

Recommended: For perfect experience of this style use colorful background image.

table.gsc-search-box td.gsc-input{padding-right:0!important}input.gsc-input{background-color:RGBA(0,0,0,0.5);padding:8px 15px!important;height:22px;font-size:15px;color:#fff;border-radius:19px;border-width:0!important;width:100%!important}input.gsc-search-button{margin-left:-5px!important;margin-right:5px!important;padding:5px;border-radius:50%;cursor:pointer;font-size:0;height:30px;width:30px;background:#fff url(http://1.bp.blogspot.com/-b7DvNZpfZio/VbJw34qUQOI/AAAAAAAAAFU/MfOQrIYchKQ/s1600/search-icon.png) no-repeat center;border-width:0}

Steps: To customize blogger official search box

Step 1. Login to your blogger account > Dashboard > Template > Edit HTML

Edit HTML Template

Step 2. Click anywhere inside the code and find the following code (use Ctrl + F):

]]></b:skin>

Step 3. Just above ]]></b:skin> place you CSS code.

Step 4. Click Save template.

Great!

Refresh your blog to see your beautiful, professional looking google search box. For any issues related to above Tutorial Please Comment Below. Stay Updated, Browse Howbloggerz ! :)

Read more ...

Monday, 13 June 2016

How To Convert Inline CSS or JavaScript To External File

CSS stands for Cascading Style Sheets. CSS describes how HTML elements are to be displayed on screen, paper, or in other media. CSS saves a lot of work. It can control the layout of multiple web pages all at once. JavaScript is an object-oriented computer programming language commonly used to create interactive effects within web browsers.

How To Convert Inline CSS or JavaScript To External File
What is inline CSS and JavaScript? All the CSS and JavaScript that are embedded in HTML document are know as inline CSS or JavaScript.

What is External CSS and JavaScript? All the CSS and JavaScript that are hosted externally as External file are known as External CSS or JavaScript.

Benefits of External CSS and JavaScript.

- Optimize Page load time.
- Makes HTML document lighter.
- Increases browser caching.
- Makes your document clean and tidy.
- Easy to manage.

How to Host Blogger CSS and JavaScript on google drive

There are so many file hosting services, but google drive is free and easy to manage. You can also use google drive for windows to quickly manage your files.

Step 1. Open Notepad > Paste your code (for CSS remove <style> and </style>, for JavaScript remove <script> and </script>.

Step 2. In the Notepad menu, select 'File' > 'Save as' and type the file name with extension .css for CSS and .js for JavaScript.


Preparing CSS and Javascript file to host online

Step 3. In the same window, choose "All files" in the "Save as type" option and set the Character Encoding to UTF-8.

Step 4. Open Google drive and login with your Gmail account. After you logged in, click on the 'NEW' button and add a new separate folder to upload your JavaScript and CSS files.


How to add folder in Google drive



Step 5. Open the newly created folder, and click on the NEW > File Upload. then choose the files that you need to upload.


How to upload file in google drive


Step 6. After the files have been successfully uploaded, right click on the file names and select 'Share'. Again in the pop-up select advance.


How to share file on google drive


 Step 7. Change file access from 'private' to 'Anyone'. Then copy your file link and click done.


Change google file share access to public


Step 8. Before you can use the links, you must replace 'https://drive.google.com/file/d' to 'https://googledrive.com/host' and remove '/edit?usp=sharing' in the link.

For example:

My file link looks like this:

https://drive.google.com/file/d/0B6pDGRGeYi9nampKY0M4dXVOVWc/view?usp=sharing

After replacing 'https://drive.google.com/file/d' to 'https://googledrive.com/host' and removing '/edit?usp=sharing' :

https://googledrive.com/host/0B6pDGRGeYi9nampKY0M4dXVOVWc

Step 9. Now add your link to the following code:

For CSS:

<link rel="stylesheet" type="text/css" href="https://googledrive.com/host/0B6pDGRGeYi9nampKY0M4dXVOVWc" />

Replace https://googledrive.com/host/0B6pDGRGeYi9nampKY0M4dXVOVWc with your CSS file URL.


For JavaScript:

<script src='https://googledrive.com/host/0B6pDGRGeYi9nampKY0M4dXVOVWd' type='text/javascript'/>

Replace https://googledrive.com/host/0B6pDGRGeYi9nampKY0M4dXVOVWd with your JavaScript file URL.

Now you can use these code on your HTML document to add external CSS and JavaScript file.

Step 10. Login to blogger account, then navigate to Template > Edit HTML and place your Code:

For CSS: Place code below <head>.
For JavaScript: Place code above </body>.

Recommended: Use ctrl+f to find above codes.

Read: How to Reduce Blogger Page load time.

That's all!

For any type of issue or suggestion, please comment below. Stay Updated! Browse Howbloggerz :)
Read more ...

Wednesday, 25 May 2016

5 Steps to Add Signature to Blogger Posts (with Demo)

Do you want to add a signature text or image to your Blogger posts? Post signature is usually a text or an image at the end of each post, adding custom signature to your blogger posts not only give it certain flair but also gives a visible stamp of your authority over your blog content. You can manually insert signature to new blog posts but what about old post, its not easy to add signature manually in already published posts specially if they are in hundreds.

Don't worry your are howbloggerz user, nothing is impossible here. I have created a set of CSS and HTML code to automatically add signature in old and upcoming new posts. The best part about this method is that you can edit your signature at any time and the changes will reflect on every post.
How to add signature to blogger posts

There are two types of signature you can add either text or image and both have different way of installing therefore i have added instruction for both types with images and created a demo to make you have a look.


Added signature to blogger posts



How to Add Signature to Blogger Posts



Step 1. Login to your blogger account > Dashboard > Template > Edit HTML


how to edit blog template for adding signature in posts


Step 2. Click anywhere inside the code and find the following code ( use Ctrl + F ) :

<div class='post-footer'>

Note : There are two occurrence of the above code. 1st occurrence for mobile view and second for desktop.


Step 3. Just above <div class='post-footer'> Place the following code:


     <style type="text/css">
.hbz-signature {
     font-size: 22px;
     font-family: Papyrus,fantasy;
     text-shadow: 5px 2px 2px #dddddd;
     margin-top : 30px;
     text-color: #222222;
}

.hbz-signature span {
     font-size: 14px;
     vertical-align: top;
}
    </style>
    <div class="hbz-signature"><span>By</span> You Name</div>
    <style type="text/css">
.hbz-signature {
     margin-top: 30px;
}

.hbz-signature img {
     background: transparent none repeat scroll 0% 0%;
     border: medium none;
     box-shadow: none;
}
    </style>
    <div class="hbz-signature"><img src="Your Signature Image URL"  alt="Your Image Name"/></div>


 Step 4. Configuration of Code:


For Text Signature:

  • Adjust the value 22 to change font size of text.
  • Replace the value Papyrus,fantasy to change the font family of the text (List of Font Family).
  • Replace the value #dddddd to change text shadow color (Color Codes).
  • Replace the value #222222 to change text color.
  • Replace You Name with your name or with any other text.

For Image Signature:

Note: To create your Signature image you can use photo editing software on your mobile or machine, or the online Pixlr editor.

If you don't know much about editing, you can use tool Mylivesignatue (Recommended).

  • Replace Your Signature Image URL with the URL of the image.
  • Replace Your Image Name with name of the image.
Read : How to Get the URL of an Image

    Step 4. Click Save template.


    That's all!


    Now go through your blog and see you signature text or image on each blogger post. Coding usually depends on the template you are using, therefore if you have and issue related to above tutorial comment below. Stay Updated, Browse Howbloggerz ! :)
    Read more ...

    Tuesday, 17 May 2016

    How to Customize Blogger's Official Lightbox

    Blogger by default added the Lightbox feature to add more interactivity to images we normally upload in our post, with their lightbox its much more easier to view images by using the arrow keys and even the background is darker for getting more focus on the images instead of text added in that post. But till now we do not have any option to customize the overall looks of lightbox by changing its background color, changing the bar color containing all the images small thumbnails and much more.

    How to Customize Blogger's Official Lightbox
    For those of you who have chosen to use the Blogger's Lightbox View instead of custom jquery lightbox for displaying pictures when clicking on them now have the option to change its style in a whole different way by just using few line's of CSS code. You will be able to change the black color of the screen, the border or shadow of the images and the color of the thumbnails background. It means we can customize the Blogger Lightbox entirely on our taste. After adding our CSS code, the entire look of the lightbox window will be changed - the background color, the bar showing the thumbnails, the border of images, the text within it, transparency and the close button. Now just follow the given step by step tutorial with images and demo :


    adding css to custommize blogger official lightbox


    How to Customize Blogger's Official Lightbox



    Step 1. Login to your blogger account > Dashboard > Template > Edit HTML


    how to edit blog template


    Step 2. Click anywhere inside the code and find the following code ( use Ctrl + F ) :

     ]]></b:skin>

    Step 3. Just above ]]></b:skin> add following CSS :


        /* Background or Overlay*/

        .CSS_LIGHTBOX_BG_MASK {
        background-color: #000000 !important;
        background-image: url(background-image-url) !important;
        opacity: 0.8 !important;
        filter: alpha(opacity=90) !important;
        }


        /* Images Border and Shadow */

        .CSS_LIGHTBOX_SCALED_IMAGE_IMG {
        outline: 0px solid #fff !important;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        -webkit-box-shadow: 0px 0px 5px #ffffff;
        -moz-box-shadow: 0px 0px 5px #ffffff;
        box-shadow: 0px 0px 5px #ffffff;
        }


        /* Close Button */

        .CSS_LIGHTBOX_BTN_CLOSE {
        background-image: url(button-image-url) !important;
        }


        /* Thumbnails Bar */

        .CSS_LIGHTBOX_FILMSTRIP {
        background-color: #000000 !important;
        }


        /* Index Info (number of images) */

        .CSS_LIGHTBOX_INDEX_INFO {
        color: #898989 !important;
        }

    Step 4. Configuration of CSS:

    - Replace background-image-url with the URL of the image for background.
    - Replace button-image-url  with the URL of the image for close button.
      For example : background-image: url(https://www.image.com/image.jpg) !important;

      Related post: How to get image URL

      Note : If you want use default value for close button then remove the CSS :

                     /* Close Button */

                     .CSS_LIGHTBOX_BTN_CLOSE {
                     background-image: url(button-image-url) !important;
                      }


    - Adjust the value 0.8 ( from 0 to 1 ) to change the transparency (Opacity) of background.

    - Replace the value #xxxxxx to change the color of particular element in particular section (Color Codes).
    • For example : Say if you want to change the background color of  Thumbnails bar to #ffffff, then change the value #000000 to #ffffff under  /* Thumbnails Bar */ inside background-color :

           /* Thumbnails Bar */

          .CSS_LIGHTBOX_FILMSTRIP {
          background-color: #ffffff !important;
          }

    • Or Say if you want change the Text color of Index Info then change the value #898989 with any other say #dddddd under /* Index Info (number of images) */ inside color :

          /* Index Info (number of images) */

          .CSS_LIGHTBOX_INDEX_INFO {
          color: #dddddd !important;
          }

    - Adjust the value 5  to change the radius of image (all 3 values should be same).

    Note: Make sure your blogger lightbox is enabled - Settings > Posts, comments and sharing > Showcase images with Lightbox


    Step 5. Click Save template.

    Great !

    Refresh your blog and click on any image to see your own customized blogger lightbox. For any issues related to above tutorial comment below. Stay Updated, Browse Howbloggerz ! :)
    Read more ...

    Thursday, 14 April 2016

    Show At Most Posts Setting Not Working In Blogger

    Many users were facing problems related to topic ' The older posts were missing from their blog homepage but they were actually not deleted and still exist in posts list ' or ' The number of posts per page were not matching up with the setting of number of posts per page or that should be shown and missing posts were shown in link "older posts" ' or ' The number of posts on main page / Show at most posts on the main page setting is not Saving properly.

    Posts per page not working or saving properly

    These problem were caused due to the large length of posts in your blog due to which blogger was not able to set preferred numbers of posts per page ( Approx limit  155,000 characters / page for posts ). and therefore shifts your posts to next page ( Older Posts link ).

    To solve this problem Problem you need to add Jump Break in each post to summaries your posts by maintaining the length your posts without shorting / editing posts. This will add link to full post after few defined lines.

    To learn to add jump break follow the given step by step tutorial with images :

    Steps : How To Add Jump Break


    Step 1. Login to your Blogger account, then click on New Post or Open existing post.

    creating new post in blogger



    Step 2. After few lines ( Summary of post ) insert jump break using Blogger Post editor.


    adding jump breaks in blogger posts


    Step 3. Click publish / Update.


    Post Preview after adding Jump Break
    Post Preview after adding Jump Break


    That's all


    Now you can add Jump Breaks in each post either new or old which will also solve the above given problems. For any issues related to above tutorial comment below. Stay Updated, Browse Howbloggerz ! :)
    Read more ...

    Tuesday, 12 April 2016

    How To Backup And Restore Blogger Posts And Template

    Has fear of losing data of your blog posts? Must backup your All blog posts to save your years of hard-work or to Import or Export your blog posts to other platform.

    Thinking to make any changes in your blog template? Remember to backup your Template each time before it to preserve your blog design and layout if you ran into any problem in your edit.

    So, If you want to backup and restore your blogger posts and template to prevent inconvenience to your users. Follow the given step by step tutorial with images :


    How To Backup And Restore Template : 


    Step 1. Login to your Blogger account, then go to Template > Backup / Restore.

    backup restore blogger template


    Step 2. To Backup Template: Click Download full template and save the xml file.


    download blogger template xml file

    Now you have Backup of your Template



    Step 3. To Restore Template: Click Browse... , select the xml file ( Backup file ) and Click Upload.


    restore blogger template


    Now you have successfully Restored your Template.



    How To Backup And Restore Blogger Posts :


    To Backup Blog content :


    Step 1. Login to your Blogger account, then go to Settings > Other > Back up content.


    backup export blogger posts comments and pages



    Step 2. Click Save to your computer and save the xml file.

    save blog posts pages content on computer


    To Restore Blog content :


    Step 1. Login to your Blogger account, then go to Settings > Other > Import content.


    restore import blogger posts comments and pages



    Step 2. Solve the  CAPTCHA ( if any ) Click Import from computer and select the xml file.


    import blogger post pages comments from your computer




    That's it !


    You have successfully backup and restored your blogger Template and content included posts, pages and comments. For any issues related to above tutorial comment below. Stay Updated, Browse Howbloggerz ! :)
    Read more ...

    Wednesday, 23 March 2016

    How To Add Text Watermark To Blogger

    I founded too many questions for adding Watermark to blogger but no proper solution for it, so I decided to create tutorial for my users to add text watermark to blogger. Watermark helps you to reserve your content copyrights and to relate your blog content with your name or brand. If you want to add horizontal, vertical or diagonal text watermark to blogger just follow the given step by step tutorial with images and demo.
    adding watermark to blogger


    Steps : Adding Text Watermark to Blog Posts


    adding watermark to blogger post demo




    Step 1. Log in to your Blogger account, then go to Template > Edit HTML.


    edit blogger template


    Step 2. Click anywhere inside the code and search for following code ( CTRL+F ) :

    <data:post.body/>


    Step 3. Replace the code with this code :

    Note : Their will be two codes replace both.

    <div class='hbzwatermark'><data:post.body/></div>

    placing code for watermark to post body



    Step 4. Again click anywhere inside the code and search for following code :

    ]]></b:skin>


    Step 5. Place this code just above it :

    .hbzwatermark { background: transparent url("https://2.bp.blogspot.com/-x3m5Qr2P3UA/Vu7cNIfcUcI/AAAAAAAAAds/1ziODMCywIgVlr3quFx0SBtPmAYp74T7g/s1600/transparent_text_effect%25282%2529.png") repeat scroll 0% 0% / 200px auto; }

    placing css for watermark to blog posts



    Step 6. Configuration :

    • Replace https://2.bp.blogspot.com/-x3m5Qr2P3UA/Vu7cNIfcUcI/AAAAAAAAAds/1ziODMCywIgVlr3quFx0SBtPmAYp74T7g/s1600/transparent_text_effect%25282%2529.png  with your watermark text image URL.
    • Adjust the value 200 to adjust the size of the watermark text.

    To Create Watermark Text Image Click here.
    • For Diagonal Watermark set 'Text rotation' = -45
    • For Horizontal Watermark set 'Text rotation' = 0
    • For Vertical Watermark set 'Text rotation' = 90
    • For Watermark Do not tick 'Draw text with outline' and neglect 'Outline thickness' & 'Outline color'.
    • Select 'Text color' such that your text is visible over it.
    • For example for white background set 'Text color' to "F0F0F0" and for Dark Background set it to "606060".


    To Find the URL of the Watermark image click here


    Step 7. Save Template.


    That's it


    Now checkout your blog posts you will find your watermark placed behind your blog posts. For any issues related to above tutorial comment below. Stay Updated, Browse Howbloggerz ! :)
    Read more ...

    Saturday, 12 March 2016

    Top jQuery LightBoxes For Blogger (with Demo)

    Blogger lightbox come into play whenever you click on any image in your blogspot post, it pop-up on whole screen like image preview box and shows all images like photo gallery widget. The default blogger photo light box is not stylish and responsive to mobile version but still you can customize blogger lightbox with CSS.

    There are so many blogger lightbox alternative but, i came up with top jQuery lightboxes. These custom lightboxes provides basic key benefits with additional features like auto slideshow, responsive to desktop tablets and mobiles, easy to customize etc. If you want to replace your simple blogger image lightbox viewer with a cool custom stylish responsive jQuery lightbox plugin to show off your pictures gallery in a stylish manner then just follow the below given step by step tutorial with images and demo:

    custom stylish responsive jQuery lightbox for blogger

    Dark Background

    custom stylish responsive jQuery lightbox for blogger dark theme




    White Background

    custom stylish responsive jQuery lightbox for blogger white theme


    Adding jQuery LightBox To Blogger


    Step 1. Log in to your Blogger account, then go to Dashboard > Settings > Posts and comments.

    Step 2. Find "Showcase images with Lightbox" and Select "No", Save settings.

    Step 3. Then Navigate to Template > Click on setting icon under Mobile > Set Custom, then Save.


    Set Custom mobile template in blogger for lightbox



    Step 4. Again go to Template > Edit HTML.


    Edit blogger template to add lightbox in blogger

    Step 5. Click anywhere inside the Template code, then search for the following code ( CTRL+F )

    </head>

    Step 6. Add this code just above it (any one design of your choice).

    <script src='http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js' type='text/javascript'/>
    <script src='https://dl.dropboxusercontent.com/s/44nrvf9a6dtv7a8/ImageLightbox-USER.js' type='text/javascript'></script>
    <script src='http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js' type='text/javascript'></script>
    <script src='https://dl.dropboxusercontent.com/s/ooie16ljsg11jtu/fancybox-USER.js' type='text/javascript'></script>


    Step 7. Again click anywhere inside the Template code, then search for the following code ( CTRL+F )

    ]]></b:skin>

    Step 8. Add this code just above it (any one). Please select respective code in accordance to Step 6.

    For Example: If you have used Design 1 code in Step 6 then choose either Design 1 (White Background) or Design 1 (Dark Background).

            html
            {
                /* killing 300ms touch delay in IE */
                -ms-touch-action: manipulation;
                touch-action: manipulation;
            }
                            button
                            {
                                border: none;
                                cursor: pointer;
                            }


            /* IMAGE LIGHTBOX SELECTOR */

            #imagelightbox
            {
                cursor: pointer;
                position: fixed;
                z-index: 10000;

                -ms-touch-action: none;
                touch-action: none;

                -webkit-box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 );
                box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 );
            }


            /* ACTIVITY INDICATION */

            #imagelightbox-loading,
            #imagelightbox-loading div
            {
                border-radius: 50%;
            }
            #imagelightbox-loading
            {
                width: 2.5em;
                height: 2.5em;
                background-color: rgba( 0, 0, 0, .5 );
                position: fixed;
                z-index: 10003;
                top: 50%;
                left: 50%;
                margin: -1.25em 0 0 -1.25em;
                -webkit-box-shadow: 0 0 2.5em rgba( 0, 0, 0, .75 );
                box-shadow: 0 0 2.5em rgba( 0, 0, 0, .75 );
            }
                #imagelightbox-loading div
                {
                    margin: 25%;
                    width: 1.25em;
                    height: 1.25em;
                    background-color: #fff;

                    -webkit-animation: imagelightbox-loading .5s ease infinite;
                    animation: imagelightbox-loading .5s ease infinite;
                }

                @-webkit-keyframes imagelightbox-loading
                {
                    from { opacity: .5;    -webkit-transform: scale( .75 ); }
                    50%     { opacity: 1;    -webkit-transform: scale( 1 ); }
                    to     { opacity: .5;    -webkit-transform: scale( .75 ); }
                }
                @keyframes imagelightbox-loading
                {
                    from { opacity: .5;    transform: scale( .75 ); }
                    50%     { opacity: 1;    transform: scale( 1 ); }
                    to     { opacity: .5;    transform: scale( .75 ); }
                }


            /* OVERLAY */

            #imagelightbox-overlay
            {
                background-color: rgba( 255, 255, 255, .9 );
                position: fixed;
                z-index: 9998;
                top: 0;
                right: 0;
                bottom: 0;
                left: 0;
            }


            /* "CLOSE" BUTTON */

            #imagelightbox-close
            {
                width: 2.5em;
                height: 2.5em;
                text-align: left;
                background-color: #666;
                border-radius: 50%;
                position: fixed;
                z-index: 10002;
                top: 2.5em;
                right: 2.5em;

                -webkit-transition: color .3s ease;
                transition: color .3s ease;
            }
                #imagelightbox-close:hover,
                #imagelightbox-close:focus
                {
                    background-color: #111;
                }
                #imagelightbox-close:before,
                #imagelightbox-close:after
                {
                    width: 2px;
                    background-color: #fff;
                    content: '';
                    position: absolute;
                    top: 20%;
                    bottom: 20%;
                    left: 50%;
                    margin-left: -1px;
                }
                #imagelightbox-close:before
                {
                    -webkit-transform: rotate( 45deg );
                    -ms-transform: rotate( 45deg );
                    transform: rotate( 45deg );
                }
                #imagelightbox-close:after
                {
                    -webkit-transform: rotate( -45deg );
                    -ms-transform: rotate( -45deg );
                    transform: rotate( -45deg );
                }


            /* CAPTION */

            #imagelightbox-caption
            {
                text-align: center;
                color: #fff;
                background-color: #666;
                position: fixed;
                z-index: 10001;
                left: 0;
                right: 0;
                bottom: 0;
                padding: 0.625em;
            }


            /* NAVIGATION */

            #imagelightbox-nav
            {
                background-color: rgba( 0, 0, 0, .5 );
                border-radius: 20px;
                position: fixed;
                z-index: 10001;
                left: 50%;
                bottom: 3.75em;
                padding: 0.313em;

                -webkit-transform: translateX( -50% );
                -ms-transform: translateX( -50% );
                transform: translateX( -50% );
            }
                #imagelightbox-nav button
                {
                    width: 1em;
                    height: 1em;
                    background-color: transparent;
                    border: 1px solid #fff;
                    border-radius: 50%;
                    display: inline-block;
                    margin: 0 0.313em;
                }
                #imagelightbox-nav button.active
                {
                    background-color: #fff;
                }


            /* ARROWS */

            .imagelightbox-arrow
            {
                width: 3.75em;
                height: 7.5em;
                background-color: rgba( 0, 0, 0, .5 );
                vertical-align: middle;
                display: none;
                position: fixed;
                z-index: 10001;
                top: 50%;
                margin-top: -3.75em;
            }
            .imagelightbox-arrow:hover,
            .imagelightbox-arrow:focus
            {
                background-color: rgba( 0, 0, 0, .75 );
            }
            .imagelightbox-arrow:active
            {
                background-color: #111;
            }
                .imagelightbox-arrow-left
                {
                    left: 2.5em;
                }
                .imagelightbox-arrow-right
                {
                    right: 2.5em;
                }
                .imagelightbox-arrow:before
                {
                    width: 0;
                    height: 0;
                    border: 1em solid transparent;
                    content: '';
                    display: inline-block;
                    margin-bottom: -0.125em;
                }
                    .imagelightbox-arrow-left:before
                    {
                        border-left: none;
                        border-right-color: #fff;
                        margin-left: -0.313em;
                    }
                    .imagelightbox-arrow-right:before
                    {
                        border-right: none;
                        border-left-color: #fff;
                        margin-right: -0.313em;
                    }

            #imagelightbox-loading,
            #imagelightbox-overlay,
            #imagelightbox-close,
            #imagelightbox-caption,
            #imagelightbox-nav,
            .imagelightbox-arrow
            {
                -webkit-animation: fade-in .25s linear;
                animation: fade-in .25s linear;
            }
                @-webkit-keyframes fade-in
                {
                    from    { opacity: 0; }
                    to        { opacity: 1; }
                }
                @keyframes fade-in
                {
                    from    { opacity: 0; }
                    to        { opacity: 1; }
                }

            @media only screen and (max-width: 41.250em)
            {
                #imagelightbox-close
                {
                    top: 1.25em;
                    right: 1.25em;
                }
                .imagelightbox-arrow
                {
                    width: 2.5em;
                    height: 3.75em;
                    margin-top: -2.75em;
                }
                .imagelightbox-arrow-left
                {
                    left: 1.25em;
                }
                .imagelightbox-arrow-right
                {
                    right: 1.25em;
                }
            }

            @media only screen and (max-width: 20em)
            {
                .imagelightbox-arrow-left
                {
                    left: 0;
                }
                .imagelightbox-arrow-right
                {
                    right: 0;
                }
            }
            html
            {
                /* killing 300ms touch delay in IE */
                -ms-touch-action: manipulation;
                touch-action: manipulation;
            }
                            button
                            {
                                border: none;
                                cursor: pointer;
                            }


            /* IMAGE LIGHTBOX SELECTOR */

            #imagelightbox
            {
                cursor: pointer;
                position: fixed;
                z-index: 10000;

                -ms-touch-action: none;
                touch-action: none;

                -webkit-box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 );
                box-shadow: 0 0 3.125em rgba(129, 129, 129, 0.8);
            }


            /* ACTIVITY INDICATION */

            #imagelightbox-loading,
            #imagelightbox-loading div
            {
                border-radius: 50%;
            }
            #imagelightbox-loading
            {
                width: 2.5em;
                height: 2.5em;
                background-color: rgba( 0, 0, 0, .5 );
                position: fixed;
                z-index: 10003;
                top: 50%;
                left: 50%;
                margin: -1.25em 0 0 -1.25em;
                -webkit-box-shadow: 0 0 3.125em rgba(252, 252, 252, 0.8);
                box-shadow: 0 0 3.125em rgba(252, 252, 252, 0.8);
            }
                #imagelightbox-loading div
                {
                    margin: 25%;
                    width: 1.25em;
                    height: 1.25em;
                    background-color: #fff;

                    -webkit-animation: imagelightbox-loading .5s ease infinite;
                    animation: imagelightbox-loading .5s ease infinite;
                }

                @-webkit-keyframes imagelightbox-loading
                {
                    from { opacity: .5;    -webkit-transform: scale( .75 ); }
                    50%     { opacity: 1;    -webkit-transform: scale( 1 ); }
                    to     { opacity: .5;    -webkit-transform: scale( .75 ); }
                }
                @keyframes imagelightbox-loading
                {
                    from { opacity: .5;    transform: scale( .75 ); }
                    50%     { opacity: 1;    transform: scale( 1 ); }
                    to     { opacity: .5;    transform: scale( .75 ); }
                }


            /* OVERLAY */

            #imagelightbox-overlay
            {
                background-color: rgba(86, 86, 86, 0.5);
                position: fixed;
                z-index: 9998;
                top: 0;
                right: 0;
                bottom: 0;
                left: 0;
            }


            /* "CLOSE" BUTTON */

            #imagelightbox-close
            {
                width: 2.5em;
                height: 2.5em;
                text-align: left;
                background-color: #C9C9C9;
                border-radius: 50%;
                position: fixed;
                z-index: 10002;
                top: 2.5em;
                right: 2.5em;

                -webkit-transition: color .3s ease;
                transition: color .3s ease;
            }
                #imagelightbox-close:hover,
                #imagelightbox-close:focus
                {
                    background-color: #fff;
                }
                #imagelightbox-close:before,
                #imagelightbox-close:after
                {
                    width: 2px;
                    background-color: #000;
                    content: '';
                    position: absolute;
                    top: 20%;
                    bottom: 20%;
                    left: 50%;
                    margin-left: -1px;
                }
                #imagelightbox-close:before
                {
                    -webkit-transform: rotate( 45deg );
                    -ms-transform: rotate( 45deg );
                    transform: rotate( 45deg );
                }
                #imagelightbox-close:after
                {
                    -webkit-transform: rotate( -45deg );
                    -ms-transform: rotate( -45deg );
                    transform: rotate( -45deg );
                }

            /* CAPTION */

            #imagelightbox-caption
            {
                text-align: center;
                color: #fff;
                background-color: #666;
                position: fixed;
                z-index: 10001;
                left: 0;
                right: 0;
                bottom: 0;
                padding: 0.625em;
            }


            /* NAVIGATION */

            #imagelightbox-nav
            {
                background-color: rgba( 0, 0, 0, .5 );
                border-radius: 20px;
                position: fixed;
                z-index: 10001;
                left: 50%;
                bottom: 3.75em;
                padding: 0.313em;

                -webkit-transform: translateX( -50% );
                -ms-transform: translateX( -50% );
                transform: translateX( -50% );
            }
                #imagelightbox-nav button
                {
                    width: 1em;
                    height: 1em;
                    background-color: transparent;
                    border: 1px solid #fff;
                    border-radius: 50%;
                    display: inline-block;
                    margin: 0 0.313em;
                }
                #imagelightbox-nav button.active
                {
                    background-color: #fff;
                }


            /* ARROWS */

            .imagelightbox-arrow
            {
                width: 3.75em;
                height: 7.5em;
                background-color: rgba(255, 255, 255, 0.72);
                vertical-align: middle;
                display: none;
                position: fixed;
                z-index: 10001;
                top: 50%;
                margin-top: -3.75em;
            }
            .imagelightbox-arrow:hover,
            .imagelightbox-arrow:focus
            {
                background-color: rgba(167, 167, 167, 0.8);
            }
            .imagelightbox-arrow:active
            {
                background-color: #A5A5A5;
            }
                .imagelightbox-arrow-left
                {
                    left: 2.5em;
                }
                .imagelightbox-arrow-right
                {
                    right: 2.5em;
                }
                .imagelightbox-arrow:before
                {
                    width: 0;
                    height: 0;
                    border: 1em solid transparent;
                    content: '';
                    display: inline-block;
                    margin-bottom: -0.125em;
                }
                    .imagelightbox-arrow-left:before
                    {
                        border-left: none;
                        border-right-color: #000;
                        margin-left: -0.313em;
                    }
                    .imagelightbox-arrow-right:before
                    {
                        border-right: none;
                        border-left-color: #000;
                        margin-right: -0.313em;
                    }

            #imagelightbox-loading,
            #imagelightbox-overlay,
            #imagelightbox-close,
            #imagelightbox-caption,
            #imagelightbox-nav,
            .imagelightbox-arrow
            {
                -webkit-animation: fade-in .25s linear;
                animation: fade-in .25s linear;
            }
                @-webkit-keyframes fade-in
                {
                    from    { opacity: 0; }
                    to        { opacity: 1; }
                }
                @keyframes fade-in
                {
                    from    { opacity: 0; }
                    to        { opacity: 1; }
                }

            @media only screen and (max-width: 41.250em)
            {
                #imagelightbox-close
                {
                    top: 1.25em;
                    right: 1.25em;
                }
                .imagelightbox-arrow
                {
                    width: 2.5em;
                    height: 3.75em;
                    margin-top: -2.75em;
                }
                .imagelightbox-arrow-left
                {
                    left: 1.25em;
                }
                .imagelightbox-arrow-right
                {
                    right: 1.25em;
                }
            }

            @media only screen and (max-width: 20em)
            {
                .imagelightbox-arrow-left
                {
                    left: 0;
                }
                .imagelightbox-arrow-right
                {
                    right: 0;
                }
            }


    /* fancyBox Main */
    .fancybox-wrap,
    .fancybox-skin,
    .fancybox-outer,
    .fancybox-inner,
    .fancybox-image,
    .fancybox-wrap iframe,
    .fancybox-wrap object,
    .fancybox-nav,
    .fancybox-nav span,
    .fancybox-tmp
    {
        padding: 0;
        margin: 0;
        border: 0;
        outline: none;
        vertical-align: top;
    }

    .fancybox-wrap {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 8020;
    }

    .fancybox-skin {
        position: relative;
        background: #f9f9f9;
        color: #444;
        text-shadow: none;
        -webkit-border-radius: 4px;
           -moz-border-radius: 4px;
                border-radius: 4px;
    }

    .fancybox-opened {
        z-index: 8030;
    }

    .fancybox-opened .fancybox-skin {
        -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
           -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
                box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    }

    .fancybox-outer, .fancybox-inner {
        position: relative;
    }

    .fancybox-inner {
        overflow: hidden;
    }

    .fancybox-type-iframe .fancybox-inner {
        -webkit-overflow-scrolling: touch;
    }

    .fancybox-error {
        color: #444;
        font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
        margin: 0;
        padding: 15px;
        white-space: nowrap;
    }

    .fancybox-image, .fancybox-iframe {
        display: block;
        width: 100%;
        height: 100%;
    }

    .fancybox-image {
        max-width: 100%;
        max-height: 100%;
    }

    #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
        background-image: url('https://2.bp.blogspot.com/-V755Gx8-aHo/VvLBeoE0lfI/AAAAAAAAAgI/OpsdezqDFgkS2nN1F5vWYbBvfedfEg04A/s1600/fancybox_sprite.png');
    }

    #fancybox-loading {
        position: fixed;
        top: 50%;
        left: 50%;
        margin-top: -22px;
        margin-left: -22px;
        background-position: 0 -108px;
        opacity: 0.8;
        cursor: pointer;
        z-index: 8060;
    }

    #fancybox-loading div {
        width: 44px;
        height: 44px;
        background: url('https://1.bp.blogspot.com/-FBR9kEb_gaI/VvLB3gVvDLI/AAAAAAAAAgU/ha179LldSXYq9ZlC4exnXj77ZY8EPuq2w/s1600/fancybox_loading.gif') center center no-repeat;
    }

    .fancybox-close {
        position: absolute;
        top: -18px;
        right: -18px;
        width: 36px;
        height: 36px;
        cursor: pointer;
        z-index: 8040;
    }

    .fancybox-nav {
        position: absolute;
        top: 0;
        width: 40%;
        height: 100%;
        cursor: pointer;
        text-decoration: none;
        background: transparent url('https://2.bp.blogspot.com/-PIoTiFEzeK0/VvLB3HBpVLI/AAAAAAAAAgM/cTIi7zRnHt4ZH3RfyB_Z3aQexOfGAl8ng/s1600/blank.gif'); /* helps IE */
        -webkit-tap-highlight-color: rgba(0,0,0,0);
        z-index: 8040;
    }

    .fancybox-prev {
        left: 0;
    }

    .fancybox-next {
        right: 0;
    }

    .fancybox-nav span {
        position: absolute;
        top: 50%;
        width: 36px;
        height: 34px;
        margin-top: -18px;
        cursor: pointer;
        z-index: 8040;
        visibility: hidden;
    }

    .fancybox-prev span {
        left: 10px;
        background-position: 0 -36px;
    }

    .fancybox-next span {
        right: 10px;
        background-position: 0 -72px;
    }

    .fancybox-nav:hover span {
        visibility: visible;
    }

    .fancybox-tmp {
        position: absolute;
        top: -99999px;
        left: -99999px;
        visibility: hidden;
        max-width: 99999px;
        max-height: 99999px;
        overflow: visible !important;
    }

    /* Overlay helper */

    .fancybox-lock {
        overflow: hidden !important;
        width: auto;
    }

    .fancybox-lock body {
        overflow: hidden !important;
    }

    .fancybox-lock-test {
        overflow-y: hidden !important;
    }

    .fancybox-overlay {
        position: absolute;
        top: 0;
        left: 0;
        overflow: hidden;
        display: none;
        z-index: 8010;
        background: url('https://2.bp.blogspot.com/-t6wceVBTl8s/VvLB3S7QVhI/AAAAAAAAAgQ/1I-YNtB_t4kDWjIOwhYl1p9DCzPAiedbQ/s1600/fancybox_overlay.png');
    }

    .fancybox-overlay-fixed {
        position: fixed;
        bottom: 0;
        right: 0;
    }

    .fancybox-lock .fancybox-overlay {
        overflow: auto;
        overflow-y: scroll;
    }

    /* Title helper */

    .fancybox-title {
        visibility: hidden;
        font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
        position: relative;
        text-shadow: none;
        z-index: 8050;
    }

    .fancybox-opened .fancybox-title {
        visibility: visible;
    }

    .fancybox-title-float-wrap {
        position: absolute;
        bottom: 0;
        right: 50%;
        margin-bottom: -35px;
        z-index: 8050;
        text-align: center;
    }

    .fancybox-title-float-wrap .child {
        display: inline-block;
        margin-right: -100%;
        padding: 2px 20px;
        background: transparent; /* Fallback for web browsers that doesn't support RGBa */
        background: rgba(0, 0, 0, 0.8);
        -webkit-border-radius: 15px;
           -moz-border-radius: 15px;
                border-radius: 15px;
        text-shadow: 0 1px 2px #222;
        color: #FFF;
        font-weight: bold;
        line-height: 24px;
        white-space: nowrap;
    }

    .fancybox-title-outside-wrap {
        position: relative;
        margin-top: 10px;
        color: #fff;
    }

    .fancybox-title-inside-wrap {
        padding-top: 10px;
    }

    .fancybox-title-over-wrap {
        position: absolute;
        bottom: 0;
        left: 0;
        color: #fff;
        padding: 10px;
        background: #000;
        background: rgba(0, 0, 0, .8);
    }

    /*Retina graphics!*/
    @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
           only screen and (min--moz-device-pixel-ratio: 1.5),
           only screen and (min-device-pixel-ratio: 1.5){

        #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
            background-image: url('https://2.bp.blogspot.com/-f59tFoWHbqw/VvLB4SmY8gI/AAAAAAAAAgY/PWzmVZLWqTcWWFrQJJkOM69XKzpQ7xTaA/s1600/fancybox_sprite%25402x.png');
            background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
        }

        #fancybox-loading div {
            background-image: url('https://4.bp.blogspot.com/-LH86XZ6LOSE/VvLDfZsH5HI/AAAAAAAAAgo/t3MhJb6mNq4GQFTk2k4RRjgjR1LHBBeXw/s1600/fancybox_loading%25402x.gif');
            background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
        }
    }
     /* fancyBox helper button */

    #fancybox-buttons {
        position: fixed;
        left: 0;
        width: 100%;
        z-index: 8050;
    }

    #fancybox-buttons.top {
        top: 10px;
    }

    #fancybox-buttons.bottom {
        bottom: 10px;
    }

    #fancybox-buttons ul {
        display: block;
        width: 166px;
        height: 30px;
        margin: 0 auto;
        padding: 0;
        list-style: none;
        border: 1px solid #111;
        border-radius: 3px;
        -webkit-box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
           -moz-box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
                box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
        background: rgb(50,50,50);
        background: -moz-linear-gradient(top, rgb(68,68,68) 0%, rgb(52,52,52) 50%, rgb(41,41,41) 50%, rgb(51,51,51) 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(68,68,68)), color-stop(50%,rgb(52,52,52)), color-stop(50%,rgb(41,41,41)), color-stop(100%,rgb(51,51,51)));
        background: -webkit-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%);
        background: -o-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%);
        background: -ms-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%);
        background: linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#222222',GradientType=0 );
    }

    #fancybox-buttons ul li {
        float: left;
        margin: 0;
        padding: 0;
    }

    #fancybox-buttons a {
        display: block;
        width: 30px;
        height: 30px;
        text-indent: -9999px;
        background-color: transparent;
        background-image: url('https://4.bp.blogspot.com/-qU-5UJI6QGU/VvPAKxDIltI/AAAAAAAAAhw/ZEqAL6b0L2ouAnI8ssoBNZDJ4KoRwze9A/s1600/fancybox_buttons.png');
        background-repeat: no-repeat;
        outline: none;
        opacity: 0.8;
    }

    #fancybox-buttons a:hover {
        opacity: 1;
    }

    #fancybox-buttons a.btnPrev {
        background-position: 5px 0;
    }

    #fancybox-buttons a.btnNext {
        background-position: -33px 0;
        border-right: 1px solid #3e3e3e;
    }

    #fancybox-buttons a.btnPlay {
        background-position: 0 -30px;
    }

    #fancybox-buttons a.btnPlayOn {
        background-position: -30px -30px;
    }

    #fancybox-buttons a.btnToggle {
        background-position: 3px -60px;
        border-left: 1px solid #111;
        border-right: 1px solid #3e3e3e;
        width: 35px
    }

    #fancybox-buttons a.btnToggleOn {
        background-position: -27px -60px;
    }

    #fancybox-buttons a.btnClose {
        border-left: 1px solid #111;
        width: 35px;
        background-position: -56px 0px;
    }

    #fancybox-buttons a.btnDisabled {
        opacity : 0.4;
        cursor: default;
    }

     /* fancybox thumbnail helper */

    #fancybox-thumbs {
        position: fixed;
        left: 0;
        width: 100%;
        overflow: hidden;
        z-index: 8050;
    }

    #fancybox-thumbs.bottom {
        bottom: 2px;
    }

    #fancybox-thumbs.top {
        top: 2px;
    }

    #fancybox-thumbs ul {
        position: relative;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #fancybox-thumbs ul li {
        float: left;
        padding: 1px;
        opacity: 0.5;
    }

    #fancybox-thumbs ul li.active {
        opacity: 0.75;
        padding: 0;
        border: 1px solid #fff;
    }

    #fancybox-thumbs ul li:hover {
        opacity: 1;
    }

    #fancybox-thumbs ul li a {
        display: block;
        position: relative;
        overflow: hidden;
        border: 1px solid #222;
        background: #111;
        outline: none;
    }

    #fancybox-thumbs ul li img {
        display: block;
        position: relative;
        border: 0;
        padding: 0;
        max-width: none;
    }
    /* fancyBox Main */
    .fancybox-wrap,
    .fancybox-skin,
    .fancybox-outer,
    .fancybox-inner,
    .fancybox-image,
    .fancybox-wrap iframe,
    .fancybox-wrap object,
    .fancybox-nav,
    .fancybox-nav span,
    .fancybox-tmp
    {
        padding: 0;
        margin: 0;
        border: 0;
        outline: none;
        vertical-align: top;
    }

    .fancybox-wrap {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 8020;
    }

    .fancybox-skin {
        position: relative;
        background: rgba(26, 26, 26, 0.70);
        color: #444;
        text-shadow: none;
        -webkit-border-radius: 4px;
           -moz-border-radius: 4px;
                border-radius: 4px;
    }

    .fancybox-opened {
        z-index: 8030;
    }

    .fancybox-opened .fancybox-skin {
        -webkit-box-shadow: 0 0px 25px rgba(132, 132, 132, 0.5);
           -moz-box-shadow: 0 0px 25px rgba(132, 132, 132, 0.5);
                box-shadow: 0 0px 25px rgba(132, 132, 132, 0.5);
    }

    .fancybox-outer, .fancybox-inner {
        position: relative;
    }

    .fancybox-inner {
        overflow: hidden;
    }

    .fancybox-type-iframe .fancybox-inner {
        -webkit-overflow-scrolling: touch;
    }

    .fancybox-error {
        color: #444;
        font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
        margin: 0;
        padding: 15px;
        white-space: nowrap;
    }

    .fancybox-image, .fancybox-iframe {
        display: block;
        width: 100%;
        height: 100%;
    }

    .fancybox-image {
        max-width: 100%;
        max-height: 100%;
    }

    #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
        background-image: url('https://2.bp.blogspot.com/-V755Gx8-aHo/VvLBeoE0lfI/AAAAAAAAAgI/OpsdezqDFgkS2nN1F5vWYbBvfedfEg04A/s1600/fancybox_sprite.png');
    }

    #fancybox-loading {
        position: fixed;
        top: 50%;
        left: 50%;
        margin-top: -22px;
        margin-left: -22px;
        background-position: 0 -108px;
        opacity: 0.8;
        cursor: pointer;
        z-index: 8060;
    }

    #fancybox-loading div {
        width: 44px;
        height: 44px;
        background: url('https://1.bp.blogspot.com/-FBR9kEb_gaI/VvLB3gVvDLI/AAAAAAAAAgU/ha179LldSXYq9ZlC4exnXj77ZY8EPuq2w/s1600/fancybox_loading.gif') center center no-repeat;
    }

    .fancybox-close {
        position: absolute;
        top: -18px;
        right: -18px;
        width: 36px;
        height: 36px;
        cursor: pointer;
        z-index: 8040;
    }

    .fancybox-nav {
        position: absolute;
        top: 0;
        width: 40%;
        height: 100%;
        cursor: pointer;
        text-decoration: none;
        background: transparent url('https://2.bp.blogspot.com/-PIoTiFEzeK0/VvLB3HBpVLI/AAAAAAAAAgM/cTIi7zRnHt4ZH3RfyB_Z3aQexOfGAl8ng/s1600/blank.gif'); /* helps IE */
        -webkit-tap-highlight-color: rgba(0,0,0,0);
        z-index: 8040;
    }

    .fancybox-prev {
        left: 0;
    }

    .fancybox-next {
        right: 0;
    }

    .fancybox-nav span {
        position: absolute;
        top: 50%;
        width: 36px;
        height: 34px;
        margin-top: -18px;
        cursor: pointer;
        z-index: 8040;
        visibility: hidden;
    }

    .fancybox-prev span {
        left: 10px;
        background-position: 0 -36px;
    }

    .fancybox-next span {
        right: 10px;
        background-position: 0 -72px;
    }

    .fancybox-nav:hover span {
        visibility: visible;
    }

    .fancybox-tmp {
        position: absolute;
        top: -99999px;
        left: -99999px;
        visibility: hidden;
        max-width: 99999px;
        max-height: 99999px;
        overflow: visible !important;
    }

    /* Overlay helper */

    .fancybox-lock {
        overflow: hidden !important;
        width: auto;
    }

    .fancybox-lock body {
        overflow: hidden !important;
    }

    .fancybox-lock-test {
        overflow-y: hidden !important;
    }

    .fancybox-overlay {
        position: absolute;
        top: 0;
        left: 0;
        overflow: hidden;
        display: none;
        z-index: 8010;
        background: url('https://2.bp.blogspot.com/-t6wceVBTl8s/VvLB3S7QVhI/AAAAAAAAAgQ/1I-YNtB_t4kDWjIOwhYl1p9DCzPAiedbQ/s1600/fancybox_overlay.png');
    }

    .fancybox-overlay-fixed {
        position: fixed;
        bottom: 0;
        right: 0;
    }

    .fancybox-lock .fancybox-overlay {
        overflow: auto;
        overflow-y: scroll;
    }

    /* Title helper */

    .fancybox-title {
        visibility: hidden;
        font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
        position: relative;
        text-shadow: none;
        z-index: 8050;
    }

    .fancybox-opened .fancybox-title {
        visibility: visible;
    }

    .fancybox-title-float-wrap {
        position: absolute;
        bottom: 0;
        right: 50%;
        margin-bottom: -35px;
        z-index: 8050;
        text-align: center;
    }

    .fancybox-title-float-wrap .child {
        display: inline-block;
        margin-right: -100%;
        padding: 2px 20px;
        background: transparent; /* Fallback for web browsers that doesn't support RGBa */
        background: rgba(0, 0, 0, 0.8);
        -webkit-border-radius: 15px;
           -moz-border-radius: 15px;
                border-radius: 15px;
        text-shadow: 0 1px 2px #222;
        color: #FFF;
        font-weight: bold;
        line-height: 24px;
        white-space: nowrap;
    }

    .fancybox-title-outside-wrap {
        position: relative;
        margin-top: 10px;
        color: #fff;
    }

    .fancybox-title-inside-wrap {
        padding-top: 10px;
        Color : #ffffff;
    }

    .fancybox-title-over-wrap {
        position: absolute;
        bottom: 0;
        left: 0;
        color: #fff;
        padding: 10px;
        background: #000;
        background: rgba(0, 0, 0, .8);
    }

    /*Retina graphics!*/
    @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
           only screen and (min--moz-device-pixel-ratio: 1.5),
           only screen and (min-device-pixel-ratio: 1.5){

        #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
            background-image: url('https://2.bp.blogspot.com/-f59tFoWHbqw/VvLB4SmY8gI/AAAAAAAAAgY/PWzmVZLWqTcWWFrQJJkOM69XKzpQ7xTaA/s1600/fancybox_sprite%25402x.png');
            background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
        }

        #fancybox-loading div {
            background-image: url('https://4.bp.blogspot.com/-LH86XZ6LOSE/VvLDfZsH5HI/AAAAAAAAAgo/t3MhJb6mNq4GQFTk2k4RRjgjR1LHBBeXw/s1600/fancybox_loading%25402x.gif');
            background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
        }
    }

    /* fancyBox helper button */

    #fancybox-buttons {
        position: fixed;
        left: 0;
        width: 100%;
        z-index: 8050;
    }

    #fancybox-buttons.top {
        top: 10px;
    }

    #fancybox-buttons.bottom {
        bottom: 10px;
    }

    #fancybox-buttons ul {
        display: block;
        width: 166px;
        height: 30px;
        margin: 0 auto;
        padding: 0;
        list-style: none;
        border: 1px solid #111;
        border-radius: 3px;
        -webkit-box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
           -moz-box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
                box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
        background: rgb(50,50,50);
        background: -moz-linear-gradient(top, rgb(68,68,68) 0%, rgb(52,52,52) 50%, rgb(41,41,41) 50%, rgb(51,51,51) 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(68,68,68)), color-stop(50%,rgb(52,52,52)), color-stop(50%,rgb(41,41,41)), color-stop(100%,rgb(51,51,51)));
        background: -webkit-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%);
        background: -o-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%);
        background: -ms-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%);
        background: linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#222222',GradientType=0 );
    }

    #fancybox-buttons ul li {
        float: left;
        margin: 0;
        padding: 0;
    }

    #fancybox-buttons a {
        display: block;
        width: 30px;
        height: 30px;
        text-indent: -9999px;
        background-color: transparent;
        background-image: url('https://4.bp.blogspot.com/-qU-5UJI6QGU/VvPAKxDIltI/AAAAAAAAAhw/ZEqAL6b0L2ouAnI8ssoBNZDJ4KoRwze9A/s1600/fancybox_buttons.png');
        background-repeat: no-repeat;
        outline: none;
        opacity: 0.8;
    }

    #fancybox-buttons a:hover {
        opacity: 1;
    }

    #fancybox-buttons a.btnPrev {
        background-position: 5px 0;
    }

    #fancybox-buttons a.btnNext {
        background-position: -33px 0;
        border-right: 1px solid #3e3e3e;
    }

    #fancybox-buttons a.btnPlay {
        background-position: 0 -30px;
    }

    #fancybox-buttons a.btnPlayOn {
        background-position: -30px -30px;
    }

    #fancybox-buttons a.btnToggle {
        background-position: 3px -60px;
        border-left: 1px solid #111;
        border-right: 1px solid #3e3e3e;
        width: 35px
    }

    #fancybox-buttons a.btnToggleOn {
        background-position: -27px -60px;
    }

    #fancybox-buttons a.btnClose {
        border-left: 1px solid #111;
        width: 35px;
        background-position: -56px 0px;
    }

    #fancybox-buttons a.btnDisabled {
        opacity : 0.4;
        cursor: default;
    }

    /* fancybox thumbnail helper */

    #fancybox-thumbs {
        position: fixed;
        left: 0;
        width: 100%;
        overflow: hidden;
        z-index: 8050;
    }

    #fancybox-thumbs.bottom {
        bottom: 2px;
    }

    #fancybox-thumbs.top {
        top: 2px;
    }

    #fancybox-thumbs ul {
        position: relative;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #fancybox-thumbs ul li {
        float: left;
        padding: 1px;
        opacity: 0.5;
    }

    #fancybox-thumbs ul li.active {
        opacity: 0.75;
        padding: 0;
        border: 1px solid #fff;
    }

    #fancybox-thumbs ul li:hover {
        opacity: 1;
    }

    #fancybox-thumbs ul li a {
        display: block;
        position: relative;
        overflow: hidden;
        border: 1px solid #222;
        background: #111;
        outline: none;
    }

    #fancybox-thumbs ul li img {
        display: block;
        position: relative;
        border: 0;
        padding: 0;
        max-width: none;
    }



    Step 9. Configuration :

    Design 1 :

    Add Following codes Just Above ]]></b:skin>  To remove following items from Design 1.

    Note: If you don't want to remove any item from design 1 please skip this step.

    1. To Remove Overlay:  #imagelightbox-overlay { display: none; }
    2. To Remove Close Button:  #imagelightbox-close  { display: none; }
    3. To Remove Arrows:  .imagelightbox-arrow { display: none !important; }
    4. To Remove Navigation:  #imagelightbox-nav { display: none; }
    5. To Remove Caption:  #imagelightbox-caption { display: none; }

    Design 2 :

    Add following codes just above </head> To add following items in Design 2.

    Note: Use must need to add anyone of the following :

    <script type='text/javascript'>
        $(document).ready(function() {

            $('.post-body a[href]:has(img)').attr('rel', 'gallery').fancybox({

                openEffect: 'fade',
                closeEffect: 'fade',

                prevEffect: 'elastic',
                nextEffect: 'elastic',

                padding: 15,
                arrows: true,
                closeBtn: true,
                helpers: {
                    title: {
                        type: 'float',
                    },
                },

                beforeShow: function() {
                    var alt = this.element.find('img').attr('alt');

                    this.inner.find('img').attr('alt', alt);

                    this.title = alt;
                },
            });
        });
    </script>
    <script type='text/javascript'>
        $(document).ready(function() {

            $('.post-body a[href]:has(img)').attr('rel', 'gallery').fancybox({

                openEffect: 'fade',
                closeEffect: 'fade',

                prevEffect: 'elastic',
                nextEffect: 'elastic',

                padding: 15,
                arrows: true,
                closeBtn: false,
                helpers: {
                    title: {
                        type: 'inside',
                    },
                    buttons: {},
                },

                afterLoad: function() {
                    this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
                },
            });
        });
    </script>
    <script type='text/javascript'>
        $(document).ready(function() {

            $('.post-body a[href]:has(img)').attr('rel', 'gallery').fancybox({

                openEffect: 'fade',
                closeEffect: 'fade',

                prevEffect: 'elastic',
                nextEffect: 'elastic',

                padding: 15,
                arrows: false,
                closeBtn: true,
                helpers: {
                    title: {
                        type: 'over',
                    },
                    thumbs: {
                        width: 50,
                        height: 50,
                    },
                },

                beforeShow: function() {
                    var alt = this.element.find('img').attr('alt');

                    this.inner.find('img').attr('alt', alt);

                    this.title = alt;
                }
            });
        });
    </script>

    Design 2 Customization ( Optional ) :

    • Adjust the value of openEffect / closeEffect / prevEffect / nextEffect to ( 'elastic', 'fade' or 'none' ) to change Animation effect.
    • Adjust the value of padding to adjust image border.
    • Adjust the value of arrows / closeBtn to ( true or false ) to ( enable or disable ) respective functions.
    • Adjust the value type to ( 'float', 'inside', 'outside' or 'over' ) to change caption style ( See demo caption for information ).

    Step 10. Click Save Template.

    Addition Features in Lightbox :

    Design 1:

    Source: Image Lightbox By osvaldas

    1. Navigation with touch swipe or touch friendly.
    2. Click on image (Left or Right) will navigate to (Previous or Next) Image.
    3. Works with keyboard shortcuts (arrows Left/Right and Esc).
    4. Silently preload the next image.
    5. Support png, jpg, jpeg, gif formats.

    Design 2:

    Source: fancyBox - jQuery Lightbox

    1. Image Slideshow.
    2. Click on image (Left or Right) will navigate to (Previous or Next) Image.
    3. Toggle image to fullscreen with shortcut key 'f'.
    4. Start / Stop slideshow with shortcut key 'space'.
    5. Works with keyboard shortcuts (arrows Left/Right and Esc).
    6. Different caption styles.

    Note : alt attribute value will be considered as caption.

    Great! Enjoy Now.

    Now click on any image in your blog posts, you will see your own cool design of Lightbox in web as well as mobile version of you blog. For any issues related to above Tutorial Please Comment Below. Stay Updated, Browse Howbloggerz ! :)
    Read more ...