/*
Theme Name: News247 Child
Theme URI: http://news247.com/wordpress/news247/
Author: news247
Author URI: http://news247.com/
Description:	Child Theme for news247
Template:		news247
Version: 		1.2
Text Domain:  news247-child
*/
#loginForm label, #loginForm input{
	width: 100%;
	display: flex;
	flex-direction: column;
}
#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: black;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 100%;
    cursor: pointer;
    display: none;
    z-index: 1000;
}
#return-to-top i {
    font-size: 20px;
}

#gform_wrapper_53 {
	display: block !important;
} 
.swiper-slide {
	display: none !important;
}
.swiper-slide-active {
	display: block !important
}
body.boxwidth {
        width: 100% !important;
        max-width: 100%;
}
#loginForm .login-remember {
	display: none !important;
}
.button {
	background: #ff0000;
	color: #ffffff !important;
	padding: 12px 40px;
}
body:not(.home) .ht-notification-section{
	display: none !important;
} 
.gform_wrapper li.hidden_label input {
    margin-top: 0px !important;
}
#bsa-block-300--250 {
	height: 250px;
	width: 300px;
	display: block;
}
.entry-blog-listing .entry-content {
    margin-top: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-height: 400px;
    border-bottom: 5px solid #000;
}
.header-ad2 {
		display: none;
	}
div.ginput_complex.ginput_container.gf_name_has_2 span#input_34_2_6_container {
	padding-right: 0px !important;
}
body.home .elementor-grid-5 .elementor-grid-item, body.home .elementor-grid-3 .elementor-grid-item {
	width: unset !important;
}
#bsa-block-300--250 .bsaProItemInner__img {
	height: 250px !important;
	width: 300px !important;
}
body.home #sidebar {
	display: none !important;
}
.thw-menubar-wrap .container {
	max-width: 90% !important;
	width: 100% !important;
}
.thwbreadcrumb {
    margin: 0px 0 -10px 0 !important;
}
body.home .entry-content-page .entry-page-title {
	margin-top: 0px !important;
}
.thw-menubar-wrap {
    margin-bottom: 20px !important;
}
#theSidebar ul, #theSidebar li {
    margin: 0 0 15px 0; 
    padding: 0;
}
#sidebar .bsaProContainer, #theSidebar .bsaProContainer {
	margin-bottom: 20px;
	overflow: hidden;
}
body.home .main-content {
    max-width: 100% !important;
	margin: 0 auto;
}
body.page-template-default .main-content {
    max-width: 90%;
	margin: 0 auto;
}
body.page-template-default .main-content .container {
max-width: calc(100% - 340px) !important;
    float: left;
}
body.home .main-content .container {
max-width: calc(100% - 340px) !important;
    float: none;
}
body.home .code .container, body.home .main-content .container {
	width: 90% !important;
	max-width: 100% !important;
}
body.page-template-default .sidebar {
	max-width: 340px !important;
	float: right;
}
body.archive article:nth-child(1) .featured-image, body.archive .entry-content img,body.archive .entry-blog-list-left .category-meta-bg {
	display: none !important;
}
body.archive article:nth-child(1) .entry-content img {
	display: block !important;
}

.sidebar {
	padding: 0px 15px !important;
}
body.page-template-default .main-content, body.archive .main-content {
	clear: both;
	overflow: hidden;
}
header .bsaProContainer{
    float: right;
    max-width: 728px;
    height: auto;
}
body.page-template-default .featured-image {
	display: none !important;
}
#comments {
	display: none !important;
}
ul.main-menu li ul {
    width: 300px;
}

