
/*************************************************************
CSS FOR RESPONSIVE PAGES
**************************************************************/
@media screen and (max-width: 1200px){
	
	.body-wrapper {
		width: 100%;
		padding: 5px;
	}
	
	/* HOME PAGE*/
	.trending-wrapper ul{
		padding: 10px 5px;
	}
}

@media (min-width: 769px) and (max-width: 1024px){
	
	.main-navigation li {
		padding: 15px 6px;
	}
	
	.main-navigation li a {
		font-size: 15px;
	}
	
	li#trend-display {
		padding: 12px 20px;
	}
	
	li#home-icon, li#search-icon {
		padding: 15px 12px;
	}
}

@media (min-width: 768px){

	.menu-item-has-children:hover>.sub-menu {
		display: block;
	}

}

@media screen and (max-width: 768px){
	
	/* HOME PAGE*/
	.widget_esn_ad a {
		display: block;
	}
	
	/*LOGO SECTION*/
	.logo-ad-wrapper {
		grid-template-columns: 1fr;
	}
	
	/*MENU*/
	li#home-icon, li#search-icon {
		background: var(--pcolor);
	}
	
	#nav-toggle {
		display: unset;
	}
	
	.main-navigation li {
		padding: 0;
		display: block;
	}
	
	li#home-icon a {
		width: 50px;
		border: 0;
	}
	.main-navigation li a {
		display: block;
		padding: 15px 12px;
		border-bottom: solid 1px #cccccc45;
	}
	
	li#search-icon a {
		display: none;
	}
	
	li.search-box {
		position: unset;
		padding: 8px 15px;
	}
	
	li#search-icon {
		display: block !important;
	}
	
	li.date-display {
		display: block;
		text-align: center;
		right: 50px;
		left: 50px;
		top: 3%;
		margin: 0 auto;
	}
	
	.dtn_widget {
		padding-top: 2px;
		display: inline;
	}
	
	.search-wrapper {
		display: grid;
		grid-template-columns: auto;
	}
	
	button.search-submit {
		position: absolute;
		right: 0;
		top: 0;
	}

	form.search-form {
		position: relative;
	}

	input.search-field {
		width: 100%;
	}
	
	.main-navigation li:first-of-type {
		display: block;
	}

	.main-navigation li {
		display: none;
	}

	.main-navigation li:first-of-type, li.date-display {
		display: block;
	}
	
	li.date-display {
		top: 25%;
	}
	/*BREAKER*/
	.title-big {
		font-size: 30px;
	}
	
	img.author-icon {
		width: 25px;
	}
	
	p.author-text {
		padding-top: 0;
	}
	
	.breaker-news-summary {
		font-size: 16px;
	}
	
	.grid-3-1 {
		display: block;
	}
	
	.list-news-rest {
		height: auto;
		padding-right: 5px;
		grid-template-columns: 1fr 4fr;
	}
	
	.list-news-img-wrap img {
		max-height: 100px;
	}


	/***************************/
	.side_news_list_wrapper {
		grid-template-columns: 1fr 1fr;
	}
	
	.three-column-news-wrapper {
		grid-template-columns: 1fr;
	}
	
	.episode_time_wrapper {
		grid-column: 1/4;
	}
	
	/*HOVER WIDGET WRAPPER AND SIDE WIDGET HONMEPAGE*/
	.main_wrapper_for_hover_widget {
		grid-template-columns: 1fr;
	}
	
	/*THREE COLUMN WIDGET HONMEPAGE*/	
	.three-col-news-wrapper {
		grid-template-columns: 1fr;
	}
	
	.esn_new_display_three .three_news_big {
		height: auto;
		max-height: 250px;
	}
	
	.news_content_small {
		grid-template-columns: 1fr 5fr;
	}
	
	/*ESN SIDE MIDDLE SIDE NEWS WIDGET*/
	.side-middle-side-wrapper {
		grid-template-columns: 1fr;
	}
	
	.side-news-wrapper {
		grid-template-columns: 1fr 1fr;
	}
	
	/*PRADESH NEWS DISPLAY WIDGET*/
	.pradesh-news-wrapper .widget-title:nth-child(1) {
		position: relative;
		display: block;
		text-align: center;
	}
	
	.pradesh-news-wrapper .widget-title:nth-child(1) a {
		padding: 0 40px;
		border-radius: 5px 5px 0 0;
	}
	
	.pradesh-news-wrapper .widget-title:nth-child(2) {
		padding-left: 0;
		display: flex;
		justify-content: space-around;
	}
	
	.presesh_news grid-3{
		grid-template-columns: 1fr;
	}
	
	.tabcontent {
		grid-template-columns: 1fr;
	}

	.tabcontent .big-thumb-section {
		height: auto;
		display: grid;
		grid-gap: 10px;
		padding-right: 5px;
		grid-template-columns: 1fr 4fr;
		border-bottom: solid 1px #ccc;
	}

	.big-thumb-img-wrap {
		display: flex;
		align-items: center;
		height: unset;
	}
	
	.big-thumb-img-wrap a {
		display: flex;
		width: 100%;
	}

	.big-thumb-title-wrap {
		background: unset;
		display: flex;
		align-items: center;
	}

	.big-thumb-title-wrap .title {
		max-height: 50px;
		overflow: hidden;
		text-align: left;
	}

	.big-thumb-title-wrap .title a {
		font-size: inherit;
		color: inherit;
	}
	
	/*Four Thumb News Section*/
	.grid-1-1 {
		grid-template-columns: 1fr;
	}

	/*Pradesh News Section*/
	.news-thumb-section .img-wrap {
		height: unset;
		max-height: 250px;
	}
	
	.pradesh-news-wrapper .widget-title:nth-child(2) {
		flex-direction: column;
		align-items: center;
		padding: 0;
	}

	.pradesh-news-wrapper .widget-title:nth-child(2) a {
		width: 100%;
		text-align: center;
		border-radius: 0;
		border-bottom: solid 1px #cccccc42;
	}
	
	/*Video News Section*/
	.three-vid-horizontal-wrapper {
		grid-template-columns: 1fr 1fr;
		padding: 5px;
		grid-gap: 10px;
	}

	.three-vid-hr-news .img-wrap {
		height: unset;
		max-height: 200px;
	}

	.three-vid-hr-news .img-wrap a {
		display: flex;
	}
	/*Site Footer*/
	.site-footer-content-wrapper {
		grid-template-columns: 1fr;
		text-align: center;
		padding: 0;
	}

	.site-logo {
		justify-content: center;
	}
	
	.footer-social-links{
		place-content: center;
	}
	
	.site-info .body-wrapper {
		grid-template-columns: 1fr;
		text-align: center;
		height: unset;
		grid-gap: 10px;
	}
	
	p.site-link {
		text-align: center;
	}
	
	.one-thumb-whole-wrapper.grid-2-1 {
		grid-template-columns: 1fr;
	}
	
	.big-thumb-list.grid-2-1 {
		grid-template-columns: 1fr;
	}
	
	.hr-thumb-news {
		grid-gap: 10px;
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	
	.three-vid-hr-news:nth-child(1), .three-vid-hr-news:nth-child(2) {
		grid-column: unset;
		border-bottom: solid 1px #ccc;
	}

	/*POST PAGES*/
	.single-post .site-content{
		padding: 5px;
		grid-template-columns: 1fr;
		
	}

	ul.related-post-news-list {
		grid-template-columns: 1fr 1fr;	
	}
	
	/*ARCHIVE PAGES*/
	.archive article {
		grid-template-columns: 1fr;
	}
	
	/*SEARCH PAGES*/
	.search article {
		grid-template-columns: 1fr;
	}
	
	/******************************************
	CSS FOR CATEGORY/SEARCH PAGES
	*******************************************/
	
	.archive .site-main, .search .site-main {
		grid-template-columns: 1fr 1fr;
	}

	.archive .page-header, .search .page-header {
		grid-column: span 2;
	}
	
	.wp-pagenavi {
		grid-column: span 2;
	}
}

