/* --------------------------------
Page: Non-Hero
-------------------------------- */
#chc_page h3,
#chc_page h4 {
  text-transform: uppercase;
  margin-bottom: 0;
  color: #1282e9;
  line-height: 1.6;
}
#chc_page h4 {
  font-size: 1em;
}

/* --------------------------------
Page: Hero Image
-------------------------------- */
#chc_hero-image {
  /* background-position: center center; */
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  text-align: center;
  color: #fff;
}
.hero-image {
  height: 45vh;
  background-position: center center;
  background-attachment: scroll;
}
.hero-image-positionTop {
  background-position: center top;
}
.hero-image-positionBtm {
  background-position: center bottom;
}
@media only screen and (min-width: 769px) {
  .hero-image {
    height: 55vh;
  }
  .hero-image-positionUp {
    background-position: center -15vh;
  }
}
/* --------------------------------
Home > Bulletin
-------------------------------- */
.chc_bulletin-download {
  padding: 0;
  text-align: right;
}
.chc_bulletin-download a {
  color: #333;
  font-weight: 300;
  margin-right: 15px;
  margin-top: 85px;
  display: inline-block;
}
/* --------------------------------
About > CHC In Culture
-------------------------------- */
.chc_page-chc-in-culture h3 {
  margin-bottom: 0;
  line-height: 1;
}
.chc_page-chc-in-culture h3 .small {
  color: #333;
}
.chc_page-chc-in-culture .chcsa {
  font-size: 1em;
}
@media only screen and (min-width: 768px) {
  .chc_page-chc-in-culture .chcsa {
    font-size: 1.3em;
  }
}
/* --------------------------------
About > AGM 2016
-------------------------------- */
.btn-agm-report {
  margin-top: 0.5em;
  text-align: center;
}
.btn-kong-hee,
.btn-gallery-years {
  margin-top: 0.5em;
  text-align: right;
}
.btn-agm-report a[role="button"],
.btn-kong-hee a[role="button"],
.btn-gallery-years a[role="button"] {
  font-size: 0.65em;
}
@media only screen and (min-width: 768px) {
  .btn-agm-report a[role="button"],
  .btn-kong-hee a[role="button"],
  .btn-gallery-years a[role="button"] {
    font-size: 0.9em;
  }
}
/* --------------------------------
Terms And Conditions
-------------------------------- */
.chc_page-terms .container ol li {
  font-size: 0.9em;
}
.chc_page-terms .container ol li ol li,
.chc_page-terms .container ol li ol li ol li {
  font-size: 1em;
}
.chc_page-terms span {
  font-weight: 700;
}
.chc_page-terms span#chc_breadcrumbs {
  font-weight: 400;
}
.chc_page-terms footer span {
  font-weight: 300;
}
.chc_page-terms ol {
  counter-reset: item;
  margin-top: 0.8em;
  margin-left: -1em;
}
.chc_page-terms ol li {
  list-style: none;
  margin-left: 10px;
}
.chc_page-terms ol li:before {
  content: counters(item, ".")".";
  counter-increment: item;
  margin-left: -60px;
  margin-right: 10px;
  text-align: right;
  display: inline-block;
  width: 50px;
  font-weight: 700;
}
.chc_page-terms ol.list-lower-latin li:before {
  list-style-type: lower-latin;
}
.chc_page-terms ol li ol li:before {
  font-weight: 300;
}
/* --------------------------------
About > Special Notices
-------------------------------- */
#chc_page-special-notices h4 {
  margin-top: 0.8rem;
}
.notices-date {
  /* font-size: 0.8em; */
  margin-top: 0.8rem;
}
@media only screen and (min-width: 768px) {
  .notices-date {
    text-align: right;
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 0.8rem;
  }
}
ol.list-lower-latin {
  counter-reset: item;
  font-weight: 300;
}
ol.list-lower-latin li {
  list-style: none;
  margin-left: 10px;
  font-weight: 300;
}
ol.list-lower-latin li:before {
  content: "(" counter(item, lower-latin) ") ";
  counter-increment: item;
  margin-left: -60px;
  margin-right: 10px;
  text-align: right;
  display: inline-block;
  width: 50px;
}
ol.list-bold {
  font-weight: 700;
}
ol.list-bold li p:nth-child(n+1) {
  margin-top: 1em;
}
/* --------------------------------
Services
-------------------------------- */
.chc_page-pdpa .container ol li {
  font-size: 0.9em;
}
.chc_page-pdpa .container ol li ol li,
.chc_page-pdpa .container ol li ol li ol li {
  font-size: 1em;
}
.chc_page-pdpa span {
  font-weight: 700;
}
.chc_page-pdpa span#chc_breadcrumbs {
  font-weight: 400;
}
.chc_page-pdpa footer span {
  font-weight: 300;
}
.chc_page-pdpa ol {
  counter-reset: item !important;
  margin-top: 0.8em;
  margin-left: -1em;
}
.chc_page-pdpa ol li {
  list-style: none;
  margin-left: 10px;
}
.chc_page-pdpa ol li:before {
  content: counters(item, ".")"."!important;
  counter-increment: item!important;
  margin-left: -60px;
  margin-right: 10px;
  text-align: right;
  display: inline-block;
  width: 50px;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
}
.chc_page-pdpa ol li ol li:before {
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
/* --------------------------------
About > Our Founders
-------------------------------- */
#chc_page-founders {
  margin-bottom: 149px;
  margin-top: 49px;
}
.founders {
  background-image: url("../img/page-founders/city-harvest-founders.jpg");
  background-repeat: none;
  background-position: center top;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  height: calc(100vh - 49px);
  padding-left: 0;
  padding-right: 0;
  margin: 0 auto;
  margin-top: 30px;
}
.founders div {
  background-color: rgba(0, 0, 0, 0.5);
  margin-top: 65vh;
  text-align: center;
  position: absolute;
  width: 100%;
  padding: 10px 0;
}
.founders h3 {
  color: #fff;
  margin-top: 0;
}
@media only screen and (min-width: 768px) {
  .founders {
    height: calc(100vh - 49px);
  }
  .founders div {
    width: 360px;
    margin-top: 75vh;
  }
  .founders h3 {
    font-size: 30px;
  }
}
@media only screen and (min-width: 1170px) {
  .founders {
    background-position: center -50px;
  }
  .founders div {
    margin-left: 10vw;
  }
}

