@import url("../fonts/notosanshkv31.css");
@import url("bootstrap.min.css");

* {
  font-family: 'Noto Sans HK', sans-serif;
}

body {
  min-height: 100vh;
  position: relative;
  margin: 0;
  padding-bottom: 40px; 
}

footer {
  position: absolute;
  bottom: 0;
  height: 40px;
  text-align: right;
  margin: auto; 
  width: 100vw; 
  max-width: 100%; 
  background-color: black; 
  color: gray;
}


#header {
  margin: 16px 0px 16px 0px;
}

#search {
  padding: 22px 16px 22px 16px;
}

h1
{
  margin-top: 1em;
  margin-bottom: 0.2em;
}
h2
{
  margin-top: 0.5em;
  margin-bottom: 0.1em;
}

.person {
  margin-bottom: 16px;
  padding: 10px 10px 24px 10px;
  border-bottom: 1px dotted #CECECE;
}

.person-text {
  font-size: 1.2em;
}

.author {
  font-weight: bold;
  color: #676767;
}

.source {
  font-size: 0.8em;
  color: #676767;
}

.tag-container,
.area-container,.badge-container {
  text-align: inherit;

}

.badge
{
  margin: 1px; 
}
.badge > img
{
  width: 22px;

}

.tag,
.area {
  border-radius: 2px;
  padding: 2px 3px;
  margin-left: 2px;
  text-align: center;
  font-size: 0.7em;
}

.tag {
  background-color: #fd5859;
  color: #FFFFFF;
}

.area {
  border: solid 1px #b81717;
  color: #b81717;
  ;
  background-color: white;
}

#sidebar {
  padding: 12px;
}

.menu-item {
  cursor: pointer;
}

.menu-item:hover {
  color: #4477AA;
}

#reset-filter {
  cursor: pointer;
  margin-bottom: 24px;
}

#reset-filter:hover {
  color: #4477AA;
}



.person-photo {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;

  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.person-photo-large {
  display: inline-block;
  width: 150px;
  height: 150px;
  border-radius: 50%;

  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}


/* from https://preview.colorlib.com/#smash */

.card {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  height: 400px;
  margin-top: 10px;
  padding-top: 10px;
}

.card>hr {
  margin-right: 0;
  margin-left: 0;
}

.card>.list-group:first-child .list-group-item:first-child {
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.card>.list-group:last-child .list-group-item:last-child {
  border-bottom-right-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.card-body {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1.25rem;
  overflow: hidden;
}

.card-title {
  margin-bottom: 0.75rem;
  font-size: 0.8em;
  font-weight: bold;
}

.card-text:last-child {
  font-size: 0.7em;
  margin-bottom: 0;
}

.card-header {
  padding: 0.75rem 1.0rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header:first-child {
  border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-header+.list-group .list-group-item:first-child {
  border-top: 0;
}

#cards .card {
  border: none;
  -webkit-box-shadow: 0px 11px 30px -9px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0px 11px 30px -9px rgba(0, 0, 0, 0.05);
  box-shadow: 0px 11px 30px -9px rgba(0, 0, 0, 0.05);
}

#cards .card .card-header {
  border: none;
  background: #343a40;
  color: #fff;
}

#cards .icon-wrap {
  position: relative;
}

#cards .icon-wrap .icon {
  width: 60px;
  height: 60px;
}

#cards .icon-wrap .icon span {
  font-size: 20px;
}

#cards .icon-wrap .icon.bg-info {
  border: 5px solid #92dcfe;
}

#cards .icon-wrap .icon.bg-success {
  border: 5px solid #baf2ce;
}

#cards .icon-wrap .icon.bg-warning {
  border: 5px solid #ffefd6;
}

.card-img-top {
  width: 90%;
  min-height: 50px;
  height: 5vw;
  object-fit: contain;
  align-self: center;
}


img.background {
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: -1;
  width: 100%;
  -webkit-filter: blur(5px);
  /* Safari 6.0 - 9.0 */
  filter: blur(5px);
}

a
{
  color: #b81717;

}
a:hover, a:visited
{
  color: #fd5859;
}

.roundicon
{
  border-radius: 100%;background-size: cover;background-position: center center;height: 150px;width:150px; 
}

.shortroundicon
{
  border-radius: 100%;background-size: cover;background-position: center center;height: 150px;width:150px; 
  height: 30px;width:30px;display: inline-block;
}