/*
Theme Name: Newsmark
Theme URI: https://themeansar.com/free-themes/newsmark/
Author: Themeansar
Author URI: https://themeansar.com
Description: Newsmark is a fast, clean, modern-looking Best Responsive News Magazine WordPress theme. The theme is fully widgetized, so users can manage the content by using easy to use widgets. Newsmark is suitable for dynamic news, newspapers, magazine, publishers, blogs, editors, online and gaming magazines, newsportals,personal blogs, newspaper, publishing or review siteand any creative website. Newsmark is SEO friendly, WPML,Gutenberg, translation and RTL ready. Live preview : https://newsup.themeansar.com/newsmark/ and documentation at https://docs.themeansar.com/docs/newsup/
Version: 0.5
Requires at least: 5.4
Requires PHP: 7.0
Tested up to: 6.5.3
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Template: newsup
Text Domain: newsmark
Tags: blog, portfolio, news, grid-Layout, one-column, two-columns, three-columns, flexible-header, left-sidebar, right-sidebar, custom-background, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, post-formats, rtl-language-support, theme-options, sticky-post, threaded-comments, translation-ready, block-styles, wide-blocks

Newsmark WordPress Theme is child theme of Newsup, Copyright 2020 Themeansar
Newsmark is distributed under the terms of the GNU General Public License v3

Newsmark is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/
.navbar-wp .dropdown-menu.searchinner .btn {
    border: medium none;
    border-radius: 0 4px 4px 0;
    height: 40px;
    line-height: 25px;
    padding: 5px 15px;
}
.mg-search-box .dropdown-toggle::after {
	display: none;
}
.m-header {
	display: none;
}
.desk-header {
	display: flex;
}
.site-title a{
	font-size: 46px;
}
.mobilehomebtn {
    width: 30px;
    text-align: center;
    line-height: 30px;
    height: 30px;
}
.mg-blog-post.md{
	width: 49.8%;
	float: left;
	height: 236px;
}
.mg-blog-post.md .bottom h4 {
    font-size: 26px;
}
.mb1px {
	margin-bottom: 1px;
}
.mg-latest-news-sec{
	box-shadow: none;
}
.desk-header .mg-social{
	margin-right: 10px;
}
.desk-header .mg-social li span.icon-soci {
	width: auto;
	height: auto;
	line-height: 0;
	margin: 0 5px;
}
.mg-head-detail .info-left li span.time{
	display: none;
}
.mg-blog-post.lg.mins{
	height: 222.5px;
	width: 100%;
}
.mg-blog-post.lg.mins .title{
	font-size: 22px;
}
.mg-headwidget .navbar-header .navbar-brand{
	margin-right: 0;
}
.mg-latest-news .mg-latest-news-slider{
	left: 170px;
}
.mg-breadcrumb-section{
	box-shadow: none;
}
.mg-breadcrumb-section .overlay {
	height: 100%;
	position: relative;
	padding: 0;
	width: 100%;
}
.mg-breadcrumb-title{
	padding: 30px 15px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.container-fluid {
	padding-right: 100px;
	padding-left: 100px;
}
.mg-nav-widget-area:has(.col-12.text-center.mx-auto) .col-md-9{
	margin: 0 auto;
}
.mg-nav-widget-area:has(.col-12.text-center.mx-auto) .header-ads{
	justify-content: center;
}
@media (min-width: 1200px) {
	.mg-blog-post.md .bottom h4 {
		max-height: 65px;
		overflow: hidden;
	}
}
@media screen and (max-width: 1200px) and (min-width: 991px) {
	.container-fluid {
		padding-right: 70px;
		padding-left: 70px;
	}
}
@media (max-width: 991.98px) {
	.container-fluid {
		padding-right: 30px;
		padding-left: 30px;
	}
	.navbar-wp .navbar-nav > li> a i {
		display: none;
	}	
	#menu-primary li.active.home {
		display: none;
	}
	.m-header {
		width: 100%;
		padding: 10px 15px;
		display: flex;
		justify-content: space-between;

	}
	.desk-header {
		display: none;
	}	
	.m-header .navbar-toggler{
		margin-top: 0;
		margin-bottom: 0;
	}
	.m-header .navbar-toggler:focus, .m-header .navbar-toggler:hover{
		background: transparent;
		border-color: transparent;
	}
} 
@media screen and (max-width:1199px ) and (min-width: 767px){
	.mg-fea-area .mg-blog-post.md {
		width: 49.7%;
	}
}
@media screen and (max-width: 767px) and (min-width: 576px) {
	.mg-fea-area .col-md-6{
		margin-bottom: 20px;
	}
	.container-fluid {
		padding-right: 20px;
		padding-left: 20px;
	}
	.trending-posts, .recent-posts{
		display: flex;
		gap: 20px;
	}
}
@media screen and (max-width: 576px){
	.mg-fea-area .mg-blog-post.md {
		width: 100%;
		margin-bottom: 20px;
	}
	.container-fluid {
		padding-right: 15px;
		padding-left: 15px;
	}
	#homemain { 
		margin-bottom: 30px;
	}
}
@media screen and (max-width: 767px) and (min-width: 240px) {
	.mg-headwidget .navbar-wp .navbar-nav > li> a {
		position: relative;
		border-bottom: 1px solid rgba(225,225,225,0.4);
	}
	.mg-latest-news .mg-latest-news-slider {
		left: 0;
	}
}

p a {
    text-decoration: underline;
}
a:focus {
    outline: 1px solid;
}
.navbar-toggler.x:focus {
    outline: 1px solid #000; 
}
@media (max-width: 991.98px) {
	.m-header .navbar-toggler:focus {
		outline: 2px solid;
	}
}

.site-branding-text a, .mg-footer-copyright a{text-decoration: none;}