@font-face {
  font-family: open-sans;
  src: url("../fonts/opensans-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal; 
}
@font-face {
  font-family: open-sans;
  src: url("../fonts/opensans-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal; 
}
@font-face {
  font-family: open-sans;
  src: url("../fonts/opensans-semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal; 
}
html,body {
  font-family: open-sans;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6em;
  letter-spacing: 0.5px;
  color: #888;
  background: #fff;
}
img {
  width: 100%;
}
h2 {
  font-size: 28px;
  font-weight: 600;
  text-align: left;
  color: #00489F;
  position: relative;
  letter-spacing: -1px;
  line-height: 40px;
  padding: 15px 0;
}
h2:after {
  content: '';
  height: 3px;
  width: 50px;
  position: absolute;
  left: 0;
  bottom: 0;
  background: #2EA7E0;
}
h5 {
  font-size: 20px;
  font-weight: 400;
  margin: 20px 0;
}
.container {
  padding: 30px;
}
header {
  background-image: url(img1.jpg);
 	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top; 
  height: 600px;
  margin-bottom: 30px;
}
.s1,.f1 {
  display: flex;
  flex-direction: row;
  margin-bottom: 30px;
}
.s1 > div {
  flex-basis: 50%;
  padding: 0 30px;
  margin-bottom: 30px
}
.s1-1 {
  background-image: url(img2.jpg);
 	background-size: cover;
	background-repeat: no-repeat;
	background-position: left bottom; 
  height: 580px;
}
.s1-2 h2:first-child {
  margin-top: 0;
  padding-top: 0;
}
.s2 {
  border: solid 1px #666;
  padding: 20px;
  position: relative;
  margin: 80px 15px 30px;
}
.s2:before {
  content: '';
  width: 421px;
  height: 89px;
  top: -38px;
  left: calc(50% - 210.5px);
  position: absolute;
  background-image: url(img6.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
.s2-1 {
  padding: 80px 60px 30px;
}
.s2-2 {
  display: flex;
  flex-direction: row;
  margin-bottom: 20px;
}
.s2-2 > div {
  background-size: cover;
	background-repeat: no-repeat;
	background-position: center center; 
  border: solid 5px #fff;
  height: 300px;
  flex: 1 1 33.3333333%;
}
.s2-2-1 {
  background-image: url(img3.jpg);
} 
.s2-2-2 {
  background-image: url(img4.jpg);
} 
.s2-2-3 {
  background-image: url(img5.jpg);
}
.s3 {
  padding: 20px 20px 50px;
}
.s3-1 {
  text-align: center;
  padding: 30px 100px;
  font-size: 24px;
  line-height: 1.5em;
  color: #00489D;
}
.s3-2 {
  border-top: solid 2px #E5E5E5;
  border-bottom: solid 2px #E5E5E5;
  padding: 20px;
}
.s3-2 > div {
  text-align: center;
  padding: 0;
}
.s3-2 img {
  max-width: 100%;
}
.s3-2:after {
  clear: both;
}
.s3-2:before,
.s3-2:after {
  display: table;
  content: " ";
}
footer {
  background: #dcdcdc;
  color: #555;
  padding: 40px 60px;
  line-height: 1.3em;
}
.wrapper {
  width: 1176px;
  margin: 0 auto;
}
.f1-1 {
  flex: 0 1 300px;
}
.f1-2 {
  flex: 1 1 auto;
}
@media (max-width: 1199px) {
  .container,
  .wrapper  {
    width: 100%;
  }
  header {
    height: 500px;
  }
}
@media (max-width: 991px) {
  header {
    height: 400px;
  }
  .s1,.s2-1 {
    font-size: 16px;
    line-height: 1.5em;
  }
}
@media (max-width: 767px) {
  .container {
    padding: 20px 0;
  }
  header {
    height: 300px;
  }
  h2 {
    font-size: 24px;
    line-height: 32px;
  }
  .s1,.f1,.s2-2 {
    display: block;
  }
  .s1-1 {
    height: 400px;
  }
  .s2:before {
    width: 280px;
    height: 59px;
    top: -25px;
    left: calc(50% - 140px);
  }
  .s2-1 {
    padding: 60px 10px 30px;
  }
  .s2-2 > div {
    height: 200px;
  }
  .s3-1 {
    text-align: center;
    padding: 30px;
    font-size: 20px;
    line-height: 1.5em;
  }
  footer {
    padding: 20px 30px;
    font-size: 14px;
  }
}
@media (max-width: 479px) {
  header {
    height: 200px;
  }
}