/*
Extra small devices (portrait phones, less than 544px)
No media query since this is the default in Bootstrap because it is "mobile first"
*/

:root {
  /* Light Nav */
  /* --main-bg-color: white;
  --dropdown-header-color: black;
  --dropdown-header-hover-color: gray; */
  /* Dark Nav */
  --main-bg-color: #024731;
  --dropdown-header-color: white;
  /* --dropdown-header-hover-color: rgba(255,255,255,0.5); */
  /* --dropdown-header-hover-color: #b49a5e; */
  --dropdown-header-hover-color: #E7CEA3;
}

/* DEBUG: additions made on 08/07 For Task73 */

#new_coe_navbar {
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;
  /* TWEENER - IE 10 */
  display: -webkit-flex;
  /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;
  /* NEW, Spec - Firefox, Chrome, Opera */
  padding: 16px 40px;
  /* justify-content: center; */
  /* align-items: center; */
  /* display:none; /* DEBUG: 08/07 */
}

#new_logo_container {
  background-color: #ffffff;
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;
  /* TWEENER - IE 10 */
  display: -webkit-flex;
  /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;
  /* NEW, Spec - Firefox, Chrome, Opera */
  justify-content: center;
  align-items: center;
  /* max-width: 992px; */
  padding: 25px 90px;
  /* padding: 25px 90px 25px 90px; */
}

#logo_COE {
  /* max-height: 100px; */
  /* width: auto; */
  margin-right: 10px;
}

#new_mobile_logo {
  float: left;
  width: 80%;
  min-width: 0;
  display: table;
  height: 75px !important;
  padding-left: 10px;
}

#new_mobile_logo a {
  padding: 0;
}

.new-img-responsive {
  width: auto;
  height: 150%;
  max-height: 70px;
  min-height: 70px;
}

ul[id^='SubMenu-'] {
  transition: none;
}

.img-responsive {
  height: auto;
  width: 100%;
  max-width: 450px;
}

#main-dropdown-menu {
  margin-left: auto;
  margin-right: auto;
  max-width: 480px;
}

#topbanner {
  background-color: var(--main-bg-color);
}

#topbanner #title .ee-header {
  font-size: 60%;
}

#topbanner #title .uh-header {
  font-size: 40%;
}

.dropdown-menu {
  display: none;
  padding-top: 8px;
  padding-bottom: 0px;
}

.card-group-container .card-body {
  /* padding: 8px; */
  padding: 20px 15px 15px 15px;
}

nav.navbar {
  display: block;
  /* padding: 8px 8px; */
}

.nav-item {
  font-size: 24px;
  font-weight: 500;
}

.top-nav-item {
  padding-top: 16px;
  padding-bottom: 8px;
}

ul.second {
  margin-left: 32px;
  padding-top: 0;
}

ul.third {
  margin-left: 32px;
  padding-top: 0;
}

.dropdown-item:hover {
  text-decoration: none;
  background-color: inherit;
  color: green;
}

.sidebar-header h2:hover {
  text-decoration: none;
  background-color: inherit;
  color: green;
}

.subsidebar-header h3:hover, .subsidebar-header h4:hover {
  text-decoration: none;
  background-color: inherit;
  color: green;
}

.subsidebar-item {
  padding: 4px 8px;
}

table td.user_afl {
  display: none;
}

table th.user_afl {
  display: none;
}

/* FACULTY Configuration */

#facultyTable_wrapper, #content-pag {
  padding-left: 5px !important;
}

h3.faculty-nav {
  font-size: 16px;
}

.facultyTable {
  width: 100%;
}

td.user_profile img.img-thumbnail {
  border: none;
  float: left !important;
  width: 112px;
  padding-bottom: 16px;
  padding-left: 3%;
}

.user-details {
  clear: both;
}

/*** FOOTER MENU ****/

#body-container {
  padding-bottom: 350px;
  max-width: 100%;
}

.page-footer {
  height: 350px;
  width: 100%;
  max-width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: var(--main-bg-color);
  color: white;
  padding-top: 15px;
}

#footer-container {
  margin-right: auto !important;
  margin-left: auto !important;
}

/*xsm footer */

.footer-info {
  padding: 0 25px 15px 0;
}

.footer-info address {
  margin: 0;
}

.footer-logo-img {
  padding: 0;
  float: left;
  max-width: 180px;
}

.footer-logo {
  padding: 10px 0 15px 0;
}

/* RESEARCH PAGE  */

.research-page-title {
  font-size: 20.8px;
}

.research-header {
  font-size: 1.5rem;
  margin-top: 10px;
}

.research_fac_image {
  width: 110px;
  height: 130px;
  background-position: top;
  background-size: cover;
}

/* ILC CARDS */

.ilc {
  padding-top: 0;
  padding-bottom: 32px;
  position: relative;
  width: 100%;
  z-index: 2;
}

