@media only screen and (min-width: 240px) and (max-width: 479px) {
    .header nav.menu {
        width: auto;
    }
    .header .logo a img {
        width: 180px;
    }
    header {
        min-height: 90px;
    }
    footer {
        height: auto;
    }
    .footleft {
        height: auto;
        padding: 20px 20px;
        display: block;
    }
    .footleft p {
        margin: 0;
    }
    .footlinks {
        display: block;
        height: auto;
        padding: 30px 0px;
    }
    .footlinks ul li:nth-child(6)::after {
        display: inline-block;
    }
    .paryushansponsor-tetx {
        width: 100%;
    }
    .paryushan_topimg {
        padding: 30px 0 10px;
    }
    .redvideotext {
        display: block;
        width: 80%;
        margin: auto;
    }
    .redvideo-box p {
        letter-spacing: 0.25px;
        font-size: 14px;
        margin-bottom: 3px;
        margin-top: 20px;
    }
    .redvideotext p {
        font-size: 14px;
        letter-spacing: 0.35px;
        margin-bottom: 7px;
    }
    /*  */
    .home_topbanner {
        min-height: 37vh;
        background-position: center top;
        background-size: 172%;
    }
    .welcome_mahavir {
        min-height: auto;
        background-position: 73%;
        padding: 30px 0;
        background-size: cover;
    }
    .weltext {
        height: auto;
    }
    .vihartext {
        width: 100%;
        padding: 14px 15px;
    }
    .vihartext h5 {
        font-size: 18px;
        margin-bottom: 7px;
    }
    .vihartext p {
        font-size: 12px;
        line-height: 17px;
    }
    .vihartext a {
        font-size: 14px;
    }
    .viharbox {
        margin-bottom: 20px;
    }
    .recentevetn_box {
        margin-bottom: 20px;
    }
    .blessing-text {
        padding: 15px 15px;
    }
    .blessing-text h5 {
        font-size: 20px;
        margin-bottom: 5px;
    }
    .blessing-text p {
        line-height: 22px;
        font-size: 13px;
    }
    .blessing-text a {
        margin-top: 0px;
    }
    .develop_box {
        margin-bottom: 30px;
    }
    .devetext {
        padding: 10px 10px;
    }
    .videotext {
        padding-top: 15%;
    }
    .home_donation {
        height: auto;
        background-position: left;
    }
    .abouttopbanner {
        height: 30vh;
        background-position: 68%;
    }
    .topbanner_text {
        bottom: 20px;
    }
    .topbanner_text h3 {
        font-size: 20px;
    }
    .topbanner_text p {
        font-size: 16px;
    }
    .aboutafterban_text {
        padding: 30px 0 40px;
    }
    .aboutafterban_text img {
        margin-bottom: 15px;
        width: 45px;
    }
    .aboutafterban_text p {
        font-size: 18px;
    }
    .concept-black {
        height: auto;
        padding: 30px 0;
        background-position: 23%;
    }
    .concept-lastimg img {
        width: 90%;
    }
    .lastabout_text .row {
        margin-bottom: 0;
    }
    .lastabout_text {
        padding: 10px 0 20px;
    }
    .hdh-text {
        max-width: 100%;
        margin-top: 62%;
    }
    .about_hdhimg {
        height: auto;
        background-position: 20% top;
        padding: 70px 0 50px;
        background-size: 300%;
    }
    .trustiimg-box img {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }
    .trustiimg-box {
        margin-bottom: 25px;
    }
    .assocoated_text {
        display: block;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .associated_main {
        padding: 30px 0 30px;
    }
    .associated_box img {
        display: block;
        margin-bottom: 10px;
    }
    .associated_box {
        margin-bottom: 35px;
    }
    .associated_main h5 {
        margin-bottom: 20px;
    }
    .aboutredimg img {
        width: 100%;
        margin-bottom: 20px;
        margin-right: 0;
    }
    .about-redtext p {
        padding-right: 0;
    }
    .about_redimg {
        padding: 40px 0 20px;
    }
    .input-group.date .input-group-addon {
        display: none;
    }
    .aboutradiobtn h6 {
        width: 37%;
    }
    .form-group label {
        padding-left: 0;
        margin: 0 0 3px 0;
    }
    .aboutradiobtn {
        padding: 0 0.65rem;
    }
    .university_text {
        margin-top: 20px;
    }
    .university_box {
        padding: 40px 0 30px;
    }
    .viharinfo_main {
        padding: 30px 0;
    }
    .viharbox_text {
        display: block;
        width: 100%;
        margin-bottom: 20px;
    }
    .ahavirpuram_textleft {
        display: block;
        width: 100%;
    }
    .ahavirpuram_imgright {
        display: block;
        width: 100%;
    }
    .ahavirpuram_imgright img {
        width: 80%;
        margin: auto;
        display: block;
        margin-bottom: 20px;
    }
    .mahavir-containt {
        margin-bottom: 30px;
    }
    .earthbg p {
        margin: 0 0px;
    }
    .earthbg {
        height: auto;
        padding: 30px 0 10px;
    }
    section.redband-mahavir {
        height: auto;
        padding: 20px 0;
    }
    .redimg img {
        margin-top: 0;
        margin-bottom: 20px;
    }
    .mahavirpuram_comanmain {
        padding: 10px 0;
    }
    .onlytext {
        max-width: 100%;
    }
    .redband-text p {
        max-width: 100%;
    }
    .fullmahavir-text p {
        max-width: 100%;
    }
    .ahavirpuram_textleft ul {
        width: 100%;
    }
    .blessings-text {
        margin-bottom: 90%;
    }
    .blessings-main {
        padding: 30px 0px 20px;
        height: auto;
        background-size: 230%;
        background-position: 18% bottom;
        background-color: #f8f8f8;
    }
    .redvideo-box {
        width: 85%;
        margin: auto;
    }
    .lovimg img {
        width: 100%;
    }
    .lovtext {
        padding-top: 0;
    }
    .lovtext p {
        max-width: 100%;
    }
    .donation_tree {
        padding: 30px 0 30px;
        background-position: 40% bottom;
        height: auto;
    }
    .tree-usd {
        display: block;
    }
    .tree-usd .usd-box:nth-child(1) {
        margin-right: 0;
    }
    .tree-usd .usd-box:nth-child(2) {
        margin-left: 0px;
    }
    .divine-das ul {
        padding: 10px 0 15px;
    }
    .divine-table table.table {
        min-height: auto;
    }
    .knowledge-box {
        display: block;
        width: 100%;
    }
    .knowledge-box div {
        width: 100%;
        margin: auto;
        margin-bottom: 10px;
    }
    .knowledge_city table.table {
        width: 100%;
        margin: 30px auto 0;
    }
    .knowledge_city {
        height: 960px;
        background-size: 240%;
        background-position: bottom;
        padding: 30px 0;
        background-repeat: no-repeat;
        background-color: #8bb3e7;
    }
    .news-box img {
        margin-bottom: 15px;
    }
    .contact_mapright form {
        width: 100%;
    }
    .contact_mapright {
        margin-top: 50px;
    }
    h3.contact_tital {
        margin-bottom: 15px;
    }
    .contact_mapright img {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .header nav.menu {
        width: auto;
    }
    .header .logo a img {
        width: 180px;
    }
    header {
        min-height: 90px;
    }
    footer {
        height: auto;
    }
    .footleft {
        height: auto;
        padding: 20px 20px;
        display: block;
    }
    .footleft p {
        margin: 0;
    }
    .footlinks {
        display: block;
        height: auto;
        padding: 30px 0px;
    }
    .footlinks ul li:nth-child(6)::after {
        display: inline-block;
    }
    .paryushansponsor-tetx {
        width: 100%;
    }
    .paryushan_topimg {
        padding: 30px 0 10px;
    }
    .redvideotext {
        display: block;
    }
    .redvideo-box p {
        letter-spacing: 0.25px;
        font-size: 14px;
        margin-bottom: 3px;
        margin-top: 20px;
    }
    .redvideotext p {
        font-size: 14px;
        letter-spacing: 0.35px;
        margin-bottom: 7px;
    }
    /*  */
    .home_topbanner {
        min-height: 37vh;
        background-position: center top;
        background-size: 172%;
    }
    .welcome_mahavir {
        min-height: auto;
        background-position: 73%;
        padding: 30px 0;
        background-size: cover;
    }
    .weltext {
        height: auto;
    }
    .vihartext {
        width: 100%;
        padding: 14px 15px;
    }
    .vihartext h5 {
        font-size: 18px;
        margin-bottom: 7px;
    }
    .vihartext p {
        font-size: 12px;
        line-height: 17px;
    }
    .vihartext a {
        font-size: 14px;
    }
    .viharbox {
        margin-bottom: 20px;
    }
    .recentevetn_box {
        margin-bottom: 20px;
    }
    .blessing-text {
        padding: 15px 15px;
    }
    .blessing-text h5 {
        font-size: 20px;
        margin-bottom: 5px;
    }
    .blessing-text p {
        line-height: 22px;
        font-size: 13px;
    }
    .blessing-text a {
        margin-top: 0px;
    }
    .develop_box {
        margin-bottom: 30px;
    }
    .devetext {
        padding: 10px 10px;
    }
    .videotext {
        padding-top: 15%;
    }
    .home_donation {
        height: auto;
        background-position: left;
    }
    .abouttopbanner {
        height: 30vh;
        background-position: 68%;
    }
    .topbanner_text {
        bottom: 20px;
    }
    .topbanner_text h3 {
        font-size: 20px;
    }
    .topbanner_text p {
        font-size: 16px;
    }
    .aboutafterban_text {
        padding: 30px 0 40px;
    }
    .aboutafterban_text img {
        margin-bottom: 15px;
        width: 45px;
    }
    .aboutafterban_text p {
        font-size: 18px;
    }
    .concept-black {
        height: auto;
        padding: 30px 0;
        background-position: 23%;
    }
    .concept-lastimg img {
        width: 90%;
    }
    .lastabout_text .row {
        margin-bottom: 0;
    }
    .lastabout_text {
        padding: 10px 0 20px;
    }
    .hdh-text {
        max-width: 100%;
        margin-top: 62%;
    }
    .about_hdhimg {
        height: auto;
        background-position: 20% top;
        padding: 70px 0 50px;
        background-size: 300%;
    }
    .trustiimg-box img {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }
    .trustiimg-box {
        margin-bottom: 25px;
    }
    .assocoated_text {
        display: block;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .associated_main {
        padding: 30px 0 30px;
    }
    .associated_box img {
        display: block;
        margin-bottom: 10px;
    }
    .associated_box {
        margin-bottom: 35px;
    }
    .associated_main h5 {
        margin-bottom: 20px;
    }
    .aboutredimg img {
        width: 100%;
        margin-bottom: 20px;
        margin-right: 0;
    }
    .about-redtext p {
        padding-right: 0;
    }
    .about_redimg {
        padding: 40px 0 20px;
    }
    .input-group.date .input-group-addon {
        display: none;
    }
    .aboutradiobtn h6 {
        width: 37%;
    }
    .form-group label {
        padding-left: 0;
        margin: 0 0 3px 0;
    }
    .aboutradiobtn {
        padding: 0 0.65rem;
    }
    .university_text {
        margin-top: 20px;
    }
    .university_box {
        padding: 40px 0 30px;
    }
    .viharinfo_main {
        padding: 30px 0;
    }
    .viharbox_text {
        display: block;
        width: 100%;
        margin-bottom: 20px;
    }
    .ahavirpuram_textleft {
        display: block;
        width: 100%;
    }
    .ahavirpuram_imgright {
        display: block;
        width: 100%;
    }
    .ahavirpuram_imgright img {
        width: 80%;
        margin: auto;
        display: block;
        margin-bottom: 20px;
    }
    .mahavir-containt {
        margin-bottom: 30px;
    }
    .earthbg p {
        margin: 0 0px;
    }
    .earthbg {
        height: auto;
        padding: 30px 0 10px;
    }
    section.redband-mahavir {
        height: auto;
        padding: 20px 0;
    }
    .redimg img {
        margin-top: 0;
        margin-bottom: 20px;
    }
    .mahavirpuram_comanmain {
        padding: 10px 0;
    }
    .onlytext {
        max-width: 100%;
    }
    .redband-text p {
        max-width: 100%;
    }
    .fullmahavir-text p {
        max-width: 100%;
    }
    .ahavirpuram_textleft ul {
        width: 100%;
    }
    .blessings-text {
        margin-bottom: 90%;
    }
    .blessings-main {
        padding: 30px 0px 20px;
        height: auto;
        background-size: 230%;
        background-position: 18% bottom;
        background-color: #f8f8f8;
    }
    .redvideo-box {
        width: 85%;
        margin: auto;
    }
    .lovimg img {
        width: 100%;
    }
    .lovtext {
        padding-top: 0;
    }
    .lovtext p {
        max-width: 100%;
    }
    .donation_tree {
        padding: 30px 0 30px;
        background-position: 40% bottom;
        height: auto;
    }
    .tree-usd {
        display: block;
    }
    .tree-usd .usd-box:nth-child(1) {
        margin-right: 0;
    }
    .tree-usd .usd-box:nth-child(2) {
        margin-left: 0px;
    }
    .divine-das ul {
        padding: 10px 0 15px;
    }
    .divine-table table.table {
        min-height: auto;
    }
    .knowledge-box {
        display: block;
        width: 100%;
    }
    .knowledge-box div {
        width: 100%;
        margin: auto;
        margin-bottom: 10px;
    }
    .knowledge_city table.table {
        width: 100%;
        margin: 30px auto 0;
    }
    .knowledge_city {
        height: 960px;
        background-size: 240%;
        background-position: bottom;
        padding: 30px 0;
        background-repeat: no-repeat;
        background-color: #8bb3e7;
    }
    .news-box img {
        margin-bottom: 15px;
    }
    .contact_mapright form {
        width: 100%;
    }
    .contact_mapright {
        margin-top: 50px;
    }
    h3.contact_tital {
        margin-bottom: 15px;
    }
    .contact_mapright img {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .paryushansponsor-img img {
        margin: auto;
        display: block;
        width: 100%;
    }
    .paryushansponsor-tetx {
        width: 100%;
        padding: 20px 0 0;
    }
    .header nav.menu {
        width: auto;
    }
    .header .logo a img {
        width: 180px;
    }
    header {
        min-height: 90px;
    }
    footer {
        height: auto;
    }
    .footleft {
        height: auto;
        padding: 20px 20px;
        display: block;
    }
    .footleft p {
        margin: 0;
    }
    .footlinks {
        display: block;
        height: auto;
        padding: 30px 0px;
    }
    .footlinks ul li:nth-child(6)::after {
        display: inline-block;
    }
    .home_topbanner {
        min-height: 48vh;
    }
    .welcome_mahavir {
        min-height: 380px;
        background-position: 53%;
    }
    .weltext {
        height: 450px;
    }
    .viharbox {
        text-align: center;
    }
    .recentevetn_box {
        text-align: center;
        width: 78%;
        margin: auto;
    }
    .blessing-text {
        width: 80%;
        text-align: center;
        margin: auto;
        display: block;
        left: 0;
        right: 0;
    }
    .videotext {
        padding-top: 8%;
    }
    .home_donation .table-bordered {
        width: 80%;
    }
    .blessing-box {
        text-align: center;
        margin-top: 30px;
    }
    .concept-black {
        background-position: left;
    }
    .conceptblack_text {
        margin-right: auto;
    }
    .about_hdhimg {
        height: 450px;
        background-position: 32%;
    }
    .hdh-text {
        max-width: 410px;
    }
    .trustiimg-box img {
        width: 100%;
        height: auto;
    }
    .abouttopbanner {
        height: 300px;
        background-position: 70%;
    }
    .aboutredimg img {
        width: 50%;
        margin-right: auto;
        margin-left: 0;
        margin-bottom: 30px;
    }
    .aboutradiobtn h6 {
        width: 25%;
    }
    .input-group.date .input-group-addon {
        display: none;
    }
    .abou-registration .form-group label {
        margin-bottom: 0;
    }
    .about-redtext p {
        padding-right: 0;
    }
    .university-img {
        margin-bottom: 30px;
    }
    .vihar_box {
        margin-bottom: 25px;
    }
    .redimg img {
        margin-top: 0;
    }
    section.redband-mahavir {
        height: auto;
        padding: 20px 0;
    }
    .mahavirpuram_comanmain {
        padding: 20px 0;
    }
    .no-scrolling {
        position: relative;
    }
    .blessings-main {
        background-position: 30%;
    }
    .blessings-text {
        max-width: 340px;
    }
    .lovtext {
        padding-top: 0;
    }
    .lovtext p {
        max-width: 100%;
    }
    .knowledge_city table.table {
        width: 65%;
    }
    .contactcity {
        width: 100%;
    }
    .contactadd-left {
        width: 90%;
        margin-right: auto;
        margin-left: 0;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .header .menu ul li {
        display: inline-block;
        list-style: none;
        padding: 10px 0 10px 13px;
    }
    .header nav.menu {
        width: 78%;
    }
    .footlinks ul li:nth-child(6)::after {
        display: inline-block;
    }
    .home_topbanner {
        min-height: 40vh;
    }
    .weltext {
        height: 520px;
    }
    .welcome_mahavir {
        min-height: 490px;
    }
    .vihartext {
        padding: 20px 40px;
    }
    .donation_text {
        height: 470px;
    }
    .home_donation {
        height: 500px;
    }
    .about_hdhimg {
        background-position: 43%;
    }
    .trustiimg-box img {
        max-width: 100%;
    }
    .associated_box img {
        width: 127px;
        height: 127px;
    }
    .aboutradiobtn h6 {
        width: 29%;
    }
    .input-group.date .input-group-addon {
        display: none;
    }
    .vihar_box img {
        width: 120px;
    }
    section.redband-mahavir {
        height: auto;
        padding: 30px 0;
    }
    .redimg img {
        margin-top: 0;
    }
    .mahavirpuram_comanmain {
        padding: 20px 0;
    }
    .blessings-main {
        height: 500px;
    }
    .paryushansponsor-tetx {
        padding: 0px 0;
    }
    .divine-table table.table h6 br {
        display: none;
    }
}