#chc_page-kong-hee .hero-image {
  height: 65vh;
}
#chc_page-sun-ho .hero-image {
  height: 55vh;
}
@media only screen and (min-width: 768px) {
  #chc_page-sun-ho .hero-image {
    height: 65vh;
  }
}
.hero-image-kong-hee-1 {
  background-position-x: right;
}
.hero-image-kong-hee-2,
.hero-image-sun-ho-1 {
  background-position-x: left;
}
.hero-image-kong-hee-3 {
  position: relative;
}
.hero_kong-hee-text {
  background: rgba(0,0,0,0.5);
  padding: 20px;
  position: absolute;
  bottom: 0;
  width: 100vw;

}
.hero_kong-hee-text p {
  max-width: 750px;
  margin: 0 auto;
}
/* --------------------------------
Services
-------------------------------- */
.chc_page-plan-a-visit h2 {
  margin-top: 0;
}
.chc_page-plan-a-visit h3 {
  margin: 0;
  line-height: 1.1;
}
.playgroup-age {
  font-size: 0.75em;
  line-height: 2;
}
p.bigger, strong.bigger {
  font-size: 1.2em;
}
@media only screen and (min-width: 768px) {
  .playgroup-age {
    font-size: 0.9em;
  }
  strong.bigger {
    font-size: 1.1em;
  }
}
.chc_page-plan-a-visit-info .list-unstyled {
  padding-left: 1em;
}
.chc_page-plan-a-visit-info .list-unstyled i.fa {
  margin-right: 0.5em;
}
.chc_page-plan-a-visit-info .list-unstyled li a,
#chc_page-kong-hee .list-unstyled li a {
  color: #333;
}
.chc_page-plan-a-visit-info .list-unstyled li a:hover,
.chc_page-plan-a-visit-info .list-unstyled li a:focus,
.chc_page-plan-a-visit-info .list-unstyled li a:active
#chc_page-kong-hee .list-unstyled a:hover,
#chc_page-kong-hee .list-unstyled li a:hover,
#chc_page-kong-hee .list-unstyled li a:focus,
#chc_page-kong-hee .list-unstyled li a:active {
  color: #1282e9;
}
.chc_page-plan-a-visit-info h4 {
  line-height: 1.6;
}
#chc_page-calendar h4 {
  line-height: 1.6;
  color: #1282e9;
  margin: 0;
}
#chc_page-calendar .location {
  font-size: 0.9em;
}
.page_calendar-select-box1 {
  margin-bottom: 0.5em;
  border: 2px solid #1282e9;
}
.month-box {
  background-color: #1282e9;
  font-size: 0.9em;
  border-radius: 1em;
  padding: 0.5em;
  overflow: hidden;
  max-width: 100px;
}
.month-box span {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}
.month-box span.month {
  display: block;
}
.month-box span.date {
  font-size: 1.1em;
  display: block;
}
.month-box span.monthdate {
  font-size: 0.95em;
  display: block;
}
@media only screen and (min-width: 321px) {
  .month-box span.month {
    font-size: 0.95em;
    display: block;
  }
  .month-box span.date {
    font-size: 1.4em;
    display: block;
  }
  .month-box span.monthdate {
    font-size: 1.1em;
    display: block;
  }
}
@media only screen and (min-width: 768px) {
  .month-box {
    min-height: 80px;
    padding-top: 0.9em;
  }
  #chc_page-calendar h4 {
    font-size: 1.1em;
  }
}
/* --------------------------------
Connect > Become a Member
-------------------------------- */
#chc_page-become-a-member .box,
#chc_page-mission-trip .box,
#chc_page-serve-in-a-ministry .box,
#chc_page-city-connexion .box,
#chc_page-bible-study .box,
#chc_page-baby-dedication .box,
#chc_page-baby-dedication-class .box,
#chc_page-parenting-workshops .box,
#chc_page-newcomer-signup .box {
  margin-right: 0.5em;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
