/* =====================================================
VIDYA VIKAS MANDAL – RESPONSIVE CSS
===================================================== */


/* ===============================
LARGE DESKTOP
================================= */

@media (max-width:1400px){

.container{
max-width:1200px;
}

}


/* ===============================
DESKTOP
================================= */

@media (max-width:1200px){

/* HERO */

#hero{
height:520px;
}

.carousel-item{
height:520px;
background-size:cover;
background-position:center;
}


/* HEADER */

.logo_name_header img{
max-width:100%;
}

#navbar ul li a{
font-size:15px;
padding:8px 12px;
}

}


/* ===============================
TABLET LANDSCAPE
================================= */

@media (max-width:992px){

/* HEADER TOP BAR */

.header_top_bar{
text-align:center;
}

.header_top_bar span{
display:inline-block;
margin:3px 6px;
font-size:14px;
}


/* HEADER MID */

.logo_name_header{
text-align:center;
margin-bottom:10px;
}


/* NAVBAR */

#navbar{
margin-top:10px !important;
}

#navbar ul{
flex-direction:column;
background:#ffffff;
position:absolute;
top:70px;
left:0;
width:100%;
display:none;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
z-index:999;
}

#navbar ul li{
width:100%;
border-bottom:1px solid #eee;
}

#navbar ul li a{
display:block;
padding:12px 15px;
}

.mobile-nav-toggle{
display:block;
font-size:28px;
cursor:pointer;
position:absolute;
right:20px;
top:25px;
}


/* HERO */

#hero{
height:420px;
}

.carousel-item{
height:420px;
background-size:cover;
}


/* VISION MISSION */

.vision_mission{
margin-bottom:20px;
}


/* PRESIDENT MESSAGE */

.body_circular_image{
text-align:center;
margin-bottom:20px;
}

.body_circular_image img{
max-width:220px;
margin:auto;
display:block;
}


/* IMPACT */

.impact_value{
margin-bottom:25px;
text-align:center;
}


/* INSTITUTIONS GRID */

.vvm_inst_index .col-md-3{
width:50%;
margin-bottom:25px;
}


/* CAMPUS HIGHLIGHTS */

.vvm_inst_index a{
font-size:14px;
}

}


/* ===============================
TABLET PORTRAIT
================================= */

@media (max-width:768px){

/* HERO */

#hero{
height:360px;
}

.carousel-item{
height:360px;
}


/* BODY HEADER */

.body_header3{
font-size:26px;
}


/* IMPACT COUNTER */

.impact_no{
font-size:36px;
}

.impact_txt{
font-size:14px;
}


/* VISION / MISSION */

.vision_mission{
padding:20px;
text-align:center;
}


/* PRESIDENT MESSAGE */

#about h2{
font-size:22px;
margin-top:10px;
}


/* INSTITUTION CARDS */

.vvm_inst_index .col-md-3{
width:100%;
}


/* CAMPUS HIGHLIGHTS */

.vvm_inst_index h2{
font-size:20px;
}


/* FOOTER */

.footer-links{
text-align:center;
margin-bottom:25px;
}

.footer-links h4{
margin-bottom:10px;
}

}


/* ===============================
MOBILE
================================= */

@media (max-width:576px){

/* HEADER */

.logo_name_header img{
max-width:90%;
}

.mobile-nav-toggle{
top:18px;
}


/* HERO */

#hero{
height:280px;
}

.carousel-item{
height:280px;
}


/* COUNTERS */

.counter{
font-size:34px;
}

.plus{
font-size:26px;
}

.impact_txt{
font-size:13px;
}


/* CTA */

.school_cta{
padding:40px 15px;
}


/* PRESIDENT MESSAGE */

.body_circular_image img{
max-width:180px;
}


/* TIMELINE */

.timeline iframe{
height:240px;
}


/* FOOTER */

.footer-top{
padding:30px 15px;
}

.copyright{
text-align:center;
font-size:13px;
}

.credits{
text-align:center;
font-size:13px;
margin-top:5px;
}

}


/* ===============================
SMALL MOBILE
================================= */

@media (max-width:420px){

/* HERO */

#hero{
height:240px;
}

.carousel-item{
height:240px;
}


/* COUNTERS */

.counter{
font-size:28px;
}

.plus{
font-size:22px;
}


/* HEADERS */

.body_header3{
font-size:22px;
}


/* NAVBAR */

#navbar ul li a{
font-size:14px;
}


/* PRESIDENT TEXT */

#about p{
font-size:14px;
line-height:1.6;
}

}


/* ===============================
ULTRA SMALL
================================= */

@media (max-width:360px){

.counter{
font-size:24px;
}

.plus{
font-size:20px;
}

.body_header3{
font-size:20px;
}

}