.ilc_card_wrapper {
  margin: 0;
  position: relative;
}

.ilc_card {
  background-color: #ffffff;
  -webkit-box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, .50);
  box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, .50);
  -webkit-transition: -webkit-box-shadow 0.15s ease-in-out;
  transition: -webkit-box-shadow 0.15s ease-in-out;
  -o-transition: box-shadow 0.15s ease-in-out;
  transition: box-shadow 0.15s ease-in-out;
  transition: box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.ilc_card:hover {
  -webkit-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, .20);
  box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, .20);
  -webkit-transition: -webkit-box-shadow 0.15s ease-in-out;
  transition: -webkit-box-shadow 0.15s ease-in-out;
  -o-transition: box-shadow 0.15s ease-in-out;
  transition: box-shadow 0.15s ease-in-out;
  transition: box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.link_card:hover {
  -webkit-box-shadow: 0 11px 22px rgba(0, 0, 0, 0.22);
  box-shadow: 0 11px 22px rgba(0, 0, 0, 0.22);
  -webkit-transition: -webkit-box-shadow 0.15s ease-in-out;
  transition: -webkit-box-shadow 0.15s ease-in-out;
  -o-transition: box-shadow 0.15s ease-in-out;
  transition: box-shadow 0.15s ease-in-out;
  transition: box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.link_card a {
  text-decoration: none;
}

.ilc_card_image {
  width: 100%;
  vertical-align: middle;
  height: auto;
  max-width: 100%;
}

.ilc_card_content {
  padding: 20px 24px 5px;
}

.card_claret, .card_claret_0 {
  background-color: green;
  content: '';
  height: 8px;
  width: 80px;
  margin-top: -5.6px;
}

.card_claret_a, .card_claret_1 {
  background-color: #264653;
  content: '';
  height: 8px;
  width: 80px;
  margin-top: -5.6px;
}

.card_claret_b, .card_claret_2 {
  background-color: #2a9d8f;
  content: '';
  height: 8px;
  width: 80px;
  /* position: absolute; */
  margin-top: -5.6px;
}

.card_claret_c, .card_claret_3 {
  background-color: #e9c46a;
  content: '';
  height: 8px;
  width: 80px;
  /* position: absolute; */
  margin-top: -5.6px;
}

.card_claret_d, .card_claret_4 {
  background-color: #f4a261;
  content: '';
  height: 8px;
  width: 80px;
  /* position: absolute; */
  margin-top: -5.6px;
}

.card_claret_e, .card_claret_5 {
  background-color: #e76f51;
  content: '';
  height: 8px;
  width: 80px;
  /* position: absolute; */
  margin-top: -5.6px;
}

.ilc_card_title {
  /* font-size: 20.8px; */
  /* margin-bottom: 8px;
  padding-top: 9.6px; */
  margin-bottom: 15px;
  margin-top: 8px;
  padding-top: 10px;
  padding-bottom: 0px;
  color: #333;
  font-weight: 600;
  /* border-bottom: 2px solid rgba(0,0,0,0.5); */
}

.i1c_card_body {
  font-size: 16px;
  color: #131516;
  font-weight: normal;
  margin-bottom: 0;
  line-height: 20px;
  margin-top: 8px;
}

/* ETC */

.divcover {
  color: #FAFAFA;
  position: relative;
  text-shadow: 0 2px 4px #000;
  background-color: #cccccc;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  height: 0;
  padding-top: 41%;
}

div.divcover_url {
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;
  /* TWEENER - IE 10 */
  display: -webkit-flex;
  /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;
  position: absolute;
  -ms-flex-align: stretch;
  align-items: stretch;
  height: 150px;
  width: 100%;
  z-index: 2;
}

.divcover .container {
  margin-bottom: 48px;
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;
  /* TWEENER - IE 10 */
  display: -webkit-flex;
  /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;
  width: 100%;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -ms-flex-align: end;
  align-items: flex-end;
}

.divcover_wrapper {
  text-align: left;
  width: 100%;
  margin-bottom: 0;
}

h1.divcover_quote {
  font-size: 40px;
  margin-bottom: 16px !important;
  /* font-family: "IBM Plex Sans Condensed"; */
  font-weight: 500;
  color: #FAFAFA;
  width: 100%;
  line-height: 20px !important;
  margin-top: 24px;
}

.divcover_cite {
  display: block;
  background-color: #fff08b;
  height: 3px;
  width: 40%;
  content: '';
  margin-top: 20px;
  position: absolute;
}

button.group-header.collapsed .group-description {
  width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

button.group-header.collapsed .hidden-group-description {
  display: none;
}

/*
####################################################
M E D I A  Q U E R I E S
####################################################
*/

/*
::::::::::::::::::::::::::::::::::::::::::::::::::::
Bootstrap 4 breakpoints
*/

/* Small devices (landscape phones, 320px and up) */

@media (min-width: 320px) {
  .post-content img {
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
    max-width: 100%;
    max-height: 100%;
    height: auto !important;
  }
  #topbanner #title .ee-header {
    font-size: 100%;
  }
  #topbanner #title .uh-header {
    padding-top: 10px;
    font-size: 50%;
  }
  .dropdown-menu.submenu ul {
    width: 100%;
  }
  .link {
    margin: 0 0 -8px -8px;
  }
}

