/*
Theme Name: GlobalNews
Theme URI:  https://afthemes.com/products/globalnews/
Author:     AF themes
Author URI: https://afthemes.com/
Description: GlobalNews is a high-performance, dark-styled WordPress child theme of MoreNews built for international publishers requiring design flexibility and speed. It integrates 30+ custom widgets, pre-built layouts, and a versatile header and footer builder compatible with major page builders. Engineered for enterprise-level publishing, it is AMP-ready, Core Web Vitals optimized, and focused on lightweight code for rapid loading. The theme supports WooCommerce and essential plugins while providing comprehensive multilingual and RTL demos in English, Chinese, Spanish, French, Japanese, and Arabic. https://afthemes.com/products/globalnews/
Template: morenews
Version: 2.1.5
Requires at least: 4.0
Requires PHP: 5.0
Tested up to: 7.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: globalnews
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.

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

.wp-block-latest-comments li.wp-block-latest-comments__comment,
.wp-block-group ul li, .widget ul ul li, .widget>ul>li, .af-list-post .read-title h3,
.aft-main-banner-wrapper .aft-trending-posts.list-part .af-double-column.list-style .read-title h3,
.af-trending-posts .aft-trending-posts.list-part .af-double-column.list-style .read-title h3,
.morenews_popular_news_widget .banner-vertical-slider .af-double-column.list-style .read-title h3,
.morenews_posts_double_columns_widget .af-widget-body .af-double-column.list-style .read-title h3,
.af-main-banner-categorized-posts.express-posts .af-sec-post.list-part .read-title h3 {
    letter-spacing: 0.1px;
}
.aft-dark-mode .morenews-customizer,
.aft-dark-mode .aft-main-banner-wrapper .af-slick-navcontrols,
.aft-dark-mode .morenews-widget .af-slick-navcontrols,
.aft-dark-mode .morenews-customizer .section-wrapper .af-slick-navcontrols,
body.aft-dark-mode.single-post-title-full .entry-header-details,
body.aft-dark-mode .main-navigation .menu .menu-mobile,
body.aft-dark-mode .main-navigation .menu>ul>li>ul,
body.aft-dark-mode .main-navigation .menu>ul ul,
body.aft-dark-mode .af-search-form,
body.aft-dark-mode .aft-popular-taxonomies-lists,
body.aft-dark-mode .exclusive-slides::before,
body.aft-dark-mode .exclusive-slides::after,
body.aft-dark-mode .banner-exclusive-posts-wrapper .exclusive-posts:before,
body.aft-dark-mode.woocommerce div.product,
body.aft-dark-mode.home.blog main.site-main,
body.aft-dark-mode main.site-main,
body.aft-dark-mode.single main.site-main .entry-content-wrap,
body.aft-dark-mode .af-main-banner-latest-posts.grid-layout.morenews-customizer .container-wrapper,
body.aft-dark-mode :is(.af-middle-header,.mid-header-wrapper,.comments-area,.af-breadcrumbs),
body.aft-dark-mode .morenews-widget {
    background-color: #222
}
.aft-dark-mode .aft-posts-tabs-panel .nav-tabs>li>a,
.aft-dark-mode.widget-title-border-bottom .wp_post_author_widget .widget-title .header-after,
.aft-dark-mode.widget-title-border-bottom .widget-title .heading-line,
.aft-default-mode .site-footer .wp-block-archives-list.wp-block-archives a:not(.has-text-color),
.aft-default-mode .site-footer .wp-block-latest-posts a:not(.has-text-color),
.aft-default-mode .site-footer .entry-content .wp-block-latest-posts a:not(.has-text-color),
.aft-default-mode .site-footer .wp-block-categories-list.wp-block-categories a:not(.has-text-color),
.aft-default-mode .site-footer .wp-block-latest-comments li.wp-block-latest-comments__comment a,
.aft-dark-mode .wp-block-archives-list.wp-block-archives a:not(.has-text-color),
.aft-dark-mode .wp-block-latest-posts a:not(.has-text-color),
.aft-dark-mode .entry-content .wp-block-latest-posts a:not(.has-text-color),
.aft-dark-mode .wp-block-categories-list.wp-block-categories a:not(.has-text-color),
.aft-dark-mode .wp-block-latest-comments li.wp-block-latest-comments__comment a,
.aft-dark-mode .banner-exclusive-posts-wrapper :is(a, a:visited),
body.aft-dark-mode,
body.aft-dark-mode .af-main-banner-thumb-posts .read-single:not(.af-cat-widget-carousel) .min-read,
body.aft-dark-mode .header-layout-compressed .compress-bar-mid .date-bar-mid,
body.aft-dark-mode :is(.search-icon:visited,.search-icon:hover,.search-icon:focus,.search-icon:active),
body.aft-dark-mode :is(input,textarea,.color-pad),
body.aft-dark-mode .reply a,
body.aft-dark-mode.single span.tags-links a,
body.aft-dark-mode .aft-comment-view-share>span>a,
body.aft-dark-mode .aft-popular-taxonomies-lists ul li a,
body.aft-dark-mode ul.trail-items li a,
body.aft-dark-mode #wp-calendar caption,
body.aft-dark-mode .nav-links a,
body.aft-dark-mode .read-details .entry-meta span,
body.aft-dark-mode .entry-meta span,
body.aft-dark-mode .entry-meta span a,
body.aft-dark-mode .read-title h3 a {
    color: #e0e0e0;
}
body.aft-dark-mode .main-navigation ul.children li,
body.aft-dark-mode .main-navigation ul .sub-menu li {
    border-top: 1px solid rgba(0, 0, 0, 0.5);
}
:is(.secondary-footer,.site-info) .af-container-row {margin: 0;}
.entry-content li [class^="wp-block-"] {margin-bottom: 5px;}
@media only screen and (min-width: 993px) {
    body.aft-dark-mode .main-navigation .menu ul ul ul,
    body.aft-dark-mode .main-navigation .menu>ul>li>ul {
        background-color: #202020;
    }
}
div#main-navigation-bar {background: #af0700;}
.exclusive-posts .exclusive-now {background-color: #af0700;}
.main-navigation .menu-description {background-color: #333333;}
.main-navigation .menu-description:after {border-top: 5px solid #333333;}
.morenews-header div.custom-menu-link>a {background: #333333;}
.read-img .trending-no, .trending-posts-vertical .trending-no {background-color: #af0700;}
.af-cat-widget-carousel a.morenews-categories.category-color-1 {background-color: #af0700;}
a.morenews-categories.category-color-1 {color: #af0700;}
.af-cat-widget-carousel a.morenews-categories.category-color-2 {background-color: #007ACC;}
a.morenews-categories.category-color-2 {color: #007ACC;}
.af-cat-widget-carousel a.morenews-categories.category-color-3 {background-color: #333333;}
a.morenews-categories.category-color-3 {color: #333333;}
footer.site-footer {background-color: #202020;}
.header-image-default .af-header-image.data-bg {padding: 30px 0;}
.aft-default-mode .entry-content>.wp-block-heading a:not(.has-link-color) {border-color: #ff0000;}
.aft-default-mode .entry-content .wp-block-heading:not(.has-link-color):not(.wp-block-post-title) a,
.entry-content>p:not(.has-link-color) :is(a,a:visited) {
    color: #ff0000;
}
.cat-links li a {letter-spacing: normal;line-height: 1;}
.af-cat-widget-carousel a.morenews-categories {padding: 5px 10px;}
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,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-calendar-table tbody,
.aft-dark-mode #wp-calendar tbody {
    color: #ffffff;
}
.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;box-shadow: none;}
.entry-content>[class^="wp-block-"] {margin-bottom: 30px;}
.wp-block-code :is(code,.editor-plain-text),
body.aft-dark-mode :is(#sidr,code),
body.aft-dark-mode {
    background-color: #1a1a1a;
}
blockquote cite {
    text-transform: none;
    font-style: italic;
    font-size: 0.75em;
}
.wp-block-latest-posts.wp-block-latest-posts__list li,
.wp-block-latest-comments li.wp-block-latest-comments__comment,
.widget:not(.morenews_social_contacts_widget) ul.menu>li,
.wp-block-group ul 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 0.075s linear;
    border-width: 0;
}
.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;}
.single h3.awpa-title,
.single .awpa-review-field h3 {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}
.wp-post-author-meta-more-posts {margin-bottom: 20px;}
body .entry-content>ul a.wp-block-pages-list__item__link {border: none;}
.site-info {padding: 10px;}
article.sticky .af-double-column.no-post-image .read-single > div.read-img::before {top: 0;}
.af-social-contacts .social-widget-menu .screen-reader-text {font-size: 14px;font-weight: 700;}
.morenews-widget .wp-block-group .wp-block-heading {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;}
.aft-image-caption p,.entry-content.read-details .entry-meta {font-size: 16px;}
@media (min-width: 1200px) {
    body.single-content-mode-boxed article.af-single-article .post-thumbnail.full-width-image {padding-top: 2.5rem;}
}
@media screen and (min-width: 769px) {
    .mailchimp-block .block-title,
    .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: 32px;
    }
}
@media screen and (max-width: 768px) {
    .exclusive-posts .exclusive-now {float: left;}
    .header-layout-3 .site-header .site-branding .site-title,
    body .site-branding .site-title {
        font-size: 2.75rem
    }
}
@media 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;
    }
    .af-main-banner-latest-posts .read-title h3,
    .af-main-banner-featured-posts .read-title h3 {
        font-size: 18px;
    }
}
@media screen and (max-width: 479px) {
    .exclusive-posts .exclusive-now {float: none;}
}
@media screen and (max-width: 375px) {
    body .site-branding .site-title {font-size: 2.75rem;}
}

/* new block css */
.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content {
    color: inherit;
}
.author-website-and-posts {
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    body.single-post .entry-title, body h1.page-title {
        font-size: 24px;
    }
}

