:root {
    --main: rgb(2 62 115);
}
.main_section{
    background-color:var(--main) !important;
    background:var(--main) !important;
}
.form-control:focus {
    border-color:var(--third);
}
.g-brd-primary--hover:hover {
    border-color: var(--main) !important;
}
.hs-icon-arrow-bottom {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}
.g-bg-primary-opacity-0_6 {
    background-color: color-mix(in srgb, var(--main), transparent 40%) !important;
}
@media (max-width: 767.98px) {
    .mobile-padding {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}
/* This targets the link specifically within that top bar ID */
#dropdown-megamenu li a.top-bar-nav-link:hover {
    color: white !important;
    background-color: transparent !important; 
}
.hs-has-mega-menu:hover .hs-icon-arrow-bottom {
    transform: rotate(180deg);
}
.lowFooterCls a.g-color-white:hover {
    color: #b5b5b5 !important; 
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.lowFooterCls .list-inline-item a:hover i {
    color: #b5b5b5 !important;
}
.hs-mega-menu {
    width: 80vw !important;
    max-width: 1200px;
    position: absolute;
    left: 50% !important;
    transform: translateX(-50%) translateY(-10px); 
    right: auto !important;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
}

.hs-mega-menu.show {
    animation: fadeIn 0.8s forwards;
    display: block !important;
}

.hs-mega-menu.hide {
    animation: fadeOut 0.8s forwards;

}

@media (max-width: 768px) {
    .visible-mobile {
        visibility: visible !important;
    }

    .hide-mobile {
        visibility: hidden !important;
        display: none !important;
    }

    .bauheaderimage {
/*        height: 150px !important;*/
        min-height: 150px !important;
    }

    #majorFilterDivId {
        width: 280px;
    }

    .g-height-100vh {
        height: 100% !important;
    }

    .pt-sm-120 {
        padding-top: 160px !important;
    }

    #AnnouncementsCarouselDivId .slick-track, #AnnouncementsCarouselDivId .js-slide {
        width: 100% !important;
    }

    .display-sm-none {
        display: none !important;
    }

    .display-sm-block {
        display: block !important;
    }

    .pt-sm-4 {
        padding-top: 2rem !important;
    }

    .px-sm-0 {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .padding-horiz, .media-body {
        padding: 20px !important;
        margin: 0px !important;
    }

    .u-header {
        position: relative;
    }

    /*    .css-title-content {
        padding-top: 20px;
    }*/

    .main-cls {
        margin-top: 0px !important;
    }

    .row {
        margin-right: 0px !important;
        margin-left: 0px !important;
    }
}
.baubannercls {
    position: relative;
    height: auto; /* Allow content to define height */
    min-height: 0;
}
.js-carousel img {
    display: block;
    width: 100%;
    height: auto;
}
div.js-slide.g-bg-img-hero {
    background-size: cover !important;
    background-position: center center !important;
    height: 550px !important;
    min-height: 550px !important;
}
.js-slide.g-height-100vh {
    height: 450px !important;
    min-height: auto !important;
    background-size: cover !important;
}
/* We use the ID and the class together to increase 'specificity' */
#BannerCarouselDivId .js-slide.g-bg-img-hero {
    background-size: cover !important;
    background-position: center center !important;
    /* This also fixes your height issue from earlier */
    height: 500px !important;
    min-height: 500px !important;
}

@media (min-width: 768px) {
    .baubannercls,
    #BannerCarouselDivId,
    #BannerCarouselDivId .js-slide {
        height: 550px !important;
        min-height: 550px !important;
    }

    /* Ensure the container doesn't squash the image */
    .bauheaderimage {
        height: auto !important;
        min-height: 0 !important;
    }
    .pageContent .justifycls {
        display: flex;
        flex-direction: column;
    }

    .visible-mobile {
        visibility: hidden !important;
    }

    #majorFilterDivId {
        width: 400px;
    }

    .hide-mobile {
        visibility: visible !important;
        display: block !important;
    }

    .main-cls {
        margin-top: 120px !important;
    }

    .display-md-block {
        display: block !important;
    }

    .display-md-none {
        display: none !important;
    }

    .padding-horiz {
        padding-left: 5rem;
        padding-right: 5rem;
    }

    .css-title-content {
        padding-top: 80px;
    }
}

