@font-face {
    font-family: CanelaFamily;
    src: url("font/CanelaFamily/Canela-Regular-Trial.otf") format("opentype");
}

@font-face {
    font-family: CanelaFamilyItalic;
    font-style: italic;
    src: url("font/CanelaFamily/Canela-RegularItalic-Trial.otf") format("opentype");
}


@font-face {
    font-family: CanelaFamilyLight;
    font-weight: lighter;
    src: url("font/CanelaFamily/Canela-Light-Trial.otf") format("opentype");
}

@font-face {
    font-family: CanelaFamilyLightItalic;
    font-weight: lighter;
    font-style: italic;
    src: url("font/CanelaFamily/Canela-LightItalic-Trial.otf") format("opentype");
}

@font-face {
    font-family: CanelaFamilyBold;
    font-weight: bold;
    src: url("font/CanelaFamily/Canela-Bold-Trial.otf") format("opentype");
}

@font-face {
    font-family: CanelaFamilyBoldItalic;
    font-weight: bold;
    src: url("font/CanelaFamily/Canela-BoldItalic-Trial.otf") format("opentype");
}
:root {
    /* --bs-orange: rgba(242, 169, 0, 1) !important; */
    --bs-orange: rgb(255 192 45) !important;
    --text-dark: #000;
    /* --bs-primary: #29166F; */
    --bs-primary: #051978;
    --text-primary: #29166F;
}
.bg-warning{
    background-color:var(--bs-orange)!important;    
}

body{
    color: #000;
    /* background-color: #F6F4E8; */
}

.form-control, .form-select {
    padding: 0.5rem 0.5rem;
    border-radius: 5px;
}

.slidertext {
    /* background: linear-gradient(0deg, rgba(255, 255, 255, 1) 16%, 
    rgba(255, 255, 255, 0.90) 44%, 
    rgba(255, 255, 255, 0.80) 59%,
    rgba(255, 255, 255, 0.60) 74%,
     rgba(255, 255, 255, 0.30) 98%, 
     rgba(255, 255, 255, 0) 100%); */
     background-color: rgba(255,255,255,0.7);
}

body,
.navbar .navbar-nav .nav-link,
.navbar .nav-item .dropdown-menu,
.topbar .top-info,
.topbar .top-link,
.topbar .top-link a {
    /* font-family: 'Nova Cut', sans-serif !important; */
    /* font-family: 'Ibarra Real Nova', serif; */
    /* font-family: 'Philosopher', sans-serif; */
    /* font-family: 'Spectral', serif; */
    /* font-family: 'Halant', serif; */
    font-family: 'Libre Franklin', sans-serif;
    /* font-family: 'CanelaFamily', arial, sans-serif !important; */
}

.fw-thin {
    font-family: 'CanelaFamilyLight', sans-serif !important;
}

.text-danger{
    color: #810302!important;
}

.bg-info{
    background-color: #90e0ef!important;
}
.bg-danger{
    background-color: #810302 !important;
}

.header-display-6,
h6,.h6,
h5,.h5,
h4,.h4,
h3,.h3,
h2,.h2,
h1,.h1 
{
    /* font-family: 'Nova Cut', sans-serif !important; */
    /* font-family: 'Ibarra Real Nova', serif; */
    /* font-family: 'Philosopher', sans-serif; */
    /* font-family: 'Spectral', serif; */
    /* font-family: 'Halant', serif; */
    /* font-family: 'Libre Franklin', sans-serif; */
    font-family: 'CanelaFamily', arial, sans-serif !important;
}

.megadropmenubar {
    position: absolute;
    left: 0;
}

.menulogo{
    width: 130px;
    height: auto;
}

.sticky-top, .logo{
    height: 120px;
}

.logo {
    position: absolute;
    /* bottom: -5px; */
    /* top: -113px; */
    top: 0px;
    /* width: 125px; */
    /* height: auto; */
    width: auto;
}

.sitetitle {
    font-size: 30px;
    margin-left: 55px;
    font-weight: bold;
    margin-bottom: 10px;
}

