@media only screen and (max-width: 991px) { 
    .pitw-box-layout {
        margin-top: 0;
    }
    .header-logo {
        width: 100%;
        text-align: center;
    }
    .header-nav {
        background: green;
        padding: 7px 20px;
        position: relative;
        display: flex;
        align-items: center;
    }
	
    .top-search-wrap {
        display: none;
    }
    .header-nav .top-search-wrap {
        margin-right: 0;
        flex-grow: 1;
        text-align: left;
        display: block;
    }
    .header-nav .top-search-wrap #search_box {
        display: inline-block;
        margin-left: auto;
    }
    .header-nav .top-search-wrap #search_box .search-form {
        max-width: inherit;
        text-align: right;
    }
    .header-nav .top-search-wrap .search-form .search-field {
        height: 30px;
        padding: 3px 6px;
        line-height: 24px;
        font-size: 15px;
    }
    .header-nav .top-search-wrap .search-form .search-submit {
        height: 30px;
    }
    .header-nav-menu {
        max-width: 300px;
        position: absolute;
        z-index: 9;
        top: 100%;
        left: -999px;
        transition: all 300ms ease-in-out;
    }
    .header-nav-menu.show {
        left: 0;
    }
    .header-nav-menu ul {
        justify-content: left;
        flex-wrap: wrap;
    }
    .header-nav-menu > ul > li {
        width: 100%;
    }
    .header-nav-menu > ul > li > a {
        text-align: left;
        border: 0;
    }
	.header-nav-menu > ul > li .sub-menu {
        display: block;
        position: inherit;
        visibility: visible;
        background: transparent;
        border-bottom: 0;
        padding-bottom: 5px;
        padding-left: 15px;
        top: 0;
    }
    .header-nav-menu > ul > li:hover > .sub-menu, .header-nav-menu > ul > li > .sub-menu > li:hover > .sub-menu {
		display: block;
	}
	.header-nav-menu > ul > li > .sub-menu li a {
		padding: 1px 10px;
		border-bottom: 0;
		color: #fff;
	}
	.header-nav-menu > ul > li > .sub-menu > li:hover > a, .header-nav-menu > ul > li > .sub-menu > li .sub-menu > li > a:hover {
		background: transparent;
		color: #17e430;
	}
    .menu-toggle {
        width: 35px;
        height: 30px;
        position: relative;
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
        top: 1px;
        background: #d9c6c6;
        border-radius: 3px;
    }
    .menu-toggle span {
        display: block;
        position: absolute;
        height: 3px;
        width: calc(100% - 10px);
        background: #fff;
        border-radius: 2px;
        opacity: 1;
        left: 5px;
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
        top: 5px;
    }
    .menu-toggle span:nth-child(2) {
        top: calc(50% - 1px);
    }
    .menu-toggle span:nth-child(3) {
        top: auto;
        bottom: 5px;
    }

 }
 @media only screen and (max-width: 767px) {
    .pitw-home-content, .pitw-archive-content, .single-post-content {
        max-width: 520px;
        margin: 0 auto;
    }
    .main-news-left {
        width: 100%;
    }
    .tab-news-widget {
        width: 100%;
        padding-right: 0;
        padding-bottom: 15px;
    }
    .main-news-wrap .single-news {
        width: 50%;
        padding: 8px;
    }
    .main-news-advertisement {
        display: none;
    }
    .main-news-right {
        width: 100%;
        padding-bottom: 20px;
    }
    .mega-news-right {
        padding-right: 0px;
        width: 100%;
        padding-bottom: 20px;
    }
    .mega-row1-news-wrap .single-news {
        width: 100%;
        padding: 10px;
    }
    .mega-row1-news-wrap .single-news .thumb img {
        height: auto;
        max-height: 280px;
    }
    .mega-row2-news-wrap .large-item, .mega-row2-news-wrap .small-item {
        width: 100%;
    }
    .mega-row3-news-wrap .left-sec-wrap, .mega-row3-news-wrap .right-sec-wrap {
        width: 100%;
    }
    .mega-row3-news-wrap .left-sec-wrap {
        padding-bottom: 15px;
    }
    .mega-news-sidebar {
        padding-left: 0;
        width: 100%;
    }
    .single-colum-wrap {
        width: 100%;
        padding: 10px 10px;
    }
    .photo-gallery {
        width: 100%;
        margin-right: 0;
        margin-bottom: 25px;
    }
    .gallery-slider .single-photo .photo img {
        height: auto;
    }
    .video-gallery {
        width: 100%;
    }
    .site-content-widget, .editor-widget {
		padding-bottom: 20px;
		border-bottom: 2px solid #fff;
		margin-bottom: 20px;
	}
    .editor-widget {
        padding-bottom: 25px;
    }
    .top-news {
        width: 100%;
        padding-right: 0;
        padding-bottom: 18px;
    }
    .archive-content-inner .left-news-wrap, .single-post-content-inner .left-news-wrap {
        width: 100%;
        padding-right: 0;
        padding-bottom: 20px;
    }
    .archive-news-loop .single-news, .related-posts .single-news {
        padding: 12px;
        width: 100%;
    }
    .right-sidebar-wrap {
        width: 100%;
        padding-left: 0;
    }
    .header-top-left .bnd {
        display: none;
    }
    .mega-news-left {
        padding-right: 0;
        width: 100%;
    }
    .single-colum-news-loop .single-news:first-child .thumb img {
        height: auto;
    }
    .single-colum-news-loop .single-news .thumb img {
        height: auto;
    }
    .header-top-right ul li i {
        font-size: 13px;
        line-height: 20px;
        height: 20px;
        width: 20px;
        border-radius: 2px;
    }
    .header-top-left {
        font-size: 14px;
    }
    .top-news .thumb img {
        min-height: auto;
    }
    .small-ad-wrap {
    	display: block;
    }
    
}
@media only screen and (max-width: 575px) {
    .top-news .content h3 {
        font-size: 22px;
        line-height: 25px;
        margin-bottom: 9px;
    }
    .main-news-wrap .single-news {
        width: 100%;
        padding: 10px 0;
    }
    .top-news .thumb img {
        height: auto;
        max-height: 300px;
    }
    .header-logo .custom-logo {
		height: auto;
		width: 100%;
		max-width: 300px;
	}
    .single-post-meta .main-meta span {
        font-size: 14px;
    }
    .single-post-meta .main-meta span.view-count {
        padding-left: 5px;
    }
	.main-news-wrap {
		margin-left: 0;
		margin-right: 0;
	}
    .main-news-fullrow {
        padding-right: 0;
        padding-top: 0;
    }
    .main-news-wrap .single-news .thumb img {
        height: auto;
        max-height: 280px;
    }
    .main-news-wrap .single-news .content h3, .mega-row1-news-wrap .single-news .content h3, .mega-row2-news-wrap .large-item .single-news .content h3, .mega-row3-news-wrap .single-news:first-child .content h3, .single-colum-news-loop .single-news:first-child .content h3, .archive-news-loop .single-news .content h3, .related-posts .single-news .content h3 {
        height: auto;
        max-height: inherit;
    }
    .mega-row3-news-wrap .single-news:first-child .thumb img {
        height: auto;
        max-height: 280px;
    }
    .single-colum-news-loop .single-news:first-child .thumb img {
        max-height: 280px;
    }
    .archive-news-loop .single-news .thumb img, .related-posts .single-news .thumb img {
        height: auto;
        max-height: 280px;
    }
    .single-post-inner .post-title h2 {
        font-size: 22px;
        margin: 0;
        color: #595757;
    }
    #breaking_news, #int_breaking_news {
        margin: 10px 5px 0;
        width: calc(100% - 10px);
        height: 35px;
    }
    #breaking_news .heading h3, #int_breaking_news .heading h3 {
        line-height: 35px;
        padding: 0 8px;
    }
    #breaking_news .heading h3, #int_breaking_news .heading h3 {
        font-size: 16px;
        margin: 0;
        line-height: 35px;
        color: #fff;
        padding: 0 8px;
    }
    .ti_content{
        max-height: 33px;
    }
    .ti_news a h3 {
        line-height: 33px;
    }
    .ti_news a h3::before{
        top: 12px;
    }
    .mega-row2-news-wrap .large-item .single-news .thumb img {
        height: auto;
        max-height: 280px;
    }

}
@media only screen and (max-width: 320px) {

}