body {
    --primary: #003571;
    --secondary: #004b8e;
    --third: #3273a9;
    --fourth: #00aeff;
    --link: #000000;
}

/*Removes all focus shadows*/
*:focus {
    box-shadow: none !important;
    outline: none !important;
}

.g-brd-cyan-top {
    border-top-color: var(--third) !important;
}

.g-color-main, .g-color-primary {
    color: var(--primary) !important;
}

.g-color-secondary {
    color: var(--secondary) !important;
}

.g-bg-primary {
    background-color: var(--primary) !important;
}

.g-bg-third {
    background-color: var(--third) !important;
    color: #ffffff !important;
}


.min-height-420-main-banner {
    min-height: 420px;
    background-position: top center;
}

.g-bg-primary--hover:hover {
    background-color: var(--primary) !important;
    color: #ffffff !important;
}

.g-bg-third {
    background-color: var(--third) !important;
}

.active-cls {
    background-color: var(--third) !important;
    color: #ffffff !important;
}

.box-shadow-cls {
    box-shadow: 0 0 5px 0px #f3f3f3;
}

a {
    text-decoration: none !important;
}

.hs-mega-menu .nav-link {
    color: var(--link) !important;
    font-size: 16px;
    font-weight: 600;
}

@media (min-width: 992px) {
    .g-mx-20--lg {
        margin: 10px !important;
    }
}

.u-nav-v1-1.u-nav-primary .nav-link.active {
    color: var(--primary) !important;
    background-color: #ffffff !important;
}

.u-nav-v1-1.u-nav-primary .nav-link:hover:not(.active) {
    color: #ffffff !important;
}

.mega-menu-title, .nav-link {
    color: #ffffff !important;
}

.hs-sub-menu .nav-link {
    color: #000000 !important;
}

#navBar-sub-menu .nav-link {
    font-size: 16px !important;
}

.dropdown-toggle {
    color: #000000 !important;
}

.tab-pane .nav-link {
    color: var(--secondary) !important;
    font-weight: normal;
}

.health-services .nav-link {
    color: var(--link) !important;
}

.g-color-black {
    color: #000000 !important;
}

.g-color-third {
    color: var(--third) !important;
}

.mega-menu-title.active, .nav-link.active, .nav-link:hover, .top-bar-nav-link:hover {
    color: var(--third) !important;
}

#navBar-sub-menu .hs-has-sub-menu {
    padding-right: 10px !important;
}

.top-bar-nav-link:focus {
    color: #ffffff !important;
}

.hs-mega-menu-item:hover, .hs-mega-menu-item:active {
    color: #ffffff !important;
}

.g-brd-primary {
    border-color: var(--third) !important;
}

.g-brd-primary-top {
    border-top: 1px solid var(--third) !important;
}

.footerCls {
    background: var(--secondary) !important;
    opacity: 0.8;
}

.footerHeaderCls {
    background-color: var(--secondary) !important;
    /*    position: relative;
    bottom: 0px;
    width: 100%;
    margin: 0px !important;*/
}

.footerIcon:hover {
    background-color: var(--primary) !important;
}

.lowFooterCls {
    background-color: var(--main) !important;
    position: relative;
    bottom: 0px;
    width: 100%;
}



.scrollUpCls .scrollUpIcon {
    transform: translateY(0px);
}

.scrollUpCls:not(:hover) .scrollUpIcon {
    transform: translateY(0px);
    transition: 0.5s;
}

.scrollUpCls:hover .scrollUpIcon {
    transform: translateY(-10px);
    transition: 0.5s;
    color: #ffffff;
}

.scrollUpCls:hover {
    background-color: var(--primary) !important;
}

.u-go-to-v1 i {
    position: absolute !important;
    top: 35% !important;
    left: 35% !important;
}




.ahref:hover {
    color: var(--secondary) !important;
}

