/* Website: St.Antony’s College Peruvanthanam
Author: Weberge by ipsr 
Style.css*/
/********** CSS **********/
:root {
    --primary: #015DB4;
    --secondary: #0F1640;
    --dark: #0F1640;
    --light:#373737;
    --bg-light: #EEF6FC;
    --linear: linear-gradient(90deg, #013E7F, #9B0302) !important;
}
@media (max-width: 991.98px) {}

@media (min-width: 1600px) {
   .logo img {
    height: 100px;
}
}

@media (max-width: 1199px) {
   .logo img{
		height: 90px;
	}
}

@media (min-width: 992px) {

}

@media (min-width: 1200px) and (max-width: 1400px) {}

@media (max-width: 1600px) {

}

@media (max-width: 1400px) {
  .banner h1 {
    top: auto;
    bottom: 60%;
  }
}

@media (max-width: 1200px) {
  .gallery-grid-container{
    gap: 10px;
  }
  .testimonial-content{
    padding: 0 30px;
  }
 .achievements {
    padding-top: 150px;
}
}


@media (max-width: 992px) {

  .banner{
    height: 70vh;
  }
  .social-media-top {
    top: 350px;
  }
   .section-title {
    font-size: 30px;
    line-height: 32px;
  }

  section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .specialities{
    padding-bottom: 30px;
}
.achievements1 {
    padding: 40px 40px;
}
.footer-links{
  margin: 20px 0px;
}
footer .footer-links ul {
      padding-bottom: 10px;
    column-count: 1;

}
.achievement-info {
   bottom: 5px;
   padding: 5px 10px; 
}
/*.achievements img {
    height: 200px;
}*/

/* footer .footer-logo img, .copyright img{
  margin: 0 auto;
  display: block;
} */
.footer-logo-sec p{
  text-align: center;
  margin: 15px 0;
}
/* .copyright p{
  text-align: center;
} */
.sub-banner-img-sec{
    height: 290px;
}
.error1{
  justify-content: center;
}
}

@media (min-width: 768px) and (max-width: 992px) {
  .achievements .section-title {
    width: 550px;
}
  .achievements .section-title::before {
    left: -25px;
}
.achievements .section-title::after {
    right: -25px;
}

}
@media (max-width: 768px) {
	
  .section-title {
    font-size: 28px;
    line-height: 32px;
  }
  .facilities .section-title {
    width: 300px;
  }
  .specialities .section-title, .departments .section-title, .achievements .section-title{
    width: 420px;
  }

  h3 {
    font-size: 25px;
  }

  .banner{
    height: 60vh;
  }
.section-title-view-all {
  display: block !important;
  margin-bottom: 30px;
  /* text-align: center; */
}
.section-title-view-all .section-title{
  margin-bottom: 20px;
}
    .facilities{
          padding-top: 40px;
    margin-top: 50px;
    }
.gallery-grid-container {
  display: grid;
  grid-template-areas: 
      'photo1 photo1' 'photo2 photo3' 
      'photo4 photo4';
      grid-template-columns: auto;
}
.photos:first-child img{
  height: 240px;
  width: 100%;
  object-position: center;
}
.copyright p{
  text-align: center;
    line-height: 18px;
}
.ipsr img{
  margin: 10px auto 0px;
        display: block;
}
.achievements img {
    height: auto;
}
.subpage-banner h2{
	font-size: 20px;
}
}

@media (max-width: 576px) {
   .section-title {
    font-size: 24px;
    line-height: 30px;
    /* display: none; */
  }
.section-title::before {
     width: 20px;
     height: 20px;
     top: 7px;
     background-size: cover;
}
.specialities .section-title, .departments .section-title, .achievements .section-title, .news-main .section-title {
    width: 350px;
}
.section-title::after {
    width: 20px !important;
    height: 20px !important;
    top: 4px !important;
    background-size: cover;
}
  .news-updates-title{
    display: none;
  }
  .tab-header {
    gap: 10px;
  }
  .tab-header .tab-btn{
    font-size: 17px;
  }
  .tab-header .tab-btn i {
    display: none;
}
.achievements{
         padding: 100px 10px 40px 10px;
}
.achievements1 {
        padding: 40px 20px;
}
.achievements .section-title, .specialities .section-title{
    padding: 0 10px;
  }

}
@media (max-width: 450px) {
  .contact-top{
    padding: 3px 5px !important;
  }
  .contact-top ul {
    gap: 10px;
  }
    .contact-top a{
      font-size: 12px !important;
    }
    .apply {
    right: -50px;
    }
    /* .social-media-top {
    right: 30px;
    } */

 /* .apply, .social-media-top, .achievements, .section-title{
      display: none;
    } */
}
@media (max-width: 400px) {
    .tab-header {
        gap: 5px;
    }
    .contact-top a{
      font-size: 10px !important;
    }
}

/************************ Menu ************************/
/* responsive menu */
/* @media (max-width: 576px) {}

@media (max-width: 768px) {}*/

@media (max-width: 1550px) {
	.main-menu-sec .custom-nav .navbar {
		gap: 10px;
	}
	.main-menu-sec .custom-nav a {
		font-size: 14px;
	}
}
@media (max-width: 1400px) {
  .main-menu-sec {
    padding: 5px 30px;
  }
  .contact-top {
    padding: 5px 30px;
}
  .custom-nav .navbar {
    gap: 10px;
  }
  .custom-nav a{
    font-size: 13px;
  }
}
@media (max-width: 1300px) {
	.main-menu-sec .custom-nav .navbar {
		gap: 8px;
	}
	.main-menu-sec .custom-nav a {
		font-size: 13px;
	}
}

@media (max-width: 1200px) {

  .menu{
    padding: 0;
  }
  /* .custom-nav .navbar{
    gap: 15px;
  } */
  .custom-nav .navbar a, .contact-top a{
    font-size: 13px;
  }

  #mainNav {
    background: var(--primary);
    position: fixed;
  }
  #topNav{
    background: var(--secondary);
}
  body.menu-open{
    overflow: hidden;
  }

  .custom-nav.open {
    left: 0;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
  }

  .custom-nav {
    width: 100%;
    max-width: 300px;
    height: 100vh;
    position: absolute;
    left: -350px;
    top: 0;
    overflow: scroll;
    z-index: 99999;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
  }


  .custom-nav .navbar {
    display: block;
    float: initial;
    margin-top: 30px;
    width: 100%;
  }

  .custom-nav .submenu {
    position: inherit !important;
    height: 0;
    padding: 0 0;
    top: initial;
    top: 0 !important;
    width: 100% !important;
    background: #fff !important;
    box-shadow: none;
    margin: initial !important;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
  }
  .custom-nav a {
    padding: 10px 30px;

    font-weight: 400 !important;
    color: #fff !important;
  }
