/*
Theme Name:         News Portal Pro Child
Theme URI:          https://mysterythemes.com/wp-themes/news-portal-pro-child
Author:             Mystery Themes
Author URI:         https://mysterythemes.com
Description:        News Portal Lite is child theme of News Portal ultimate magazine theme. News Portal Lite theme is best choice to create a beautiful & powerful news/magazine/blog websites with ease. Demo here: https://demo.mysterythemes.com/news-portal-demos/
Version:            1.0.3
Requires at least:  4.7
Tested up to:       6.2.2
Requires PHP:       5.2.4
License:            GNU General Public License v3 or later
License URI:        http://www.gnu.org/licenses/gpl-3.0.html
Template:           news-portal-pro
Text Domain:        news-portal-pro-child
Tags:               news, grid-layout, custom-colors, one-column, two-columns, three-columns, left-sidebar, right-sidebar, footer-widgets, full-width-template, theme-options, rtl-language-support
*/ 

#masthead .site-branding {
    float: none;
    max-width: 700px;
    width: 100%;
    margin: auto;
}
.np-header-menu-wrapper .mt-container {
    width: 100%;
    max-width: 1400px;
} 
#np-menu-wrap-sticky-wrapper {
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec; 
	height: auto !important;
} 
div#np-menu-wrap {
    margin-bottom: 0;
} 
.search-main {
    line-height: 60px;
}

p {
    line-height: 1.8;
}
.np-top-header-wrap {
    background: #000 !important;
    padding: 2px 0; 
} 
.top-navigation ul li {
	padding: 0; 
	border: none; 
	margin-right: 20px;
} 
.top-navigation ul li a {
	font-size: 11px;
    text-transform: uppercase;
    line-height: 32px; 
	font-weight: 700;
}
.top-navigation ul li:first-child {
    border: none;
    padding-left: 0;
} 
.top-navigation ul li a:hover {
	color:#c6c6c6;
}
.np-top-right-section-wrapper .social-link a {
    font-size: 13px;
    line-height: 32px;
    margin: 0;
    vertical-align: top;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
} 
.np-top-right-section-wrapper .social-link a:hover {
	color:#c6c6c6;
}
.np-top-right-section-wrapper .social-link a svg {
    display: inline-block;
    vertical-align: middle;
}
.np-top-right-section-wrapper .social-link {
    margin: 0 0 0 13px;
}
.np-top-right-section-wrapper .social-link:first-child {
	margin-left: 0;
} 
.social-link .fa-stack-exchange:before {
    content: "\f0e0";
} 
.top-navigation a:hover, .social-link a:hover {
	color: #84bd00;
	color: #000000;
} 
#site-navigation {
	float: none;
} 
ul#menu-main-menu {
    text-align: center;
}
#site-navigation ul li.menu-item-has-children>a:before, #site-navigation ul li.page_item_has_children>a:before{
	display:none;
}
#site-navigation.main-navigation ul.menu li:hover > ul {
    visibility: visible;
    opacity: 1;
    -webkit-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    -ms-transform: rotateX(0deg);
    -o-transform: rotateX(0deg);
    transform: rotateX(0deg);
}
#site-navigation ul li a {
	border: none;
}
#site-navigation.main-navigation ul.menu > li.arwd-mega-menu > a:after, #site-navigation.main-navigation .menu > ul > li.arwd-mega-menu > a:after {
    font-family: FontAwesome;
    content: "\f107";
    margin-left: 5px;
    color: inherit;
    font-size: 13px;
    font-weight: normal;
    width: auto;
    display: inline-block;
}

