/*
Theme Name: CentralNews
Theme URI:  https://afthemes.com/products/centralnews/
Author:     AF themes
Author URI: https://afthemes.com/
Description: CentralNews is a user-friendly WordPress theme designed for news, blog, and magazine websites. It lets you quickly set up your site with one-click demo imports and easily manage content using 9+ custom widgets. The theme offers stylish options like various banners, light/dark mode, and is customizable via the live customizer. Supporting RTL languages and compatible with Elementor, Gutenberg blocks, and WooCommerce, it even allows for seamless integration of an online store. CentralNews is optimized for search engines and comes with dedicated support. Explore demos and documentation at https://afthemes.com/products/centralnews/.
Template: morenews
Version: 2.0.54
Requires at least: 4.0
Requires PHP: 5.3
Tested up to: 6.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: centralnews
Tags: news, blog, entertainment, one-column, two-columns, three-columns, four-columns, grid-layout, block-patterns, block-styles, left-sidebar, right-sidebar, custom-header, flexible-header, custom-background, custom-logo, custom-menu, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, footer-widgets, translation-ready, theme-options, threaded-comments, wide-blocks

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

CentralNews WordPress Theme, Copyright 2025 AF themes
CentralNews is distributed under the terms of the GNU GPL v2 or later.
*/



body,
button,
input,
select,
optgroup,
textarea {
    line-height: 1.7
}

input {
    vertical-align: middle
}

textarea {
    width: 100%
}

body .reply a, 
div#respond input[type="submit"],
.btn-style1 a:visited,
.btn-style1 a,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    padding: 5px 20px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
}

p {
    margin-bottom: 20px
}

div#main-navigation-bar {
    background: #BF0A30
}

.exclusive-posts .exclusive-now {
    background-color: #002868
}

.main-navigation .menu-description {
    background-color: #002868
}

.main-navigation .menu-description:after {
    border-top: 5px solid #002868
}

div.custom-menu-link>a {
    background: #002868
}

.af-cat-widget-carousel a.morenews-categories.category-color-1 {
    background-color: #002868
}

a.morenews-categories.category-color-1 {
    color: #002868
}

.af-cat-widget-carousel a.morenews-categories.category-color-2 {
    background-color: #BF0A30
}

a.morenews-categories.category-color-2 {
    color: #BF0A30
}

.entry-content,
.entry-header .post-excerpt {
    font-size: 18px
}

body.single-post .entry-title,
h1.page-title {
    font-size: 34px
}

.cat-links li a {
    font-size: 12px;
    letter-spacing: normal;
    line-height: 1
}

.af-cat-widget-carousel a.morenews-categories {
    padding: 5px 10px
}


blockquote {
    font-size: 1.4rem
}

ul.trail-items li a {
    font-size: 16px;
    opacity: 1
}

.entry-header .entry-meta {
    font-size: 16px
}

.entry-header .post-excerpt {
    font-size: 1.4rem
}

a.comment-reply-link {
    font-size: 12px;
    padding: 5px 10px;
    transition: all 300ms ease-out;
    text-transform: uppercase;
    font-weight: 700
}

a.comment-reply-link,
a.comment-reply-link:visited,
a.comment-reply-link:hover,
a.comment-reply-link:focus{
    color: #ffffff;
}

.comment-metadata a {
    font-size: 16px
}

.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment-excerpt,
.wp-block-latest-comments .wp-block-latest-comments__comment-excerpt {
    margin: 20px 0 0
}

.wp-calendar-table tbody,
#wp-calendar tbody {
    color: #404040
}

#wp-calendar thead th {
    font-weight: 700
}

.aft-dark-mode .wp-block-table :where(figcaption),
.aft-dark-mode .wp-block-calendar table:where(:not(.has-text-color)),
.aft-dark-mode .wp-calendar-table tbody,
.aft-dark-mode #wp-calendar tbody {
    color: #fff
}

.aft-dark-mode #content a,
.aft-dark-mode a,
.aft-dark-mode #content a:visited {
    color: #fff;
}

.wp-block-table thead {
    border-bottom: 2px solid
}

.wp-block-table tfoot {
    border-top: 2px solid
}

.wp-block-table :where(figcaption) {
    font-size: 14px;
    font-style: italic
}

.gallery-caption {
    position: static
}

figcaption a {
    text-decoration: underline
}

.wp-caption .wp-caption-text {
    font-size: 16px;
    font-style: italic
}

.morenews-pagination .nav-links .page-numbers.dots {
    border-width: 0
}

