@charset "UTF-8";

/**

Good Practices of Undergradute Programme Review

Copyright 2019 CUHK CLEAR

Jimmy Chu - jimmychu@link.cuhk.edu.hk

Last updated 20/06/2019

**/

* {
  margin: 0;
  min-height: 0.01px;
}


.footer {
  max-width: var(--content-width);
  margin: 0 auto;
}

.link-strip,
.link-strip:hover {
  color: #000;
  text-decoration: none;
}

body {
  height: 100%;
  padding-bottom: 120px;
}

:root {
  --content-width: 80rem;
  --margin: 1rem;
  --color: #D8D8D8;
  --highline-color: #EDF3E7;
  --main-color: #486928;
}

.card-color {
  background-color: #EDF3E7;
}

*,
*:after,
*:before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

.navbar-custom {
  background-color: var(--highline-color);
}

html {
  position: relative;
  min-height: 100%;
  font-size: 12px;
  margin-bottom: 65px;
  font-family: helvetica Neue, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #262628;
}

.header,
.main,
.menu {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--margin);
}

.menu {
  display: inline-block;
}

.header {
  padding: var(--margin);
  padding-top: 20px;
  display: grid;
  grid-template-columns: auto auto;
}

.header h1 {
  font-size: 2rem;
  font-weight: 600;
}

.header figure {
  text-align: right;
}

.header figure img {
  max-height: 5rem;
  width: inherit;
  margin-left: 2rem;
}

.header figure img:last-child {
  max-height: 5rem;
  width: inherit;
  margin-left: 2rem;
  padding-right: 10px;
}

.header figure a {
  max-height: 5rem;
  width: inherit;
  margin-left: 2rem;
}

.header figure a:last-child {
  max-height: 5rem;
  width: inherit;
  margin-left: 2rem;
  padding-right: 10px;
}

.main {
  padding-top: 1rem;
  margin-bottom: 65px;
}

.dropdown-item.active,
.dropdown-item:active {
  color: #000;
  background-color: var(--highline-color);
  border-color: #fff;
}

.main.videopage article {
  margin: 0 auto;
}

.main.videopage article h1 {
  font-size: 1.5rem;
}

.main.videopage article p {
  margin-top: 2rem;
}
.main.textpage article {
  margin: 0 auto;
}

.main.textpage article h1 {
  font-size: 1.5rem;
}

.main.textpage article p {
  margin-top: 2rem;
}

@media screen and (max-width: 60rem) {
  :root {
    --content-width: 100%;
  }

  .header {
    margin-top: cal(var(--margin)/2);
    grid-template-columns: auto auto;
  }

  .header figure {
    margin: 0;
    margin-top: 1rem;
    text-align: right;
  }

  .main {
    padding-top: 1rem;
  }
}
