/* 1. Drupal Default BEGIN */

@media only screen and (max-width: 1200px){
.header-data-pc .responsive-menu .school-name, .header-data-mobile .responsive-menu .school-name {
    background-color: #003366;
    display: block !important;
}
}

@media only screen and (max-width: 480px){
/* display CBE logo only for narrow screen size */
.school-name img {
  /* content: url('/files/images/logo-CBE.png'); */
}

.header-data-pc .school-name a.with-dept-logo img, .header-data-mobile .school-name a.with-dept-logo img {
	content: url('/files/logo-cbe_4.png') !important;
}
}

body .region-content table.tablesaw td{
  padding: 16px 2px !important;
}

.text-align-center {
  font-size: 2em !important;
}

:root {
  --about-theme-color: #966a03; /*#f1b628 BE8604*/
  --people-theme-color: #3766a8;
  --academic-theme-color: #d90035;
  --research-theme-color: #7b3888;
  --news-theme-color: #507d36; /* #69A446 */
  --alumni-theme-color: #a04000;
  
  --menu-bullet: "-";
  --menu-head-font-color: white;
  --about-top-slide-image: url(/sites/default/files/slideshow_images/20211119_090410915_iOS_0_0.jpg);
  --undergrad-top-slide-image: url(/sites/default/files/slideshow_images/810_6973_1.jpg);
  --postgrad-top-slide-image: url(/sites/default/files/slideshow_images/P16072_01_018-min_0.jpg);
  --research-top-slide-image: url(/sites/default/files/slideshow_images/W3098_05_346-min.JPG);
  --news-top-slide-image: url(/sites/default/files/news-top-slide-image3.jpg);
  --people-top-slide-image: url(/sites/default/files/slideshow_images/cbe13_0.jpg);
  --vacancy-top-slide-image: url(/sites/default/files/slideshow_images/cbe16_0_0.jpg);
  --alumni-top-slide-image: url(/sites/default/files/slideshow_images/alumni.jpeg);
  --industrial-top-slide-image: url(/sites/default/files/slideshow_images/industrial.jpeg);
}





body .region-content table.tablesaw tbody tr:nth-child(odd) td,
body.cke_editable table.tablesaw tbody tr:nth-child(odd) td {
  background-color: #e6e6e6 !important;
}

@media screen and (max-width: 640px) {
  table.dataTable.display tbody td{
     border-top:0px solid #ddd !important;
  }
}
/*
@media screen and (min-height: 768px) {
  div.field--name-field-slideshow-image {
     height: 400px !important;
  }
}
*/
@media screen and (max-height: 550px) {
  div.field--name-field-slideshow-image {
     height: 180px !important;
  }
}

@media screen and (max-width: 1024px) {
  div.field--name-field-slideshow-image {
     height: 180px !important;
  }
  
}



.small-size.size-small, .normal-size.size-normal, .large-size.size-large {
  /* display: none; */
}

.header-data-pc .site-header-content .search-font, .header-data-mobile .site-header-content .search-font {
  padding: 10px 0 !important;
}

body .team-item .team-item-image {
  max-height: none;
}

.vertical-menu a.active {
    background-color: var(--theme-color); /* menu color */
    color: var(--menu-head-font-color);
    border-radius: 40px 5px 0px 0px;
    display: block; /* Make the links appear below each other */
    padding: 12px; /* Add some padding */
    text-decoration: none; /* Remove underline from links */
}

.news-menu {
    background-color: var(--theme-color); /* menu color */
    color: var(--menu-head-font-color);
    border-radius: 0px 10px 0px 0px;
    display: block; /* Make the links appear below each other */
    padding: 12px; /* Add some padding */
    text-decoration: none; /* Remove underline from links */
    font-size: 18px;
}

.vertical-menu a.active:hover {
    color: var(--menu-head-font-color);
    filter: brightness(115%);
}

ul.menu a.is-active {
     color: var(--theme-color) !important;
     font-weight: bold;
}


.top-bar span {
    background-color: var(--theme-color); /* ribbon color */
    color: white;
    border-radius: 5px 5px 0px 0px;
    display: block; /* Make the links appear below each other */
    padding: 12px; /* Add some padding */
    text-decoration: none; /* Remove underline from links */
}