.secondFeatures .row {
	margin: 0px !important;
}
body.archive #content, body.single #content,body.post-type-archive-tribe_events .main-content .container:nth-child(1) {
	max-width: calc( 100% - 340px) !important;
	flex: calc( 100% - 340px) !important;
}
body.post-type-archive-tribe_events .main-content .container {
	float: left;
}
body.post-type-archive-tribe_events #content {
	width: 100% !important;
	max-width: 100% !important;
	flex: 100% !important;
}
body.post-type-archive-tribe_events #sidebar {
	float: right;
}
#sidebar {
	max-width: 340px !important;
}
body.home .post-overaly-style .post-content {
    padding: 15px;
}
#MainTopArea .category-meta-bg a:before { 
	border-top-color: #ff0000 !important;
}
#MainTopArea .category-meta-bg a {
    background: #ff0000 !important;
    color: #fff;
}
#MainContentArea {
    width: calc(100% - 340px) !important;
}
#theSidebar {
	width: 340px !important;
}
body .gform_wrapper ul li.gfield {
    margin-top: 0px !important;
    padding-top: 0 !important;
	padding-bottom: 6px !important;
}
.gform_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container input[type=text], .gform_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container select {
	margin: 0px !important;
	margin-bottom: 6px !important;
}
body .gform_wrapper .top_label div.ginput_container {
    margin-top: 0px !important;
}
.gform_wrapper.gf_browser_chrome select,.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    padding: 8px 10px !important;
}
.featured-tab .nav-tabs>li>a.active:after {
    bottom: -12px !important;
}
.twoWideImage .main-block-title {
	margin: 0 !important;
}

.twoWideImage .posts-thumb-full img {
    width: 100% !important;
    max-height: 500px !important;
	object-fit: cover !important;
}
.post-block9-element .col-sm-6 {
    padding: 0 2px !important;
	float: left;
}
.secondFeatures .post-block9-element {
	margin: 0px !important;
}
.threeWideImage .posts-thumb-full img {
    width: 100% !important;
    max-height: 360px !important;
	object-fit: cover !important;
}
.bsaProHeader {
	display: none !important;
}
.single-entry-blog1 .featured-image {
	height: 0px;
	visibility: hidden;
}
.post-slide1-element .post-slide-item1:before {
    background: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%) !important;
    background: -webkit-gradient(linear, left bottom, left bottom, color-stop(60%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.85))) !important;
    background: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%) !important;
    background: -o-linear-gradient(bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%) !important;
    background: -ms-linear-gradient(bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%) !important;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%) !important;
}
.post-overaly-style.contentTop:before {
    top: 0;
    left: 0;
    background: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.85) 100%) !important;
    background: -webkit-gradient(linear, left bottom, left bottom, color-stop(60%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.85))) !important;
    background: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.85) 100%) !important;
    background: -o-linear-gradient(bottom, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.85) 100%) !important;
    background: -ms-linear-gradient(bottom, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.85) 100%) !important;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.85) 100%) !important;
}
.post-overaly-style.contentTop .post-content {
    bottom: 0 !important;
	top: unset !important;
}
div[role=tabpanel] .post-thumb img{
	    max-height: 300px;
    object-fit: cover;
}
#departments .posts-thumb {
	display: none !important;
}
.post-slide-item1 .featured-post {
	position: absolute;
	bottom: 0;
} 
.recent-posts-widget ul li {
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f1f1;
    padding-top: 10px;
}
.recent-posts-widget .posts-thumb a, .post-block-style.post-float .post-thumb a {
    max-height: 80px !important;
    overflow: hidden;
    display: block;
}
.recent-posts-widget .posts-thumb img, .post-block-style.post-float .post-thumb img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    max-height: unset !important;
    max-width: 200px !important;
}
#departments li {
	width: 50%;
	float: left;
}
.footer-widget * {
	color: #ffffff !important;
}
.footer-widget h3 {
    background: #1C1C1C;
    padding: 10px 0 0 0;
    color: #ffffff !important;
    font-size: 30px;
	line-height: 30px;
}
.footer-widget ul li a {
	font-weight: bold !important;
}
.footer-widget ul li a:hover {
	color: #555555 !important;
}
.entry-page-title {
    height: 0px !important;
    opacity: 0 !important;
    margin: 0px;
    padding: 0px;
}
.posts-thumb .category-meta-bg {
	visibility: hidden;
}

