/* Default styles for menu links */
header .header-menu-bar .menu-list > li > a {
    color: #ffffff !important; /* Default text color */
    background: transparent !important; /* Default background */
    position: relative;
    transition: color 0.3s, background 0.3s;
}

/* Hover and active styles for all menu items */
header .header-menu-bar .menu-list > li:hover > a,
header .header-menu-bar .menu-list > li.active > a {
    color: #333333 !important; /* Text color for hover and active state */
    background: #ffffff !important; /* Background color for hover and active state */
    border-radius: 0.3125rem;
}

/* Submenu arrow styles */
header .header-menu-bar .menu-list > li.has-submenu > a:after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-top: 0.3125rem solid #ffffff; /* Default arrow color */
    border-left: 0.3125rem solid transparent;
    border-right: 0.3125rem solid transparent;
    transition: border-top 0.3s;
}

/* Hover and active styles for submenu arrows */
header .header-menu-bar .menu-list > li.has-submenu:hover > a:after,
header .header-menu-bar .menu-list > li.active > a:after {
    border-top: 0.3125rem solid #333333 !important; /* Arrow color for hover and active state */
}


footer {
     background:#C71021;
     border-top: 10px solid #f2f2f2;
     font-family: 'athitimedium',sans-serif;
}

/*Service Box*/
.service-box {
  position: relative;
  width: 100%;
  margin-top: 30px;
  margin-bottom: 30px;
}
.service-box ul, .service-box ul li {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-box ul {
  box-sizing: border-box;
  overflow: hidden;
  display:block;
}
.service-box ul li {
  width: 24%;
  position: relative;
  min-height: 1px;
  float: left;
  margin: 5px 5px 20px 5px;
  border-radius: 20px;
}
.service-box ul li a {
  margin: auto;
  padding: 15px 15px;
  color: #544216;
  display: block;
  background-color: #f4ebd0;
  border-radius: 20px;
  font-size: 120%;
  text-align: center;
  -webkit-transition-duration: .5s;
  -moz-transition-duration: .5s;
  -o-transition-duration: .5s;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}
.service-box ul li a:hover {
  background: #8c1515;
  color: #fff;
}

@media (max-width: 576px){
  .service-box ul li{ width:100%; }
}

.head-line2{
   border-left: 15px solid #cf2d1e;
   padding-left:5px;
}

.head-line4{
  text-transform: capitalize;
  margin-bottom:10px;
  border-bottom:5px solid #C71021;
  width:100%;
}
.head-line4 h2{
  color:#232931;
  /*margin-bottom:-20px;*/
  font-size: 2.5rem;
}
.head-line4 h3{
  border-bottom:0px;
    font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: rgba(0, 0, 0, 0.4);
  padding-bottom: 10px;
  margin-bottom:0;
}

/*Box link*/
.box-link ul {
  list-style-type: none;
  line-height: 20pt;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: left;
}
.box-link li a {
  display: block;
  color: #333333;
  font-size: 100%;
  padding: 8px 14px;
  text-decoration: none;
  background: #fbfbfb;
  border-radius: 0px;
  border: #e8e8e8 solid 1px;
  margin-top: 5px;
  margin-bottom: 5px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  box-shadow: none;
}
.box-link li a:hover {
  background-color: #CF2D1E;
  color: white;
  border:1px solid #CF2D1E;
}

.side-menu ul li a {
    border: 0.0625rem solid #f2f2f2;
    margin-bottom: 5px;
    padding: 10px;
    border-radius: 17px;
}
.side-menu ul li a:hover{
    background:#f2f2f2;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
.side-menu ul li.active a {
    color: #ffffff;
    background:#8c1515;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    border:1px solid #8c1515;
}


body.dark-theme .service-box ul li a, body.dark-theme .box-link li a, body.dark-theme .footer{ background:#333333; }
body.dark-theme .side-menu ul li a:hover{background:#333333;}
body.dark-theme .menu-list > li a{color:#ffffff;}

/*more link*/
.more-link a {
    font-family: "athitimedium", sans-serif;
    font-size:90%;
    background-color: #8c1515;
    color: #ffffff;
    font-weight:400;
    border-radius: 100px;
    padding: 5px 10px;;
    text-decoration: none;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
    float: right;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    margin:10px;
}
.more-link a:hover {
    color: #fff;
    background-color:#333333;
    text-decoration: underline;
}

@media (min-width: 992px){
.card-img-2col , .card-img-3col{
    height: 10vw;
}}

.btn-port {
    border-radius: 0;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s
}
.btn-port.btn-porttheme {
    background: #f2f1eb;
    color: #222831;
    width: 100%;
    border-radius: 5px;
    text-align: left;
    font-size: 17px;
    margin: 1px 0;
    font-weight: 300;
    white-space: normal!important
}
.btn-port.btn-porttheme:hover, .btn-port.btn-porttheme:active {
    color: #FFF;
    background: #222831
}

.servicebox {
    position: relative;
    width: 100%;
    margin-top: 30px;
}
.servicebox .table .table-cell {
    font-size: 19px;
    line-height: 1.3333333;
    border-radius: 5px;
    padding: 16px 20px;
    background: #f2f1eb;
    color: #222831;
    text-align: center;
    text-transform: uppercase;
}
.servicebox a {
    margin: auto;
    color: #222831;
    display: block;
    font-weight: 500;
}
.servicebox .table .table-cell:hover {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    background: #222831;
    color: #fff;
    cursor: pointer;
}
.servicebox .table .table-cell:hover a {
    color: #fff;
    text-decoration: none;
}

.btn-instrument {
    color: #222831;
    width: 100%;
    text-align: left;
    font-size: 17px;
    margin: 1px 0;
    font-weight: 300;
    white-space: normal!important;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
    border-left: 5px solid #8c1515
}
.btn-instrument:hover, .btn-instrument:active {
    color: #8c1515;
    border-left: 15px solid #8c1515
}

.list-underline{
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.list-underline li a {
  display: block;
  color: #000;
  padding: 8px 16px;
  text-decoration: none;
  background: #f2f1eb;
  margin-bottom:10px;
  transition: all 0.3s;
  border-radius: 5px;
}
.list-underline li a:hover {
  background-color: #222831;
  color: white;
}

footer .social-media-list ul li a {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}
footer .social-media-list ul li a.facebook {
    background:#4267B2;
}
footer .social-media-list ul li a.youtube{
    background:#FF0000;
}
footer .social-media-list ul li a:hover {
    background:#333333;
}

/*Hotlink*/
.hotlink {
    font-family: 'athitisemibold',sans-serif;
    display: table;
    width: 100%;
    float: none;
    margin: 0 auto;
}

.hotlink li {
  display: table-cell;
}

.hotlink a {
    display: block;
    text-align: center;
    margin: 0 5px;
}

/* Change the link color to #111 (black) on hover */
.hotlink li a:hover {
  color: #C71021;
}

/*foot menu*/
.foot-shortcut-menu {
    font-family: 'athitimedium',sans-serif;
    display: table;
    width: 80%;
    float: none;
    margin: 0 auto;
}
.foot-shortcut-menu li{
  display: table-cell;
}
.foot-shortcut-menu a{
    display: block;
    text-align: center;
    margin: 0 5px;
    color:#ffffff;
}
.foot-shortcut-menu li a:hover{
  color: #FBD46D;
}

/*headline 6*/
.frame-6 h2 {
  font-size:120%;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5em;
  padding-bottom: 15px;
  position: relative;
}
/*.frame-6 h2:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 55px;
  background-color: #111;
}*/
.frame-6 h2:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 3px;
  width: 95%;
  max-width: 255px;
  background-color: #C71021;
}

/*Library Link*/
.frame-12 ul {
  font-family: "athitimedium", sans-serif;
  list-style-type: none;
  line-height: 20pt;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: left;
}
.frame-12 li a {
  display: block;
  color: #333333;
  font-size: 100%;
  padding: 8px 14px;
  text-decoration: none;
  background: #fbfbfb;
  border-radius: 0px;
  border: #e8e8e8 solid 1px;
  margin-top: 5px;
  margin-bottom: 5px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  box-shadow: none;
}
.frame-12 li a:hover {
  background-color: #CF2D1E;
  color: white;
  border:1px solid #CF2D1E;
}

/*Ã Â¸Å¡Ã Â¸Â£Ã Â¸Â´Ã Â¸ÂÃ Â¸Â²Ã Â¸Â£Ã Â¸Â­Ã Â¸Â­Ã Â¸â„¢Ã Â¹â€žÃ Â¸Â¥Ã Â¸â„¢Ã Â¹Å’*/
.mfu-marked-link{
  border: 1px solid #eeeeee;
  padding: 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}
.frame-13 ul{
  position: relative;
  list-style: none;
  margin-left: 0;
  /* padding-left: 1.2em; */
  font-family: "athitimedium", sans-serif;
      -webkit-transition:all .3s;
  -moz-transition:all .3s;
  transition:all .3s;
}

/*.frame-13 ul li:before {
  content: "\f101";
  position: absolute;
  left: 0;
}*/

.frame-13 li {
    border-bottom:1px dashed #eeeeee;
}
.frame-13 li:hover{
    border-bottom:#c71021 1px dashed;
}
.frame-13 li a{
  font-size:100%;
  padding:0;
  background-color:#ffffff;
  color:#333333;
  margin-bottom:3px;
  display:block;
  border-radius:0px;
}

.frame-13 li a:hover{
  background-color:#ffffff;
  color:#C71021;
  text-decoration:none;
  padding:0;
}

/*-------- Search collapse ---------- */

.search-collapse-box {
    max-width: 353px;
}

.search-collapse .card {
    border-radius: 0px;
}

.search-collapse .card-header {
    padding: 0;
    border-radius: 0px;


}

.search-collapse .card-header button {
    width: 100%;
    text-align: left;
    padding: 6px 12px;
    border-width: 0px;
    border-bottom: 2px solid #ca8200;
    border-radius: 0px;
    color: #8c1515;
    background-color: #fff;


}

.search-collapse .card-header button.collapsed {
    border-bottom: none;
    color: #555;
    background-color: transparent;
}

.search-collapse .card-header button:hover,
.search-collapse .card-header button:focus {
    background: none;
    text-decoration: none;
    background-color: #fff;
}

.search-collapse .card-body {
    padding: 15px 15px 0px;
    height: 131px;
}

@media (max-width: 991px) {
    header .header-primary .head-right {
        background-color: #FFFFFF;
        padding-bottom: 1.25rem;
    }
}

@media (max-width: 576px) {
    header .xs-head-logo img {
        max-width: 26rem;
    }
}

/* elibrary 20250428 */
.tx-elibrary,.tx-elibrary article {position: relative;}
.tx-elibrary a {text-decoration: none;position: relative;}
.tx-elibrary article {border:1px solid #eee;}
.tx-elibrary .link-to-accesstype a {background-color: #eee;color: #555; display: block; margin-bottom: 15px;}
.tx-elibrary .linkfile {border-top: 1px solid #eee;padding: 10px 0 0 0;}
.tx-elibrary .linkfile ul,.tx-elibrary .linkfile ul li {list-style: none; padding:0; margin:0;}
.tx-elibrary .linkfile ul {display:flex; flex-wrap:wrap; gap:5px; justify-content: flex-start;}
.tx-elibrary .linkfile a {color:#ab0000; border: 1px solid #eee;display: block; padding:5px;}
.related-category, .category-subject {display:flex; gap: 5px;flex-wrap: wrap;}
.related-category a {color:#ab0000; background-color: #eee;}
.category-subject a {color:#ab0000; background-color: #eee;}

.category-accesstype a::before,
.category-academicfields a::before,
.category-resourcestype a::before {
    color: #ab0000;
    content: "\f105";
    display: inline-block;
    font-family: FontAwesome;
    font-size: 14px;
    left: 0;
    position: absolute;
    top: 4px;
}

@media (min-width: 768px){
    .link-to-accesstype {position: absolute; top:0; right:0;}   
    .related-category {font-size: 85%;}

}
/* elibrary 20250428 */

.news-nav-tabs .nav-tabs .nav-link.active {
    background-color: #FFFFFF;
    color: #000000;
}
.news-nav-tabs.df-tab .nav-tabs .nav-link:hover {background-color:#FFFFFF;color:#8c1515;}