@media screen and (max-width: 425px){
	/*HOMEPAGE*/
	.site-logo a {
		width: 100%;
	}
	
	.title-big {
		font-size: 24px;
		margin: 10px 5px;
	}
	
	img.author-icon {
		width: 20px;
	}
	
	p.author-text {
		font-size: 13px;
	}
	
	.breaker-news-summary {
		font-size: 15px;
	}
	
	/*Hover News Section*/
	.main_hover_title_wrapper {
		display: none;
	}

	.home_hover_widget_news {
		grid-template-columns: 1fr;
	}

	.news-hover-section {
		display: flex !important;
		flex-direction: column-reverse;
		margin-bottom: 10px;
	}

	.post_main_wrapper {
		height: unset;
		padding: 0;
		box-shadow: none;
	}

	.post_main_wrapper .img-wrap {
		height: auto;
		max-height: 200px;
	}

	.post_main_wrapper .breaker-news-summary {
		display: none;
	}

	.post_main_wrapper .title {
		font-size: inherit;
		height: 70px;
		display: flex;
		align-items: center;
		justify-content: center;
		background: var(--pcolor);
	}

	.post_main_wrapper .img-wrap img {
		width: 100%;
	}

	.post_main_wrapper .title a {
		max-height: 50px;
		overflow: hidden;
		color: #fff;
	}

	.post_main_wrapper .img-wrap a {
		display: flex;
	}
	
	/*Three Colmun News Section*/
	.news_content_small {
		grid-template-columns: 2fr 4fr;
	}
	
	/*Side Middle Side News Section*/
	.side-news-wrapper {
		grid-template-columns: 1fr;
	}

	.side-news .img-wrap {
		height: auto;
		max-height: 200px;
		overflow: hidden;
	}

	.middle-news-wrapper .img-wrap {
		height: auto;
		max-height: 200px;
		overflow: hidden;
	}

	.middle-news-wrapper .img-wrap a {
		display: flex;
	}

	.side-news .img-wrap a {
		display: flex;
	}

	.middle-news-wrapper .title a {
		font-size: inherit;
		line-height: inherit;
	}
	
	/*Four Thumb News Section*/
	.news-thumb-section .img-wrap {
		height: unset;
		max-height: 250px;
	}
	
	
	.side_news_list_wrapper {
		grid-template-columns: 1fr;
	}
	
	.side_news_list_wrapper .author-wrapper p.author-text::before {
		top: 7px;
	}
	
	.tabcontent .big-thumb-section {
		grid-template-columns: 2fr 4fr;
	}
	
	.big-thumb-title-wrap .title {
		max-height: 80px;
	}
	
	.hr-thumb-news {
		grid-template-columns: 1fr;
	}
	
	.three-vid-horizontal-wrapper {
		grid-template-columns: 1fr;
	}

	/*POST PAGES*/
	
	h1.entry-title {
		font-size: 25px;
		text-align: center;
	}
	
	ul.related-post-news-list {
		grid-template-columns: 1fr;	
	}
	
	.entry-meta-social-wrapper {
		grid-template-columns: 1fr;
	}
	
	.social-share-wrapper {
		text-align: center;
		grid-column: span 3;
		margin-top: 20px;
	}
	
	/*ARCHIVE PAGES*/
	.archive .site-main {
		grid-template-columns: 1fr;
	}
	
	.archive .site-main article:first-of-type {
		grid-column: span 1;
	}

	/*SEARCH PAGES*/
	.search .site-main {
		grid-template-columns: 1fr;
	}
	
	.search .site-main article:first-of-type {
		grid-column: span 1;
	}

	.list-news-rest {
		grid-template-columns: 2fr 4fr;
	}
	
	/******************************************
	CSS FOR CATEGORY/SEARCH PAGES
	*******************************************/
	
	.search .site-main article .post-thumbnail {
		height: 100%;
		max-height: 200px;
	}
	
	.archive .site-main, .search .site-main {
		grid-template-columns: 1fr;
	}

	.archive .page-header, .search .page-header {
		grid-column: unset;
	}
	
	.wp-pagenavi {
		grid-column: unset;
	}	
	
}