body.home .main-content-wrap {
    padding: 0 0 50px 0;
}
ul.main-menu li ul li a {
	line-height: 15px !important; 
}
ul.main-menu li ul {
	width: 300px !important;
}
.elementor-widget:not(:last-child) {
	margin-bottom:  0px !important;
}
@media (min-width: 90px) {
    body.boxwidth {
        width: 100%;
        max-width: 100% !important;
    }
}
@media (min-width: 1200px) {
.container {
    max-width: 90% !important;
}
body.page-template-page-sidebar .main-content-wrap .row .col-lg-8 {
    max-width: calc(100% - 340px);
    flex: 0 0 100%;
}
}
@media (max-width: 700px) {
.elementor-element.elementor-element-s1swid6 > .elementor-element-populated,.elementor-element.elementor-element-coqvu1d > .elementor-element-populated {
		padding: 0px !important;
	}
.recent-posts-widget .posts-thumb img, .post-block-style.post-float .post-thumb img {
    max-width: 100% !important;
}
}
@media (max-width: 769px) {
#MainContentArea {
    width: 100% !important;
}

	#theSidebar,body.page-template-default .main-content .container {
	width: 100% !important;
		max-width: 100% !important;
}
	.list-post-block .list-post > li {
    margin-bottom: 30px;
    max-height: unset;
}
	.entry-summary ul, .blog-entry-summary ul, .entry-content-page ul, .entry-summary ol, .blog-entry-summary ol, .entry-content-page ol {
    margin: 0;
    padding: 0;
}
	.featured-tab .nav-tabs>li>a.active:after {
    bottom: -6px !important;
}
	.featured-tab .nav-tabs > li > a {
		padding: 0 15px 0 0;
	}
	.featured-tab .nav-tabs {
    border: 0;
    position: relative;
    top: -30px;
    right: 0;
}
	.recent-posts-widget .posts-thumb a, .post-block-style.post-float .post-thumb a {
    max-height: 120px !important;
    overflow: hidden;
    display: block;
}
.twoWideImage .posts-thumb-full:before {
    background: none !important;
}
	.twoWideImage .posts-thumb-full .entry-title,.twoWideImage .posts-thumb-full .post-title,.twoWideImage .elementor-element .posts-thumb-full .post-info-full .post-meta,.twoWideImage .posts-thumb-full .post-info-full,.twoWideImage .posts-thumb-full .post-title a {
    color: #000 !important;
    position: relative !important;
}
	.twoWideImage .posts-thumb-full {
		border: 1px solid #f1f1f1;
	}
	.elementor-column-gap-default>.elementor-row>.elementor-column>.elementor-element-populated {
    padding: 0 !important;
}
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {

    ul.main-menu > li > a {
        font-size: 10px !important;
        padding: 0 10px !important;
    }
    ul.main-menu>li.menu-item-has-children>a:after {
        right: -4px;
    }

    #MainTopArea .elementor-column.elementor-col-50 {
        width: 100%;
    }
    #MainTopArea > .elementor-container > .elementor-row > .elementor-column.elementor-col-50:first-child {
        padding: 2px 2px 4px;
    }

    .featured-tab .nav-tabs>li>a.active:after {
        left: calc(50% - 14px);
    }

    .elementor-column.elementor-col-50, .elementor-column[data-col="50"] {
        width: 100% !important;
    }
    .elementor-column.elementor-col-50 > .elementor-element-populated, .elementor-column[data-col="50"] > .elementor-element-populated {
        padding: 10px !important;
    }

    #MainContentArea {
        width: 100% !important;
    }
    #theSidebar {
        width: 100% !important;
    }
    #theSidebar.elementor-column > .elementor-element-populated {
        padding: 10px !important;
    }

    .list-post-block .list-post > li {
        margin-bottom: 10px;
        max-height: unset !important;
    }
    .post-block-style.post-float .post-thumb {
        float: none;
    }


    #sidebar {
        max-width: 100% !important;
    }
}
@media only screen and (max-width:769px) {
	body.single #content {
		max-width: 66% !important;
	}
}
@media only screen and (min-width:900px) {
	.header-ad1 {
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
}
	.header-ad2 {
		display: none !important;
	}
}
@media only screen and (max-width:767px) {
	body.single #content {
		max-width: 100% !important;
		width: 100% !important;
	}
	#sidebar .theiaStickySidebar {
		position: static !important;
	}
	body.home .elementor-28388 .elementor-element.elementor-element-18cc4186>.elementor-widget-container {
    margin: 0px !important;
}
	.header-ad1 {
		display: none !important;
	}
	.header-ad2 {
		display: block !important;
		margin: 20px 0;
	}
	.header .container .row .col-md-9 {
		width: 350px !important;
		margin: 0 auto !important;
		padding: 0px !important;
	}
	body.archive #content, body.single #content,body.post-type-archive-tribe_events .main-content .container:nth-child(1) {
	max-width: 100% !important;
	flex: 100% !important;
}
}