@media screen and (max-width:100%) {
    .mag_featured_post.mb-30 .grid.mag_grid.grid_border{
        display: unset !important;
	}
}
@media screen and (max-width: 575px) {
	.mag_topbar_btns{
		margin:0 auto !important;
	}
}
@media screen and (max-width: 575px) {
	nav.bt_nav_classic button.navbar-toggler{
		display:none;
	}
	nav.bt_nav_classic a.navbar-brand{
		margin:0 auto;
	}
	section#topbar {
		padding-bottom: 10px;
	}
	ul.menu.d-flex.justify-content-end.list-unstyled {
		margin-bottom: 0px !important;
		justify-content: center !important;
	}
	.mag_topbar_btns.ml-auto {
		width: 100% !important;
	}
	.betube_topbar{
		justify-content: center !important;
	}
	header#navbar .middle_nav .container-fluid .row .col .d-flex.align-items-center a.mr-auto{
		width: 38% !important;
	}
	header#navbar .middle_nav .container-fluid .row .col .d-flex.align-items-center div.text-center{
		width: 38% !important;
	}
	.socialLinks.d-flex.align-items-center.justify-content-end.h-100 {
		justify-content: center !important;
	}
	#comment {
		border-color: #ffffff;
		border: 1px solid #cfd5db;
	}
	.btp_inner_page .container-fluid .row .col-12.col-lg-9.mx-auto{
		max-width: 100% !important;
	}
	.d-mob-none{
		display:none;
	}
}
@media screen and (max-width: 410px) {
	.btp_section_head {
		flex-wrap: wrap;
		justify-content: center !important;
	}	
}
@media (max-width: 498.98px) {	
	.comment-form-cookies-consent {
		display: flex;
		align-items: flex-start;
	}
	.comment-form-cookies-consent > input {
		margin-top: 6px;
	}
	.btp_inner_page_categories .btp_cat_card {
		min-width: 100%;
	}
	#map {
		height: auto;
	}
	.btp_user_follow_col {
		min-width: 45%;
	}
	.btp_footer_grid{
		grid-template-columns : 100%;
	}
	.btp_classic .btp_lt_posts__container {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		grid-gap: 5px;
	}
	.btp_classic .btp_lt_posts__container.list .btp_post_card__top {
		height: 150px;
		width:40%;
	}
	.btp_classic .btp_lt_posts__container.list .btp_post_card__content{
		width: 60%
	}
	.bSH img{
		height:500px !important;
		object-fit:cover;
	}
	.bee-slid-bx-wraper .bee-slid-bx{
		max-width: 100%;
	} 
	.thumb-slider .thumbs{
		width: 100%;
	}
	.thumb-slider{
		height:200px;
	}
	.thumb-slider .main-image{
		width:100%;
	}
	.thumb-slider .main-image .image iframe{
		border:none !important;
		height:200px !important;
		width:100% !important;
	}
	.singlePostDescription .description iframe{		
		height:inherit;
	}
	.betube_mag__item_img{
		height:auto;
		min-height:100px;
	}
}
@media (min-width: 499px) and (max-width: 767px) {	
	.btp_inner_page_categories .btp_cat_card {
		min-width: 49%;
	}
	.bSH img{
		height:500px !important;
		object-fit:contain;
	}
	#map {
		height: auto;
	}
	.btp_sidebar .widget_latest_post .widget_content {
		display: flex;
		justify-content: space-between;
	}
	.btp_sidebar .widget_latest_post .widget_content .widget_most_view {
		flex-basis: 49%;
	}
	.btp_sidebar .widget_latest_post .widget_content .widget_latest_videos {
		flex-basis: 49%;
	} 
	.btp_footer_grid{
		grid-template-columns : 1fr 1fr;
	}
	.btp_classic .btp_lt_posts__container {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		grid-gap: 5px;
	}
	.btp_classic .btp_lt_posts__container.list .btp_post_card__top {
		height: 150px;
	}
	.bee-slid-bx-wraper .bee-slid-bx{
		max-width: 100%;
	} 
}
@media (min-width: 768px) and (max-width: 991px) {
  .btp_sidebar .widget_latest_post .widget_content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .btp_sidebar .widget_latest_post .widget_content .widget_most_view {
    flex-basis: 49%;
  }
  .btp_sidebar .widget_latest_post .widget_content .widget_latest_videos {
    flex-basis: 49%;
  }
  .btp_footer_grid{
      grid-template-columns : 1fr 1fr 1fr;
  }
}
@media (max-width: 900px) {
	.btp_inner_page_categories{
	  grid-template-columns: repeat(auto-fill, minmax(150px, 190px));
	}
	.mmr-auto .btp_section_head__title {
		margin-right:auto;
	}
}
/*====Mag Style====*/
@media screen and (max-width:1024px) {
	img{
		max-width: 100%;
	}
	header#navbar .middle_nav .container-fluid .row .d-flex.align-items-center {
		gap: 10px;
	}
}
@media screen and (max-width:568px) {
    header#navbar .middle_nav .container-fluid .row .d-flex.align-items-center {
        flex-wrap: wrap;
    }
    header#navbar .middle_nav .container-fluid .row .d-flex.align-items-center img {
        max-width: 100%;
    }
    .recent_grid {
        display: grid;
        grid-template-columns: auto;
        gap: 10px;
    }
    figure.betube_mag__item {
        flex-direction: column;
    }
    .more_news figcaption {
        width: 100%;
    }
    .mag_featured_post .grid,
    .mag_tech_post .grid {
        grid-template-columns: auto;
    }
}
@media screen and (max-width:800px) {
	.mag_grid figure:not(:nth-of-type(1)):not(:nth-of-type(2)) {
		grid-column: span 3;
	}
	.mag_grid figure:not(:nth-of-type(1)):not(:nth-of-type(2)) h5 {
		font-size: 12px;
	}
	.tech_grid .betube_mag__item:not(:first-of-type) {
		grid-column-start: 1;
		grid-column-end: 7;
	}
	.tech_grid figure.betube_mag__item {
		flex-direction: row;
	}
}