li.menu-item{
  padding-left: 20px;
}



nav.block.block-menu.navigation.menu--undergraduate-menu, nav.block.block-menu.navigation.menu--postgraduate-menu, nav.block.block-menu.navigation.menu--safety-menu, nav.block.block-menu.navigation.menu--safety-menu-2 {
  position: relative;
  border-style: solid;
  border-width: thin;
  border-color: lightgray;
  margin-top: 0px !important;
}

/* Modify Dep Logo when mobile view */
@media only screen and (max-width: 480px){
.school-name img {
    content: normal !important;
}
}

/* Modify Dep Logo Size */
@media screen and (min-width: 1023px) {
    a.with-dept-logo img {
      height: 59.55px !important;
    }
}

/* Modify Menu Font Size */
.header-data-pc ul.menu-lists li a {
  font-size: 18.5px !important;
}
/* Modify Sub Menu Font Size */
.header-data-pc ul.menu-lists li ul li a {
  font-size: 16px !important;
}

ul.menu {
  font-size: 16px !important;
  list-style: none inside !important;
  margin-left: 0 !important;
  
}


nav.block.block-menu.navigation.menu--safety-menu, nav.block.block-menu.navigation.menu--undergraduate-menu, nav.block.block-menu.navigation.menu--postgraduate-menu {
  width: 100%;
}

body {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  color: #333;
  font-size: 14px;
  line-height: 20px;
}

body .region-content .heading3-with3 h3 {
  padding: 10px 0px !important;
}

body .region-content .heading3-with3 {
  margin-top: 50px !important;
}

body .region-content .heading2 h3 {
    font-size: 3em;
    font-weight: 900;
    text-align: center;
    margin: 30px 0px;
}

.img-center img{
      display: block !important;
    width: 100% !important;
}

.header-data-pc.table-layout ul.menu-lists, .header-data-mobile.table-layout ul.menu-lists {
  display: table;
  width: 100%;
}

.layout.main-visual-video {
  width: 100%;
  height: 100vh;
  position: relative;
  color: black;
}

.layout.main-visual-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#layout-builder .layout.main-visual-video video {
  width: 100%;
  height: 100vh;
}

.view.test-table {
  border: 4px solid yellow;
}

.page_name {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 3px;
    line-height: 1em;
    margin-bottom: 30px;
    margin-left: 0;
    text-transform: uppercase;
    border-bottom: 4px #000 solid;
    display: inline-block;
    padding: 15px 0px;
    margin-left: 30px;
    padding-top: 0px;
}







caption {
  margin: 1em 0 0.5em 0 !important;
  font-weight: 600 !important;
  font-family: 'Titillium Web', sans-serif !important;
  position: relative !important;
  text-shadow: 0 -1px 1px rgba(0,0,0,0.4) !important;
  font-size: 1em !important;
  color: var(--theme-color) !important;
  line-height: 1.43em !important;
  text-transform: uppercase !important;
}






.theme-menu-rows {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: 20%;
  min-height: 80px;

  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}

.theme-menu-rows.m-academic {
  background-color: #d90035;
}

.theme-menu-rows.m-people {
  background-color: #3766a8;
}

.theme-menu-rows.m-about {
  background-color: #f1b628;
}

.theme-menu-rows.m-research {
  background-color: #7b3888;
}

.theme-menu-rows.m-news {
  background-color: #7eb859;
}

.theme-menu-content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  padding-top: 5px;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.menu-content-icon {
  width: 40px;
  height: 40px;
  -webkit-filter: invert(100%);
  filter: invert(100%);
}

.menu-content-icon.m-about-icon {
  background-image: url('https://cbe.ust.hk/new_design/images/magnifying-glass.svg');
  background-size: contain;
}

.menu-content-icon.m-people-icon {
  background-image: url('https://cbe.ust.hk/new_design/images/avatar.png');
  background-position: 50% 50%;
  background-size: contain;
  background-repeat: no-repeat;
}

.menu-content-icon.m-academic-icon {
  margin-top: -3px;
  background-image: url('https://cbe.ust.hk/new_design/images/university-graduate-hat.svg');
  background-position: 50% 50%;
  background-size: contain;
  background-repeat: no-repeat;
}

