/******************* CUSTOM CSS ********************/
.text-justify {
  text-align: justify!important;
  text-justify: inter-word!important;
}
body.admin-bar header, body.admin-bar main {
    margin-top: 32px !important;
}

body.admin-bar #page{
margin-top: 111px;
}

body.admin-bar main{
margin-top: 111px;
}

body.admin-bar #page main{
margin-top: 0!important;
}

body.home.admin-bar #page main{
margin-top: calc(100vh + 111px)!important;
}


#hero .main-content .sub-heading{
	color: white;
  margin: 0 auto;
}

.banner-overlay h1,
  .banner-overlay h3,
  .banner-overlay h4 {
    color: #edf0f3;
}

.container.full-width {
  padding: 0!important;
}
header.entry-header {
  display: none!important;
}

.static-banner .static-banner-overlay {
  top: 0;
}

.desc-block p {
  margin-left: 0!important;
}


.article-cover-image {
  margin-bottom: 45px;
}

.article-cover-image img{
  width: 100%;
}

.article {
  margin-bottom: 45px;
}

hr {
  height: 0;
  border: 0;
  border-top: 1px solid #1f2d38;
  color: inherit;
}

body.archive aside#secondary{
  display: none;
}

.no-post-found {
    margin: auto;
}

.portfolio-item {
	border-bottom: 1px solid #999;
}

.portfolio-title {
    clear: none;
}

.portfolio-logo {
    outline: 2px solid #ebebeb;
}

.profile-header-text h2 {
  margin: 5px 0px 10px!important;
}
.profile-header-text .contact-dets {
  margin-top: 0px !important;
  margin-right: 10px !important;
}

.paper-details .paper-tags .tag {
  margin: 2px;
  display: inline-block;
}
.parent-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.grid-sub-item {
    width: 30% !important;
    margin: 30px 0 0 10px !important;
}

#all-faculties .faculty-stub {
  display: flex;
  padding: 0 !important;
}
.archive #all-faculties .stub-img-holder{
  border-radius: 0!important;
}

#all-faculties  .faculty-link {
    width: 65%;
    padding: 0px 10px;
}
#all-faculties .faculty-link:hover {
  background-color: rgba(241, 136, 0, 0.15);
  text-decoration: none;
}

#all-faculties .archive-faculty-details {
    height: unset!important;
    padding: 0!important;
}

#all-events h3 {
    height: unset !important;
}
@media screen and (max-width: 991px){
  .parent-grid {
    justify-content: space-around;
}
  .grid-sub-item {
      width: 40% !important;
  }
}
@media screen and (max-width: 575px){
  .grid-sub-item {
    width: 90% !important;
    margin-left: auto!important;
    margin-right: auto!important;
  }
}



#campus-life .image-container {
    margin-top: 1.5rem;
}


/* SOBE */

.fac .container > h4 {
    margin-top: 0;
}
#dept-notices .notice-main .notice-container .notice-details .subtitle,
#dept-notices .notice-main .notice-container .notice-details .title{
    color: wheat;
}

#programs .programs-container .programs .program-item:hover .text {
    text-shadow: none;
}
#programs .header {
    flex-direction: column;
}

#dept-news {
    background-color: white;
}

#uiu-in-media .gallery-section {
    text-align: center;
    padding-bottom: 0!important;
}

/* .white-bg h2, .white-bg h1, .white-bg h3 {
  margin-top: 1rem;
    font-weight: 700;
    color: #000;
    letter-spacing: unset !important;
    text-shadow:none;
} */


/* #news .section-header .section-title {
    margin-bottom: 1rem;
    font-weight: 700 !important;
    font-size: 2.8rem;
} */

body.page-template-page-sobe-bba-home section#events {
    background: white!important;
}


/* sidebar & widget */

.side-content h1.wp-block-heading {
    display: block;
    color: var(--dark-color);
    font-weight: 700;
    padding: 0.5rem;
    font-size: 1.2rem;
}

