@media (max-width:992px) {
    .back-to-top {
        bottom: 200px;
        right: 65px;
    }

    .copy_right {
        line-height: 1.1rem;
    }

    .topbar-wrapper .col.col-lg-auto {
        padding-left: 0px;
    }

    #newsTicker .marquee {
        animation: marquee_ani 20s linear infinite;
    }
}

@media only screen and (max-width: 768px) {
    .minister_box::before {
        top: 75px;
    }

    .banner_slide_one,
    .banner_slide_two,
    .banner_slide_three {
        height: 130px;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    #newsTicker .marquee {
        animation: marquee_ani 12s linear infinite;
    }

    .smartBoardTitle {
        padding: 15px 15px;
    }

    .perfSmartBoardCont {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .perSmartBoheadRgt {
        font-size: 15px;
    }

    .perfSmartIcon .title1 {
        font-size: 20px;
    }

    .min-hght-2 {
        min-height: 195px;
    }

    .about-ministrybg {
        margin-top: 10px;
        padding: 10px;
    }

    .intro-content h2 {
        margin: 0px 0px 10px;
    }

    .content {
        padding: 20px 0px;
    }

    .news-secbg h4 {
        font-size: 18px;
    }

    .news-secbg .swiper-button-next,
    .news-secbg .swiper-button-prev {
        height: 25px;
        width: 25px;
    }

    .news-secbg #newssec-slider {
        padding-top: 45px;
        margin-top: -42px;
    }

    .azadi-amrit-logosec .amritMahotsavContent h2,
    .azadi-amrit-logosec .amritMahotsavContent .h2 {
        margin-top: 10px;
    }

    .h-sm-auto {
        height: auto !important;
    }

    .news-secbg {
        min-height: auto;
        margin-bottom: 15px;
        padding: 30px 21px;
        margin-top: 15px;
    }

        .news-secbg a {
            margin-bottom: 10px;
            font-size: 12px !important;
        }

    .tweets-title {
        font-size: 20px;
    }

    .gallery-sec h4 {
        font-size: 20px;
    }

    .topbar-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 5px;
    }

        .topbar-wrapper > * {
            width: auto;
        }

    .skip_con {
        display: none;
    }


    #languageLabel {
        display: none;
    }

    .responsive-menu {
        display: block;
        position: absolute;
        right: 0px;
        z-index: 111;
        top: -42px;
        width: 42px;
        padding: 7px 4px;
        background: var(--bs-primary) !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .search-wrapper {
        position: absolute;
        top: -42px;
        right: 45px;
        padding: 0px 15px;
    }

    .mobile_view_pic,
    .mobie_view_twi {
        margin: 5px 0;
    }

    .custom_col_padding {
        padding-left: 12px;
    }

    .newProfInfoTwo,
    .newProfilesInfo {
        margin-bottom: 5px;
    }

    .res-earch-logo {
        justify-content: center !important;
    }

    .logo-wrapper .logo-image::after {
        top: 6px;
        height: 55px;
    }

    .logo-wrapper .logo-text p:nth-child(2) {
        line-height: 17px;
    }

    .banner_btns {
        right: 5px;
    }

    .logo-wrapper .logo-image img {
        max-height: 60px
    }

    .bar1,
    .bar2,
    .bar3 {
        width: 25px;
        height: 2px;
        background-color: #fff;
        transition: 0.4s;
        margin: 2px 0px 2px 0px;
    }

    nav {
        position: relative !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .change .bar1 {
        transform: rotate(-45deg) translate(-4px, 5px);
    }

    .change .bar2 {
        opacity: 0;
    }

    .change .bar3 {
        transform: rotate(45deg) translate(-4px, -5px);
    }

    .navbar-sec {
        padding: 0px;
    }

    .news-secbg .btns {
        padding: 2px 2px;
    }

    a.g20-logo-sec img {
        width: 295px;
    }

    .azadi-amrit-logosec {
        flex-direction: column;
    }

        .azadi-amrit-logosec img {
            width: 295px;
        }

    .azadi-amrit-logosec {
        padding: 20px 11px;
    }

        .azadi-amrit-logosec a {
            flex-direction: column;
        }

        .azadi-amrit-logosec .amritMahotsavContent {
            width: unset;
            padding-left: 0px;
        }

    .customNextBtn,
    .customPreviousBtn,
    .customPause,
    .customPlay {
        padding: 2px 4px;
        margin-left: 2px;
        font-size: 16px;
    }

    .footerbg p {
        text-align: center;
    }

    #newsbtn {
        margin-bottom: 20px;
    }

    .back-to-top {
        bottom: 270px;
        right: 65px;
    }

    .toggle_sec {
        top: -42px;
        right: 10px;
    }

   
}

