*,
*:before,
*:after {
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: sans-serif;

  background-color: #11c9ea;
  background-image: url('../images/bg.png');
  background-position: center;

  padding-top: 100px;
}

.wrapper {
  max-width: 1000px;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: auto;
  margin-right: auto;
}

main{
  width: 100%
}
main .container{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.content{
  width: 96%;
  margin: 0 auto;

  background-color: white;

  font-size:1.3em;
  line-height: 1.6em;

  padding-top:30px;
}

.subject{
  background-color: #11c9ea;
  background-image:url('../images/head-bg.png');
  background-position: center bottom;
}
.subject .box{
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.subject .head-pic{
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  height: auto;
}
.subject .head-pic-m{
  display: none;
  width: 100%;
}
.subject .border-1{
  width: 100%;
  height:70px;
  background-image:url('../images/border-top.png');
}

.section1{
  padding-top:30px;
  padding-bottom:30px; 

  background-color: #fff;
}
.section1 .title1{
  display: block;

  width: 70%;
  max-width: 645px;

  margin:0 auto;
  margin-bottom: -25px;
}
.section1 .row{
  width: 100%;
  margin: 4% 0 2% 0;
  padding-left: 2.5%;
}
.section1 .col{
  width: 19%;
  padding: 0;
  margin: 0;
  display: inline-block;
}

.section1 .col img{
  width: 100%;
}

.section2{
  padding-bottom:30px;
  background-color:#e0f7f6;
  background-image:url('../images/s2-bg.jpg');
  background-repeat: repeat-x;
  background-position: top;
}
.section2 .border-2{
  width: 100%;
  height:70px;
  background-image:url('../images/border-bottom.png');
}
.section2 .title2{
  display: block;

  width: 35%;
  max-width: 370px;

  margin:0 auto;
  margin-bottom: -25px;
}
.section2 .content{
  padding-left: 8%;
  padding-right: 8%;
  margin: 0 auto;
  border-radius: 40px;

  -webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1);
  -moz-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1);
  box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1);
}
.section2 .col{
  width: 30%;
  display: inline-block;
}
.section2 .col:nth-child(2){
  margin-left: 4%;
  margin-right: 4%;
}
.section2 .col img{
  width: 100%;
  margin: 0 auto;
  margin-top:20px;
  margin-bottom:20px;
}

.section3{
  padding-top:30px;
  background-color:#e0f7f6;
}
.section3 .title3{
  display: block;

  width: 33%;
  max-width: 330px;

  margin:0 auto;
  margin-bottom: -25px;
}
.section3 .content{
  padding-top: 30px;
  padding-bottom: 20px;
  border-radius: 40px;

  margin-bottom: 30px;

  -webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1);
  -moz-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1);
  box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1);
}
.section3 h3{
  text-align: center;
  padding-top: 1.2em;
  padding-bottom: 1.2em;
  font-weight: bolder;
}
.section3 .content .row{
  width: 90%;
  margin-left: 5%;
  margin-bottom: 10px;
}
.section3 .content .col{
  width: 31%;
  display: inline-block;
}
.section3 .col:nth-child(2),.section3 .col:nth-child(5){
  margin-left: 2%;
  margin-right: 2%;
}
.section3 .col img{
  width: 100%;
}
.section3 .border img{
  width: 100%;
  height: 30px;
  display: block;
  margin-top: 30px;
}
.section3 img.border-pic{
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 1000px;
  margin-bottom: -60px;
}


.section4{
  background-color: #24d4f0;
  background-image:url('../images/s4-bg.jpg');
  background-repeat: repeat-x;
  background-position: top;

  padding-top: 30px;
  padding-bottom: 30px;
}
.section4 .title4{
  display: block;

  width: 80%;
  max-width: 275px;

  margin:0 auto;
  margin-bottom: 20px;
}
.section4 h3{
  color:#fcfcfc;
  font-size: 1.4em;
  font-weight: bolder;
  
  margin-bottom:1em;

  text-align: center;
}

.section4 .row{
  width: 100%;
}
.section4 .col{
  width: 40%;
  margin-left: 5%;
  margin-right: 4%;
  display: inline-block;
}


footer{
  color:#707070;
  font-size: 0.8em;
  line-height: 2em;

  text-align:center;

  padding-top: 20px;
  padding-bottom: 20px;

  border-top:2px solid #fff;

  background-color: #24d4f0;
}
footer a{
  color:#fcfcfc;
  text-decoration: underline;
}

.info2{
  margin-left: 1.5em;
  margin-right: 1.5em;
}

/* hamburger icon */

.hb-btn {
  display: block;
  width: 40px;
  height: 40px;
  transition-duration: 0.5s;
}
.hb-btn .icon {
  transition-duration: 0.5s;
  position: absolute;
  height: 6px;
  width: 40px;
  top: 10px;
  right: 6px;
  background-color: #626262;
}
.hb-btn .icon:before {
  transition-duration: 0.5s;
  position: absolute;
  width: 40px;
  height: 5px;
  background-color: #626262;
  content: "";
  top: -12px;
}
.hb-btn .icon:after {
  transition-duration: 0.5s;
  position: absolute;
  width: 40px;
  height: 6px;
  background-color: #626262;
  content: "";
  top: 12px;
}
.hb-btn.open .icon {
  transition-duration: 0.5s;
  background: transparent;
}
.hb-btn.open .icon:before {
  transform: rotateZ(45deg) scaleX(1.25) translate(7px, 7px);
}
.hb-btn.open .icon:after {
  transform: rotateZ(-45deg) scaleX(1.25) translate(8px, -8px);
}
.hb-btn:hover {
  cursor: pointer;
}


/* owl.carousel */
.owl-theme .item {
  padding: 0.2rem;
}

.logo1{
  display: inline-block;
  height: 22px;
  margin-right: 20px;
}
.logo2{
  display: inline-block;
  height: 22px;
}

.anchor{
  display: block;
  height: 65px;
  margin-top: -65px;
  visibility: hidden;
}
.anchor5{
  height: 100px;
  margin-top: -100px;
}

@media (max-width: 800px) {

  body {
      background-image: none;
    }

  .subject .head-pic{
    display: none;
  }
  .subject .head-pic-m{
    display: block;
    width: 100%;
  }

  .section1 .title1{
    width: 88%;
  }
  .section1 .row .col{
    width: 40%;
    margin-left: 4%;
    margin-right: 4%
  }

  .section2 .title2{
    width: 60%;
  }
  .content{
    width: 88%;
  }
  .section2 .col:nth-child(2){
    margin:0; 
  }
  .section2 .col{
    display: block;
    width: 99%;
    margin:0 auto;
    padding-bottom: 12px;
  }
  .section2 .col img{
    display: block;
    width: 60%;
    margin: 0 auto;
  }

  .section3 .title3{
    width: 70%;
  }
  .section3 .content .col{
    width: 48%;
    margin-right: 0.8%;
  }
  .section3 .col:nth-child(2),.section3 .col:nth-child(5){
    margin: 0;
  }
  .section3 .col img{
    width: 100%;
  }

  .section4 .col{
    width: 90%;
    margin-left: 4%;
    margin-bottom: 1em;
  }

  footer{
    padding-left: 2em;
    padding-right: 2em;
  }

}
@media (max-width: 540px) {
  .section3 img.border-pic{
    margin-bottom: -50px;
  }
}


@media (max-width: 370px) {
  .logo1{
    height: 18px;
    margin-right: 10px;
  }
  .logo2{
    height: 18px;
  }
}