body.page div.comments-area {
    padding: 0;
    -webkit-box-shadow: none;
    box-shadow: none
}

.entry-content>[class^="wp-block-"] {
    margin-bottom: 30px
}


.wp-block-code code,
.wp-block-code .editor-plain-text,
body.aft-dark-mode #sidr, 
body.aft-dark-mode code, 
body.aft-dark-mode {
    background-color: #1a1a1a;
}

blockquote cite {
    text-transform: none;
    font-style: italic;
    font-size: .75em
}

dl {
    padding: 20px
}

.wp-block-latest-posts.wp-block-latest-posts__list li,
.wp-block-latest-comments li.wp-block-latest-comments__comment,
.wp-block-group ul li,
.widget:not(.morenews_social_contacts_widget) ul.menu>li,
.widget ul ul li,
.widget>ul>li {
    margin-bottom: 10px;
    padding-bottom: 10px
}

ul.wp-block-categories-list.wp-block-categories li a,
ul.wp-block-archives-list.wp-block-archives li a {
    font-weight: 700;
    transition: all .075s linear;
    border-width: 0
}

.morenews-widget .wp-block-group .wp-block-heading{
    font-size: 16px;
}

.morenews_posts_slider_widget .read-single .read-details .read-title h3,
article.latest-posts-full .read-title h3,
.af-banner-carousel .read-title h3 {
    font-size: 34px
}

.wp-post-author .wp-post-author-meta-bio {
    opacity: 1
}

.wp-post-author .awpa-display-name {
    font-weight: 700
}

.awpa-review-field .right-star .awpa-rating-button {
    border-radius: 50px;
    text-transform: none;
    font-weight: 400;
    line-height: normal
}

a.awpa-more-posts:hover {
    border-bottom: 1px solid !important
}

body.single h3.awpa-title,
body.single .awpa-review-field h3 {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid #0003
}

.wp-post-author-meta-more-posts {
    margin-bottom: 20px
}

body .af-social-contacts .social-widget-menu .screen-reader-text {
    font-size: 14px;
    font-weight: 700
}

body .social-widget-menu ul li a:after,
body .aft-small-social-menu ul li a:after {
    font-size: 16px
}

pre.wp-block-verse {
    padding: 20px;
    background-color: #efefef
}

.wp-block-pullquote {
    padding: 20px
}

body .post-navigation .em-post-navigation {
    opacity: 1;
    font-weight: normal;
}

body.single-post .aft-image-caption {
    background: #000c
}

.aft-image-caption p,
.entry-content.read-details .entry-meta {
    font-size: 16px
}

body .entry-content > ul a.wp-block-pages-list__item__link {
    border: none;
}

article .promotionspace .morenews-customizer {
    margin-bottom: 0;
}
article .mailchimp-block {    
    margin-top: 20px;
}

.site-info {
    text-align: center;
    padding: 10px;
}

.home-featured-widgets .morenews-widget:last-child {    
    margin-bottom: 20px;
}

.secondary-footer .af-container-row,
.site-info .af-container-row {
    margin: 0;
}

/* 
.elementor-page .container-wrapper,
.elementor-default .container-wrapper {
    
    max-width: 1260px;
} */

body.single-post .aft-image-caption {    
    background: rgb(0 0 0 / 75%);   
}

.aft-image-caption p {    
    opacity: 1; 
    font-size: 14px;
}

@media only screen and (max-width: 375px) {
    body .site-branding .site-title {
        font-size: 2.75rem
    }   
}




@media only screen and (max-width: 640px) {
    .container-wrapper {
        padding-left: 10px;
        padding-right: 10px
    }   

    
    body.single-post .entry-title,
    body h1.page-title {
        font-size: 1.75rem
    }

    body.single .entry-header .aft-post-excerpt-and-meta .post-excerpt {
        font-size: 1.2rem
    }

    .reply,
    .comment div#respond,
    .comment-content,
    .comment .children {
        margin-left: 50px;
    }

    .comment-author img {
        width: 30px;
    }

    .comment .children .children .reply,
    .comment .children .children .comment-content,
    .comment .children .children .children .children {
        margin-left: 0;
    }
}

@media screen and (max-width: 768px) {
    .exclusive-posts .exclusive-now {
        float: left;
    }

    .main-navigation .menu .menu-mobile {
        width: 50%;
    }

    .header-layout-3 .site-header .site-branding .site-title,     
    body .site-branding .site-title {
        font-size: 2.75rem
    }
}