#site-navigation.main-navigation ul li {
    display: inline-block;
    line-height: 40px;
    margin-right: 0;
    position: static;
} 
#site-navigation.main-navigation ul.sub-menu {
    width: 100% !important;
    padding: 0 !important;
    clear: both;
    display: block; 
    box-shadow: 0px 3px 3px rgba(190, 190, 190, 0.6);
    -webkit-box-shadow: 0px 3px 3px rgba(190, 190, 190, 0.6);
    -moz-box-shadow: 0px 3px 3px rgba(190, 190, 190, 0.6);
    border-top: 1px solid #ececec;
    margin-top: 0;
    background: #fff;
} 
#site-navigation.main-navigation .arwd-megamenu {
    width: 100%;
    display: table;
} 
#site-navigation.main-navigation .arwd-megamenu .arwd-content-megamenu {
    display: table-cell;
} 
#site-navigation.main-navigation .arwd-megamenu .arwd-content-megamenu .arwd-mega-latest-posts {
    padding: 20px 10px 0 10px;
} 
#site-navigation.main-navigation ul li li {
    width: 100%;
}
#site-navigation.main-navigation .arwd-megamenu .arwd-content-megamenu .arwd-mega-row {
    width: 100%;
    display: none;
    vertical-align: top;
}
#site-navigation.main-navigation .arwd-megamenu .arwd-content-megamenu .arwd-mega-latest-posts .arwd-mega-post {
    width: 20%;
    padding: 0 10px;
    float: left;
    margin-bottom: 15px;
    position: relative;
} 
#site-navigation.main-navigation .arwd-megamenu .arwd-content-megamenu .arwd-mega-latest-posts.col-mn-4 .arwd-mega-post {
    width: 25%;
} 
#site-navigation .arwd-megamenu .arwd-mega-child-categories {
    width: 230px;
    display: table-cell;
    vertical-align: top;
    background: #ffffff;
    padding: 0;
    position: relative; 
    border:1px solid #ececec;
} 
#site-navigation .arwd-megamenu .arwd-mega-child-categories a {
    min-width: 0;
    display: block;
    font-size: 12px;
    text-align: right;
    line-height: 1.4em;
    margin: 0;
    padding: 12px 20px;
    border-bottom: 1px solid #ececec;
    position: relative;
} 
#site-navigation .arwd-megamenu .arwd-mega-child-categories a.cat-active:before {
    content: "";
    width: 1px;
    height: 100%;
    position: absolute;
    top: 0;
    right: -2px;
    background: #fff;
    z-index: 1;
    transition: none;
    -webkit-transition: none;
    -moz-transition: none;
}
#site-navigation.main-navigation .arwd-megamenu .arwd-content-megamenu .arwd-mega-latest-posts.col-mn-5 .arwd-mega-post:nth-child(5n + 1), #site-navigation.site-navigation .arwd-megamenu .arwd-content-megamenu .arwd-mega-latest-posts.col-mn-4 .arwd-mega-post:nth-child(4n + 1) {
    clear: both;
} 
#site-navigation.main-navigation .arwd-megamenu .post-mega-title {
    text-align: center;
    margin: 0;
} 
#site-navigation.main-navigation .arwd-megamenu .arwd-content-megamenu .arwd-mega-latest-posts .arwd-mega-post a {
    margin: 0;
    padding: 0;
    min-width: 0;
    border-bottom: none;
    position: relative;
    text-align: center;
    line-height: 1.4; 
	border: none;
} 
#site-navigation.main-navigation .arwd-megamenu .arwd-mega-thumbnail {
    display: block;
    margin: 0 0 17px 0;
    position: relative;
} 

#site-navigation.main-navigation .arwd-mega-thumbnail a {
    width: 100%; 
	    transition: opacity 0.3s;
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
} 
#site-navigation.main-navigation .arwd-image-holder:before {
    padding-top: 66.6667%;
} 

.arwd-image-holder {
    position: relative;
    width: 100%;
    background: #f5f5f5;
    display: inline-block;
    vertical-align: top;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    overflow: hidden;
} 
.arwd-image-holder:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: 66.6667%;
    background: none !important;
    box-shadow: none !important;
}