#chc_page-become-a-member .box:nth-last-child(1),
#chc_page-mission-trip .box:nth-last-child(1),
#chc_page-serve-in-a-ministry .box:nth-last-child(1),
#chc_page-city-connexion .box:nth-last-child(1),
#chc_page-bible-study .box:nth-last-child(1),
#chc_page-baby-dedication .box:nth-last-child(1),
#chc_page-baby-dedication-class .box:nth-last-child(1),
#chc_page-parenting-workshops .box:nth-last-child(1),
#chc_page-newcomer-signup .box:nth-last-child(1) {
  margin-right: 0;
}
/* --------------------------------
Connect > Join A Group
-------------------------------- */
#div_join-cg, #div_join-fsg {
  margin-top: 1em;
}
#btn_cg, #btn_fsg {
  margin: 0 0.2em;
  margin-top: -1px;
}
/* --------------------------------
Media > CityWorship
-------------------------------- */
#chc_page-cityworship a h4 {
  font-size: 1.1em;
  line-height: 1.6;
  color: #1282e9;
  text-transform: uppercase;
  margin-bottom: 0;
}
#chc_page-cityworship h4 {
  margin-top: 1em;
  margin-bottom: 0;
}
#chc_page-cityworship a h4:nth-last-child(1) {
  margin-bottom: 1em;
}
/* --------------------------------
Media > Photo Gallery
-------------------------------- */
#chc_page-gallery .smallerColPadding div {
  padding-left: 7px;
  padding-right: 7px;
}
#chc_page-gallery p {
  line-height: 1.4;
  display: inline-block;
  padding: 0.2em;
}
#chc_page-gallery p.gallery--month {
  text-transform: uppercase;
  color: #666;
  min-height: 1em;
  font-weight: 700;
  padding-bottom: 0;
  margin-bottom: 0;
}
@media only screen and (min-width: 768px) {
  #chc_page-gallery p {
  }
  #chc_page-gallery p.gallery--month {
  }
}
#gallery--links a {
  color: #333;
}
#gallery--links a:hover {
  color: #1282e9;
}
.chc_page-gallery-modal .smallerColPadding img {
  padding-left: 7px;
  padding-right: 7px;
  margin-bottom: 14px;
}
.chc_page-gallery-modal .modal-header {
  display: none;
}
.chc_page-gallery-modal .modal-body {
  padding: 2px;
}
.chc_page-gallery-modal .ekko-lightbox-nav-overlay a {
  font-size: 15px;
}
.gallery-mobile {
    display: block;
}
.gallery-desktop {
  display: none;
}
@media only screen and (min-width: 768px) {
  .gallery-mobile {
    display: none;
  }
  .gallery-desktop {
    display: block;
  }
  .chc_page-gallery-modal .modal-body {
    padding: 15px;
  }
  .chc_page-gallery-modal .ekko-lightbox-nav-overlay a {
    font-size: 30px;
  }
}
/* --------------------------------
Media > Media Downloads
-------------------------------- */
.media-downloads-album div {
  text-align: center;
}
.media-downloads-album div img {
  margin: 0 auto;
}
.media-downloads-album p {
  font-size: 0.7em;
  line-height: 1.4;
  min-height: 7.2em;
  display: inline-block;
  padding: 0.2em;
}
.media-downloads-album a {
  color: #333;
}
.media-downloads-album a:hover {
  color: #1282e9;
}
/* --------------------------------
Media > Media Downloads > Album Page + CityWorship Downloads
-------------------------------- */
.chc_chinese-title {
  margin-bottom: 0.2em;
  margin-top: 0.2em;
  font-size: 32px;
}
.table-download-list,
.table-download-list > table > tbody > tr > td {
  line-height: 1.6;
}
.table-download-list > table {
  max-width: 500px;
  margin: 0 auto;
  margin-bottom: 1em;
}
.table-download-list > table > tbody > tr > td {
  border-top: 1px solid #eee;
  font-size: 0.9em;
}
.table-download-list > table > tbody > tr > td.small {
  font-size: 0.8em;
}
.table-download-list > table > tbody > tr > td:not(:nth-child(-n+2)),
.cityworship-downloads > table > tbody > tr > td:not(:nth-child(1)),
.table-download-list > table > tbody > tr:nth-last-child(1) > td:nth-last-child(1) {
  text-align: center;
}
.table-download-list > table > tbody > tr:nth-child(1) > td {
  border-top: none;
}
.table-download-list > table > tbody > tr > td > a {
  color: #333;
  display: inline-block;
}
.table-download-list > table > tbody > tr > td > a:hover {
  color: #1282e9;
}
.table-download-list .rwd-break {
  display: block;
}
.table-download-list .small {
  text-align: center;
}
@media (max-width: 320px) {
  .table-download-list > table {
    max-width: 290px;
    width: 290px;
  }
  .table-download-list > table > tbody > tr > td {
    padding: 3px;
  }
  .table-download-list .rwd-break {
    display: none;
  }
}
@media only screen and (min-width: 768px) {
  .table-download-list .rwd-break {
    display: none;
  }
  .table-download-list .small {
    font-size: 90%;
    width: 50px;
  }
}
@media only screen and (min-width: 1170px) {
  .downloads-list a span {
    display: inline-block;
  }
}
/* --------------------------------
Contact > Contact Us
-------------------------------- */
.contact_office-details {
  font-size: 0.8em;
}
/* --------------------------------
Members Portal Home
-------------------------------- */
.members-cards {
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 1em;
  font-size: 0.95em;
}

.members-cards img {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

/* Ministry Photo Border Radius */
#chc_page-serve-in-a-ministry .col-lg-push-4 img {
  border-radius: 1rem;
}