@media only screen and (max-width: 479px) {
    .exclusive-posts .exclusive-now {
        float: none;
    }

    .main-navigation .menu .menu-mobile {
        width: 100%;
    }
    
}

@media (min-width: 1200px) {
    body.single-content-mode-boxed article.af-single-article .post-thumbnail.full-width-image {
        padding-top: 2.5rem
    }
}

@media only screen and (max-width: 640px) {
    .af-main-banner-latest-posts .read-title h3,
    .af-main-banner-featured-posts .read-title h3 {
        font-size: 18px;
    }
}@font-face {
  font-family: 'aft-icons';
  src:  url(//www.pabolax.com/wp-content/themes/morenews/assets/icons/fonts/aft-icons.eot?e3nek0);
  src:  url(//www.pabolax.com/wp-content/themes/morenews/assets/icons/fonts/aft-icons.eot?e3nek0#iefix) format('embedded-opentype'),
    url(//www.pabolax.com/wp-content/themes/morenews/assets/icons/fonts/aft-icons.ttf?e3nek0) format('truetype'),
    url(//www.pabolax.com/wp-content/themes/morenews/assets/icons/fonts/aft-icons.woff?e3nek0) format('woff'),
    url(//www.pabolax.com/wp-content/themes/morenews/assets/icons/fonts/aft-icons.svg?e3nek0#aft-icons) format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

#scroll-up,
.custom-menu-link i,
.af-yt-video-play .fa-play,
.af-bg-play .fa-play,
.slick-arrow.fa-angle-up,
.slick-arrow.fa-angle-down,
.slick-arrow.fa-angle-right,
.slick-arrow.fa-angle-left,
.posts-navigation .nav-previous:before,
.posts-navigation .nav-next:after,
.post-navigation .nav-previous:before,
.post-navigation .nav-next:after,
.author-links .fa-user-circle,
.author-links .fa-clock,
.aft-comment-count .fa-comment,
.aft-view-count .fa-eye,
.af-search-click .fa-search,
.af-search-wrap .fa-search,
.af-tabs>li>a i,
.em-post-format .fa-film,
.em-post-format .fa-play,
.em-post-format .fa-images,
.em-post-format .fa-image,
[class^="aft-icon-"], [class*=" aft-icon-"], .elegant-widget [class*=" fa-arrow-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'aft-icons';
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.af-tabs>li>a .fa-bolt::before {
  content: "\f0e7";
}
.af-tabs>li>a .fa-clock:before {
  content: "\e904";
}
.af-tabs>li>a .fa-fire:before {
  content: "\e922";
}

.aft-icon-tiktok:before {
  content: "\e900";
}
.aft-icon-messenger:before {
  content: "\e901";
}
.aft-icon-github:before {
  content: "\e902";
}
.author-links .fa-user-circle:before,
.aft-icon-circle-user-regular:before {
  content: "\e903";
}
.author-links .fa-clock:before,
.aft-icon-clock-regular:before {
  content: "\e904";
}
.aft-view-count .fa-eye:before,
.aft-icon-eye-regular:before {
  content: "\e905";
}
.aft-icon-magnifying-glass-solid:before {
  content: "\e906";
}
.em-post-format .fa-images:before,
.aft-icon-images-regular:before {
  content: "\e907";
}
.aft-comment-count .fa-comment:before,
.aft-icon-comment-regular:before {
  content: "\e908";
}
.aft-icon-clock-solid:before {
  content: "\e909";
}
.aft-icon-facebook:before {
  content: "\e90a";
}
.aft-icon-threads:before {
  content: "\e916";
}
.aft-icon-twitch:before {
  content: "\e90b";
}
.aft-icon-viber:before {
  content: "\e90c";
}
.aft-icon-yahoo:before {
  content: "\e90d";
}
.aft-icon-bolt-lightning-solid:before {
  content: "\e90e";
}
.aft-icon-hashtag-solid:before {
  content: "\e90f";
}
.custom-menu-link i.fa-bell:before,
.aft-icon-bell-solid:before {
  content: "\e910";
}
.em-post-format .fa-play:before,
.af-yt-video-play .fa-play:before,
.af-bg-play .fa-play:before,
.aft-icon-play:before,
.custom-menu-link .fa-play:before,
.aft-icon-play-solid:before {
  content: "\e911";
}
.custom-menu-link .fa-sign-in-alt:before,
.aft-icon-right-to-bracket-solid:before {
  content: "\e912";
}
.custom-menu-link .fa-user:before,
.aft-icon-user-solid:before {
  content: "\e913";
}
.af-search-wrap .fa-search:before,
.af-search-click .fa-search::before,
.aft-icon-search:before {
  content: "\f002";
}
.em-post-format .fa-image:before{
  content: "\e91b";
}
.aft-icon-camera:before {
  content: "\f030";
}
.em-post-format .fa-film:before{
  content: "\e90a";
}
.aft-icon-video-camera:before {
  content: "\f03d";
}
.slick-arrow.fa-angle-left:before,
.aft-icon-chevron-left:before {
  content: "\f053";
}
.slick-arrow.fa-angle-right:before,
.aft-icon-chevron-right:before {
  content: "\f054";
}
.slick-arrow.fa-angle-up:before,
.aft-icon-chevron-up:before {
  content: "\f077";
}
.slick-arrow.fa-angle-down:before,
.aft-icon-chevron-down:before {
  content: "\f078";
}
.aft-icon-shopping-cart:before {
  content: "\f07a";
}
.aft-icon-twitter:before {
  content: "\f099";
}
.aft-icon-pinterest:before {
  content: "\f0d2";
}
.aft-icon-google-plus:before {
  content: "\f0d5";
}
.aft-icon-linkedin:before {
  content: "\f0e1";
}
.aft-icon-bolt:before {
  content: "\f0e7";
}
.aft-icon-youtube-play:before {
  content: "\f16a";
}
.aft-icon-stack-overflow:before {
  content: "\f16c";
}
.aft-icon-instagram:before {
  content: "\f16d";
}
.aft-icon-tumblr:before {
  content: "\f173";
}
.aft-icon-dribbble:before {
  content: "\f17d";
}
.aft-icon-vk:before {
  content: "\f189";
}
.aft-icon-weibo:before {
  content: "\f18a";
}
.aft-icon-slack:before {
  content: "\f198";
}
.aft-icon-wordpress:before {
  content: "\f19a";
}
.aft-icon-behance:before {
  content: "\f1b4";
}
.aft-icon-spotify:before {
  content: "\f1bc";
}
.aft-icon-soundcloud:before {
  content: "\f1be";
}
.aft-icon-wechat:before {
  content: "\f1d7";
}
.custom-menu-link .fa-share-alt:before,
.aft-icon-share-alt:before {
  content: "\f1e0";
}
.aft-icon-whatsapp:before {
  content: "\f232";
}
.aft-icon-vimeo:before {
  content: "\f27d";
}
.aft-icon-reddit-alien:before {
  content: "\f281";
}
.aft-icon-snapchat-square:before {
  content: "\f2ad";
}
.aft-icon-quora:before {
  content: "\f2c4";
}
.aft-icon-telegram:before {
  content: "\f2c6";
}
.slick-slider{position:relative;display:block;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.slick-list{position:relative;display:block;overflow:hidden;margin:0;padding:0}.slick-list:focus{outline:0}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-list,.slick-slider .slick-track{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.slick-track{position:relative;top:0;left:0;display:block;margin-left:auto;margin-right:auto}.slick-track:after,.slick-track:before{display:table;content:''}.slick-track:after{clear:both}.slick-loading .slick-track{visibility:hidden}.slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-loading .slick-slide{visibility:hidden}.slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}.slick-arrow.slick-hidden{display:none}
.sidr {
    background: #fff;
    display: block;
    position: fixed;
    top: 0;
    height: 100%;
    z-index: 999999;
    width: 320px;
    overflow-x: hidden;
    overflow-y: auto;
}

.sidr .sidr-inner {
    padding: 0 0 15px;
}

.sidr.right {
    left: auto;
    right: -320px;
}

.sidr.left {
    left: -320px;
    right: auto;
}

.sidr {
    padding-left: 15px;
    padding-right: 15px;
}

@media only screen and (min-width: 992px) {
    body.sidr-open:before {
        content: "";
        left: 0;
        top: 0;
        z-index: 102;
        width: 100%;
        height: 100%;
        position: fixed;
        cursor: pointer;
        -webkit-transition: visibility 0s, opacity 0.4s linear;
        transition: visibility 0s, opacity 0.4s linear;
        visibility: visible;
        opacity: 1;
        background-color: #fff;
        background-color: rgba(255, 255, 255, .54);
    }
}

.sidr-class-sidr-button-close {
    font-size: 30px;
    text-align: right;
    display: block;
}/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8; }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1; }
  .mfp-arrow:before,
  .mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }