/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-top: 4.4rem;
  font-family: Arial, "Hiragino Sans GB", 冬青黑, "Microsoft YaHei", 微软雅黑, SimSun, 宋体, Helvetica, Tahoma, "Arial sans-serif";
  color: #333;
}

h1,h2,h3,h4,h5,h6 {
  color: #111
}

dl,p {
  font-size: 1.1rem;
  font-weight: 300
}


.logo {
  width: 150px;
  height: 45px;
  margin: 0;
  padding: 0;
  background-image: url('/assets/img/logo.png')
}

.zd-title {
  margin-top: 1rem;
  margin-bottom: .5rem;
  font-weight: 300
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 32rem
}

#homeCarousel .carousel-item img {
  position: absolute;
  top: 0;
  margin-left: 50%;
  left: -960px;
  width: 1920px;
  height: 32rem
}

.btn-primary {
  background-color: #23ac38;
  border-color: #23ac38;
}

.btn-primary:hover {
  color: #fff;
  background-color: #1c8f2e;
  border-color: #167124
}

.btn-primary {
  color: #fff;
  background-color: #23ac38;
  border-color: #23ac38
}

.btn-primary:hover {
  color: #fff;
  background-color: #1c8f2e;
  border-color: #167124
}

.btn-primary.focus,
.btn-primary:focus {
  box-shadow: 0 0 0 .2rem rgba(35, 172, 56, .5)
}

.btn-primary.disabled,
.btn-primary:disabled {
  color: #fff;
  background-color: #23ac38;
  border-color: #23ac38
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #167124;
  border-color: #1a892b
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 .2rem rgba(35, 172, 56, .5)
}

.chapternav {
  background: rgba(242, 242, 242, 0.7);
  overflow: hidden;
  padding: 0;
  padding-top: 12px;
  padding-bottom: 12px;
  position: relative;
  text-align: center;
  width: 100%;
  height: 100px
}

.chapternav-wrapper {
  position: relative;
  height: 100%;
  z-index: 1
}

.chapternav-items {
  list-style: none;
  margin: 0 34px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 50px;
  white-space: nowrap
}

@media only screen and (orientation: landscape) {
  .chapternav-items {
    padding-bottom: 49px
  }
}

html.touch .chapternav-items {
  margin: 0;
  padding-left: 34px;
  padding-right: 34px
}

.chapternav-item {
  display: inline-block;
  vertical-align: top;
  margin: 0 -.11765em;
  padding: 0 20px
}

.chapternav-item:first-child {
  margin-left: 0;
  padding-left: 0
}

.chapternav-item:last-child {
  margin-right: 0;
  padding-right: 0
}

.chapternav-icon {
  background: center bottom no-repeat;
  display: block;
  margin: 0 auto 6px;
  height: 54px
}

.chapternav-label {
  font-size: 11px;
  line-height: 1.09091;
  font-weight: 400;
  letter-spacing: -.008em;
  display: block;
  margin: 0
}

.chapternav-item-early-education .chapternav-icon {
  width: 54px;
  height: 54px;
  background-size: 54px 54px;
  background-repeat: no-repeat;
  background-image: url("/assets/img/box/icon-early-education.svg")
}

.chapternav-item-enter-garden .chapternav-icon {
  width: 54px;
  height: 54px;
  background-size: 54px 54px;
  background-repeat: no-repeat;
  background-image: url("/assets/img/box/icon-enter-garden.svg")
}

.chapternav-item-life .chapternav-icon {
  width: 54px;
  height: 54px;
  background-size: 54px 54px;
  background-repeat: no-repeat;
  background-image: url("/assets/img/box/icon-life.svg")
}

.chapternav-item-derivative .chapternav-icon {
  width: 54px;
  height: 54px;
  background-size: 54px 54px;
  background-repeat: no-repeat;
  background-image: url("/assets/img/box/icon-derivative.svg")
}

.chapternav-item-eq .chapternav-icon {
  width: 54px;
  height: 54px;
  background-size: 54px 54px;
  background-repeat: no-repeat;
  background-image: url("/assets/img/course/icon-eq.svg")
}

.chapternav-item-activities .chapternav-icon {
  width: 54px;
  height: 54px;
  background-size: 54px 54px;
  background-repeat: no-repeat;
  background-image: url("/assets/img/course/icon-activities.svg")
}

.chapternav-link {
  color: #111;
  display: block;
  margin-top: 3px;
  padding: 0;
  position: relative;
  z-index: 1
}

.chapternav-link:hover {
  color: #0070c9;
  text-decoration: none
}

.chapternav-link:focus {
  outline-offset: 0
}

.chapternav-link.current {
  color: #111;
  cursor: default;
  opacity: .6
}

/* Featurettes
------------------------- */

.featurette-divider {
  margin: 3rem 0;
  /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05rem;
  margin-bottom: 1 rem
}

.bd-title {
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 300
}

.ryb-logo {
  width: 200px;
  height: 35px;
  background-image: url('/assets/img/ryb_logo.png')
}

.footer {
  margin-top: 30px;
  margin-bottom: 0;
  padding-top: 60px;
  padding-bottom: 30px;
  background-color: #343a40;
}

.footer p {
  font-size: 14px;
  color:rgba(255,255,255,.5)
}

.footer h5 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 20px;
  font-weight: 700
}

.footer a {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  text-decoration: none
}

.footer a:hover {
  color: rgba(255,255,255,.7)
}

.footer ul li {
  margin: 5px 0
}

.footer-alt {
  border-top: 1px solid rgba(255,255,255,.2);
  margin-top: 10px;
  padding-top: 20px
}

.footer .weibo {
  padding-left:30px;
  background-image: url('/assets/img/weibo_icon.png');
  background-repeat: no-repeat;
  background-size: 25px 25px;
  opacity: .8;
  line-height: 25px
}

.footer .wechat img {
  width: 140px;
  height: 140px;
  opacity: .8;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4
  }

  .featurette-heading {
    font-size: 30px
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem
  }
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
not all,
not all {
  .logo {
    background-image: url('/assets/img/logo@2x.png');
    background-size: 150px 45px
  }
}