#section-h5, #section-h6 {
    height: 0;
}

.home-s1 .elementor-column-wrap {
  background-size: 100% 100%;
}
.home-s1-head p {
    margin: 0;
}

.bannertext {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.bannertext > div {
    position: relative;
    top: 45%;
    opacity: 0;
    margin-left: -10%;
}
.bannertext.active > div {
    transition: margin-left .5s;
    opacity: 1;
    margin-left: 0;
}
.bannertext p {
  margin-bottom: 0;
  font-size: 2.5vw;
  line-height: 1.1;
  text-align: center;
  color: white;
  font-weight: bold;
  text-shadow: 0px 0px 15px rgba(0,0,0,0.5);
}
.bannertext.mobile p {
    font-size: 5.5vw;
    letter-spacing: .1em;
    text-shadow: 0px 0px 5px rgba(0,0,0,0.5);
}
.bannertext.mobile > div {
    top: 51%;
}

.head p {
    margin-bottom: .25em;
}

.bannerimgtext img {
    opacity: 0;
    margin-left: -10%;
}
.bannerimgtext.active img {
    transition: all .5s;
    opacity: 1;
    margin-left: 0;
}

.s2bbox {

}
.s2bboximg {
  border-top-left-radius: 2.5em;
  border-top-right-radius: 2.5em;
  overflow: hidden;
}
.s2bboxtext a {
  display: block;
  font-size: 1.75em;
  line-height: 2.5;
  background: white;
  color: #51a8dd;
  width: 100%;
  height: 2.5em;
  border-radius: 1.25em;
  margin-top: -1.25em;
  text-align: center;
  transition: all .25s;
}
.s2bboxtext a:hover, .s2bboxtext a:focus, .s2bboxtext a:active {
/*
  background: #51a8dd;
  color: white;
  */
}
.s2bboxtext p {
  margin: 0;
}
#section-2 {
  background: #f8f3f1;
}
.s2bbox {
    /*max-width: 400px;
    margin: 0 auto;*/
}
.s2-b > div > div {
  /*margin-left: -10px;
  margin-right: -10px;
  width: calc(100% + 20px);*/
}
.s2bbox > div {
    transition: transform .25s !important;
    transform: scale(1);
}
.s2bbox > div:hover {
    transform: scale(.95);
}

/**vaccination**/
.vaccinationwrap > div {
    margin: 0 -30px;
    width: calc(100% + 60px);
	overflow-x: auto;
}
.vaccinationwrap img {
    min-width: 1000px;
	margin-right: 30px;
}

.paga ul,
.paga ol {
    margin-left: 1em;
}

@media screen and (min-width:768px) {

    .site-content {
        background-color: #f8f5f3;
        background-image: url(//paedicare.com.hk/wp-content/uploads/bg-contactus.jpg);
        background-size: 100% auto;
        background-position: center bottom;
        background-repeat: no-repeat;
    }

    #section-2 {
      background: none;
      padding-bottom: 0;
    }
    .s2bbox {
      max-width: none;
    }

    .s2-b > div > div {
      margin-left: -20px;
      margin-right: -20px;
      width: calc(100% + 40px);
    }
	

}

@media screen and (min-width: 1025px) {

  .s2-b .elementor-row {
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
  .s2bbox {
    width: 50% !important;
  }
  #section-2 {
    background: none;
    padding-bottom: 0;
  }
  .s2-b > div > div {
    margin-left: -30px;
    margin-right: -30px;
    width: calc(100% + 60px);
  }
	


}

@media screen and (min-width: 1281px) {

	.s2-b .elementor-row {
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
  .s2bbox {
    width: 33.3333% !important;
  }
	
	.vaccinationwrap > div {
		margin: 0;
		width: 100%;
		overflow-x: unset;
	}
	.vaccinationwrap img {
		min-width: unset;
		margin-right: 0;
	}


}.btback {
  margin-top: -1.75em;
}
.btback p {
  margin: 0;
}
.btback a {
  position: relative;
  display: inline-block;
  color: transparent;
}
.btback a:after {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  font-family: "FontAwesome";
  content: "\f053";
  width: 1.75em;
  height: 1.75em;
  text-align: left;
  color: #51a8dd;
}

.subhead {

}
.subhead h1 {
  display: inline-block;
  background: white;
  margin: 0;
  margin-top: 0px;
  line-height: 1;
  padding: .75em 2em;
  border-radius: 1.5em;
}

.s2imgwrap > div > div {
    margin-left: -7.5px;
    margin-right: -7.5px;
    width: calc(100% + 15px);
}

.pediatriclinkbox {

}
.pediatriclinkbox a {
  display: block;
  font-size: 1.75em;
  line-height: 3;
  background: white;
  color: #51a8dd;
  width: 100%;
  height: 3em;
  border-radius: 1.5em;
  text-align: center;
  position: relative;
}
.pediatriclinkbox-disable-link .pediatriclinkbox a {
  pointer-events: none;
  cursor: default;
}
.pediatriclinkbox a:after {
/*
  position: absolute;
  display: block;
  right: 0;
  top: 0;
  height: 3em;
  width: 3em;
  text-align: center;
  font-family: "FontAwesome";
  content: "\f054";
*/
}

#section-4.s4-pediatric {
  padding-top: 30px !important;
}

@media screen and (min-width:768px) {

  .s2imgbox div {
    height: 100%;
  }
  .s2imgbox img {
    height: 100%;
    width: 100%;
    display: block;
  }

  #section-4.s4-pediatric {
    padding-top: 0 !important;
  }


}

@media screen and (min-width: 1025px) {

  #section-4.s4-pediatric {
    padding-top: 0 !important;
  }

}