.mainslide-carousel.owl-carousel .owl-item img {
    /* height: 400px; */
    object-fit: cover;
}

.mainslide-carousel .img-zoomin:hover {
    transform: none;
}

.navbar-light .navbar-nav .nav-link {
    color: #fff;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.navbar .navbar-nav .nav-link.focus,
.sticky-top.bg-white .navbar .navbar-nav .nav-link:hover,
.sticky-top.bg-white .navbar .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover, 
.navbar-light .navbar-nav .nav-link:focus {
    color: var(--bs-orange) !important;
    /* border-bottom: solid 2px #000;    
    transition: .1s; */
}

#note {
    position: relative;
    animation: noteAnimate 25s infinite;
    animation-timing-function: ease-in-out;
    display: flex;
    align-items: center;
    animation-direction: reverse;
}

.link-hover:hover {
    color: var(--bs-orange) !important;
}

.text-primary {
    color: var(--text-primary) !important;
}

.features-item.custom-features-item {
    /* background: rgba(255,255,255,1); */
    margin: 11px 0px;
    color: #fff;
    height: 202px;
    backdrop-filter: blur(20px) brightness(150%);
}

.features-item.custom-features-item p {
    font-size: 17px !important;
}

.features-item.custom-features-item a {
    color: #fff;
    text-align: justify;
    font-size: 15px;
}
.list-group-item, .dropdown-item 
{
    color: var(--text-dark);
}

.list-group-item {
    background: none;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-orange);
    color: #fff;
}

.dropdown .dropdown-menu a:hover:before {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    position: absolute;
    right: 5px;
    font-weight: 700;
}

.navbar .nav-item:hover .dropdown-menu {
    background: var(--bs-orange) !important;
    border-radius: 0px;
}

.navbar .navbar-nav .nav-link {
    /* padding: 10px 15px 2px 15px; */
    margin-bottom: 0px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    /* padding: 3px 15px; */
    /* border-bottom: solid 2px var(--bs-orange); */
}

.topbar {
    padding: 5px 0;
}