/*------- For ipad --------------*/
@media screen and (min-width: 768px) and (max-width: 1023px) {

    .res-earch-logo img {
        display: block;
    }

   

    .responsive-menu {
        display: block;
        position: absolute;
        right: 0px;
        z-index: 111;
        top: -44px;
        width: 43px;
        padding: 7px 4px;
        background: var(--bs-primary) !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .bar1,
    .bar2,
    .bar3 {
        width: 25px;
        height: 2px;
        background-color: #fff;
        transition: 0.4s;
        margin: 2px 0px 2px 0px;
    }

    nav {
        position: relative !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .change .bar1 {
        transform: rotate(-45deg) translate(-4px, 5px);
    }

    .change .bar2 {
        opacity: 0;
    }

    .change .bar3 {
        transform: rotate(45deg) translate(-4px, -5px);
    }

    .navbar-sec {
        padding: 0px;
    }

    .search-container {
        display: none;
    }

    .banner_slide_one,
    .banner_slide_two,
    .banner_slide_three {
        height: 225px;
    }

    .smartBoardTitle {
        width: 40%;
        padding: 10px;
    }

    .state-mistry .d-flex {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .state-mistry h6 {
        text-align: center;
    }

    .state-mistry p {
        text-align: center;
    }

    .state-mistry {
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    .about-ministrybg .row {
        width: 100%;
    }

    .news-secbg #newssec-slider {
        margin-top: -63px;
        padding-top: 70px;
    }

    .news-secbg {
        margin-bottom: 20px;
    }

    .azadi-amrit-logosec a {
        flex-direction: column;
    }

    .azadi-amrit-logosec {
        padding: 28px 20px;
    }

        .azadi-amrit-logosec .amritMahotsavContent {
            width: unset;
            padding-left: unset;
        }

        .azadi-amrit-logosec img {
            width: 200px;
            height: 100px;
            margin-bottom: 10px;
        }

    .gallery-img {
        height: 94px;
    }

    #galleryimg-slider .card {
        height: 133px;
    }

    .videogallery {
        height: 133px;
    }

    #newsbtn {
        margin-bottom: 15px;
    }

    .gallery-sec h5,
    .gallery-sec .h5 {
        margin: 0px 0px 26px;
    }

    #videoimg-slider {
        padding-top: 35px;
        margin-top: -14px;
    }

    .logo-wrapper .logo-text p:nth-child(2) {
        font-size: 17px;
        line-height: 17px;
    }

    .logo-wrapper .logo-text p:nth-child(3) {
        font-size: 13px;
    }

    .logo-wrapper .logo-image::after {
        top: 9px;
    }

    .search-wrapper {
        position: absolute;
        top: -80px;
        right: 0px;
        padding: 0px 14px;
    }

    .newProfInfoTwo {
        padding: 12px;
    }

    .skip_con {
        display: none;
    }


    #languageLabel {
        display: none;
    }

    .toll_freeno {
        font-size: 11px !important;
    }

    .topbar ul li button, .topbar ul li p {
        font-weight: 500;
        font-size: 10px;
    }

    .mode-btn {
        width: 15px;
        height: 15px;
    }

    #LanguageId {
        margin: 0 2px;
    }

    .section_design_second .mobile_view_vid {
        margin-bottom: 5px;
    }

    #videoimg-slider {
        min-height: 426px
    }

    .footer_link_headings::before {
        width: 13%;
    }

    .footer_d_flex {
        gap: 8px;
    }

    .res-earch-logo {
        justify-content: flex-start !important;
    }

    .tweets-box {
        height: 350px;
    }

    #videoimg-slider {
        min-height: 353px;
    }

    .mobile_view_pic {
        width: 100% !important;
        margin-top: 5px;
    }

    .home_gallery_section .gallery img {
        height: 330px;
    }

    .home_gallery_section .gallery_thumbs_img .preview img {
        width: 228px;
        height: 110px;
    }

    .moreless-button {
        padding: 5px 15px !important;
    }

    .breadcrumb_page .bread_crumb_top {
        padding-top: 5px;
    }

    .ps-5 {
        padding-left: 0px !important;
    }

    .dir_of_sug_sec:nth-child(3) {
        margin-top: 5px;
        min-height: 170px !important;
    }

    .dir_of_sug_third:first-child {
        min-height: 566px;
    }

    .youtube_sec {
        margin-top: 16px;
        width: 100% !important;
    }

    .card_box_con {
        margin-bottom: 12px;
    }

    .InnerPhotoGallaryCol,
    .nPhotoGallaryCol {
        width: 50% !important;
    }

    .custom_width {
        width: 212px;
    }

    .custom_pagination_style {
        display: flex;
        position: absolute;
        left: 20%;
        top: 8.2%;
        z-index: 1;
        gap: 10px;
    }

    .tdAlbum {
        margin-top: 50px;
    }

    #gallery_hover {
        margin-top: 35px;
    }

    .nav_top_nav.fixed {
        position: static;
    }
}