.menu-content-icon.m-research-icon {
  background-image: url('https://cbe.ust.hk/new_design/images/flask.svg');
  background-position: 50% 50%;
  background-size: contain;
  background-repeat: no-repeat;
}

.menu-content-icon.m-news-icon {
  background-image: url('https://cbe.ust.hk/new_design/images/small-calendar.svg');
  background-position: 50% 50%;
  background-size: contain;
  background-repeat: no-repeat;
}

.menu-content-text {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding-right: 20px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  text-align: right;
}

.menu-big-title {
  font-family: Muli, sans-serif;
  color: #fff;
  font-size: 28px;
  line-height: 28px;
  font-weight: 700;
  text-align: right;
}

.menu-sub-links-wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  margin-top: 8px;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
  text-align: right;
}

.menu-sub-links {
  margin-right: 9px;
  margin-bottom: 5px;
  padding-right: 9px;
  border-right: 1px solid #fff;
  font-family: Muli, sans-serif;
  color: #fff;
  font-size: 16.5px;
  line-height: 18px;
  font-weight: 600;
  text-align: right;
  text-decoration: none;
}

.menu-sub-links:hover {
  text-decoration: underline;
}

.menu-sub-links.last-link {
  margin-right: 0px;
  padding-right: 0px;
  border-right-style: none;
}

.people1ImageContainer {
	position: relative;
	border-radius: 50%;
	width: 290px;
	height: 290px;
	float:right; margin-left:10px; margin-bottom:10px; padding:5px;
}

.home-content-column {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 50%;
  padding-top: 0px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.home-content-column.right-40 {
  width: 40%;
  padding-top: 25px;
  -webkit-box-flex: 0;
  -webkit-flex: 0 auto;
  -ms-flex: 0 auto;
  flex: 0 auto;
  background-color: #f1b628;
}

.home-content-column.left-60 {
  width: 60%;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}


.site-col { /* footer */
  padding-top: 60px;
}

@media (min-width: 1024px) and (max-width: 1105px) {
  #DARSIcon {
    display: none;
  }
  .site-col { /* footer */
    padding-top: 40px;
  }
  
}

.banner {
  display: flex;
  justify-content: center;
}

/* 2. Navigation */

/* Style the links inside the sidenav */
#mySidenav a {
    position: fixed; /* Position them relative to the browser window */
    left: -190px; /* Position them outside of the screen */
    transition: 0.3s; /* Add transition on hover */
    padding: 15px; /* 15px padding */
    width: 250px; /* Set a specific width */
    text-decoration: none; /* Remove underline */
    font-size: 25px; /* Increase font size */
    color: white; /* White text color */
    border-radius: 0 0 0 0; /* Rounded corners on the top right and bottom right side */
	height: 110px;
	font-weight: 900;
	opacity: 0.9;
	z-index: 10;
}

.menu-img {position:absolute; right:30px; font-size:36px; margin-top:-4px}

#mySidenav a:hover {
    left: 0; /* On mouse-over, make the elements appear as they should */
}

/* The about link: 20px from the top with a green background */
#about {
    top: 160px;
    background-color: #f1b628;
}

#people {
    top: 300px;
    background-color:  #3766a8; /* Blue */
}

#academic {
    top: 440px;
    background-color: #d90035; /* Red */
}

#research {
    top: 580px;
    background-color: #7b3888; /* Purple */
}

#news {
    top: 720px;
    background-color: #7eb859 /* Green */
}

.nav_menu {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

#cd-nav ul {
	z-index: 20;
}

#cd-nav a {
	z-index: 9999;
	font-size: 18px;
}

#cd-nav a:hover {
	text-decoration: underline;
}

#cd-nav ul li a {
	font-size: 18px;
	padding: 20px;
	margin-left: 0;
}

.menu--ug-menu {
    background-color: #eaecee;
}

@media only screen and (min-width: 1200px){
.header-data-pc ul.menu-lists li a, .header-data-mobile ul.menu-lists li a {
    text-shadow: 0px 0px 5px white;
    /* text-shadow: -3px -3px 5px white, 3px 3px 5px white;  Main Menu shadow */
}
}

