@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*{
  font-family: 'Montserrat';
}
.all-school {
  text-decoration-line: none;
}
.sign-in {
  background-color: #1F479F;
  color: white;
  border-radius: 20px;
  padding-inline: 12px;
  padding-top: 2px;
  padding-bottom: 3px;
  border-color: transparent;
}
.search-img {
  height: 20px;
  background: white;
}
.home-logo img{
  width: 300px;
}

.location-link a {
  margin: 5px 15px;
  text-decoration: none;
}
.location-link {
  justify-content: center;
}
.trending-school {
  margin-top: 30px;
}
.school-name p {
  margin-bottom: 0px;
}
.sidenav {
  width: 250px;
  height: 100vh;
  position: fixed;
  background-color: #ffff;
  overflow-x: hidden;
  transition: width 0.3s;
  padding-top: 15px;
  left: 0px;
}
.side-menu img{
  width: 19px;
}

.sidenav a {
  padding: 10px 15px;
  text-decoration: none !important;
  color: #000 !important;
  display: block;
  transition: 0.3s;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 1px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.side-menu .active{
  background: #f2f2f2;
}
.side-menu a p{
  margin: 0px;
}

.sidenav a:hover {
  background: #f2f2f2;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.sidenav.collapsed {
  width: 80px;
}

.sidenav.collapsed a {
  text-align: center;
  font-size: 14px;
}

.sidenav.collapsed img {
  width: 20px;
  height: auto;
  /* margin: 10px auto; */
}
.sidenav.collapsed p {
  display: none;
}
.sidenav.collapsed a {
  display: block;
  padding: 15px;
  width: fit-content;
}
.signupbtn{
  font-weight: 600 !important;
  background: #1f4aa0 !important;
  color: #fff;
  border-radius: 20px !important;
  padding: 9px 20px !important;
  font-size: 14px !important;
  cursor: pointer;
  box-shadow: none !important;
}

.class-tab {
  margin-left: 250px;
  width: calc(100% - 250px);
  transition: margin-left 0.3s, width 0.3s;
  margin-top: 70px;
}

.class-tab.expanded {
  margin-left: 80px;
  width: calc(100% - 80px);
}

.nav-item button{
  border: none;
  margin-right: 10px;
  cursor: pointer;
  padding-block: 5px;
  font-weight: 500;
  font-size: 14px;
  border-radius: 8px !important;
  outline: none !important;
}
.schl-header{
  position: fixed;
  width: 100%;
  top: 0px;
  z-index: 1000;
  background: #ffff;
}
.nav-item .active{
  background: #1F4AA0 !important;
  border: none !important;
  outline: none;
}
.grid-container{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.img-caption img{
  width: 40px;
  padding-bottom: 5px;
}

#pills-tab{
  padding-bottom: 10px;
  position: fixed;
  top: 54px;
  padding-top: 15px;
  width: 100%;
  z-index: 1000;
  background: #fff;
}
.search-btn-2{
  border: none;
  padding: 0px;
  background: none;
  float: right;
}
.school-grid-link {
  text-decoration: none !important;
  color: inherit;
}
.school-grid{
  position: relative;
  border-radius: 10px;
}
.school-img{
  border-radius: 10px;
}
.school-grid::after{
  content: '';
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0000007d;
  border-radius: 10px;
  pointer-events: none;
}
.img-caption{
  color: white;
  font-size: 15px;
  font-weight: 500;
  background-image: linear-gradient(#00000000, #050505);
  border-radius: 10px;
  position: absolute;
  bottom: 0;        
  z-index: 100;
  padding: 10px;
  width: 100%;
}  
.img-caption p{
  margin-bottom: 0px;
  line-height: 15px;
}
.copyright {
  font-size: 12px;
  margin-block: 15px;
}
.copyright p {
  color: #9d9b9b;
  margin-bottom: 0px;
}
.copyright-section {
  background: #f5f5f5;
  position: fixed;
  width: 100%;
  z-index: 100;
  bottom: 0px;
  padding-left: 250px;
}
#pills-tabContent{
  padding-block: 25px;
  /* min-height: 600px; */
  height: 100%;
  margin-top: 35px;
}
.side-menu{
  height: 100%;
  padding-inline: 6px;
}
.top-search input{
  border-radius: 20px 0px 0px 20px;
  padding: 9px 20px;
}
.top-search{
  display: flex;
  align-items: center;
}
.search-icon{
  padding: 9px 25px !important;
  background: #f0f0f0;
  border-radius: 0px 20px 20px 0px !important;
  border: 1px solid #d4d4d4 !important;
  border-left: none !important;
  box-shadow: none !important;
  cursor: pointer;
}
.search-icon img{
  width: 17px;
}
.desk-menu{
  display: flex;
  align-items: center;
}
.search-img-2 {
  height: 20px;
  background: white;
}
.logo-2 img {
  width: 110px;
  padding: 5px;
}
.copyright-section.expanded{
  padding-left: 0px;
}
.mob-ser, .mob-topser {
  display: none;
}
.signupbtnmob{
  display: none;
}
.all-logo {
  line-height: 54px;
  /* height: 55px; */
}
.all-logo a{
  text-decoration: none !important;
  color: #1f4aa0;
  font-weight: 600;
  font-size: 14px;
  margin-left: 5px;
}
.home-section{
  margin-top: 100px;
}
.search-bar{
  position: relative;
  display: flex;
  align-items: stretch;
  max-width: 100%;
}
.home-logo img{
  margin-bottom: 25px;
}
.hmsearch-input{
  border-radius: 20px 0 0 20px !important;
  padding: 12px 10px 12px 40px !important;
  flex: 1;
  min-width: 0;
}
.hmsearch-submit{
  border-radius: 0 20px 20px 0;
  padding: 10px 20px;
  border: 1px solid #1F479F;
  border-left: none;
  background: #1F479F;
  cursor: pointer;
  color: #fff;
}
.hmsearch-submit:hover{
  background: #183a87;
  color: #fff;
  border-color: #183a87;
}
.hmsearch-submit img{
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
.hmsearch-submit{
  font-weight: 600;
  white-space: nowrap;
}
.hmsearch-icon{
  width: 20px;
  position: absolute;
  top: 12px;
  left: 15px;
  pointer-events: none;
}
.location-high{
  padding-block: 50px;
}
.pop-locat p{
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 10px;
}
.popall-location a{
  margin-inline: 20px;
  color: #1F479F;
  text-decoration: none !important;
}
.popall-location{
  margin-bottom: 5px;
}
.trending-school-link {
  text-decoration: none !important;
  color: inherit;
}
.trending-school-list{
  display: flex;
  align-items: start;
  gap: 10px;
}
.trending-school-list img{
  margin-top: 15px;
  width: 15px;
}
.tren-tit p{
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 10px;
}
.school-list .name{
  margin-bottom: 0px;
  font-size: 15px;
  font-weight: 400;
}
.school-list .location{
  font-size: 12px;
  color: #9d9b9b;
  margin-bottom: 0px;
}
.school-list{
  padding-block: 10px;
  width: 100%;
  border-bottom: 1px solid #eee;
}
.location-list{
  margin-bottom: 40px;
}
.trending-sch{
  margin-bottom: 30px;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}
@media (max-width: 798px) {
  .navbar-toggler {
    border: none !important;
    padding-left: 0 !important;
    color: transparent !important;
   }
   .nav-item button {
    border: none;
    margin-right: 9px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    padding-inline: 8px;
    padding-block: 5px;
}

  .logo {
    justify-content: center;
    padding-left: 120px;
  }
  .all-school {
    color: #1F479F;
    font-weight: 500;
    font-size: 13px;
  }
  .nav-container {
    justify-content: flex-start !important;
    padding-inline: 0px !important;
  }
  .sign-in {
    margin-left: 168px;
    font-size: 12px;
    background-color: #1F479F;
    color: white;
    border-radius: 20px;
    padding-inline: 12px;
    padding-top: 2px;
    padding-bottom: 3px;
    border-color: transparent;
  }
  .location-link a {
    text-decoration: none;
    font-size: 12px;
    padding-inline: 10px;
    padding-left: 0px;
    color: #1F479F;
    margin-inline: 0px;
    margin-top: 0px;
  }
  .location1 {
    padding-left: 15px;
    justify-content: center;
    display: flex;
    padding-top: 0px;
    margin-bottom: 30px;
  }
  .trending-school {
    font-weight: 500;
    font-size: 14px;
  }
  .school-name {
    font-size: 12px;
    color: rgb(57, 57, 57);
    line-height: 1px;
  }
  .grid-container{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 5px;
  }
  .trend-school {
    margin-bottom: 40px;
  }
  .border {
    border-bottom: 1px solid rgb(100, 98, 98);
    margin-bottom: 12px;
  }
 
  .sign-in:focus,
  .sign-in:active {
    outline: none !important;
    border: none !important;
  }
   
}
@media (max-width: 798px){
  .nav-tabs{
    font-size: 12px !important;
    font-weight: 500 !important;
    border: none;
    color: black !important;
  }
  .logo-2 img {
    width: 100%;
  }
  .nav-tabs li{
    padding-inline: 5px;
  }
  .nav-tabs a{
    text-decoration: none;
    color: black;
    padding-inline: 6px; 
  }  
  .school-img{
    border-radius: 10px;  
  }
  .school-grid{
    position: relative;
  }
  .img-caption{
    font-size: 11px;
  } 
  .class-tab.expanded {
    margin-left: 0px;
    width: 100%;
  }
  .class-tab {
    margin-left: 0px;
    width: 100%;
    margin-top: 90px;
  }
  .sidenav {
    position: absolute;
    top: 48px;
  }
  .sidenav.collapsed {
    width: 0px;
  }
  #pills-tab {
    position: relative;
    left: 0px;
    padding-left: 0px;
    overflow-x: scroll;
    z-index: 101;    
    top: 0px;
    padding-top: 10px;
  }
  .copyright-section {
    padding-left: 0px;
  }
  #pills-tabContent {
    margin-top: 0px;
    padding-top: 10px;
  }
  .top-search {
    padding-bottom: 5px;
}
  .desk-menu span img{
    width: 45px;
  }
  .mob-topser{
    width: 17px;
    height: 17px;
  }
  .mob-right{
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 20px;
  }
  .mob-ser {
    display: block;
  }
  .mob-topser {
    display: none;
  }
  .signupbtnmob{
    padding: 0px !important;
    width: 23px;
    background: none;
    border: none;
    box-shadow: none !important; 
  }
  .home-section {
    margin-top: 100px;
}
.home-logo img {
  width: 170px;
  margin-bottom: 15px;
}
.popall-location a {  
  margin-inline: 4px;
  font-size: 12px;
}
.popall-location {
  margin-bottom: 0px;
}
.location-high {
  padding-block: 25px;
}
.pop-locat p {
  margin-bottom: 0px;
}
.tren-tit p {
  text-align: left;
  margin-bottom: 10px;
}
.trending-school-list {
  align-items: center;
}
.trending-school-list img {
  margin-top: 0px;
  width: 20px;
}
.trending-sch{
  margin-bottom: 40px;
}
.search-bar input{
  font-size: 13px;
}
.hmsearch-icon {
  top: 10px;
}
.all-logo {
  line-height: 49px;
}
.desk-menu .home-men img{
  width: 28px !important;
}
}
  