/*------------- for ipad pro ------------*/
@media screen and (min-width: 1023px) and (max-width: 1024px) {
    .search-container input[type=text] {
        width: 90px;
    }

    .res-earch-logo img {
        width: 335px;
    }

    .nav_top_nav.fixed {
        position: static;
    }
}

@media screen and (max-width:1024px){
    #dfpd_top_menu > .container-fluid {
        background-color: var(--bs-primary);
    }
    .search-wrapper2 {
        margin: 0;
        width: 100%;
        padding: 5px;
    }
        .search-wrapper2 .search_div{
            width:100%;
        }
        .search-wrapper2 input {
            width: 100%;
        }

}

/* //  Aman start 20-04-2023 */
@media screen and (max-width: 1000px) {
    .topbar {
        padding: 0;
    }
   
    .topbar .container.p-0 {
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .nav_top_nav.fixed {
        position: static;
    }
}

@media only screen and (min-width:1501px) and (max-width: 2000px) {
    .search-wrapper {
        padding: 11px 15px;
    }

    .newProfInfoTwo {
        padding: 13px;
    }

    .profileLink,
    .speechLink {
        font-size: 16px !important;
    }

    .newProfilesInfo .heading {
        font-size: 20px;
    }

    .newProfilesInfo .greyFont {
        font-size: 16px !important;
    }

    .newProfInfoTwo .heading {
        font-size: 18px;
    }

    .newProfInfoTwoInfo p.greyFont {
        font-size: 16px !important;
    }

    .home_gallery_section .gallery img {
        height: 218px;
    }

    .tweets-box {
        min-height: 379px !important;
        height: auto;
    }

    #videoimg-slider {
        min-height: 424px;
    }

    .footer_polices ul li a {
        font-size: 15px;
    }

    .footer_headings,
    .footer_link_headings {
        font-size: 15px;
    }

    .footer_updated p {
        font-size: 13px;
    }

    .home_gallery_section .gallery_thumbs_img .preview img {
        width: 170px;
        height: 75px;
    }

    .home_gallery_section .gallery_thumbs_img {
        gap: 20px;
    }

    .state_minster_box::before {
        width: 50%;
        left: 25%;
    }

    .dir_of_sug {
        min-height: 210px !important;
    }

    .dir_of_sug_sec {
        min-height: 205px !important;
    }

    .dir_of_sug_third {
        min-height: 380px !important;
    }

    .dir_of_sug_forth {
        min-height: 270px !important;
    }

    .minister_box::before {
        height: 159px;
    }
}