/*.u-header__section {*/
/*    background-color: var(--main) !important;*/
    /*background: transparent !important;
}*/
.bau-header-mobile-fix {
/*    background: transparent !important;*/
}
.bau-header-transparent {
    background: transparent !important;
}

.bau-header-solid {
    background: var(--main) !important;
    background-color: var(--main) !important;
}
/* Mobile Only: Add background color */
@media (max-width: 991px) {
    .bau-header-mobile-fix {
        background-color: var(--main) !important;
        position: relative !important; /* This pushes the banner down so it doesn't hide under the header on mobile */
    }

}


.banner-area {
    /*    height: auto;*/
    /*min-height: 700px !important;
    height: 100%;
    background: url(../assets/img/website-banner.jpg);*/
    /*background-size: 100% auto;*/
    /*background-size: 100% 100%;
    background-position: center top;
    z-index: 99999 !important;
    transform: translate3d(0px, 0px, 0px);*/

    background: url(../assets/img/website-banner.jpg);
    width: 100% !important;
    /* position: relative; */
    /* left: 0px; */
    /* top: 0px; */
    z-index: 999 !important;
    opacity: 1 !important;
    /* height: auto; */
    background-size: contain !important;
    background-position: top !important;
    background-repeat: no-repeat !important;
    width: 100% !important;
    height: 100vh !important;
}
@media (max-width: 767px) {
    .banner-area {
        background: url('../assets/img/website-banner-mobile.jpg') no-repeat left center !important;
        background-size: cover !important;
        height: auto !important;
        min-height: 300px;
    }
}
.navbar {
    padding: 0px !important;
}


/*Start: hamburger*/
.u-header__section--light .hamburger-inner, .u-header__section--light .hamburger-inner::after, .u-header__section--light .hamburger-inner::before {
    background: #ffffff;
}

.hamburger--slider .hamburger-inner {
    top: 2px;
    right: 20px;
}
/*End: hamburger*/

@media (max-width: 700px) {
    .navbar-collapse.flex-sm-row {
        padding-left: 30px !important;
    }
}

#js-header {
    background-color: var(--secondary) !important;
}

.g-color-primary--hover:hover {
    color: var(--secondary) !important;
}

.g-color-white {
    color: #ffffff !important;
}

.lowFooterCls .g-color-white:hover {
    color: var(--primary) !important;
}

.text-normal {
    text-transform: none !important
}

.u-heading-our-contact--bottom::after {
    width: 8rem;
    border-top-width: 1px;
}

/*@media (max-width: 768px) {
    .bauheaderimage {
        height: 100% !important;
    }
}*/


/*Start: hover-underline*/
.hover-underline {
    position: relative;
    display: inline-block;
}

    .hover-underline::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background: linear-gradient(to left, var(--third), var(--third));
        bottom: 0px;
        left: 0;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.5s ease-out;
    }

    .hover-underline:hover::after {
        transform: scaleX(1);
    }
/*End: hover-underline*/


a:focus, a:hover {
    color: var(--primary) !important;
}


#menu ul > li ul {
    position: absolute;
    margin-left: -9999px;
    transition: 0s 0.5s; /* stay open 0.5sec before to hide again */
}

#menu ul > li:hover > ul {
    margin: 0;
    transition: 0s 0s; /* show ! don't wait */
}

#nav-footer .u-accordion__header {
    background-color: var(--secondary);
}

.u-accordion-color-primary .u-accordion__header [aria-expanded="true"] {
    color: var(--third) !important;
}

.accordion-title:not(collapse) {
    color: #ffffff !important;
}

.g-brd-accordion {
    border: 1px solid #ffffff !important;
}

.leftAlign {
    align-items: center;
    justify-content: left;
    display: flex;
}

.centerAlign {
    align-items: center;
    justify-content: center;
    display: flex;
}

.rightAlign {
    align-items: center;
    justify-content: end;
    display: flex;
}

.u-btn-primary {
    background-color: var(--primary) !important;
}

    .u-btn-primary:hover {
        border: 1px solid var(--primary);
        background-color: #ffffff !important;
        color: var(--primary) !important;
    }

    .u-btn-primary:focus {
        border: 1px solid var(--primary);
        background-color: var(--primary) !important;
        color: #ffffff !important;
    }