@media (min-width: 425px) {
  #topbanner #title .ee-header {
    font-size: 150%;
  }
  #topbanner #title .uh-header {
    font-size: 80%;
  }
  #body-container {
    padding-bottom: 340px;
  }
  .page-footer {
    height: 340px;
  }
  /* RESEARCH PAGE  */
  .divcover_wrapper {
    text-align: left;
    padding: 3% 4%;
    width: 100%;
  }
  .research-page-title {
    font-size: 28.8px;
  }
  button.group-header.collapsed .group-description {
    width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Small devices (landscape phones, 544px and up) */

@media (min-width: 576px) {
  .card-columns {
    column-count: 2;
  }
  .post-content img {}
  img[align="left"], img.note-float-left {
    float: left !important;
    margin-left: 0px !important;
    margin-right: 10px !important;
  }
  img[align="right"], img.note-float-right {
    float: right !important;
    margin-right: 0px !important;
  }
  .post-content img[align="center"] {
    float: none;
  }
  #topbanner #title .ee-header {
    font-size: 210%;
  }
  #topbanner #title .uh-header {
    font-size: 100%;
  }
  .dropdown-item, .dropdown-header {
    padding: 8px 24px;
  }
  table td.user_afl {
    display: table-cell;
  }
  table th.user_afl {
    display: table-cell;
  }
  #facultyTable_wrapper, #content-pag {
    padding-left: 15px;
  }
  h3.faculty-nav {
    font-size: 19.2px;
  }
  table.facultyTable {
    width: 100%;
  }
  td.user_profile img.img-thumbnail {
    border: none;
    float: left !important;
    width: 96px;
  }
  .user-details {
    clear: none;
  }
  .card-group-container .card-body {
    padding: 20px;
  }
  /* FOOTER */
  #body-container {
    padding-bottom: 220px;
  }
  .page-footer {
    height: 220px;
  }
  .footer-info {
    float: left;
  }
  .footer-logo {
    padding: 0 0 15px 0;
  }
  .footer-logo-img {
    float: right;
  }
  /* RESEARCH PAGE  */
  .research-page-title {
    font-size: 40px;
  }
  button.group-header.collapsed .group-description {
    width: 450px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 767px) {
  #new_logo_container {
    display: none;
  }
  nav.navbar {
    padding: 2px 16px;
  }
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */

@media (min-width: 768px) {
  .card-columns-3 {
    column-count: 3;
  }
  #new_mobile_logo {
    display: none !important;
    /* DEBUG: 08/07 */
  }
  /* SHADOWS AND BORDERS FOR NAV SUBMENUS */
  .submenu-accent {
    box-shadow: 0 16px 48px rgba(0, 0, 0, .175)!important;
    background-clip: border-box !important;
  }
  nav.navbar {
    /* padding-bottom: 8px; */
    padding-top: 0px;
    padding-bottom: 0px;
  }
  td.user_profile img.img-thumbnail {
    float: left !important;
    width: 144px;
  }
  .top-nav-item {
    /* margin-top: 16px; */
    /* margin-top: 8px;
    margin-bottom: 8px; */
    border-bottom: none;
    padding-top: 0px;
    padding-bottom: 0px;
  }
  ul.second {
    margin-left: 0px;
    padding-top: 8px;
  }
  ul.third {
    margin-left: 0px;
    padding-top: 8px;
  }
  .nav-submenu {
    left: 100% !important;
    top: 13px;
    margin-top: -21px !important;
  }
  .nav-submenu li {
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative !important;
  }
  .nav-submenu-li {
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative !important;
    margin-top: 0px !important;
  }
  .nav-submenu-link {
    display: block !important;
  }
  .nav-submenu-item {
    padding-left: 0 !important;
    margin-left: 0px !important;
    display: block !important;
  }
  #main-dropdown-menu {
    max-width: max-content;
    margin-left: auto;
    margin-right: auto;
    line-height: 16px;
  }
  .dropdown-menu .submenu {
    max-width: fit-content;
  }
  .nav-item {
    padding-left: 5px;
    padding-right: 5px;
    font-size: 18px;
    font-weight: 500;
    width: auto;
    margin-top: 0 !important;
  }
  /* NAVBAR UNDERLINE ANIMATE */
  li.nav-item>a.menu-link {
    position: relative;
    text-decoration: none;
  }
  li.nav-item:hover>a.menu-link {
    color: #E7CEA3;
  }
  li.nav-item:hover>a.menu-link:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
  }
  li.nav-item>a.menu-link:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    top: 0;
    background-color: #fff;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
  }
  .nav-link.menu-link {
    display: inline-block;
    white-space: normal;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 15px;
  }
  .nav-link.menu-link span {
    display: inline-flex;
  }
  .chair-message {
    float: right;
    margin: 0 0 10px 20px;
  }
  /* FOOTER MENU CSS */
  #body-container {
    padding-bottom: 200px;
  }
  .page-footer {
    height: 200px;
  }
  .footer-logo {
    padding-right: 60px;
  }
  /* RESEARCH PAGE */
  .research-page-title {
    font-size: 32px;
  }
  button.group-header.collapsed .group-description {
    width: 625px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 991px) {
  .content-wrapper {
    min-width: 94%;
  }
  .sidebar-wrapper {
    width: 94%;
    max-width: 94%;
  }
}