@media only screen and (min-width:1400px) and (max-width: 1500px) {

    .home_gallery_section .gallery_thumbs_img .preview img {
        width: 155px;
    }

    .tiles_owl_carousel .item img:nth-child(1) {
        height: 300px;
    }

    .tweets-box {
        min-height: 379px;
        height: auto;
    }
}

@media only screen and (min-width:1200px) and (max-width: 1500px) {
    .tweets-box {
        min-height: 379px;
        height: auto;
    }
}

@media only screen and (max-width:576px) {
    #newsTicker {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .toggle_sec {
        top: -42px;
        right: 10px;
    }
    .sidebar_sidebar{
        position:static;
    }.sidebar_sidebar ul{
        flex-direction:row!important;
        margin:0
    }
    .border_nine, .border_eleven {
        display: none;
    }

    .back-to-top {
        bottom: 270px;
        right: 25px;
    }
   
    .folder {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

        .folder p {
            text-align: justify;
            margin: 20px 0;
        }

    .gallery_box a img {
        width: 331px !important;
        height: 155px !important;
    }

    .mobile_language {
        background: var(--bs-primary) !important;
        width: 110px;
        padding: 5px;
        color: #fff;
        border: none;
        font-size: 16px;
        outline: none;
        border-radius: 5px;
    }

    .main_content_section h2 {
        font-size: 16px;
    }

    .top_social {
        display: flex;
    }

    .banner_btns {
        right: 8px;
        bottom: 5px;
        padding: 2px 5px;
    }

    .custom_col_padding {
        padding-left: 12px;
    }

    .newProfilesInfo,
    .newProfInfoTwo {
        margin-bottom: 5px;
    }

    .mobile_view_pic {
        margin: 5px 0;
    }

    .footer_polices ul {
        line-height: 19px;
    }

    .footer_d_flex {
        display: flex;
        flex-direction: column;
    }

    .footer_link_headings::before {
        width: 11%;
    }

    .copy_right {
        font-size: 10px !important;
        line-height: 1.5;
    }

    .mobile_view {
        height: 50px;
        width: 100%;
        border-bottom: 1px solid #e5e5e5;
        background: #f8f9fa;
    }

    .responsive-menu {
        top: -147px;
        border-radius: 5px 0 0 5px;
        transition: .3s linear;
    }

    .video_slider_btn {
        font-size: 14px;
        width: 150px;
        height: 30px;
    }

    .mobile_view_social_icon {
        justify-content: center !important;
    }

    .footer_img_logo {
        justify-content: flex-start !important;
    }

    .search-wrapper {
        padding: 0px 12px;
        width: 40px;
        border-radius: 0 5px 5px 0;
    }

    .logo-wrapper .logo-image::after {
        height: 36px;
        top: 15px;
    }

    .header_logo img {
        max-height: 30px;
    }

    .newProfInfoTwo .heading {
        font-size: 14px;
    }

    .newProfInfoTwoInfo p.greyFont {
        font-size: 12px !important;
    }

    #videoimg-slider {
        min-height: 320px;
    }