/* 3. Paragraph Formatting */

p {
    line-height: 150%;
	padding-bottom: 20px;
}
li {
	line-height: 150%;
	padding-bottom: 10px;
}

.firstcharacter {
  color: var(--theme-color);
  float: left;
  font-family: Georgia;
  font-size: 55px;
  line-height: 60px;
  padding-top: 0px;
  padding-right: 8px;
  padding-left: 3px;
}

.column-left{ float: left; width: 70px; }
.column-right{ float: right; width: 10%; }
.column-center{ display: inline-block; width: 85%; margin-left:70px;}

.page_name {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 3px;
    line-height: 1em;
    margin-bottom: 30px;
    margin-left: 0;
    text-transform: uppercase;
    border-bottom: 4px #000 solid;
    display: inline-block;
    padding: 15px 0px;
	margin-left:30px;
	padding-top:0px
}

.normal-text {margin-left:30px; width:85%}

/* 4. Header Styling */

h1 {
	font-size: 30px;
    font-weight: bold;
    letter-spacing: normal;
    line-height: 1.2em;
    margin-bottom: 5px;
    /* max-width: 900px; */
    letter-spacing: 0px;
    margin-left: 30px;
}

.heading2 {
	margin: 1em 0 0.5em 0;
	font-weight: normal;
	position: relative;
	text-shadow: 0 -1px rgba(0,0,0,0.6);
	font-size: 18.8px;
	line-height: 40px;
	background: #355681;
	background: rgba(53,86,129, 0.8);
	border: 1px solid #fff;
	padding: 5px 15px;
	color: white;
	border-radius: 0 10px 0 10px;
	box-shadow: inset 0 0 5px rgba(53,86,129, 0.5);
	font-family: 'Muli', sans-serif;
	width: 85%;
	margin-left: 10px;
	margin-right: 30px;
}

.heading3 {
	margin: 1em 0 0.5em 0;
	font-weight: 600;
	font-family: 'Titillium Web', sans-serif;
	position: relative;
	text-shadow: 0 -1px 1px rgba(0,0,0,0.4);
	font-size: 18.67px;
	line-height: 40px;
	color: #355681;
	text-transform: uppercase;
	/* 	border-bottom: 1px solid rgba(53,86,129, 0.3);
	width: 85%;*/
}

.heading4 {
	margin: 1em 0 0.5em 0;
	font-weight: 600;
	font-family: 'Titillium Web', sans-serif;
	position: relative;
	font-size: 16px;
	line-height: 20px;
	color: #657186;
	font-family: 'Muli', sans-serif;
}

.heading5 {
	line-height: 10px;
	color: #788699;
	font-family: 'Titillium Web', sans-serif;
	text-decoration: underline;
}

.ui-tabs-anchor {
  font-size: 18.67px;
}