.u-btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    background-color: #ffffff !important;
}

    .u-btn-outline-primary:hover {
        border: 1px solid var(--primary);
        background-color: var(--primary) !important;
        color: #ffffff !important;
    }

.u-block-hover:hover .btn-action {
    display: block;
}

.card-cls {
    box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.66);
    border-radius: 7px;
    padding: 20px;
}

.card-border-cls {
    border: 1px solid var(--primary);
}

.mega-menu-image {
    height: 300px;
}

.title-cls {
    color: var(--primary) !important;
}

.div-full-image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden !important
}

    .div-full-image img {
        flex-shrink: 0;
        min-width: 100%;
        min-height: 100%
    }
/* 1. Force the container height */
#BannerCarouselDivId {
    height: 550px !important;
    min-height: 550px !important;
}

    /* 2. Force the slides to 'cover' and fixed height */
    #BannerCarouselDivId .js-slide {
        background-size: cover !important;
        background-position: center top !important;
        height: 550px !important;
        min-height: 550px !important;
    }

    /* 3. Kill the 100vh utility class */
    #BannerCarouselDivId .g-height-100vh {
        height: 550px !important;
        min-height: 550px !important;
    }
/* This targets the specific div and forces 'cover' over the inline 'contain' */
#BannerCarouselDivId .js-slide.g-bg-img-hero {
    background-size: cover !important;
    height: 550px !important;
    min-height: 550px !important;
}
    /* This targets any div inside the banner that HAS 'contain' in its style attribute */
    #BannerCarouselDivId div[style*="background-size: contain"] {
        background-size: cover !important;
        height: 550px !important;
        min-height: 550px !important;
    }

    /* This targets the 100vh specifically */
    #BannerCarouselDivId .g-height-100vh {
        height: 550px !important;
        min-height: 550px !important;
    }
    /* Targets the div specifically if it contains the word 'contain' in the style */
    #BannerCarouselDivId div[style*="contain"] {
        background-size: cover !important;
    }
    /* Targets any div inside the banner that HAS 'contain' written in its style attribute */
    #BannerCarouselDivId .js-slide[style*="background-size: contain"] {
        background-size: cover !important;
    }

    /* Force the height regardless of what the JS injected */
    #BannerCarouselDivId .js-slide,
    #BannerCarouselDivId .g-height-100vh {
        height: 550px !important;
        min-height: 550px !important;
    }
    #BannerCarouselDivId .js-slide {
        height: 550px !important;
        min-height: 550px !important;
    }
/* This removes the 100vh constraint */
#BannerCarouselDivId .g-height-100vh {
    height: 550px !important;
}
/* Mega Menu Background = */
.mega-admission-bg {
    background-image: linear-gradient( rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6) ), url('/BAUUpload/BAU-Library/images/Admission/mega-admission-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 320px;
    display: flex;
    align-items: center;
}

/* Mega menu text links */
.mega-link {
    font-weight: 600;
    letter-spacing: 0.5px;
}

    .mega-link a {
        color: #ffffff;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .mega-link a:hover {
            color: #f1c40f; /* BAU accent or primary color */
            text-decoration: underline;
        }

/* Button style */
.hs-mega-menu .btn-outline-light {
    border-width: 2px;
    padding: 8px 25px;
    font-weight: 600;
}

/* Mobile optimization */
@media (max-width: 991px) {
    .mega-admission-bg {
        min-height: auto;
        padding: 30px 15px;
    }

    .mega-link {
        margin-bottom: 15px;
    }
}

.u-carousel-indicators-v1 li.slick-active span, .u-carousel-indicators-v1--white li.slick-active span {
    background-color: var(--primary) !important;
}

.g-bg-primary-opacity-0_9 {
    background-color: rgba(0, 137, 201, 0.5) !important;
}

.g-bg-primary-opacity-0_9--hover:hover {
    background-color: rgba(0, 137, 201, 0.5) !important;
}