.custom-nav ul li a:hover {
    color: #FFCA00 !important;
}
  .custom-nav .submenu a {
    color: var(--dark) !important;
    padding: 5px 15px;
    white-space: initial !important;
  }

  .custom-nav .submenu.open {
    height: fit-content;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
  }

     .topNav-btn,
  .mainNav-btn{
      display: block;
  }
  /* .mainNav-btn {
    display: block;
  } */

  .custom-nav .submenu .submenu {
    left: initial !important;
    background: rgba(0, 0, 0, 0.05) !important;
  }
} 

@media (max-width: 992px) {
  header {
    /* padding: 10px 0px; */
  }
  .logo img{
    height: 75px;
  }
  
}

@media (max-width: 768px) {
  .contact-top{
    justify-content: center;
    padding: 3px 20px;
  }

}

@media (max-width: 576px) {
  .main-menu-sec {
    padding: 5px 25px;
}
.logo img{
    height: 50px;
  }

}
@media (max-width: 400px) {
  .contact-top ul {
    gap: 10px;
  }
  .contact-top i {
    padding-right: 5px;
}
}

@media screen and (min-width: 1600px) {
	.video-banner-section {
		height: 85vh;
	}
}
@media screen and (max-width: 1200px) {
	.video-banner-section {
		height: 65vh;
	}
}
@media screen and (max-width: 992px) {
	.video-banner-section {
		height: 50vh;
	}
}
@media screen and (max-width: 840px) {
	.video-banner-section {
		height: 38vh;
	}
}
@media screen and (max-width: 768px) {
	.video-banner-section {
		height: 45vh;
	}
}
@media screen and (max-width: 450px) {
	.video-banner-section {
		height: 27vh;
	}
}