/* Large devices (desktops, 992px and up) */

@media (min-width: 992px) {
  .new-img-responsive {
    width: auto;
    height: 150%;
    max-height: 75px;
    width: auto;
    height: 150%;
    max-height: 75px;
    min-height: 75px;
  }
  #logo {
    margin-left: 16px;
  }
  #main-dropdown-menu {
    margin-left: auto;
    margin-right: auto;
    line-height: 16px;
  }
  .nav-item {
    padding-left: 5px;
    padding-right: 5px;
    font-size: 18px;
    font-weight: 500;
    width: auto;
    margin-top: 0 !important;
  }
  #topbanner #title .ee-header {
    font-size: 130%;
  }
  #topbanner #title .uh-header {
    padding-top: 0;
    font-size: 60%;
  }
  nav.navbar {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding-left: 16px;
    padding-right: 16px;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
  }
  .dropdown-menu.submenu ul {
    width: auto;
  }
  /* ILC CARDS */
  h3.ilc_card_title {
    /* font-size: 24px; */
  }
  .ilc {
    padding-top: 0;
    padding-bottom: 32px;
    position: relative;
    margin-left: 16px;
    max-width: 286px;
    z-index: 2;
    float: right;
  }
  /* RESEARCH PAGES */
  .research-page-title {
    font-size: 40px;
  }
  /* FACULTY  */
  h3.faculty-nav {
    font-size: 27.2px;
  }
  td.user_profile img.img-thumbnail {
    float: left !important;
    /* width: 144px; */
    padding-bottom: 16px;
  }
  /* ETC*/
  .divcover_wrapper {
    text-align: left;
    padding: 3% 8%;
    width: 100%;
  }
  /* NAVBAR UNDERLINE ANIMATE */
  li.nav-item>a.menu-link {
    position: relative;
    text-decoration: none;
  }
  li.nav-item:hover>a.menu-link:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
  }
  li.nav-item>a.menu-link:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    top: 0;
    background-color: #fff;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
  }
  .nav-link.menu-link {
    display: inline-block;
    white-space: normal;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 17px;
  }
  #body-container {
    padding-bottom: 128px;
  }
  /* FOOTER MENU */
  .page-footer {
    height: 128px;
  }
  .footer-logo {
    padding-left: 25px;
    padding-right: 0px;
  }
  button.group-header.collapsed .group-description {
    width: 550px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Extra large devices (large desktops, 1200px and up) */

@media (min-width: 1200px) {
  #topbanner #title .ee-header {
    font-size: 180%;
  }
  #topbanner #title .uh-header {
    font-size: 70%;
  }
  .nav-link.menu-link {
    display: inline-block;
    white-space: nowrap;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  button.group-header.collapsed .group-description {
    width: 750px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .card-columns {
    column-count: 3;
  }
}

/* Extra large devices (large desktops, 1500px and up) */

@media (min-width: 1500px) {
  #menuContainer .container {
    min-width: 699px;
  }
  #topbanner #title .ee-header {
    font-size: 300%;
  }
  #topbanner #title .uh-header {
    font-size: 100%;
  }
}

@media (min-width: 1400px) {}

@media (min-width: 1600px) {
  #menuContainer .container {
    padding-bottom: 320px;
  }
}

@media (min-width: 1900px) {}

@media (min-width: 2400px) {}

/*
::::::::::::::::::::::::::::::::::::::::::::::::::::
Custom media queries
*/

/* only for tablet mode */

@media (min-width: 768px) and (max-width: 991px) {
  #menuContainer {
    max-width: fit-content;
    padding-right: 0px;
    padding-left: 0px;
  }
}

@media only screen and (max-width: 400px) {
  .sidebar-wrapper, .content-wrapper {
    float: none;
    width: 100%;
  }
}