.g-bg-primary-opacity-0_9--hover--after:hover::after {
    background-color: rgba(0, 137, 201, 0.5) !important;
}

.g-bg-primary-opacity-0_9--before::after, .g-bg-primary-opacity-0_9--after::after {
    background-color: rgba(0, 137, 201, 0.5) !important;
}

.g-bg-primary-opacity-0_9--before--hover:hover::after, .g-bg-primary-opacity-0_9--after--hover:hover::after {
    background-color: rgba(0, 137, 201, 0.5) !important;
}

.u-arrow-v1 {
    color: var(--primary);
    background-color: #fff;
}

.js-carousel > .u-arrow-v1:hover {
    color: #fff;
    background-color: var(--primary) !important;
}

.u-arrow-v2[class*="abs"]::before {
    position: absolute;
}

.u-arrow-v2::before {
    display: inline-block;
    position: relative;
    top: 50%;
    left: 50%;
    vertical-align: top;
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.u-arrow-v2 {
    color: #ffffff !important;
    background-color: var(--primary) !important;
}

.js-carousel > .u-arrow-v2:hover {
    color: var(--primary) !important;
    background-color: #ffffff !important;
}

.find-major-cls {
    /*margin-top: 25px;*/
    background-color: var(--primary);
    background: linear-gradient(to bottom, var(--fourth) 0%, var(--fourth) 25%,var(--primary) 100%) 100% no-repeat;
    /*linear-gradient(var(--fourth), var(--third), var(--primary));*/
}

.panel-background-cls {
    background-color: #f6f6f6 !important;
}

.img-text-container {
    position: relative;
    text-align: center;
    color: white;
}

.left-img-text-container {
    position: absolute;
    bottom: 8px;
    left: 16px;
}

.disable-hover-color:hover {
    color: #ffffff !important;
}

.info-v5-3:hover .info-v5-3__info {
    color: rgba(255, 255, 255, 0.8);
    background-color: var(--third) !important;
    opacity: 0.9;
}

.info-v5-3:hover .info-v5-3__info-title {
    transform: translate3d(0, 70px, 0);
    display: none;
}

.u-blockquote-v1::before {
    content: "\201C";
    position: absolute;
    width: 60px;
    color: var(--primary) !important;
    font-size: 60px;
    margin: -25px 0 0 -40px;
}

.u-pagination-v1-4--active {
    color: #ffffff !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.u-pagination-v1-4:hover {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.u-info-v6-1__item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    display: block;
    width: 40px;
    height: 1px;
    background-image: linear-gradient(to right, var(--third) 0%, transparent 100%);
    background-repeat: repeat-x;
    transition: all 0.4sease-in-out;
}

.u-info-v6-1:hover .u-info-v6-1__item::after {
    width: 100%;
    background-image: linear-gradient(to right, var(--third) 0%, transparent 100%);
    background-repeat: repeat-x;
}

.blockquote {
    font-size: 1rem;
    font-weight: 400;
}

.line {
    width: 50px;
    background: var(--third);
    height: 1px;
    margin: 10px auto;
}

.valCls {
    color: #a3a3a3;
}

#main-sub-menu {
    overflow: none;
}

/*.sub-menu > .slick-list {
    padding: 10px 20px;
    background-color: rgba(243, 243, 243, 0.5) !important;
    border-radius: 10px;
    overflow-x: auto;
}*/

.nav-pills .nav-item.show .nav-link, .nav-pills .nav-link.active {
    background-color: transparent !important;
    color: var(--third) !important;
}

#sub-menu {
    padding: 10px 20px;
    background-color: var(--main) !important;
    border-radius: 10px;
}

    #sub-menu .nav-link {
        white-space: nowrap;
        padding: 5px 0px;
    }

.sub-menu-second {
    white-space: nowrap;
    padding: 10px 15px !important;
}

.dropdown-item {
    color: #000000 !important;
    padding: 5px 7px !important;
}

.hamburger-inner, .hamburger-inner:after, .hamburger-inner:before {
    background-color: #ffffff !important;
}

.dropdown-item:hover {
    color: var(--third) !important;
}