#site-navigation.main-navigation .arwd-megamenu .arwd-mega-date {
    line-height: 1;
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 6px;
} 
#site-navigation.main-navigation .mega-cat-name {
    font-size: 10px;
    background: #84bd00;
    background: #000000;
    text-transform: uppercase;
    position: absolute;
    display: inline-block;
    padding: 0 6px;
    color: #fff;
    top: 0;
    left: 0;
    z-index: 3;
    height: 18px;
    font-weight: normal;
    line-height: 18px;
} 
#site-navigation.main-navigation .mega-cat-name a {
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
    opacity: 1;
    padding: 0;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
} 
#top-footer .widget-title {
    font-size: 16px;
    color: #000;
    text-align: center;
    border-bottom: 3px solid #000;
    margin-bottom: 30px;
} 
#top-footer .widget {
    text-align: center;
} 
#top-footer .widget a {
	text-decoration: underline; 
	color: #000;
} 
#top-footer .widget .social-link a {
    background: none;
    margin: 0;
    padding: 0;
}
#top-footer .widget .social-link a i {
    font-size: 14px;
    width: 36px;
    height: 36px;
    line-height: 34px;
    background: #fff;
    border-radius: 50%;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border: 1px solid #e0e0e0;
    margin: 0 5px;
} 
#top-footer .widget .social-link a:hover i {
	background: #84bd00;
	background: #000000;
	color: #fff; 
} 
.bottom-footer {
    padding: 20px 0;
    background: #000;
    text-align: center; 
	line-height: 1.8;
} 
#footer-navigation {
	display: none;
} 
h2.np-block-title {
    line-height: 32px;
} 
.home .np-post-meta, .entry-meta {
    display: none;
}
.np-home-top-section.np-clearfix {
    margin-top: 30px;
} 
.post-cats-list a {
    background: #f2f2f2 !important;
    color: #000 !important;
} 
.share-box-wrap {
    display: block;
    margin: 30px 0 0; 
    padding: 0;
    text-align: center;
    position: relative;
    margin-top: 16px;
    clear: none;
} 
.share-box-wrap a {
	margin:0 5px
}
.share-box-wrap:before {
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
    height: 1px;
    background: #dedede;
    display: block;
    top: 49%;
    z-index: 1;
} 
.post-share-box {
    float: none !important;
    padding: 0 10px;
    position: relative;
    z-index: 5;
    background: #ffffff;
    display: inline-block;
    margin-top: 0;
} 
.entry-content .post-share-box a {
    display: inline-block;
    position: relative;
    color: #313131;
    margin-left: 10px;
    font-size: 14px;
} 
.post-share-box a:first-child {
	margin-left: 0;
} 
.post-share-box .dt-share {
    position: absolute;
    display: inline-block;
    font-size: 9px;
    font-family: var(--pchead-font);
    font-weight: normal;
    background: #313131;
    color: #fff;
    height: 20px;
    line-height: 20px;
    white-space: nowrap;
    text-align: center;
    bottom: -45px;
    width: 60px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    z-index: 5;
} 
.post-share-box .dt-share:before {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 7px solid #313131;
    content: "";
    top: -6px;
    left: 50%;
    margin-left: -4px;
} 
.post-share-box a:hover .dt-share {
    opacity: 1;
    bottom: -30px;
    visibility: visible;
} 
.single .np-article-thumb {
	text-align:center; 
	margin:20px 0;
} 
.np-article-thumb .post-thumb-caption {
	opacity:0; 
	transition: 0.4s;
} 
.single .np-article-thumb:hover .post-thumb-caption {
	opacity:1;
} 
#commentform .comment-form-cookies-consent label {
    width: auto;
    display: inline-block;
} 
.tribe-events-widget-events-list header h2, .widget-area .widget-title {
    background: #f6f6f6;
    background: #f7f7f7;
    border: 1px solid #e1e1e1;
    font-size: 16px;
    margin: 0 0 20px;
    padding: 6px 20px;
    text-transform: uppercase;
    border-left: none;
    border-right: none;
    color: #000;
    text-align: left;
    font-weight: 700 !important;
} 
.blog article.hentry:first-child, 
.tribe-common article {
	margin:0; 
	padding:0;
} 
.tribe-common article:after {
	display:none;
} 
.tribe-events-widget .tribe-events-widget-events-list__event-row {
	margin-bottom:20px;
} 
.tribe-common .tribe-common-b1 a {
    background: #000;
    padding: 5px;
    display: block;
    text-align: center;
    color: #fff !important;
} 
.tribe-common .tribe-common-b1 a:hover {
	background:#f6f6f6; 
	color: #000 !important;
} 
.tribe-common button {
    color: #000 !important;
}
.tribe-common button:hover {
    color: #fff !important;
} 
.tribe-common .tribe-events-c-top-bar__datepicker button:hover {
	color: #000 !important;
} 
.tribe-common .tribe-common-c-btn {
	color: #fff !important;
} 
.tribe-common.tribe-events.tribe-events-widget.tribe-events-view--shortcode .tribe-events-l-container, .tribe-events-view.alignwide {
	padding:0 !important;
} 
.tribe-events .tribe-events-calendar-month__day-cell--selected, .tribe-events .tribe-events-calendar-month__day-cell--selected:focus, .tribe-events .tribe-events-calendar-month__day-cell--selected:hover {
    background-color: #e6e6e6 !important;
} 
.entry-content a {
    color: #4484F9;
    text-decoration: underline;
} 
.widget_search .search-submit, 
.widget_text button {
    background: #438E4B;
    border-color: #438E4B; 
	font-weight: 700;
} 
.widget_search .search-submit:hover, .widget_search .search-submit:active, .widget_search .search-submit:focus, .widget_text button:hover, .widget_text button:active, 
.widget_text button:focus {
    background: #438E4B; 
    color: #fff;
    opacity: 0.8;
}
.btn-wrap {
    width: 100%;
    display: flex;
    text-align: right;
    flex-wrap: wrap;
} 
.btn-wrap div {
    flex-grow: 1;
    flex-basis: 0;
    padding: 2px;
}
a.btn-custom {
    background: #2A5EC5;
    color: #fff;
    display: block;
    text-align: center;
    padding: 5px; 
font-weight: 700;
} 
a.bg-green {
    background: #438E4B;
}
a.btn-custom:hover, a.btn-custom:focus, a.btn-custom:visited {
    color: #fff;
    opacity: 0.8;
} 
.tribe-events-widget-events-month__view-more {
	display:none;
} 
#text-4 #submit {
    font-weight: 700;
}
@media (max-width: 768px){ 
	#site-navigation.main-navigation ul {
		display:block;
	}
	#site-navigation.main-navigation ul.sub-menu {
		display: none;
	} 
#site-navigation.main-navigation ul li {
    display: block;
    text-align: left;
} 
#site-navigation.main-navigation ul.menu > li.arwd-mega-menu > a:after, #site-navigation.main-navigation .menu > ul > li.arwd-mega-menu > a:after {
	display: none;
	} 
	#site-navigation.main-navigation .arwd-megamenu .arwd-content-megamenu {
		display:none;
	} 
#site-navigation .arwd-megamenu .arwd-mega-child-categories a {
    text-align: left;
    padding-left: 40px;
} 
span.sub-toggle {
    display: none;
}
}

