/* Small device  */
@media (min-width:0) and (max-width:575px) {
    span.carousel-control-prev-icon, span.carousel-control-next-icon {
        background: #8D2C31 !important;
        color: #fff;
    }
    .error-code{
        font-size: 5rem!important;
    }
    .navbar-collapse.collapse.show{

        height: 500px;
        overflow: scroll;
    }
    .dev_link{
        text-align: center;
    }
    .footer_links{
        justify-content: center;
        flex-wrap: wrap;
    }
    .footer_links li{
        flex-basis: 50%!important;
    }
    .footer_links li a{
        margin:  0px 3px!important;
    }
    .main_nav_parent{
        overflow: scroll!important;
    }
    .another_section .left_side img{
        height: auto!important;
    }
    .second_news_box img{
        height: 100px!important;
    }
    section {
        padding: 5px 0 !important;
    }

    .container {
        width: 100% !important;
    }

    .custom_mb_2 {
        margin-bottom: 10px;
    }

    .container-fluid {
        width: 100%
    }

    .navbar_upper {
        padding: 15px 0 15px 0;
    }

    .left_side_top {
        text-align: center;
    }

    .top_nav_links {
        text-align: center;
        margin-top: 5px;
    }

    .top_nav_links li a,
    .top_nav_links li:first-child {
        border: none;
        padding: 5px;
        padding-bottom: 0;
        font-size: 14px;
    }

    .navbar_nav_main li:first-child {
        border: none;
    }

    .second_section .img_pos_box img {
        height: auto;
    }

    .district_heading {
        /* text-align: center; */
    }

    .news a p {
        padding-bottom: 0 !important;
    }

    .district_heading li {
        margin-right: 0;
    }

    footer {
        text-align: center;
    }

    .socialLink_section {
        margin-top: 15px;
    }

    .book_row .col {
        flex: auto;
        margin-bottom: 20px;
    }

    .second_news_box img {
        max-height: fit-content;
    }

    .middle img {
        max-height: fit-content;
    }

    .third_section .right_side .img_pos_box img {
        /* max-height: fit-content; */
    }

    .fourth_section .fourth_middle img {
        min-height: auto !important;
    }

    .fourth_section .side_section img,.tab_big_img {
        height: 196px!important;
    }

    .font_size_sm_bold{
        font-weight: bold!important;
        font-size: 16px;
    }
    .d_none_sm{
        display: none;
    }
    .third_section h4,
    a {
        text-align: center;
        /* margin-top: 10px; */
    }

    .fourth_section a {
        text-align: center;
    }

    .news___box a {
        display: block;
        text-align: center;
    }

    .fifth_section .left_side img,
    .fifth_section .middle_side img,
    .fifth_section .right_side img {
        min-height: fit-content;
        height: auto;
    }

    .fifth_section a span {
        display: block;
        text-align: left;
        margin-top: 5px;
    }

    .sixth_section .news__box img {
        height: auto;
    }

    .sixth_section .news__box a {
        text-align: center;
    }

    .video_content {
        padding: 15px;
    }

    .video_content h6 {
        text-align: left !important;
    }

    .image_content .content {
        width: 100%;
    }

    .image_content img {
        height: auto;
    }

    .carousel-control-next-icon {
        display: none;
    }

    /* Next HUB */
    @media (min-width:991.1px) and (max-width:1200px) {
        .second_section .img_pos_box img {
            height: 300px;
        }

        ul.dropdown-menu {
            margin-top: 40px;
        }
    }

        .link.link_sm {
            text-align: left;
            font-size: 16px;
        }
    .news___box.ars a{
        text-align: left;
    }
    .text_left_sm{
        text-align: left!important;
        font-size: 16px;
    }
}
    /* Medium Device */
    @media (min-width:767.1px) and (max-width:991px) {
        body {}

        section {
            padding: 15px 0;
        }

        .navbar_upper {
            padding: 15px 0 15px 0;
        }

        .left_side_top {
            text-align: center;
        }

        .top_nav_links {
            text-align: center;
            margin-top: 5px;
        }

        .top_nav_links li a,
        .top_nav_links li:first-child {
            border: none;
        }

        /* .second_section .img_pos_box img {
height: 280px;
} */
        .second_news_box .news_box a span {
            font-size: 13px;
        }
    }

    @media (min-width:991.1px) and (max-width:1199px) {}

    /* OLD CODE */
    @media only screen and (max-width: 1399px) {
        .nav-pills {
            /* display: grid; */
            grid-template-columns: repeat(3, 1fr) !important;
        }

        .navbar-nav {
            padding-left: 7px !important;
        }

        .custom_btn_1 {
            font-size: 16px;
            padding: 0px 0px;
        }

        .custom_btn_2 {
            font-size: 16px;
        }

        .custom_btn_3 {
            font-size: 16px;
        }

        .eighth_nav_pill {
            display: grid;
            grid-template-columns: repeat(2, 1fr) !important;
        }

        .carousel-control-prev {
            position: absolute;
            bottom: 200px;
        }

        .carousel-control-next {
            position: absolute;
            bottom: 200px;
        }

        .navbar-collapse {
            /* margin-left: 5px !important; */
        }

        .onnanno_li {
            width: 10% !important;
        }

        .extra_link {
            float: left !important;
            width: 10%;
        }
    }

    @media only screen and (max-width: 1388px) {
        .navbar_nav_main {
            padding-left: 0 !important;
        }

        .new_active {
            margin-left: -5px;
        }
    }

    @media only screen and (max-width: 1238px) {
        .navbar_nav_main {
            display: grid;
            grid-template-columns: repeat(14, 1fr) !important;
        }
    }

    @media only screen and (max-width: 1199px) {
        .nav-pills {
            /* display: grid; */
            /* grid-template-columns: repeat(3, 1fr) !important; */
        }

        .navbar-expand-lg .navbar-nav .nav-link {
            padding-right: 5px !important;
            padding-left: 5px !important;
        }

        .navbar_nav_main {
            display: grid;
            grid-template-columns: repeat(13, 1fr) !important;
        }

        /* .active{
margin-left: 13px;
text-align: center;
} */
        .custom_btn_1 {
            font-size: 14px;
            padding: 0px 0px;
        }

        .custom_btn_2 {
            font-size: 14px;
            margin-right: 2px;
        }

        .custom_btn_3 {
            font-size: 14px;
            margin-left: 4px;
        }

        .carousel-control-prev {
            position: absolute;
            bottom: 75px!important;
        }

        .carousel-control-next {
            position: absolute;
            bottom: 80px;
        }

        .nav-item {
            padding: 1px 2px;
        }

        .navbar-collapse {
            margin-left: 4px !important;
        }

        .mukti_mot {
            padding-right: 20px !important;
        }

        .extra_link {
            float: left !important;
            width: 10%;
        }
    }

    @media only screen and (max-width: 1170px) {
        .new_active {
            margin-left: -4px !important;
        }
    }

    @media only screen and (max-width: 1066px) {
        .navbar_nav_main {
            display: grid;
            grid-template-columns: repeat(12, 1fr) !important;
        }
    }

    /* @media only screen and (max-width: 999px) {
.navbar_nav_main{
display: grid;
grid-template-columns: repeat(1, 1fr) !important;
}
.navbar-toggler{
display: visible !important;
}
} */
    @media only screen and (max-width: 991px) {
        .nav-pills {
            display: grid;
            grid-template-columns: repeat(1, 1fr) !important;
            padding-right: 2px !important;
        }

        .navbar_nav_main {
            display: grid;
            grid-template-columns: repeat(1, 1fr) !important;
        }

        .nav-item {
            width: 98.9% !important;
            border-right: none !important;
        }

        .dropdown {
            width: 98.3% !important;
            padding-left: 0px !important;
        }

        /* .navbar-expand-lg .navbar-nav .nav-link{
padding-right: 0 !important;
padding-left: 0 !important;
} */
        .btn_custom {
            width: 100%;
        }

        /* .custom_btn_2{
margin-left: 4px;
width: 99%;
} */
        .custom_btn_3 {
            width: 99%;
        }

        .image_1_3rd {
            width: 100px;
            height: 100px;
        }

        .card-text {
            text-align: left !important;
        }

        .seventh_section_binodon {
            display: flex;
            justify-content: center;
        }

        .main_nav {
            /* margin-top: 10px; */
        }

        .navbar-nav {
            width: 101.7% !important;
            padding-left: 30px;
        }

        .nav-link {
            margin-left: 5px;
        }

        .home {
            text-align: left !important;
        }

        .section_3rd_header {
            display: flex !important;
            justify-content: center !important;
            margin-bottom: 5px;
        }

        .link_1 {
            text-align: left !important;
        }

        .newspaper_home {
            text-align: left !important;
        }
    }

    @media only screen and (max-width: 768px) {
        .logo_section {
            display: flex;
            justify-content: center !important;
            align-items: center;
            padding-top: 10px;
        }

        .socialLink_section {
            display: flex;
            justify-content: center !important;
            align-items: center;
        }

        .section_3_row {
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
        }

        .card-text {
            text-align: center !important;
        }

        .special_news_card {
            background-color: #f7f7f7;
            width: 100%;
            height: 100% !important;
        }

        .main_nav {
            /* margin-top: 10px; */
        }

        .navbar-nav {
            width: 102.5% !important;
            padding-left: 30px;
        }

        .section_3rd_header {
            display: flex !important;
            justify-content: center !important;
            margin-bottom: 5px;
        }

        .nav-item {
            border-right: none !important;
        }

        .nav-item {
            width: 98.1% !important;
            border-right: none !important;
        }

        .nav-link {
            text-align: left !important;
        }

        .dropdown {
            width: 97.5% !important;
            padding-left: 0px !important;
        }

        .city_name {
            padding-left: 5px !important;
        }

        .secondary_section_grid_wrapper {
            display: grid !important;
            grid-template-columns: repeat(1, 1fr) !important;
            grid-gap: 5px;
        }

        .archive {
            width: 40% !important;
        }
    }

    @media only screen and (max-width: 575px) {
        .nav-pills {
            display: grid;
            grid-template-columns: repeat(1, 1fr) !important;
        }

        .btn_custom {
            width: 100%;
        }

        .custom_btn_1 {
            width: 98.5%;
        }

        .custom_btn_2 {
            margin-left: 4px;
            width: 98.5%;
        }

        .custom_btn_3 {
            width: 98.5%;
        }

        .top_second_parent {
            text-align: center;
        }

        .top_social_box {
            justify-content: center;
        }

        .slick-next {
            right: -30px !important;
        }

        ._2p3a {
            width: 378px;
        }

        .archive {
            width: 50% !important;
        }
    }

    @media only screen and (max-width: 450px) {
        .archive {
            width: 100% !important;
        }
    }

    @media only screen and (max-width: 400px) {
        .nav-pills {
            display: grid;
            grid-template-columns: repeat(1, 1fr) !important;
        }

        .btn_custom {
            width: 100%;
        }

        .custom_btn_1 {
            width: 98%;
        }

        .custom_btn_2 {
            margin-left: 4px;
            width: 98%;
        }

        .custom_btn_3 {
            width: 98%;
        }

        .top_second_parent {
            text-align: center;
        }

        .top_second_parent ul {
            display: none;
        }

        .top_social_box {
            justify-content: center;
        }

        .navbar-nav {
            width: 103.5% !important;
            padding-left: 30px;
        }

        .nav-item {
            width: 97.7% !important;
            border-right: none !important;
        }

        .archive {
            width: 100% !important;
        }
    }

    @media only screen and (max-width: 300px) {
        .nav-pills {
            display: grid;
            grid-template-columns: repeat(1, 1fr) !important;
        }

        .btn_custom {
            width: 100%;
        }

        .custom_btn_1 {
            width: 97.5%;
        }

        .custom_btn_2 {
            margin-left: 4px;
            width: 97.5%;
        }

        .custom_btn_3 {
            width: 97.5%;
        }

        .top_second_parent ul {
            display: none;
        }

        ul.d-flex.top_social_box {
            justify-content: center;
        }

        .navbar-nav {
            width: 104.5% !important;
            padding-left: 30px;
        }

        .header_section_2 {
            font-size: 16px !important;
        }

        /* body{
display: none;
} */
        .nav-item {
            width: 97.2% !important;
            border-right: none !important;
        }

        .dropdown {
            width: 95.3% !important;
            padding-left: 0px !important;
        }
    }

    @media only screen and (max-width: 250px) {
        .navbar-nav {
            width: 105.5% !important;
            padding-left: 30px;
        }
    }

    /* for small device  */
    @media (min-width:0) and (max-width:575px) {
        #main_slider_section {
            margin-top: 5px;
        }

        .feature-preview {
            float: none !important;
            width: 100%;
            max-width: 100% !important;
        }

        .feature-preview img {
            text-align: center;
            margin: 0 auto;
            display: block;
        }

        .container {
            width: 100% !important;
        }

        .container-fluid {
            width: 100%
        }

        .nav-link {
            text-align: left !important;
        }

        .fourth_section .news_box a {
            margin-bottom: 10px;
        }

        .third_section .img_box {
            text-align: center;
        }

        .third_section .img_box img {
            max-width: 100% !important;
        }

        .third_section .content_box {
            margin-top: 10px;
        }

        .image_1 {
            height: auto !important;
        }

        .footer_before_section img {
            width: 100%;
        }

        .category_row .card_news img {
            display: block;
            margin: 0 auto;
            margin-bottom: 5px;
            width: 100%;
        }

        .category_section h2 a {
            font-weight: 500;
        }

        ._2p3a {
            width: 365px !important;
        }

        .single_content h1 {
            font-size: 28px;
        }

        .post-list-blocks {
            position: relative;
            height: 100%;
        }

        .tab_card .btn_custom_more {
            bottom: 0%;
        }
    }

    /* Medium Device  */
    @media (min-width:767.1px) and (max-width:991px) {
        .feature-story-block {
            min-height: 0;
            margin-bottom: 10px;
        }

        .nav-link {
            text-align: left !important;
        }

        .container {
            width: 100% !important;
            padding: 0;
        }
    }