.u-header {
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    scrollbar-width: none; /* Firefox */
}

.g-pb-0 {
    padding-bottom: 0px !important;
}

.qualityAssuranceCenterImgCls {
    background-image: url(https://www.bau.edu.lb/BAUUpload/BAU-Library/images/ADQAC/acbanner.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 380px;
}

.text-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.js-prev:hover, .js-next:hover {
    /* color: #ffffff !important;*/
}

#carouselCusHomeLatestNewsTop .js-prev, #carouselCusHomeLatestNewsTop .js-next {
    background-color: var(--primary) !important;
    color: white !important;
}

/* Start: Modal Header close button */
.modal-content {
    position: relative;
}

.modal-default-close {
    margin: 0;
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 23px;
    background-color: #a3a3a3;
    color: #ffffff;
    font-size: 30px;
    opacity: 1;
    z-index: 10;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0px;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px;
}

.modal-content {
    border-radius: 25px !important;
}
/* End: Modal Header close button */


/* Start: Autocomplete */
.autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
}

input {
    border: 0px solid transparent;
    background-color: #f1f1f1;
    padding: 10px;
    font-size: 16px;
}

    input[type=text] {
        background-color: #ffffff;
        width: 100%;
    }

.autocomplete-items {
    position: absolute;
    border: 0px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
    max-height: 350px !important;
    overflow: auto !important;
    /*    white-space: nowrap;
    display: inline;*/
    width: 100%;
    min-width: 550px;
}

    .autocomplete-items div {
        padding: 10px;
        cursor: pointer;
        background-color: #fff;
        border-bottom: 1px solid #d4d4d4;
    }

        .autocomplete-items div:hover {
            /*when hovering an item:*/
            background-color: #e9e9e9;
        }

.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: DodgerBlue !important;
    color: #ffffff;
}

.input-group-text {
    border: none !important;
}
/* End: Autocomplete */

.mainSubMenuCls {
    position: absolute;
    right: 0px;
    top: 20px;
}

.secondarySubMenuCls {
}

.u-sidebar-navigation--dark {
    background-color: var(--primary) !important;
    color: #ffffff;
}

    .u-sidebar-navigation--dark .u-side-nav--top-level-menu-link i {
        color: #ffffff;
    }

    .u-sidebar-navigation--dark .u-side-nav--top-level-menu-link:hover {
        background-color: var(--third) !important;
        color: #ffffff;
    }

        .u-sidebar-navigation--dark .u-side-nav--top-level-menu-link:hover i {
            color: #ffffff;
        }

    .u-sidebar-navigation--dark .u-side-nav--top-level-menu-link:hover {
        color: #ffffff;
    }

    .u-sidebar-navigation--dark .u-sidebar-navigation-v1-menu-item:hover {
        background-color: var(--secondary) !important;
    }

    .u-sidebar-navigation--dark .u-side-nav--second-level-menu-item:hover {
        background-color: var(--third) !important;
    }

.u-side-nav-opened {
    background-color: var(--secondary) !important;
}

.u-sidebar-navigation--dark .has-active {
    background-color: var(--secondary) !important;
}

.u-side-nav-active {
    background-color: var(--third) !important;
}

.d-block {
    display: block;
}

.d-none {
    display: none;
}

::selection {
    background: var(--secondary) !important;
    color: #ffffff !important;
    text-shadow: none;
}

#carousel-09-1 .slick-track {
    padding-top: 142px;
}

#navBar .hs-sub-menu {
    /*background-color: #f3f3f3 !important;*/
    /*padding: 10px !important;*/
}

.link-primary {
    color: #0089c9 !important;
}

.u-label-danger {
    background-color: #d9534f;
}