.side-content h2.wp-block-heading {
    display: block;
    color: var(--dark-color);
    font-weight: 700;
    border-left: 5px solid var(--uiu-color);
    padding: 0.5rem;
    padding-left: 1rem;
    font-size: 1rem;
}

.side-content h3.wp-block-heading {
    display: block;
    color: var(--dark-color);
    font-weight: 700;
    padding: 0.5rem;
    font-size: .9rem;
}

.widget_text p { font-size: 0.8rem; }

.widget_block li {
    padding: 0.15rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
    font-size: 0.8rem;
    border: none;
    color: black;
}

aside .widget_nav_menu .widget-title {
    display: block;
    color: var(--dark-color);
    font-weight: 700;
    border-left: 5px solid var(--uiu-color);
    padding: 0.5rem;
    padding-left: 1rem;
    font-size: 1rem;
}

aside .widget_nav_menu .menu a {
    padding: 0.15rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
    font-size: 0.8rem;
    border: none;
    color: black;
}

aside .widget_nav_menu .menu { padding-left: 1.5rem }
aside .widget_nav_menu .menu li {border-bottom: none; padding: 0}

aside .widget_nav_menu .menu a:hover {
    text-decoration-color: var(--uiu-color);
    text-decoration-thickness: 2.5px;
}


.widget_uiu_recent_post {
    background: #f3f0ec;
    color: #000;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.widget_uiu_recent_post .widget-title {
  font-size: 1rem;
    color: white;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: #2f4858;
    padding: 7px 15px;
    border-bottom: 5px solid #f68b1f;
   text-decoration:  none!important;
}

.widget_uiu_recent_post .item-container {
    display: flex;
    flex-direction: column;
}

.widget_uiu_recent_post a.single-item {
    padding: 0.5rem 1.2rem;
    text-decoration: none;
}

.widget_uiu_recent_post a.single-item:not(:last-child) {
    border-bottom: 2px solid #fff;
}

.widget_uiu_recent_post a.single-item:hover {
    background: bisque;
}

.widget_uiu_recent_post .date {
    font-size: .75rem;
    color: #000;
    font-weight: 600;
}

.widget_uiu_recent_post .details {
    font-size: .75rem;
    line-height: 1.4;
    color: #000;
}

.widget_uiu_recent_post a.view-more {
    display: flex;
    margin-left: auto;
    margin: 1rem 1rem 0 auto;
    padding: 0.25rem;
    font-size: .85rem;
    height: min-content;
    flex-direction: row-reverse;
    gap: 0.5rem;
    text-decoration: none;
}

.widget_uiu_recent_post a.view-more .icon {
    width: 16px;
}

/* wp-block-group */

@media (min-width: 576px){
  .wp-block-group {
      max-width: 510px;
      padding-right: 0;
      padding-left: 0;
  }
}
@media (min-width: 768px){
  .wp-block-group {
    max-width: 700px;
  }
}

@media (min-width: 992px){
  .wp-block-group {
    max-width: 920px;
  }
}
@media (min-width: 1200px){
  .wp-block-group {
    max-width: 1130px;
  }
}

.wp-block-group {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--spacing);
    padding-left: var(--spacing);
}


#footer .lower-part p {
    margin: auto;
}

body.single section.profile-body {
    margin-bottom: 0;
}


@media (max-width: 767px){
    body.page-template-page-default-with-sidebar #main-container .side-content {
        order: 2;
    }
    body.page-template-page-default-with-sidebar #main-container .main-content{
        order:1;
    }
}

/* New style for the site */



/* fine tuning of main content */
.main-content a {
    margin: 0;
    opacity: 1;
    font-size: 1rem;
    font-weight: normal;
}

.main-content a.wp-block-file__button.wp-element-button {
    background: var(--uiu-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.main-content li, .main-content th, .main-content td, .main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content h6, .main-content p {
    color: black;
}

.main-content h2 {
    line-height: 1.2;
    margin-bottom: 1rem;
}


/* fine tuning of faculty profile */
.left-col {
  width: 350px;
}

ul.profile-choices {
  width: 100%;
}

ul.profile-choices > li {
  width: 100%;
}

.profile-main-description {
  width: 100%;
}

