@media (max-width: 1399.98px) {
    .header-menu ul li a {
        padding: 15px 10px!important;
    }
    .about-txt img {
        max-width: 100%;
    }
    .social-icons-cont {
        margin-top: 20px;
        border-top: 1px solid #e7e4e4;
        padding-top: 26px;
    }
    .img-fluid2{max-width: 100%;
        height: 80vh;
        display: block;
        margin: 0 auto;}
    }
    /*1399*/
    
    @media (max-width: 991.98px) {
    
     .navbar-nav{padding:0 20px;}
     .publication-img .notAvail {
        position: absolute;
        right: 15px;
        background: #f00;
        color: #fff;
        top: 25px;
        padding: 3px;}
    .publication-img .avail {
        position: absolute;
        right: 5px;
        background: #0cbd39;
        color: #fff;
        top: 5px;
        padding: 3px;}
    .ac-details-wrap img{float:none;width:100%;margin:10px auto;}
    .ac-details-wrap .custom_heading h2:before {
        content: '';
        border: 1px solid #9b3131;
        width: 8px;
        position: absolute;
        bottom: -15px;
        right:auto;
        left:0;
     }
    .ac-details-wrap .custom_heading h2:after {
        content: '';
        border: 1px solid #9b3131;
        width: 30px;
        position: absolute;
        bottom: -15px;
        left: 11px;
        right: auto;
     }
     .social-icons-cont h2{font-size: 17px!important;}
     .cont-box p, .cont-box p a {
        font-size: 16px;
        color: #676767;
        line-height: 21px;
        padding: 0px;
        margin: 0px;
        text-decoration: none;
        font-size: 13px;
       }
        .parampara-pic::before{display:none;}
        /* .header-logo .container {
        flex-direction: column-reverse; 
        align-items: flex-start;
        } */
        .logo button {
        background: #9b3131;
        width: 40px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .navbar-toggler-icon {
        align-items: center;
        justify-content: center;
        display: flex;
        color: #fff;
    }
        .header-info {
            justify-content: space-between;
            width: 80%;
            padding-bottom: 15px;
        }
        .logo {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 15%;
        }
        .logo img {
            max-width: 100%;
        }
        .header-logo {
            padding: 15px 0;
        }
    .navbar-collapse {
        position: absolute;
        width: 100%;
        background: #9b3131;
        top: 100%;
        left: 0;
        z-index: 99;
    }
    .header-menu ul li a {
        color: #fff;
        font-size: 18px;
        line-height: 18px;
        padding: 10px 15px!important;
    }
    .header-contact-info ul li a {
        font-size: 16px;
        line-height: 20px;
    }
    .header-contact-info ul li a img {
        max-width: 24px;
    }
    .header-lan-info img {
        max-width: 24px;
    }
    .header-lan-info select {
        font-size: 14px;
    }
    .wel-inn {
        max-width: 100%;
    }
    .wel-inn p {
        padding-top: 1rem;
    }
    h2, h1 {
        font-size: 24px!important;
    }
    p {
        font-size: 14px!important;
    }
    .social-item h3, .programmes-info-item h3 {
        font-size: 19px;
    }
    .ashram-pic::after {
        top: -75px;
    }
    .social-sec {
        padding: 45px 0 0 0;
    }
    .welcome-sec {
        padding-bottom: 0;
    }
    .religious-sec {
        padding: 45px 0 0 0;
    }
    .programmes-info-item span {
        font-size: 16px;
    }
    .programmes-pic-item img {
        max-width: 128px;
        margin-left: 10px;
    }
    .foot-box3 ul {
        font-size: 14px;
    }
    .foot-box3 ul li img {
        max-width: 24px;
    }
    .foot-box2 ul li a {
        font-size: 14px;
    }
    /*.foot-box1 img {
        max-width: 50%;
    }*/
    .btn-view-all a {
        height: unset;
        padding: 6px 12px;
        line-height: 1.42857143;
    }
    .programmes-info-item span {
       padding: 6px 12px;
        top: -15px;
    }
    .about-txt {
        padding: 30px;
    }
    .parampara-list-item {
        display: block;
        width: 61%;
        margin: 0 auto;
    
    }
    }
    /*991*/
    
    @media (max-width: 767.98px) {
    .photo-gallery-pic .port-box {
        margin: 15px 0;
        width: calc(50% - 30px);
    } 
    .ashram-picglry .port-box {
        margin: 15px 0;
        width: calc(100% - 30px);
    }   
        p {
        font-size: 13px!important;
    }
    h2, h1 {
        font-size: 20px!important;
    }
    .header-contact-info ul li a {
        font-size: 14px;
        line-height: 18px;
    }
    .header-lan-info select {
        font-size: 14px;
    }
    .header-lan-info img {
        max-width: 22px;
    }
    .header-contact-info ul li a img {
        max-width: 22px;
    }
    .welcome-sec {
        padding: 30px 0;
    }
    .parampara-sec {
        padding: 0;
    }
    .parampara-sec .bg-drk {
        margin-bottom: 15px;
    }
    
    .parampara-pic::before {
        display: none;
    }
    .parampara-pic {
        max-width:100%;
        margin: 0 auto;
    }
    .parampara-pic img{width: 100%;max-width: 100%;}
    .parampara-pic{max-height: 550px;}
    .parampara-info p {
        text-align: center;
    }
    .social-item h3, .programmes-info-item h3 {
        font-size: 17px;
    }
    .programmes-info-item span {
        font-size: 15px;
    }
    footer h2 {
        margin-bottom: 1rem;
    }
    .btn-view-all a {
        padding: 5px 10px;
        height: unset;
        line-height: 1.5;
    }
    .programmes-info-item span {
        padding: 5px 10px;
        top: -15px;
    }
    .bg-drk {
        width: 75px;
    }
    .bg-drk::before {
        width: 35px;
    }
    .bg-drk::after {
        width: 35px;
    }
    .bg-whit {
        width: 100px;
    }
    .bg-whit::before {
        width: 50px;
        left: -75px;
    }
    .bg-whit::after {
        width: 50px;
        right: -75px;
    }
    .about-txt {
        padding: 15px;
    }
    }
    /*767*/
    
    @media (max-width: 575.98px) {
     .photo-gallery-pic .port-box {
        margin: 15px 0;
        width: calc(100% - 30px);
    } 
    .header-contact-info{display:none;}
    .header-info {
        justify-content: flex-end;
        width: 80%;
        padding-bottom: 15px;
    }
    .ashram-picglry .port-box {
        margin: 15px 0;
        width: calc(100% - 30px);
    }
        h1, h2 {
        font-size: 22px!important;
    }
    p {
        font-size: 12px!important;
    }
    .logo button, .navbar-toggler-icon {
        width: 30px;
        height: 30px;
    }
    .header-menu ul li a {
        font-size: 16px;
        line-height: 16px;
    }
    .btn-view-all a {
        height: unset;
        padding: 1px 5px;
        line-height: 1.5;
    }
    .foot-box2 ul li a {
        font-size: 12px;
    }
    .foot-box3 ul {
        font-size: 12px;
    }
    .foot-box3 ul li img {
        max-width: 22px;
    }
    .social-item h3, .programmes-info-item h3 {
        font-size: 16px;
    }
    .programmes-info-item span {
        font-size: 14px;
    }
    .about-txt {
        padding: 15px 0px;
    }
    }
    /*575*/