/*
    img {
        height: 30px;
    }*/

    .newProfilesInfo .greyFont {
        font-size: 13px !important;
    }

    .newProfilesInfo .heading {
        font-size: 16px;
    }

    .footer-social-icons {
        width: 25px;
        height: 25px;
        font-size: 17px;
    }

    .logo-wrapper .logo-text p:first-child {
        font-size: 14px !important;
    }

    .logo-wrapper .logo-text p:nth-child(2) {
        line-height: 14px;
        font-size: 12px !important;
    }

    .logo-wrapper .logo-text p:nth-child(3) {
        font-size: 9px !important;
    }

    .tiles_box_heading {
        font-size: 13px !important;
    }

    .tilesPrevBtns, .tilesNextBtns {
        font-size: 14px;
        padding: 2px 5px;
    }

    .customNextBtn,
    .customPreviousBtn,
    .customPause,
    .customPlay {
        font-size: 13px !important;
    }

    #newsTicker p {
        font-size: 13px !important;
    }

    .newProfInfoTwo .state_minister_img {
        max-width: 90px !important;
    }

    .newProfInfoTwoPhoto {
        width: 77px;
        margin-right: 28px;
    }

    .about_minister_title {
        font-size: 13px !important;
    }

    .mainWrap {
        padding: 0px 0px;
    }

    .main_content_section p {
        font-size: 12px !important;
        margin-bottom: -5px;
    }

    .heading_title2 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .heading {
        font-size: 16px;
    }

    .breadcrumb_cust {
        bottom: 23px;
    }

    .breadcrumb_page .bread_crumb_top .bread_heading {
        font-size: 18px !important;
    }

   

    .ps-5 {
        padding-left: 0px !important;
    }

    .org_chart {
        background-color: unset;
    }

    .MainBanner_images {
        height: 120px !important;
    }

    .mobile_view_vid .card {
        min-height: 340px;
    }

    #logo-slider img {
        height: 30px;
    }

    .moreless-button {
        padding: 5px 15px !important;
        margin-top: 6px;
        border-radius: 3px;
    }

    .pt-4 {
        padding-top: 0px !important;
    }

    .heading_title2::before {
        margin-right: 5px;
    }

    .breadcrumb_cust .breadcrumb-item {
        font-size: 10px !important;
    }

    
    .folder .inner_folder {
        width: 240px;
    }


    .heading_title2::before {
        margin-right: 7px !important;
    }

    .officiar-search {
        flex-direction: column;
    }

    .ul.officiar-search {
        margin-bottom: 8px;
    }



    hr {
        margin: 0.5rem 0;
    }

    .breadcrumb_cust .breadcrumb-item {
        font-size: 11px !important;
    }

    .breadcrumb_page .bread_crumb_top .bread_heading {
        font-size: 17px !important;
        text-align: center;
    }

    .breadcrumb_page .bread_crumb_top {
        padding-top: 0px;
    }

    .main_content_section h2 {
        font-size: 18px;
    }

    .InnerPhotoGallaryCol,
    .nPhotoGallaryCol {
        width: 100% !important;
    }

    .galley_gap {
        gap: 0px;
        flex-direction: column;
    }

    .custom_pagination_style {
        left: 0%;
    }

    #gallery_hover {
        margin-top: 10px;
    }

    .copy_right {
        padding: 10px;
    }

    .back-to-top {
        bottom: 320px;
    }

    .d-flex.topbar-left li {
        display: flex;
        flex-direction: column;
    }

    .topbar-wrapper .col.col-lg-auto ul {
        flex-wrap: wrap;
        justify-content: center !important;
    }

        .topbar-wrapper .col.col-lg-auto ul li {
            width: fit-content;
        }
}

@media screen and (min-width: 1920px) {
    /* For Projectors or Higher Resolution Screens (Full HD)*/

    #tiles_owl_carousel img {
        width: 100%;
        height: 333px;
    }
}

@media screen and (min-width: 3840px) {
    /*/For 4K Displays (Ultra HD)/*/
    .container {
        width: 3810px;
    }

    #tiles_owl_carousel img {
        width: 100%;
        height: 333px;
    }
}

@media (min-width:992px)and (max-width:1200px) {
    .menu li a {
        font-size: 10px !important;
        padding: 7px;
        height: 100%;
    }

    .skip_con {
        display: none;
    }

    #languageLabel{
        display:none;
    }
    .back-to-top {
        bottom: 140px;
        right: 40px;
    }
}

@media (max-width:992px) and (max-height:480px) and (orientation:landscape) {
    .sidebar_sidebar {
        top: 15%;
    }

    .copy_right {
        padding: 10px 40px;
    }

    .back-to-top {
        bottom: 170px;
        right: 65px;
    }
}
