/**
 * @file
 * Subtheme specific CSS.
 */
 .navbar-brand {
   width: 5rem;
}

.orgchart ul {
   display: flex;
   flex-direction: initial;
}

.orgchart .nodecontent {
   width: 245px;
}

.orgchart .nodecontent div {
   margin: 5px
}

.orgchart .nodecontent .org_image img {
   width: 100%;
}

.pdf-link {
   display: flex;
   background: #EEFBFF;
   padding: 1rem;
   border: 1px solid rgb(0 0 0 / 10%);
   border-radius: 5px;
   margin-bottom: 15px;
   gap: 60px;
   align-items: center;
   font-weight: bold;

}

.pdf-link p {
   margin-bottom: 0px;
   width: 90%;
}

.pdf-link .button-wrapper {
   display: flex;
   justify-content: center;
   align-items: center;
   width: 10%;
}

.pdf-link .button-wrapper a {
   width: 100%;
   font-weight: bold;
}

.pdf-link .btn-primary {
   background-color: #005599;
   border-color: #005599;
   width: 100%;
}

.pdf-link .btn-primary:hover {
   background-color: #0099EE !important;
   color: #fff !important;
}

.region-top-header {
   display: flex;
   align-items: center;
}

.region-top-header .iitb-exposed-search .search-form-wrapper {
   display: none;
}

.search-open .search-icon .fa-search:before {
   content: "\f00d";
}

.search-open .search-form .form-row {
   display: flex;
}

.narrow-cards .card {
   padding: 10px;
}

.narrow-cards .card-body {
   display: flex;
   justify-content: center;
   background: #EEFBFF;
}

.narrow-cards .card-body a {
   text-decoration: none;
   color: #005599;
   font-weight: 400;
}

.narrow-cards .card-body a:hover {
   text-decoration: none;
   color: #005599;
   font-weight: 500;
}

.narrow-cards .card-img-top {
   display: inline-flex;
   justify-content: center;
}

.lang-dropdown-select-element {
   border: none;
}

.iitb-full-content .block-content {
   display: flex;
}

.iitb-full-content-image {
   width: 50%;
   padding: 0 1rem 0 1rem;
}

.iitb-full-content-content {
   width: 50%;
   padding: 0 1rem 0 1rem;
}

.iitb-full-content-image img {
   width: 100%;
   height: auto;
}

header .block-inline-blocktext-with-image .field--name-field-image img {  
   height: 65px;
}
.region-header #block-views-block-events-block-2 .views-field-field-event-image img {
   height: 65px;
}

@media all and (max-width: 768px),
only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px),
only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px),
only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px),
only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px),
only screen and (min-resolution: 192dpi) and (max-width: 1024px),
only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
   .pdf-link {
      flex-direction: column;
   }

   .pdf-link p {
      margin-bottom: 0px;
      width: 100%;
  }
  .pdf-link .button-wrapper{
   width: 100%;
  }
}
.iitb-exposed-search .search-form label {
   visibility: hidden;
}

.region-secondary-menu .tb-megamenu .nav > li:last-child > a{
  border-right: 0px;
}
.tb-megamenu .dropdown-menu {
   border-radius: 18px !important;
 }
 .news-section .homepage-news .slick-slide .views-field-nothing .news-card-footer .news-card-title {
   font-size: 24px;
   font-weight: 600;
   min-height: 60px;
   margin-top: 15px;
   color: #141414;
   display: -webkit-box;
   overflow: hidden;
   text-decoration: none;
   -webkit-line-clamp: var(--heading-max-lines, 2);
   -webkit-box-orient: vertical;
   line-height: normal;
}

/* Menu Display styling */

/* .block-superfish {
   display: none;
}

@media (max-width: 979px) {
   .block-superfish {
      display: block !important;
      background-color: #03a9f4;
      position: relative;
      left: 0;
      right: 0;
      z-index: 100;
   }
   #superfish-main-mega-menu-toggle span {
      display: none;
   }
   #superfish-main-mega-menu-accordion .sf-has-clone-parent .sf-clone-parent {
      display: none;
   }
   #block-mainmegamenu {
      display: none !important;
   }
} */

.academic-divisions .iitb-accordion.main-item.div-open .accordion-group .accordion-data {
   display: block !important;
}
.inline-label .field__label::after {
    content: ":";
}
.slide-title-text {
   font-family: Helvetica;
}
.view-organization-chart>.view-content>ul>li {
   background-color: #EEFBFF !important;
   padding: 20px !important;
   border-radius: 15px;
   border: 1px solid #3386b5;
   padding: 15px;
   background-color: #EEFBFF;
   color: #000;
   border-radius: 10px;
   margin-top: 5px;
   list-style: none;
}

.view-organization-chart ul li .views-field-name a {
   -webkit-text-decoration: dashed;
   text-decoration: dashed;
   font-size: 1.3rem;
   color: #000 !important;
}

/* GIGW/Accessibility fixes */

.region-featured-top .tb-megamenu {
   background-color: black !important;
   position: absolute;
   left: 0;
   right: 0;
   z-index: 100;
}

.site-footer__bottom .region .navbar-nav li a {
   color: white !important;
}

.region-secondary-menu .tb-megamenu .nav>li>a, .region-secondary-menu .tb-megamenu .nav>li>span.tb-megamenu-no-link {
   padding: 0px 20px;
   font-weight: normal;
   color: white;
   border-right: 1px solid #00000024;
}

.region-secondary-menu .tb-megamenu {
   background-color: black;
}

.hidden {
   display: none;
}