.px-i-0 {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.py-i-0 {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

/* Container holding the image and the text */
.image-text {
    position: relative;
    text-align: center;
    color: white;
}

/* Bottom left text */
.bottom-left {
    position: absolute;
    bottom: 8px;
    left: 16px;
}

.btn-bau-primary-bg-gray-opacity {
    background: rgba(128, 128, 128, .8);
}

.btn-bau-gray-bg {
    background: #f7f7f7 !important;
}

.btn-bau-primary-bg-light {
    background: #0089c9 !important;
}

.btn-bg-bau-primary {
    background-color: var(--primary) !important;
    color: #ffffff !important;
}

/*.btn-bg-bau-primary:hover {
    color: var(--primary) !important;
    background-color: #ffffff !important;
    border-color: var(--primary) !important;
}*/

.sectionTitle {
    font-size: 28px;
    line-height: 42px;
    font-weight: 700;
    color: rgb(0, 137, 201);
    padding-bottom: 15px;
}

@media screen and (max-device-width: 981px) {
    .tripolyheader-img {
        display: none;
    }
}

@media screen and (max-device-width: 502px) {
    .hide-on-mobile {
        display: none !important;
    }
}

.Banner.img-responsive {
    width: 100%;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

/*.pageContent [class*="col-"]:has([class*="col-"]), .pageContent div:has([class*="col-"]) {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}*/

/*.pageContent i:has([class*="rounded-circle"]) {
    position: absolute !important;
    right: -17px !important;
}*/

/* If parent has a child with .row, apply styles */
.pageContent article:has([class*="row"]) {
    width: 100% !important;
}

.pageContent .row:has([class*="col-"]) {
    width: 100% !important;
}

.pageContent h1 {
    font-size: 30px;
    margin-bottom: 1rem;
}

.pageContent h2 {
    font-size: 20px;
}

.pageContent h3 {
    font-size: 14px;
}

.pageContent h4 {
    font-size: 12px;
}

.pageContent h5 {
    font-size: 11px;
}

.pageContent h6 {
    font-size: 10px;
}

.pageContent p {
    margin-top: 0;
    margin-bottom: 1rem;
}

#calendar .fa-chevron-left, #calendar .fa-chevron-right {
    color: #138ac7 !important
}

.flex {
    display: flex !important;
}

.g-color-primary--active.cbp-filter-item-active {
    color: rgb(0, 137, 201) !important;
}

.g-brd-primary--active.cbp-filter-item-active {
    border-color: rgb(0, 137, 201) !important;
}

.grid-8 {
    display: grid;
    grid-template-columns: repeat(8, 1fr); /* 8 equal columns */
    gap: 10px; /* spacing between items */
}

p {
    text-align: justify !important;
}

.staff-details li {
    list-style-type: disc;
    list-style-position: outside;
    margin-left: 20px !important;
}

    .staff-details li::marker {
        color: #000000;
    }

.hs-has-sub-menu > a::after {
    content: "\e900" !important;
    font-family: "hs-icons" !important;
    font-size: 10px !important;
    display: inline !important;
    margin-left: 7px !important;
    position: relative !important;
    top: 0%;
    left: 0;
}

.u-pagination-v1-1 {
    background-color: #fff;
    color: var(--primary);
    border-color: var(--primary);
}

    .u-pagination-v1-1--active, .u-pagination-v1-1:hover, .u-pagination-v1-1:focus {
        background-color: var(--primary);
        color: #fff !important;
        border-color: var(--primary);
    }

.g-brd-primary--active {
    border-color: var(--primary) !important;
}

.alert-mmessage {
    position: absolute !important;
    left: 50%;
    align-content: center;
    width: 100%;
    padding: 20px;
    z-index: 9999;
    height: 64px;
}

.mr-0 {
    margin-right: 0px !important;
}

#researchPublications > div, #researchPublications > svg, .highcharts-root {
    /*    height: 395px !important;
    max-height: 395px !important;*/
}

/*.hs-has-sub-menu*/

.HeaderSubMenu .sub-menu-nav-item:hover, .HeaderSubMenu .submenu-active {
    /*color: var(--third) !important;*/
    color: #ffffff !important;
    padding-bottom: 5px !important;
    border-bottom: 1px solid white !important;
}

.ChildSubMenu .submenu-active {
    color: var(--third) !important;
}

.ChildSubMenu .sub-menu-nav-item:hover:not(.hs-has-sub-menu) {
    color: var(--third) !important;
    background-color: white !important;
}

.BAUIRUniversities .g-theme-bg-black-v1 {
    background-color: rgb(77, 76, 76);
}

.u-btn-outline-black:hover {
    color: #fff !important;
    background-color: #000 !important;
}

[class*="u-heading-v1-"]::after {
    content: "";
    position: absolute;
    left: auto;
    right: 0;
    width: 100%;
    height: 0;
    border-top-width: 0px;
    border-color: inherit;
}

.g-parent:hover .g-bg-primary--parent-hover {
    background-color: var(--third) !important;
}

.d-block.g-brd-around.g-brd-3.g-brd-gray-light-v5.rounded-circle {
    right: -17px !important;
    position: absolute !important;
}

#pageContent > .mainbanner-js-carousel, #pageContent > .slick-track, #pageContent > .slick-list {
    min-height: 520px !important;
}

