body,html
{
    height: 100%;
    margin: 0;
    font-family:  'Montserrat', sans-serif !important;
    color: #777;
}

/*About Us*/
.navbar-custom 
{
    background-color: #FFF;
    border-bottom: 2px solid #BB0224;
}
.custom-toggler.navbar-toggler
{
    border-color: #B90019;
}
.custom-toggler .navbar-toggler-icon 
{
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(185,0,25,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.logo3
{
    display:none;
}
.nav-link
{
    color:#222;
    font-family: 'Montserrat', sans-serif;
    text-transform:uppercase;
    letter-spacing:1px;
    font-weight:400;
    font-size:15px;
}
.nav-link:hover
{
    color: #BB0224;
}
.custom-nav li a.active
{
    color:#B7021C; border-bottom:2px solid #B7021C;
}
.slide-line::after
{
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #BB0224;
    transition: width .4s;
}
.slide-line:hover::after 
{
    width: 100%;
}
.aboutus-heading
{
    margin:150px auto 50px auto;
}
.aboutus-heading h1
{
    text-align:center;
    color: #BB0224;
    font-weight: bold;
    margin: 35px auto 0px auto;
}
.aboutus-section
{
    margin: 0px auto 50px auto;
}
.image-custom
{
    text-align: center;
}
.image-custom img
{
    border: 6px solid #BB0224;
    border-radius: 20px;
}
.custom-content
{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
}
.achievement-section
{
    position: relative;
    background-attachment: fixed;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 50px;
    min-height: 75%;
}
.achievement-section .caption 
{
    position: relative;
    padding: 60px 0px;
    width: 100%;
    text-align: center;
    color: #000;
}
.achievement-section .achivement-content
{
    padding: 2% 10% 0%; 
}
.darken-bg 
{
    position: relative;
}
.darken-bg:after 
{
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  background-color: rgba(0, 0, 0, 0.8);
}
.darken-with-text p
{
  margin: 0;
  color: white;
  padding-top: 20px;
  position: relative;
  z-index: 1;
}
.why-us
{
    color: #777;
    background-color:white;
    text-align:center;
    padding:60px 60px;
    text-align: justify;
}
.why-us .heading-whyus
{
    text-align: center;
    color: #BB0224;
    font-size: 24px;
}
.custom-align
{
    text-align: center;
    position: absolute;
    top: 25%;
    padding: 0px 20px;
}
.custom-align-three
{
    position: absolute;
    text-align: center;
    top:19% !important;
    padding: 0px 20px;
}
.custom-align-four
{
    position: absolute;
    text-align: center;
    top:16% !important;
    padding: 0px 20px;
}
.custom-align p
{
    margin-top: 1rem;
}
.carousel-3d-slide.current
{
    background-color: white !important;
    color: black !important;
    border-width: 4px !important;
    border-color: black !important;
    border-radius: 50px !important;
    transition: transform 1200ms ease 0s, opacity 500ms ease 0s, visibility 500ms ease 0s !important;
}
.carousel-3d-slide
{
    background-color: white !important;
    color: black !important;
    height: 300px !important;
    border-radius: 30px !important;
    border-width: 3px !important;
    border-color: #BB0224 !important;
    transition: transform 800ms ease 0s, opacity 500ms ease 0s, visibility 1500ms ease 0s !important;
}
.carousel-3d-container
{
    height: 300px !important;
}
.carousel-3d-slider
{
    height: 300px !important;
}
.title
{
    border-bottom: #BB0224 1px solid;
}
.next span
{
    font-size: 30px;
}
.prev span
{
    font-size: 30px;
}
.carousel-3d-controls
{
    left: 120px !important;
    width: 80% !important;
}
.contactus-section
{
   position: relative;
   background-attachment: fixed;
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover; 
   min-height: 62%;
}
.contactus-section .caption 
{
    position: relative;
    padding: 60px 0px;
    width: 100%;
    text-align: center;
    color: #000;
}
.caption span.border 
{
  color: white;
  padding: 15px 10px;
  font-size: 20px;
  letter-spacing: 5px;
  margin: 0;
  position: relative;
  z-index: 1;
  border-radius: 20px;
}
h3 
{
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #111;
}
.content-contactus
{
    color: white;
    margin: 0;
    color: white;
    padding: 1% 10%;
    position: relative;
    z-index: 1;
}
.read-more-btn-about
{
    color: white;
    border: 1px solid white;
    padding: 10px;
    border-radius: 15px;
}
.read-more-btn-about:hover
{
    background-color: white;
    color: black;
    text-decoration: none;
}


/*Footer*/
 .footer-bg
{
   border-top: 3px solid #BB0224;
   position: absolute;
   overflow: hidden;
} 
.footer
{
    text-align: center;
    margin: 55px auto 0px auto;
}
.footer-links a
{
    text-decoration: none;
    color: black;
    padding: 0px 20px;
}
.footer-links a:hover
{
    color: #BB0224;
}
.footer-content
{
    margin-top: 20px;
}
.header-separator-bottom
{
    padding-top: 100px;
}
.ps-link
{
    color: #BB0224;
}
.ps-link:hover
{
    text-decoration:none;
    color: #BB0224;
}

/*Admission*/
.admission-section
{
    margin: 0px auto 60px auto;
    text-align:center;
}
.subjects-offered-section
{
    background: #e5e5e5;
    padding: 60px 0px;
    height:530px;
}
.top-sub
{
    text-align:center;
    position: relative;
    left: 0px;
}
.middle-sub
{
        text-align:center;
        position: relative;
        top: -85px;
        right: 0px;
}
.bottom-sub
{
    text-align:center;
    position: relative;
    top: -173px;
    right:0px;
}
.admission-head
{
    font-size:25px; 
    color:#BB0224;
    letter-spacing: 2px;
}
.process-section
{
    margin:60px auto;
}
.process-outer
{
    margin: 25px auto;
    text-align:center;
}
.process-div
{
    border: 1px solid black;
    margin: 10px 30px;
    height: 200px;
    border-radius: 35px;
    display:inline-block; 
    position:relative;
    width: 80%; 
    height: 100%;
    background-color: #FAFAFA;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.process-step
{
    position: absolute; 
    top: 0; 
    left: 0; 
    background: white;
    border-radius: 35px;
}
.process-number
{
    text-align: center;
    padding-top: 20px;
    position: absolute;
    top: -55px;
}
.process-num
{
    display: inline-block;
    border: 2px solid black;
    padding: 27px 15px;
    border-radius: 95px;
    background: white;
    color: #BD0019;
}
.process-p
{
    padding: 50px 60px 0px 41px;
    text-align: center;
}
.process-div:hover .process-step 
{
  opacity: 0;
}
.sub
{
    display: inline-block;
    text-align: left;
}
.subject
{
    background-color: white;    
    padding: 10px 20px;
    width: 100px;
    height: 100px;
    border: 1px solid #BD0019;
    margin: 30px 30px;
    transform: rotate(45deg);
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.sub-p
{
   transform: rotate(-45deg);
   text-align: center; 
}
.alg,.sci, .eng, .mar, .hin, .san
{
    padding: 25px 0px 25px 0px;
}
.geo
{
    padding: 30px 0px 45px 0px;
}
.his, .fren
{
    padding: 16px 0px 16px 0px;
}    
.geog
{
    padding: 20px 0px 40px 0px;
}   
.subject-m
{
    text-align: center;
}
.sub-m
{
    display: inline-block;
    border: 1px solid #BD0019;
    padding: 10px;
    border-radius: 20px;
    width: 120px;
    height: 70px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.si
{
    padding: 20px 0px;
}
.mobile-sub
{
    display:none;
}


/*Facilities*/
.facilities-sections
{
    text-align:center;
}
.facilities-section-head
{
    font-size:20px; 
    color:#BB0224;
    letter-spacing: 2px;
    text-align:center;
    display: inline-block;
    border: 1px solid #BD0019;
    border-radius: 25px;
    padding: 10px;
    background-color: #FAFAFA;
}
.images-out
{
    padding: 10px;
    text-align: center;
}
.images
{
    border: 1px solid black;
    border-radius: 20px;
}
.second
{
    margin-top: 50px;
}

/*Contact Us*/
.outermost-div
{
    padding:40px;
}
.outer-div
{
    background-color: gray;
    height: 300px;
    border-radius:45px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.inner-div
{
    background-color: #FAFAFA;
    transform: rotateZ(10deg);
    height: 300px;
    border:1px solid #BD0019;
    border-radius: 45px;
}
.address
{
    transform:rotateZ(-10deg);
    text-align:center;
    padding:20px;
}
.add-head
{
    color: #BD0019;
    font-size:18px;
    padding-top: 20px;
}


/*Gallery*/
.mt-3
{
    margin-bottom: 60px;
}
 .nav-tabs
{
     border-bottom:none !important;
}
 .nav-tabs .nav-item
 {
     border: 1px solid #BD0019 !important;
     margin: 0px auto 10px auto !important;
     border-radius: 10px !important;
}
 .nav-tabs .nav-link.active
 {
     background: #BD0019;
     color: white;
     border-radius: 10px;
}
.nav-tabs .nav-link
{
    border: none !important;
}
.gallery_product
{
    text-align:center; 
    padding:10px;
}
.custom-rounded
{
    border-radius:20px;
}



/*Home*/

/* carousel*/
.mtb60
{
    margin-top: 60px;
    margin-bottom: 60px;
}
.mt80
{
    margin-top: 80px;
}
.ptb40
{
    padding-top: 40px;
    padding-bottom: 40px;
}
.ptb60
{
    padding-top: 60px;
    padding-bottom: 60px;
}

.carousel-inner img 
{
      width:100%;
      height: auto;
}
#demo
{
    margin-top: 120px;
}
/*container*/
.aboutus-home
{
    background: #fafafa;
    border-bottom: 1px solid #ddd;
}
.principal-home
{
    border-bottom: 1px solid #ddd;
}
.aboutus-home .container,.principal-home .container
{
    position: relative;
}
.aboutus-home .container:before,.principal-home .container:before
{
    content: "";
    z-index: 1;
    position: absolute;
    height: 30px;
    width: 30px;
    transform: rotate(45deg);
    background-color: #fbfbfb;
    margin-top: -15px;
    margin-left: -15px;
    top: 100%;
    left: 50%;
    border-left-width: 0;
    border-top-width: 0;
    border: 1px solid #ddd;
    border-left: 0px;
    border-top: 0px;
}
.principal-home .container:before
{
    background-color: #fff;
}
.section-heading
{
    margin-bottom:30px;
}
.section-heading h1
{
    text-align: center;
    color: #B90019;
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 500;
}
  .section-heading .hr 
  {
      border-top: 1px dotted;
      text-align: center;
      max-width: 100px;
      color:#B90019;
      margin: 0 auto;
  }
.home-aboutus-content p
{
  text-align: justify;color: #404040;
  font-size:15px;
}
.read-more-btn
{
        padding: 8px 15px;
        background: #c43649;
        text-align: center;
        color: #fff !important;transition: 0.4s;
        font-size:15px;border:1px solid #c43649;cursor:pointer;display: block;width: 150px;
        border-radius: 20px;margin-top: 20px;margin-bottom:20px;
}
.read-more-btn:hover,.read-more-btn:focus,.read-more-btn:active
{
  color:#c43649 !important;
  background: #fff;
  border:1px solid #c43649;
  box-shadow:none;
  text-decoration: none;
}
.home-aboutus-image{text-align: center;}
.home-aboutus-image img
{
    border-radius: 10px 50px;
    height: 210px;
}
.facilities-section
{
    padding: 25px 40px;
}
.facilities-content
{
    text-align: center;
    padding: 15px;
    color: #fff;
    background: #B90019;
    min-height: 210px;
}
.facilities-content img
{
    height:50px; 
    color: #fff;
}
.facilities-content .home-facilities-head
{
    font-size: 17px;
    margin: 15px 0px;
    letter-spacing: 0px;
    text-transform: none;
    color: white;
}
.facilities-content p
{
  font-size: 14px;
}
.pad01
{
    padding:5px 5px;
}
.home-bottom-section
{
    padding: 25px 40px 10px;
}
.no-pad-left-right{padding-left:0px;
padding-right:0px;}
.principal-home h3
{
    font-size:20px;
}
.principal-home strong
{
    color: #B90019;
}
.principal-desk
{
        padding: 10px 0px 35px;
        border-bottom: 1px solid #ddd;
        margin-bottom:30px;color: #404040;
}
.principal-desk h1
{
        color: #B90019;
        font-family: 'Montserrat', sans-serif;
        font-size:24px;
        padding-bottom: 10px;
        font-weight: 500;
}
.principal-desk strong
{
        color: #B90019;
}
.our-vision h1
{
        color: #B90019;
        font-family: 'Montserrat', sans-serif;
        font-size:24px;
        padding-bottom: 10px;
        font-weight: 500;
}
.our-vision{

        padding: 5px 0px 15px;
        margin-bottom:30px;
        border-bottom: 1px solid #ddd;
}
.left-body
{

        padding: 5px 0px 30px;
        margin-bottom:20px;
        border-bottom: 1px solid #ddd;
}
.left-body h1
{
        color: #B90019;
        font-family: 'Montserrat', sans-serif;
        font-size:24px;
        padding-bottom: 20px;
        font-weight: 500;
}
.left-body li
{
        color: #c43649;
        font-size: 15px;
}
.left-body ul
{
        padding-left: 0px;
        font-size: 15px;
       list-style:none;margin-bottom: 25px;
}
.read_more_btn
{
        padding: 8px 15px;
        background: #c43649;
        text-align: center;
        color: #fff;transition: 0.4s;
        font-size:15px;border:1px solid #c43649;
}
.read_more_btn:hover,.read_more_btn:focus,.read_more_btn:active
{
  color:#c43649;
  background: #fff;
  border:1px solid #c43649;
  box-shadow:none;
}
.middle-body,.whyus_div
{
  border: 1px solid #ddd;
  background-color: #FbFbfb;
  padding: 20px;
  margin-bottom: 20px;
  height: 215px;
}
.middle-body
{
    border-right: 0px;
    
}
.middle-body h1,.whyus_div h1
{
        color: #B90019;
        font-family: 'Montserrat', sans-serif;
        font-size:24px;
        border-bottom: 1px solid #8D8D8D;
        padding-bottom: 10px;
}
.vticker ul
{
  list-style: none;
  padding: 15px 0px;
}
.vticker li
{
  padding-bottom: 20px;
}
.ticker-content
{
    color: #404040;
    padding-left: 15px;
    position: relative;
}
.ticker-content i
{
    position: absolute;
    left: 0px;
    font-size: 12px;
    top: 5px;
}
.newsticker 
{
        height:275px;
        overflow:hidden;
}
.newsticker ul 
{
        list-style:none;
        margin:0;
        padding-left:0px;
        position: relative;
}
.newsticker ul li 
{
        padding-bottom: 10px;
        color: #333;
}
.right-body
{
    
       border: 1px solid #ddd;
       padding: 10px;
}
.home .whyus
{
        border: 1px solid #f222;
        padding-top:10px;
}
.home .whyus h1
{
        color: #B90019;
        font-family: 'Montserrat', sans-serif;
        font-size:24px;
        border-bottom: 2px solid #eee;
        padding-bottom: 10px;
}

/* Media Queries */


@media only screen and (max-width: 977px)
{
    .logo1
    {
        display: none;
    }
    .logo3
    {
       display: block;
       width:50%;
       height:50%;
    }
    .aboutus-heading
    {
       margin:65px auto 20px auto;
    }
}
@media screen and (min-width: 320px) and (max-width: 575px) 
{
    .aboutus-section
    {
        margin: 35px auto;
    }
    .custom-content
    {
        padding: 0px 40px;
    }
}
@media only screen and (min-width: 576px) and (max-width: 767px)
{
    .custom-content
    {
        padding: 0px 0px 0px 65px;
        margin-top: 0px;
    }
}
@media only screen and (min-width: 978px)
{
    .aboutus-section
    {
        margin: 50px auto 60px auto;
    }
}
@media screen and (min-width: 320px) and (max-width: 719px)
{
    .caption span.border
    {
        letter-spacing: 4px;
    }
}
@media screen and (min-width: 720px) and (max-width: 790px)
{
     .achievement-section
     {
         min-height: 50%;
    }
     .contactus-section
     {
         min-height: 40%;
    }
}
@media screen and (min-width: 791px) and (max-width: 834px)
{
   .achievement-section
   {
       min-height: 38%;
   }
   .contactus-section
   {
       min-height: 40%;
   }
}
@media screen and (min-width: 835px) and (max-width: 1024px)
{
     .achievement-section
     {
         min-height: 20%;
     }
     .contactus-section
     {
         min-height: 20%;
     }
}
@media screen and (min-width: 1025px)
{
     .achievement-section
     {
         min-height: 30%;
     }
     .achievement-section .caption
     {
         padding:60px;
     }
     .contactus-section
     {
         min-height: 20%;
     }
}
@media screen and (min-width: 320px) and (max-width: 350px)
{
    .carousel-3d-container
    {
        height: 410px !important;
    }
    .carousel-3d-slider
    {
        height: 410px !important;
    }
    .carousel-3d-slide.current
    {
        height: 410px !important;
        border-width:2px !important;
        border-radius: 20px !important;
    }
    .custom-align-zero
    {
        top: 18% !important;
    }
    .custom-align-one
    {
        top: 20% !important;
    }
    .custom-align-two
    {
        top: 16% !important;
    }
    .custom-align-three
    {
        top: 9% !important;
    }
    .custom-align-four
    {
        top: 8% !important;
        padding:0px 2px;
    }
}
@media screen and (min-width: 351px) and (max-width: 389px)
{
    .carousel-3d-container
    {
        height: 390px !important;
    }
    .carousel-3d-slider
    {
        height: 390px !important;
    }
    .carousel-3d-slide.current
    {
        height: 390px !important;
        border-width:2px !important;
        border-radius: 20px !important;
    }
    .custom-align-two
    {
        top: 19% !important;
    }
    .custom-align-three
    {
        top: 14% !important;
    }
    .custom-align-four
    {
        top: 12% !important;
        padding:0px 2px;
    }
}
@media screen and (min-width: 390px) and (max-width: 431px)
{
    .carousel-3d-container
    {
        height: 360px !important;
    }
    .carousel-3d-slider
    {
        height: 360px !important;
    }
    .carousel-3d-slide.current
    {
        height: 360px !important;
    }
    .custom-align-zero
    {
        top: 20% !important;
    }
}
@media screen and (max-width: 1210px)
{
    .next , .prev
    {
        display: none;
    }
}
@media screen and (min-width: 320px) and (max-width: 350px)
{
    .contactus-section
    {
        min-height: 90%;
    }
}
@media screen and (min-width: 351px) and (max-width: 365px)
{
    .contactus-section
    {
        min-height: 75%;
    }
}
@media screen and (min-width: 366px) and (max-width: 389px)
{
    .contactus-section
    {
        min-height: 65%;
    }
}
@media screen and (min-width: 390px) and (max-width: 431px)
{
    .contactus-section
    {
        min-height: 58%;
    }
}
@media screen and (min-width: 432px) and (max-width: 719px)
{
    .contactus-section
    {
       min-height: 125%;
    }
}
@media screen and (width: 600px)
{
    .contactus-section
    {
        min-height: 45%;
    }
}
@media screen and (min-width: 320px) and (max-width: 713px)
{
    .footer-links
    {
        display: grid;
    }
    .header-separator-bottom
    {
        padding-top: 245px;
    }
    .footer
    {
        margin: 45px auto 0px auto;
    }
}

@media screen and (width: 1024px)
{
    .images
    {
        width: 218px;
    }
    .inner-div
    {
        height:340px;
    }
    .outer-div
    {
        height:340px;
    }
    body,html
    {
        overflow:auto;
    }
    .header-separator-bottom
    {
        position:absolute;
    }
}
@media screen and (min-width:320px) and (max-width: 740px)
  {
      .process-section
      {
          margin: 30px auto;
      }
      .admission-section
      {
          margin: 30px auto 30px auto;
      }
 }
 @media screen and (min-width: 741px) and (max-width: 834px)
 {
     .aboutus-heading
     {
         margin: 80px auto 40px auto;
     }
     .subjects-offered-section
     {
         height:550px;
     }
     .admission-section
     {
         margin: 30px auto 45px auto;
     }
}
 @media screen and (max-width:767px)
 {
     .desktop-sub
     {
         display:none;
     }
     .mobile-sub
     {
         display:block;
     }
}
@media screen and (min-width: 320px) and (max-width: 359px)
{
    .inner-div
    {
        height: 340px;
    }
    .outer-div
    {
        height: 340px;
    }
}
@media screen and (min-width: 320px) and (max-width: 977px) 
{
    #demo
    {
        margin-top:70px;
    }
    .middle-body,.whyus_div
    {
        border: none;
    }
    .no-pad-left-right
    {
        border: 1px solid #ddd;
        background-color: #FbFbfb;
        margin: 10px auto;
    }
}
@media screen and (min-width: 768px) and (max-width: 834px)
{
    .facilities-content
    {
        min-height: 271px;
    }
}



/* Contact-form */
.contact-form{
    border:1px solid #ddd;
/*    margin: 25px;*/
}
.contact-heading{
  text-align: center;
}
.contact-heading h2{
  padding: 15px;
  color: #fff;
  background: #B90019;
}
.form-div .form-control{
  margin: 5px 15px;
  width: 94%;
}
#contact-us{
  padding: 10px 20px 20px;
}

.material-input {
  position: relative;
  padding-top: 20px;
  transition: all 0.15s ease-out;
  width: 90%;
  margin: 0 auto 20px;

}
.material-input label {
  position: absolute;
  pointer-events: none;
  left: 4px;
  top: 26px;
  color: darkgray;
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
  transition: all 0.15s ease-out;
}
.material-input input {
  border: none;
  width: 100%;
  color: #363636;
  border-bottom: 2px solid darkgray;
  border-bottom: 1px solid #bbb;
  padding: 6px 4px;
  outline: none;
  transition: all 0.15s ease-out;
}
.material-input.materialize input {
  border-bottom: 1px solid #B30619;
}
.material-input.materialize label {
  top: 0;
  left: 0;
  color: crimson;
  -webkit-transform: scale(0.95);
          transform: scale(0.95);
}

.form-div .form-btn{
  background: #B30619;
  color:#fff;
  border:1px solid #B30619;
  transition: 0.4s;
  padding: 7px 15px;border-radius: 2px;cursor:pointer;
  margin-top: 10px;
  margin-bottom: 15px;
}
.form-div .form-btn:hover,.form-div .form-btn:focus,.form-div .form-btn:active{
  background: #fff;
  color:#B30619;
  border:1px solid #B30619;
  box-shadow: none;
}
