@media only screen and (max-width: 1200px){
	#desktopNav a.nav-link{
		padding: 8px 2.5px;
	}
	.logo-img {
	    width: 150px;
	    height: auto;
	    background: white;
	    padding: 14px 0;
	    border-radius: 0px 0px 22px 22px;
	    box-shadow: 0 0 5px #00000030;
	}
}

/*For Tablets*/


@media (max-width: 767px){

.logo-img {
    width: 140px;
    padding: 10px 0;
    border-radius: 0px 0px 20px 20px;
}
.navbar-toggler {
    padding: .25rem .5rem;
}
img.homeslider-img {
    height: 400px !important;
}
#homeSlider .slider-caption {
    font-size: 20px;
    padding: 8px 0;
}
#homeSlider .fa{
	font-size: 20px;
}
#homeSlider .owl-prev {
    left: 10px;
}
#homeSlider .owl-next {
    right: 10px;
}
.since2000-block {
    padding: 20px 20px 35px;
    background: #fff;
}
.since-text {
    margin-bottom: 30px;
}
.section-title {
    font-size: 26px;
    line-height: 25px;
}
.why-block-icon {
    width: 100px;
    height: 100px;
}
.principal-message-block {
    padding: 20px 20px 35px;
}
.learn-more-btn a {
    padding: 12px 18px;
}
.news-section {
    padding-right: 0;
}
.gallery-img-wrap img {
    height: 180px;
}
.gallery-img-wrap {
    height: 180px;
}
.footer-top img {
    display: none;
}
.footer-location, .footer-phone, .footer-mail {
    font-size: 14px;
}
.footer-title {
    font-size: 20px;
    margin-bottom: 7px;
}
ul.footer-links a {
    font-size: 14px;
}
.copyright {
    padding: 12px 0;
    font-size: 14px;
}
#since-block {
    height: auto;
    padding-left: 0;
    font-size: 14px;
	padding-top: 50%;
}
#principal-block{
	height: auto;
    font-size: 14px;
	padding-top: 70%;
}
.principal-message-block {
    padding: 15px 15px 25px;
}
.gradient-overlay{
	width: auto;
}
.gradient-overlay2{
	width: auto;
}
.home-section {
    padding: 30px 0;
}
.title-bar{
	width: 100px;
}
#pageBanner {
    height: 300px;
}
.history-img, .whyrai-img {
    height: 400px;
    margin-bottom: 10px;
}
.CBSE-img{
	margin-bottom: 10px;
}
.banner-text{
	font-size: 26px;
}
#chairman-block {
    padding-top: 80%;
	height: auto;
}
.chairman-block-box {
    padding: 15px 15px 25px 35px;
    font-size: 26px;
}
.principal-block-box {
    padding: 15px 15px 25px 20px;
    font-size: 22px;
}
.profile-img {
    height: 230px;
}
.profile-detail {
    padding: 10px 5px;
    font-size: 13px;
}
.gallery-grid{
    grid-template-columns: repeat(3, 1fr);
}
.gallery-img{
    height: 220px;
}
.gallery-slider-img {
    height: 310px;
}
.academicbanner-img, .servicebanner-img {
    height: 330px;
}
.academic-img, .service-img {
    height: 400px;
    margin-bottom: 10px;
}
.beyond-img {
    height: 260px;
}
.singlepage-heading {
    font-size: 20px;
}
.popup-left{
	width: 100%;
}
.popup-right{
	display: none;
}
}

/*For Mobile*/

@media (min-width: 320px) and (max-width: 480px) {

.logo-img {
    width: 75px;
    padding: 10px 0;
    border-radius: 0px 0px 20px 20px;
}
img.homeslider-img {
    height: 300px !important;
}
.top-contact, .top-contact a {
    font-size: 12px;
}
#homeSlider .slider-caption {
    font-size: 16px;
    padding: 6px 0;
}
#homeSlider .fa{
	font-size: 16px;
}
#homeSlider .owl-prev {
    left: 5px;
}
#homeSlider .owl-next {
    right: 5px;
}
.top-contact {
    padding-right: 0;
}
.home-gallery-section {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
}
.quick-links{
    text-align: left;
}
.footer-title {
    font-size: 18px;
    margin-bottom: 7px;
    margin-top: 10px;
}
.footer-top {
    background: #f3f3f3;
    padding: 20px 0;
    margin-top: 10px;
}
#since-block {
    font-size: 14px;
    padding-top: 50%;
    background-position-x:0px;
}
#principal-block{
	height: auto;
    font-size: 14px;
}
.principal-message-block {
    padding: 12px 12px 20px;
}
.gradient-overlay{
	width: auto;
}
.gradient-overlay2{
	width: auto;
}
.home-section {
    padding: 30px 0;
}
.title-bar{
	width: 100px;
}
.history-img, .whyrai-img {
    height: 300px;
}
.banner-text{
	font-size: 22px;
}
#chairman-block {
	height: auto;
}
.chairman-block-box {
    padding: 15px 15px 25px 20px;
    background: #f5f5f5;
    font-size: 16px;
}
.message-line {
    width: 90px;
}
.principal-block-box {
    font-size: 15px;
}
.profile-detail {
    padding: 10px 5px;
    font-size: 14px;
}
.profile-img {
    height: 340px;
}
.gallery-grid{
    grid-template-columns: repeat(2, 1fr);
}
.gallery-img{
    height: 160px;
}
.gallery-slider-img {
    height: 240px;
}
#pageBanner {
    height: 220px;
}
#breadcrumb {
    font-size: 12px;
}
.single-news-img {
    height: 360px;
}
.academic-img, .service-img {
    height: 340px;
}
.beyond-img {
    height: 140px;
}
.studentprofile-img {
    height: 360px;
}
}
@media(max-width: 426px){
    .modal.show .modal-dialog {
    width: 100% !important;
}
}