.mainbanner {
    display: block;
    visibility: visible;
    min-height: 520px !important;
}

.custom-submenu {
    overflow-wrap: break-word;
}

.custom-submenu-nav {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding-left: 0;
    margin-left: 0;
    list-style: none;
    gap: 0.5rem;
    min-width: 300px !important;
}

.custom-submenu-item {
    white-space: nowrap;
    list-style: none;
}

.custom-submenu-link {
    display: block;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

.ChildSubMenu .nav-link .sub-menu-nav-item {
    white-space: nowrap;
    list-style: none;
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 14px !important;
}

/*.shortcode-html {
    width: 100vw;
}*/

.slick-track {
    left: 0px !important;
}

.g-bg-secondary {
    background-color: #f2f4f8 !important;
}

.btn-bau-primary {
    color: #003571 !important;
}

.pageContent .card-header:first-child {
    height: 80px;
}

.card-header-evt:first-child {
    height: 50px;
}

/*
.bauIRnewsBlock-content {
    max-height: 310px !important;
}*/

.bauIRnewsBlock .bauIRnewsBlock-content {
    padding: 30px;
    margin-top: 30px;
    position: relative;
    height: 300px;
}

.bauIRnewsBlock {
    height: 350px;
}

.bauIRnewsBlock-content {
    height: 100%;
}

.graduationContent {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.graduaterequiremenShortcode #shortcode2 .shortcode-html {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.graduationContent .col-lg-6 {
    padding: 0px 5px !important;
}

.graduaterequiremenShortcode #shortcode2 .shortcode-html .col-lg-12 {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

    .graduaterequiremenShortcode #shortcode2 .shortcode-html .col-lg-12 .media {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

#publicationsAboutCarousel .slick-track {
    width: 4488px !important;
}

#publicationsAboutCarousel .js-slide {
    width: 374px !important;
}

.js-carousel.slick-initialized .js-next, .js-carousel.slick-initialized .js-prev {
    background: transparent !important;
}

/*.js-carousel {
    overflow: hidden;
    width: 90%;
}*/

.icon-circle, .icon-circle:hover {
    background-color: var(--primary) !important; /* Circle color */
    color: white !important; /* Icon color */
}

.div-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary) !important; /* Circle color */
    color: white !important; /* Icon color */
    border-radius: 50%; /* Makes it circular */
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.9); /* Shadow outside */
    font-size: 26px; /* Icon size */
    transition: transform 0.2s;
    cursor: pointer;
}

    .div-icon-circle:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 15px rgba(255, 255, 255, 0.9);
    }




.tooltipCls {
    position: relative;
    /*display: inline-block;*/
    border-bottom: 1px dotted black;
    cursor: pointer;
}

.tooltipText {
    visibility: hidden;
    width: 140px;
    background-color: var(--primary);
    color: #ffffff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 5px;
    position: absolute;
    z-index: 1;
    top: 50px;
    left: -120%;
    font-size: 12px !important;
}

.tooltipCls:hover .tooltipText {
    visibility: visible;
}

.font-size-12 {
    font-size: 12px !important;
}

.calendarlegend {
    list-style: none;
}

    .calendarlegend span {
        border: 1px solid #ccc;
        float: left;
        width: 50px;
        height: 30px;
        margin-right: 20px;
    }