.aft-dark-mode .wp-block-archives-list.wp-block-archives a:not(.has-text-color):hover,
.aft-dark-mode .wp-block-latest-posts a:not(.has-text-color):hover, 
.aft-dark-mode .wp-block-categories-list.wp-block-categories a:not(.has-text-color):hover,
.aft-dark-mode .wp-block-latest-comments li.wp-block-latest-comments__comment a:hover {
    color: #fff;
}
.entry-content .wp-block-rss li a, 
.entry-content .wp-block-categories a, 
.entry-content .wp-block-archives a,
.entry-content .wp-block-latest-comments li a, 
.entry-content .wp-block-latest-posts li a, 
.entry-content .wp-block-tag-cloud a {
    color: inherit !important;
}
.wp-block-rss li a,
.wp-block-categories a, 
.wp-block-archives a{
    font-weight: 700;
    transition: all 0.075s linear;
}

.entry-content section.morenews-author-bio {
    margin-top: 24px;
}

.wp-block-comment-content a,
.comments-area .comment-content a,
.widget_text a,
.entry-content>[class*="wp-block-"] a:hover,
.entry-content>:is(ul, ol, p) a:hover,
.entry-content>:is(ul, ol, h1, h2, h3, h4, h5, h6, p) a {
    text-decoration: auto;
}
@font-face {
  font-family: 'aft-icons';
  src:  url('https://acousticmd.com/wp-content/themes/morenews/assets/icons/fonts/aft-icons.eot?e3nek0');
  src:  url('https://acousticmd.com/wp-content/themes/morenews/assets/icons/fonts/aft-icons.eot?e3nek0#iefix') format('embedded-opentype'),
    url('https://acousticmd.com/wp-content/themes/morenews/assets/icons/fonts/aft-icons.ttf?e3nek0') format('truetype'),
    url('https://acousticmd.com/wp-content/themes/morenews/assets/icons/fonts/aft-icons.woff?e3nek0') format('woff'),
    url('https://acousticmd.com/wp-content/themes/morenews/assets/icons/fonts/aft-icons.svg?e3nek0#aft-icons') format('svg');
  font-weight: normal;
  font-style: normal;
  
;font-display:block;}

#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:none}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-track,.slick-slider .slick-list{-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}.slick-track:before,.slick-track:after{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; } }

