

@media screen and (min-width: 320px) and (max-width: 768px) {
 
  /* header styling */
  .header {
    padding: 0 0 0 0 !important;
    display: grid;
    grid-template-areas:
        "logo" 
        "title"
        "link"!important;
    align-content: center !important;
  } 

  
  .header-motto {
    margin-left: 0.2rem !important;
    margin-right: 0.2rem !important;
    box-shadow: 0 0 0.1rem var(--primaryColor);
    border-radius: 0.3rem;
    width: 100%;
    padding: 0.5rem;
    display: grid;
    grid-template-areas: 
    "school-name"
    "motto"
    "time";
    align-items: center;
    border-top: 2px solid var(--primaryColor);
  }
  
  .school-name{
    font-size:1.5rem !important;   
  }

  .motto {
    font-size: 0.5rem;
    line-height: 20px;
  }

  .header-time {
    margin-top: 1rem;
    font-size: 0.8rem;
    margin-bottom: -1.1rem;
  }

  .visit-portal {
    padding: 20px;
    justify-content: center;
    align-items: center;
  }
/* Header Responsive Ends */

/* Nav-bar Responsive Begins */
  .fuw-nav {
    padding-left: 2rem !important;
    padding-right: 1rem !important;
  }
/* Nav-bar Responsive Ends */

/* Carousel Responsive Begins */
  .fuw-carousel {
    margin-bottom: 0 0 0 0rem !important;
    height: auto !important;
    justify-content: center;
  }

  .carousel-caption-title{
    font-size: 1.5rem;
  }
.carousel-caption {

  padding-bottom: auto !important;
}

 
  .carousel-control-prev {
    padding-left: 1rem  !important;
  }
  .carousel-control-next {
    padding-right: 1rem  !important;
  }
/* Carousel Responsive Ends */
  
/* Body Responsive Begins */
  .fuw-main {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
  }

  .main-section {
    border-right: none;
  }

  .fuw-card {
    width: auto;
    margin-bottom: 2rem;
  }

  .events{
   
    margin-top: 2rem;
  }

  .news-heading {
    font-size: 2rem;
    margin-top: 0;
  }

  .news-card {
    height: 330px;
  }

  .news-title {
    font-size: 1rem;
  }

  .news-date {
    font-size: 0.7rem;
  }

  .news-content {
    font-size: 0.9rem;
  }

  /* Changing Slick slides from horizontal to vertical direction */

  /* Responsive VC Message */
 .vc-message{
  display: grid;
  grid-template-areas: 
      "vc-heading"
      "vc-message" !important;
  margin: 1rem 1rem !important;

}
.vc-heading {
  grid-area: vc-heading;
  margin-bottom: 0.5rem !important;
  font-weight: bold;
  font-size: 1.6rem;
  font-family: var(--secondaryFont);
  text-align: center;
  align-content: center;
}

  .vc-message-body {
    grid-area: vc-message;
    display: grid;
    grid-template-areas: 
        "vc-picture"
        "vc-message-content" !important;
    justify-items: center;
  
  }

  .vc-message-picture {
    grid-area: vc-picture;
    min-width: 100px;
    width: 200px;
    margin: 0.2rem 0.2rem !important;
    justify-content: center !important;
  }

  .vc-message-picture img {
    width: 200px;
  
  }

  .vc-name{
  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 1rem;
  font-family: var(--secondaryFont);
}
.vc-message-content {
  grid-area: vc-message-content;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
  padding: 2rem;
  border-radius: 0.3rem;
  position: relative;
  background: var(--whiteColor);
}

  .vc-message-content::before {
    left: 50%;
    margin-left: -10px;
    transform: rotate(137deg) translate(-3px, 5px);
  }
/*  Body Responsive Ends */


/* Responsive intervention page begins */
.intervention-layout{
  margin: 1rem .5rem !important;
  display: block; 
  height:auto;
}

.intervention-header{
 text-align: center;
 color: black;
 font-weight: bold;
 font-size: 1rem !important;
 margin-top: 4rem !important;
 
 /* border-bottom: 4px solid black; */ 
}

.intervention-card {
  /* overflow: hidden; */
  box-shadow: rgba(255, 255, 255, 0.2) 0px 2px 8px 0px;
  background:var();
  border-radius: 0.5rem;
  border: 1px solid rgb(0, 0, 0);
  margin: 2rem;
  height: 380px;
  max-height: 400px;
  width: 300px;
  padding-bottom: 1rem;
  
}


.interventions-section {
  display: grid !important;
  grid-template-rows: 1fr 1fr !important;
  grid-template-areas: 
      "categories"
       "content " !important;
  background: linear-gradient(to bottom, #38c172, #12283a);
  width: 100%;
  height: auto;
  margin: 0.5rem 0.5rem !important;
  padding-bottom: 1rem;
  padding-right: 1rem;
  justify-items: center;
}
.categories{
  grid-area:categories;
  background-color: #ccc;
  justify-self: stretch;
}
.content{
  grid-area: content;
  background-color: white;
  justify-self: stretch;
  align-items: center;
}

/* Style the tab */
/* Style the tab */
.tab {
  float: left;
  flex-wrap: wrap;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  width: 100%;
  height: 300px;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  display: block;
  background-color: inherit;
  color: black;
  padding: 10px 16px;
  width: 100%;
  border: none;
  outline:none;
  text-align: left;
  cursor: pointer;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current "tab button" class */
.tab button.active {
  background-color:var(--primaryColor);
  color:var(--white);
  font-weight: bold;
}

/* Style the tab content */
.tabcontent {
  float: left;
  padding: 0px 12px !important;
  border: 1px solid #ccc;
  width: 100%;
  border-left: none;
  height: 300px;
  justify-self: center;
}

/* Footer Responsive Begins */
  .copyright {
    font-size: 0.8rem;
  }

  .arrow-up {
    bottom: 3rem;
    right: 1rem;
  }
/* Footer Responsive Ends */
}


@media screen and (min-width: 769px) and (max-width: 1010px) {
  
 .header-motto {
    width: 60%;
  }

 .logo {
  width: 150px;
  max-width: auto;
  height: auto;
  display: block;
}
  .school-name {
    font-size: 1.5rem;
  }

  .motto {
    font-size: 1.3rem;
  }

  .side-menu{
    margin-bottom: -5000px;
  }
  /* Footer Responsive Begins */


  /* .footer {
  border-top: 1px solid #ccc;
  padding: 2rem 0;

} */

.footer h5 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.footer .link-secondary {
  font-size: 0.9rem;
  text-decoration: none;
}

.footer .link-secondary:hover {
  color: var(--secondaryColor);
}

.copyright {
  width: 100%;
  height: 70px;
  background: var(--navBgColor);
  color: var(--whiteColor);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.6rem;
}

.social-links {
  border: 1px solid var(--navBgColor);
  background: var(--navBgColor);
  width: 200px;
  margin: 0 auto;
  border-radius: 3rem;
  margin-bottom: -1.1rem;
}

.social-links .links {
  display: flex;
  list-style: none;
  text-align: center;
  justify-content: center;
  width: 100%;
  padding: 0;
}

.social-links .links li {
  width: 100%;
  text-align: center;
}
  .seven-cols .col-md-1,
  .seven-cols .col-sm-1,
  .seven-cols .col-lg-1 {
    width: 14.285714285714285714285714285714%;
    *width: 14.285714285714285714285714285714%;
  }

  /* Carousel Responsive Begins */
  .fuw-carousel {
    margin-bottom: 0 0 0 0rem !important;
    height: auto !important;
    justify-content: center;
  }


  .carousel-caption-title{
    font-size: 1.5rem;
  }

  .carousel-control-prev {
    padding-left: 1rem  !important;
  }
  .carousel-control-next {
    padding-right: 1rem  !important;
  }
/* Carousel Responsive Ends */


}