.news-event-heading {
    display: -webkit-box;
    /* max-width: 98%; */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.news-event-description {
    display: -webkit-box;
    /* max-width: 98%; */
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-event-box{
    height: 90px;
    margin-bottom: 10px;
}

.news-event-box img{
    max-height: 90px;
    height: 100%;
    object-fit: cover;
}

.dropdown-item {
    padding: .5rem 1rem;
    padding-right: 100px;
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    text-transform: uppercase;
    font-weight: 700;
}

.dropdown-item:nth-last-child(1) {
    border-bottom: none;
}

.nohover:hover {
    background: none !important;
    background-color: unset !important;
}

.bg-theme {
    background-color: var(--bs-orange) !important;
}
.bg-primary{
    background-color: var(--bs-primary) !important;
}

.home-news-carousel.owl-carousel {
    position: relative;
}

.home-news-carousel.owl-carousel .owl-nav .owl-prev {
    position: absolute;
    top: -59px;
    right: 40px;
    font-size: 20px;
    padding: 2px 10px;
    transition: 0.5s;
    margin-right: 10px;
    border: 1px solid var(--bs-orange);
    color: var(--bs-dark);
    border-radius: 20px;
}

.home-news-carousel.owl-carousel .owl-nav .owl-next {
    position: absolute;
    top: -59px;
    right: 0;
    font-size: 20px;
    margin-left: 10px;
    padding: 2px 10px;
    transition: 0.5s;
    border: 1px solid var(--bs-orange);
    color: var(--bs-dark);
    border-radius: 20px;
}

.home-news-carousel.owl-carousel .owl-nav .owl-prev:hover,
.home-news-carousel.owl-carousel .owl-nav .owl-next:hover {
    background: var(--bs-orange);
    color: var(--bs-white);
    /* border-radius: 10px; */
}

.journal-carousel.owl-carousel,
.event-carousel.owl-carousel{
    position: relative;
}

.journal-carousel.owl-carousel .owl-nav .owl-prev,
.event-carousel.owl-carousel .owl-nav .owl-prev 
{
    position: absolute;
    top: -65px;
    right: 70px;
    font-size: 20px;
    padding: 2px 20px;
    transition: 0.5s;
    margin-right: 10px;
    border: 1px solid var(--bs-primary);
    color: var(--bs-dark);
    border-radius: 20px;
}

.journal-carousel.owl-carousel .owl-nav .owl-next,
.event-carousel.owl-carousel .owl-nav .owl-next 
{
    position: absolute;
    top: -65px;
    right: 0;
    font-size: 20px;
    margin-left: 10px;
    padding: 2px 20px;
    transition: 0.5s;
    border: 1px solid var(--bs-primary);
    color: var(--bs-dark);
    border-radius: 20px;
}

.journal-carousel.owl-carousel .owl-nav .owl-prev,
.journal-carousel.owl-carousel .owl-nav .owl-next,
.latest-news .latest-news-carousel.owl-carousel .owl-nav .owl-prev,
.latest-news .latest-news-carousel.owl-carousel .owl-nav .owl-next,
.event-carousel.owl-carousel .owl-nav .owl-prev,
.event-carousel.owl-carousel .owl-nav .owl-next  {
    border: 2px solid var(--bs-dark);
    color: var(--bs-dark);
    top: auto;
    bottom: -50px;
}

.latest-news .latest-news-carousel.owl-carousel .owl-nav .owl-prev:hover,
.latest-news .latest-news-carousel.owl-carousel .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}


.journal-carousel.owl-carousel .owl-nav .owl-prev:hover,
.journal-carousel.owl-carousel .owl-nav .owl-next:hover,
.event-carousel.owl-carousel .owl-nav .owl-prev:hover,
.event-carousel.owl-carousel .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.quicklink i {
    font-size: 60px;
    color: #fff;
    margin-bottom: 20px;
    transition: 0.5s;
}

.quick_link_img_box {
    height: 80px;
}

.quick_link_img_box:hover i {
    font-size: 70px;
}

.quicklink img {
    width: auto;
    height: 80px;
}

.display-7 {
    font-size: 1.5rem;
}

.quicklink,
.quicklink a {
    color: #fff;
}

.quicklinkbg {
    width: 100%;
    background: radial-gradient(rgba(29, 16, 79, 0.3),
            rgba(0, 0, 0, 0.8)), url(../img/nlubg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.journalsbox a {
    height: 100px;
    max-height: 100px;
}

.header-display-6 {
    font-size: calc(1.375rem + 1.5vw);
    font-weight: 800;
    line-height: 1.2;
}

.navbar .dropdown-toggle::after {
    margin-left: 4px;
}

.quicklink .col {
    width: 14%;
    display: inline-block;
}

.facultyimage {
    /* height: 190px;
    width: 100%!important;
    object-fit: cover!important; */
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
}

/* .navbar .nav-item:nth-last-child(1) .dropdown-menu {
    bottom: 0;
} */

.navbar .nav-item:nth-last-child(1):hover .dropdown-menu,
.navbar .nav-item:nth-last-child(2):hover .dropdown-menu,
.navbar .nav-item:nth-last-child(3):hover .dropdown-menu
{
    top: auto!important;
    bottom: -100px !important;
}

.message_img {
    height: 300px;
    width: 300px;
    object-fit: cover;
}

.footer .footer-item-3 a:hover{
    color: var(--bs-warning) !important;
}


.topbar {
    display: none;
    padding: 0;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 300px;
    z-index: 999999;
    transition: all ease 1s;
    transition-delay: 1s;
    animation: slideawayoff 300ms;

}
  
.topbar.showtopbar{
    display: block;
    box-shadow: 1px 0px 15px 10px rgba(0,0,50,0.2);
    animation: slideaway 300ms;
}

.navbar .navbar-nav .nav-link {
    /* padding: 10px 50px; */
    font-family: 'CanelaFamilyLight', sans-serif !important;
    letter-spacing: 1.5px;
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    opacity: 1;
    position: absolute;
    left: 100%;
    width: auto;
    top: -50px!important;
    bottom: auto!important;
}

.navbar .nav-item:hover .dropdown-menu.megadropmenubar{
    /* width: 1000px !important; */
    box-shadow: 4px 7px 10px -2px rgba(0,0,50,0.1);
    width: max-content !important;
}

.megadroprow .col {
    /* width: 330px; */
    width: 250px;
}

.navbar .navbar-collapse .border-top {
    border-top: none !important;
    display: block;
    width: 100%;
    text-align: right;
}

.btn-grad-blue {
    background-image: linear-gradient(to right, #1FA2FF 0%, #12D8FA  51%, #1FA2FF  100%);
    padding: 15px 45px;
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    /* font-size: 20px; */
  }

  .btn-grad-blue:hover {
    background-position: right center; 
    color: #fff;
    text-decoration: none;
  }
 

           
  .btn-grad-red {
    background-image: linear-gradient(to right, #ee0979 0%, #ff6a00  51%, #ee0979  100%);
    padding: 15px 45px;
    text-align: center;
    /* text-transform: uppercase; */
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
  }

  .btn-grad-red:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
  }
 
  .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    color: #fff;
    background-color: var(--bs-primary);
    border-color: #dee2e6 #dee2e6 #fff;
}

@media (max-width: 1400px) {
    .sticky-top .top-link {
        display: block;
    }
}

@media (max-width: 1366px) {
    /* .header-display-6 {
        font-size: 2rem;
    } */

    .menulogo{
        width: 120px;
    }

    /* .navbar .navbar-nav .nav-link {
        padding: 9px 11px;
        font-size: 12px;
    } */

    .list-group-item {
        font-size: 12px;
    }

    .home-news-carousel {
        margin-bottom: 59px;
    }

    .dropdown-item {
        font-size: 12px;
    }

    .logo {
        /* width: 125px; */

        /* top: -98px; */
        /* top: 0px; */
    }
}

@media (max-width: 768px) {
    .logo {
        width: 90px;
        top: 15px;
        height: auto;
        position: relative;
    }

    .header-display-6 {
        font-size: 1.3rem;
        width: 200px;
        margin: auto;
        position: absolute;
        top: 0;
        margin-top: 0px;
        left: 0;
        right: 0;
    }

    .navbar .navbar-nav .nav-link {
        font-size: 12px;
        font-weight: 400;
    }

    .navbar .nav-item:hover .dropdown-menu {
        padding: 0px;
        font-weight: 400;
    }

    .dropdown-item {
        font-weight: 400;
    }

    .journalsbox a {
        height: auto;
        max-height: auto;
    }

    .quicklink .col {
        width: 47%;
        display: inline-block;
        margin-bottom: 30px;
    }

    .topbar {
        width: 90%;
    }
    .navbar .nav-item:hover .dropdown-menu.megadropmenubar{
        width: 100% !important;
    }
    .megadroprow{
        display: block;
    }
    .megadroprow .col{
        width: 100%;
    }

    .navbar .nav-item:nth-last-child(1):hover .dropdown-menu,
    .navbar .nav-item:nth-last-child(2):hover .dropdown-menu,
    .navbar .nav-item:nth-last-child(3):hover .dropdown-menu,
    .navbar .nav-item:hover .dropdown-menu {
        position: relative;
        left: 0px;
        top: 0px !important;
        bottom: auto!important;
    }

    .dropdown-menu.megadropmenubar.show {
        max-height: 220px;
        overflow-y: auto;
    }
}

@media (max-width: 360px) {
    .header-display-6 {
        font-size: 0.8rem;
        width: 174px;
    }
}

/* @media (min-width: 767px){ */
    .navbar-expand-xl .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
/* } */


@keyframes slideawayoff {
    from {display: block; }
    to { transform: translatex(-40px); opacity: 0; }
}
  
@keyframes slideaway {
    from { transform: translatex(-40px); opacity: 0; }
    to {display: block; }    
}
