#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;
	}


}.blogitembox {
    border: .5em solid #51a8dd;
    border-radius: 1.5em;
    overflow: hidden;
    height: auto;
    margin: 1em 0;
    background: white;
    display: flex;

    display: block;
}
.blogimg img {
    width: 100%;
    height: auto;
    background-size: cover;
    background-position: center;
}
.blogimg {
    width: 40%;
    float: left;

    width: 100%;
}
.blogtext {
    width: 60%;
    float: left;
    font-size: .9em;
    color: #4e4e4e;
    padding: 1.5em;

    width: 100%;
}
.blogtext .blogdate {
    font-weight: bold;
}
.blogtext h2 {
    margin: 0;
}
.blogtext a {
    color: #51a8dd;
    text-align: right;
    width: 100%;
    display: inline-block;
}
a.bloglink span {
  display: none;
}
a.bloglink span.eng:lang(en-US) {
  display: inline-block;
}
a.bloglink span.cht:lang(zh-hant) {
  display: inline-block;
}
.more-link {
    display: none !important;
}

.pagenavwrap {
    text-align: center;
}
.pagenavwrap span {
    display: inline-block;
		padding: .25em .5em;
}
.pagenavwrap a {
	color: #4e4e4e;
  font-size: .9em;
}
.pagenavwrap a.active {
	color: #51a8dd;
}
.pagenavwrap a i {
    font-size: .7em;
}

.postdate {
	color: #7A7A7A;
}

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

    .blogitembox {
        display: flex;
    }
    .blogimg {
        width: 40%;
    }
    .blogtext {
        width: 60%;
    }

}