/* homeCarousel */
/* Variables */
@media (min-width: 768px) {
  main.homepage {
    margin-top: 20px !important;
  }
}
main.homepage a:hover {
  text-decoration: none;
}
#homeCarouselContainer {
  padding: 0;
}
@media (min-width: 768px) {
  #homeCarouselContainer {
    padding: 0 15px 0 0;
  }
}
#homeCarousel {
  background-color: #b9a771;
  background-image: url(/20221212000642oe_/http://www.phil.arts.cuhk.edu.hk/web/wp-content/themes/cuhk/images/home_carousel_bg.gif);
  background-position: center center;
}
#homeCarousel .left,
#homeCarousel .right {
  background: none;
}
#homeCarousel div.item {
  width: 100%;
  height: 200px;
}
@media (min-width: 768px) {
  #homeCarousel div.item {
    width: 705px;
    height: 400px;
  }
}
#homeCarousel figure {
  position: absolute;
  top: 50%;
  left: 25%;
  width: 125px;
  height: 160px;
  margin-top: -80px;
  margin-left: -62px;
}
@media (min-width: 768px) {
  #homeCarousel figure {
    width: 250px;
    height: 320px;
    margin-top: -160px;
    margin-left: -125px;
  }
}
#homeCarousel figure img {
  display: block;
  margin: 0 auto;
  /*max-width: 100%;*/
  width: auto;
  max-height: 100%;
  -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.3);
}
#homeCarousel .carousel-indicators {
  bottom: 10px;
}
#homeCarousel .carousel-control {
  width: 10%;
  color: #73216d;
  opacity: 1;
}
#homeCarousel .carousel-caption {
  position: absolute;
  /* right: 15%; */
  top: 0px;
  left: 45%;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #333333;
  text-align: left;
  text-shadow: none;
  font-size: 12px;
  line-height: 14px;
  max-height: 200px;
  overflow: hidden;
}
@media (min-width: 768px) {
  #homeCarousel .carousel-caption {
    top: 40px;
    font-size: 14px;
    line-height: 16px;
    max-height: 320px;
  }
}
@media (min-width: 960) {
  #homeCarousel .carousel-caption {
    width: 45%;
  }
}
#homeCarousel .carousel-caption time {
  font-weight: bold;
  color: white;
  background-color: #867a46;
  padding: 2px 5px;
}
@media (min-width: 768px) {
  #homeCarousel .carousel-caption time {
    padding: 3px 5px;
  }
}
#homeCarousel .carousel-caption h1 {
  font-size: 16px;
  line-height: 16px;
  margin: 5px 0;
  color: #333333;
}
@media (min-width: 768px) {
  #homeCarousel .carousel-caption h1 {
    font-size: 22px;
    line-height: 32px;
    margin: 10px 0;
  }
}
#homeCarousel .carousel-caption a.learnMore {
  font-weight: bold;
  color: white;
  background-color: #73216d;
  padding: 3px 8px;
  border-radius: 3px;
}
#homeCarousel .carousel-caption a.learnMore:after {
  content: "\e080";
  font-family: 'Glyphicons Halflings';
  font-weight: normal;
  font-size: 9px;
  margin-left: 3px;
}
@media (min-width: 768px) {
  #homeCarousel .carousel-caption a.learnMore:after {
    font-size: 12px;
  }
}
#homeCarousel .carousel-caption a.learnMore:hover {
  text-decoration: none;
  background-color: #53154e;
}
#moreNews {
  padding: 10px;
  font-size: 14px;
  text-transform: uppercase;
}
#moreNews a {
  color: #73216d;
}
#banners {
  display: flex;
  justify-content: center;
  padding: 0;
}
@media (min-width: 768px) {
  #banners {
    display: block;
    padding: 0 0 0 15px;
  }
}
#banners figure {
  width: 50%;
  margin: 0 auto;
  position: relative;
  float: left;
}
@media (min-width: 768px) {
  #banners figure {
    width: 100%;
    margin-bottom: 20px;
  }
}
#banners figure figcaption {
  position: absolute;
  width: 100%;
  background-color: rgba(185, 167, 113, 0.9);
  color: white;
  font-size: 12px;
  padding: 5px 10px;
}
@media (min-width: 768px) {
  #banners figure figcaption {
    font-size: 20px;
  }
}
#banners figure figcaption:after {
  content: "\e080";
  font-family: 'Glyphicons Halflings';
  font-weight: normal;
  font-size: 12px;
  margin-top: 1px;
  color: #73216d;
  float: right;
}
@media (min-width: 768px) {
  #banners figure figcaption:after {
    font-size: 14px;
    margin-top: 3px;
  }
}
#banners figure img {
  max-width: 100%;
  height: auto;
}
/*
#banners .promoBanner {
  background-color: #e9e1ca;
  padding: 10px;
}
@media (min-width: 768px) {
  #banners .promoBanner {
    padding: 0;
  }
}

#banners .promoBanner figure {
  width: 50%;
  margin: 0 auto;
}
@media (min-width: 768px) {
  #banners .promoBanner figure {
    width: 100%;
  }
}
#banners .titledBanner figure {
  position: relative;
  width: 50%;
  float: left;
}
@media (min-width: 768px) {
  #banners .titledBanner figure {
    width: 100%;
    margin-top: 20px;
  }
}
#banners .titledBanner figure figcaption {
  position: absolute;
  width: 100%;
  background-color: rgba(185, 167, 113, 0.9);
  color: white;
  font-size: 12px;
  padding: 5px 10px;
}
@media (min-width: 768px) {
  #banners .titledBanner figure figcaption {
    font-size: 20px;
  }
}
#banners .titledBanner figure figcaption:after {
  content: "\e080";
  font-family: 'Glyphicons Halflings';
  font-weight: normal;
  font-size: 12px;
  margin-top: 1px;
  color: #73216d;
  float: right;
}
@media (min-width: 768px) {
  #banners .titledBanner figure figcaption:after {
    font-size: 14px;
    margin-top: 3px;
  }
}
#banners img {
  max-width: 100%;
  height: auto;
}
*/