/* 5. Photo Styling */
.rborder_photo{ margin-bottom:10px; border: #000 1px solid;}

.lborder_photo{ float:left; margin-right:10px; margin-bottom:10px; border: #000 1px solid; padding:5px;}

.lborder_photo_round {
	margin-right:10px; 
	margin-bottom:10px; 
	border:0px; 
	border-radius:15px; 
	float:left;
	width: 300px;
}

@media (max-width: 600px) {
    .lborder_photo_round {
        width: 600px;
        height: auto; /* Ensures the aspect ratio remains intact */
    }
}

.img-circle {
    border-radius: 50%;
	float:right; margin-left:10px; margin-bottom:10px; padding:5px;
}

.people1ImageContainer {
	position: relative;
	border-radius: 50%;
	width: 290px;
	height: 290px;
	float:right; margin-left:10px; margin-bottom:10px; padding:5px;
}
.imageLContainer {
	position: relative;
	border-radius: 50%;
	float:left; margin-left:10px; margin-bottom:10px; padding:5px;
}
.imageRContainer {
	position: relative;
	border-radius: 50%;
	float:right; margin-left:10px; margin-bottom:10px; padding:5px;
}
.people1NameTitle {
	position: absolute;
	top: 220px;
	left: 60px;
	width: 255px;
	padding: 8px;
	font-weight: bold;
	font-size: 11px;
	color: #fff;
	opacity: 0.8;
}
.people1NameOverImage {
	font-size: 20px;
}

.people2ImageContainer {
	position: relative;
	border-radius: 50%;
	width: 300px;
	height: 300px;
	float:right; margin-left:10px; margin-bottom:10px; padding:5px;
}
.people2NameTitle {
	position: absolute;
	top: 220px;
	left: 100px;
	width: 200px;
	padding: 8px;
	font-weight: bold;
	font-size: 11px;
	color: #fff;
	opacity: 0.8;
}
.people2NameOverImage {
	font-size: 20px;
}

/* 6. Spacing Styling */
#news_section_nonowner{ min-height: 110px; }

/* 7. The ribbons */

.corner-ribbon{
  z-index: 99;
  width: 200px;
  background: #e43;
  position: absolute;
  top: 25px;
  left: -50px;
  text-align: center;
  line-height: 50px;
  letter-spacing: 1px;
  color: #f0f0f0;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  font-size: 20px;
  font-weight: 900;
}

.corner-ribbon.sticky{
  position: fixed;
}

.corner-ribbon.shadow{
  box-shadow: 0 0 5px rgba(0,0,0,.3);
}

.corner-ribbon.top-right{
  top: 25px;
  right: -50px;
  left: auto;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.corner-ribbon.white{background: #f0f0f0; color: #555;}
.corner-ribbon.black{background: #333;}
.corner-ribbon.grey{background: #999;}
.corner-ribbon.blue{background: #39d;}
.corner-ribbon.green{background: #2c7;}
.corner-ribbon.turquoise{background: #1b9;}
.corner-ribbon.purple{background: #95b;}
.corner-ribbon.red{background: #e43;}
.corner-ribbon.orange{background: #e82;}
.corner-ribbon.yellow{background: #ec0;}

/* 8. Thumb Gallery */

.thumb-gallery {
  overflow: hidden;
}
.thumb-gallery .title {
  margin-bottom: 30px;
  margin-top: 0;
  font-weight: 400;
}
.thumb-gallery .flexslider {
  background: transparent;
  border: 0;
  margin: 0 0 15px;
}
.thumb-gallery .flexslider:hover .flex-direction-nav a.flex-prev {
  left: 0 !important;
}
.thumb-gallery .flexslider:hover .flex-direction-nav a.flex-next {
  right: 0 !important;
}
.slides.thumb-gallery .flexslider:hover:after {
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  opacity: 1;
}
.slides.thumb-gallery .flexslider:hover:before {
  opacity: .7;
}
.thumb-gallery .flexslider.tg-slider:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 10;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.thumb-gallery .flexslider.tg-slider .slides {
  position: relative;
  overflow: hidden;
}
.thumb-gallery .flexslider.tg-slider:hover:after {
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  opacity: 1;
}
.thumb-gallery .flexslider.tg-slider:hover:before {
  opacity: .7;
}
.thumb-gallery .flexslider.tg-slider .flex-direction-nav .flex-prev {
  top: 50%;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  left: -50px !important;
}
.thumb-gallery .flexslider.tg-slider .flex-direction-nav .flex-next {
  right: -50px !important;
  top: 50%;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}
.thumb-gallery #img_galley.flexslider {
  margin-bottom: 0;
}
.thumb-gallery .flex-direction-nav .flex-prev {
  left: auto !important;
}
.thumb-gallery .flex-direction-nav .flex-next {
  right: 0 !important;
}
.thumb-gallery .flex-direction-nav li.flex-nav-prev a {
  left: 0;
  text-shadow: none;
  width: 25px;
  height: 60px;
  line-height: 60px;
  margin: 0;
  text-align: center;
}
.thumb-gallery .flex-direction-nav li.flex-nav-prev a:before {
  content: "";
  font-family: Fontawesome;
  display: block;
  content: '\f104';
  color: #fff;
  font-size: 28px;
  text-shadow: none;
}
.thumb-gallery .flex-direction-nav li.flex-nav-prev a:hover {
  color: transparent;
  text-shadow: none;
}
.thumb-gallery .flex-direction-nav li.flex-nav-next a {
  right: 0;
  text-shadow: none;
  width: 25px;
  height: 60px;
  line-height: 60px;
  margin: 0;
  text-align: center;
}
.thumb-gallery .flex-direction-nav li.flex-nav-next a:before {
  content: "";
  font-family: Fontawesome;
  display: block;
  content: '\f105';
  font-size: 28px;
  color: #fff;
  text-shadow: none;
}
.thumb-gallery .flex-direction-nav li.flex-nav-next a:hover {
  color: transparent;
  text-shadow: none;
}
.thumb-gallery #img_galley ul li {
  margin-right: 15px;
  position: relative;
}
.thumb-gallery #img_galley ul li.flex-active-slide:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.thumb-gallery #img_galley ul li:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.thumb-gallery #img_galley ul li:hover {
  cursor: pointer;
}
.thumb-gallery #img_galley ul li:hover:after {
  opacity: 1;
}
.thumb-gallery #img_galley li.flex-active-slide {
  position: relative;
}
.thumb-gallery #img_galley li.flex-active-slide:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.thumb-gallery #img_galley .flex-direction-nav li.flex-nav-prev .flex-prev {
  left: 25px !important;
}
.thumb-gallery #img_galley .flex-direction-nav li.flex-nav-prev a {
  top: inherit;
  bottom: 45px;
  left: 22px;
  width: 30px;
  height: 30px;
  line-height: 30px;
}
.thumb-gallery #img_galley .flex-direction-nav li.flex-nav-next a {
  top: inherit;
  bottom: 45px;
  width: 30px;
  height: 30px;
  line-height: 30px;
}

/*default*/
.thumb-gallery.default .flexslider.tg-slider:before,
.thumb-gallery.default .flexslider.tg-slider:after {
  display: none;
}
.thumb-gallery.default .flex-direction-nav a.flex-prev,
.thumb-gallery.default .flex-direction-nav a.flex-next {
  background-color: rgba(0,0,0,.7);
}
.thumb-gallery .flex-direction-nav li.flex-nav-prev a {
  background: rgba(0, 0, 0, 0.8);
}
.thumb-gallery .flex-direction-nav li.flex-nav-prev a:hover {
}
.thumb-gallery .flex-direction-nav li.flex-nav-next a {
  background: rgba(0, 0, 0, 0.8);
}

#ThumbGallery{
	width:60%;
}




/* 10. Column Inner Page - Menu */

.insidemenu {
	line-height: 30px; 
	width:250px;
}
.vertical-menu {
    width: 100%; /* Set a width if you like */
}



@media screen and (max-width: 1500px) {
    .left, 
    .right {
        float: none;
        width: auto;
    }
	.insidemenu {
		line-height: 30px; 
		width:100%;
	}
	.vertical-menu {
		width: 100%;
	}
	#rightColumnSpacer {
		display:block;
		line-height: 20px;
	}	
}

/* 11. Table */
table.cssTable {
  background-color: #EEEEEE;
  width: 100%;
  text-align: left;
}
table.cssTable td, table.cssTable th {
  border: 1px solid #AAAAAA;
  padding: 4px 2px;
}
table.cssTable tbody td {
  font-size: 14px;
}
table.cssTable thead {
  border-bottom: 2px solid #444444;
}
table.cssTable thead th {
  font-size: 15px;
  font-weight: bold;
  color: #FFFFFF;
}
th, td {
	vertical-align: top;
}

/* 12. Button */

.readmorebtn 							{display:inline-block;position:relative;font-family:Roboto,"Helvetica Neue",Helvetica,Optima,Segoe,"Segoe UI",Candara,Calibri,Arial,sans-serif;color:#000!important;font-weight:300;line-height:100%;background:#fff;border:1px solid;border-color:#e5e6e9 #dfe0e4 #d0d1d5;font-size:15px;text-decoration:none;padding:13px 12px 12px ;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;-webkit-font-smoothing:antialiased!important;text-shadow:1px 1px 1px rgba(0,0,0,0.004);}
.readmorebtn:hover 						{border:1px solid #aab9d4;color:#000;font-size:15px;text-decoration:none;}
.readmorebtn:active 					{top:1px;}

a.cbebtn, a.cbebtn:active, a.cbebtn:visited, a.cbebtn:link {
    background-color: var(--academic-theme-color);
    font-size: 0.9em;
    line-height: 20px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.9em;
    min-width: 250px;
    color: white;
    border-radius: 0;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    -o-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
} 
a.cbebtn:hover {
    filter: brightness(80%);
    color: white;
}

/* 13. Video */
/* Ref: http://coolestguidesontheplanet.com/videodrome/youtube/ */
.youtubevideowrap {
	width:70%;
	max-width: 426px;
}
.video-container {
	position:relative;
	padding-bottom:56.25%;
	padding-top:30px;
	height:0;
	overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
.video-container3 {
	display: flex;
  flex-direction: row;
}

.flex-item-left {
  padding: 10px;
  flex: 30%;
  display: block;
  margin-left: 0;
  margin-right: 0;
  text-align: center;
  max-width: 100%;
}

.flex-item-right {
  padding: 10px;
  flex: 70%;
}

/* Responsive layout - makes a one column-layout instead of two-column layout */
@media (max-width: 800px) {
  .video-container3 {
    flex-direction: column;
  }
}

/* 14. News */
.nophotonews {
      width: 100%;
      height: 120px;
}

@media screen and (max-width: 768px) {
.nophotonews {
      width: 100%;
      height: auto;
}
}


.topics .view-header {
    display:none;
}

.topics .view-content {
    display:none;
}

.newsTitle {
  font-weight: bold;
  color: #003366;
}

/* 15. CBE Tabbed Content Area */

.cbetabs {
    display: flex;
    cursor: pointer;
    flex-wrap: wrap;
    border-bottom: 1px solid #000; /* 1px solid black */
    padding-bottom: 0; /* Remove any extra space */
    margin-bottom: -1px; /* Pull it up to remove the gap */
}

.cbetab {
    padding: 10px 20px;
    background-color: #F3F3F3;
    color: #71706F;
    margin-right: 5px;
    margin-bottom: 5px; /* Add margin to prevent overlap when wrapping */
    flex: 0 1 auto; /* Allow cbetabs to grow and shrink */
    text-align: center; /* Center-align the text */
}

.cbetab.active {
    background-color: var(--theme-color);
    color: white;
}

.cbetab:hover {
    background-color: var(--theme-color);
    color: white;
}

.cbetabcontent {
    padding: 20px;
}

.cbecontent-item {
    display: none;
}

.cbecontent-item.active {
    display: block;
}

@media (max-width: 600px) { /* Responsive Design */
    .cbetabs {
        flex-direction: column; /* Stack cbetabs vertically on small screens */
    }

    .cbetab {
        margin-right: 0;
        font-size: 1.3em;
    }
    
    .cbecontent-item {
        font-size: 1.2em;
    }
    }
}

/* 16. Responsive */

@media only screen and (min-width: 320px) and (max-width: 568px) and (orientation: portrait) {
	#mySidenav { visibility: hidden;}
	.column-center{ display: inline-block; width: 85%; margin-left:0px;}
	#cd-nav ul li a {
		font-size: 20px;
		padding: 0px;
		margin-left: 0;
		line-height: 90%;
	}
	#ThumbGallery{
		width:100%;
	}
	.youtubevideowrap {
		width:100%;
		max-width: 426px;
	}
	.search__container {
		padding-left: 100px;
	}
}

@media only screen and (max-width: 991px) and (max-height: 620px) {

	#mySidenav { /* visibility: hidden; */ }
	.column-center{ display: inline-block; width: 85%; margin-left:0px;}
	#cd-nav ul li a {
		font-size: 20px;
		padding: 0px;
		margin-left: 0;
		line-height: 90%;
	}
	#ThumbGallery {
		width:100%;
	}
	.youtubevideowrap {
		width:100%;
		max-width: 426px;
	}
	.search__container {
		padding-left: 100px;
	}
}

@media screen and (max-width: 991px) {
  #about {
    top: 120px;
  }

  #people {
      top: 260px;
  }

  #academic {
      top: 400px;
  }

  #research {
      top: 540px;
  }

  #news {
      top: 680px;
  }
}

button.agree-button {
	background: #3a70a6 !important; 
}

button.decline-button {
	background: #67696e !important; 
}