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


}input[type="date"], input[type="time"],
input[type="datetime-local"], input[type="week"],
input[type="month"], input[type="text"],
input[type="email"], input[type="url"],
input[type="password"], input[type="search"],
input[type="tel"], input[type="number"],
input[type="checkbox"],
textarea {
    border: 1px solid #b5b5b6;
    border-radius: .5em;
    background: white;
    margin-bottom: 1.5em;
    color: #959595;
}
input[type="date"]:focus, input[type="time"]:focus,
input[type="datetime-local"]:focus,
input[type="week"]:focus, input[type="month"]:focus,
input[type="text"]:focus, input[type="email"]:focus,
input[type="url"]:focus, input[type="password"]:focus,
input[type="search"]:focus, input[type="tel"]:focus,
input[type="number"]:focus,
input[type="checkbox"]:focus,
textarea:focus {
    border: 1px solid #959595;
    color: #959595;
}
input[type="submit"], input[type="submit"]:hover {
    background: white;
    color: #959595;
    border: 1px solid #959595;
    border-radius: .5em;
    padding: .75em 2em;
    font-weight: normal;
}
input[type=checkbox]
{
  /* Double-sized Checkboxes */
  -ms-transform: scale(1.5); /* IE */
  -moz-transform: scale(1.5); /* FF */
  -webkit-transform: scale(1.5); /* Safari and Chrome */
  -o-transform: scale(1.5); /* Opera */
  transform: scale(1.5);
  margin-left: .25em;
}
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #c9c9c9;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #c9c9c9;
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #c9c9c9;
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    #c9c9c9;
}
::-ms-input-placeholder { /* Microsoft Edge */
   color:    #c9c9c9;
}

::placeholder { /* Most modern browsers support this now. */
   color:    #c9c9c9;
}

.formwrap {
  color: #959595;
}
.formwrap p, .formwrap span {
  margin: 0;
}

.wpcf7-not-valid-tip {
    white-space: nowrap;
    margin-top: -1.5em !important;
    margin-bottom: .5em !important;
    font-size: .75em !important;
}
.inputbox.submit {
  text-align: right;
}
div.wpcf7-validation-errors {
    border: 2px solid red;
}

#section-2 {
    background: #f8f3f1;
}

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


    input[type="date"], input[type="time"],
    input[type="datetime-local"], input[type="week"],
    input[type="month"], input[type="text"],
    input[type="email"], input[type="url"],
    input[type="password"], input[type="search"],
    input[type="tel"], input[type="number"],
    input[type="checkbox"],
    textarea {
        font-size: 1em;
        padding: .3em .6em;
    }
    input[type="submit"] {
        font-size: 1em;
    }

    #section-2 {
        background: none;
    }


}

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

  input[type="date"], input[type="time"],
  input[type="datetime-local"], input[type="week"],
  input[type="month"], input[type="text"],
  input[type="email"], input[type="url"],
  input[type="password"], input[type="search"],
  input[type="tel"], input[type="number"],
  input[type="checkbox"],
  textarea {
      font-size: 1em;
      padding: .3em .6em;
  }
  input[type="submit"] {
      font-size: 1em;
  }

  .inputbox.box1 span {

  }
  .inputbox.box1 > span:nth-of-type(1) {
    display: inline-block;
    width: 50%;
  }
  .inputbox.box1 > span:nth-of-type(2) {
    display: inline-block;
    width: 15%;
  }
  .inputbox.box1 > span:nth-of-type(3) {
    display: inline-block;
    width: 35%;
  }

  .inputbox.box2 > span {
    display: inline-block;
    width: 50%;
  }
  .inputbox.box1 > span, .inputbox.box2 > span {
    padding: 0 .25em;
  }
  .inputbox.box1, .inputbox.box2 {
    margin-left: -.25em;
    margin-right: -.25em;
  }

  #section-2 {
      background: none;
  }

}