h2 {
  font-size: 34px;
  letter-spacing: 3.5px;
  color: #228896;
  line-height: 40px; }

@media (min-width: 769px) {
  p, span, a {
    letter-spacing: 2px;
    line-height: 30px; } }

.service_data, .case_item, .case_des .date, form {
  zoom: 1; }
  .service_data:before, .case_item:before, .case_des .date:before, form:before, .service_data:after, .case_item:after, .case_des .date:after, form:after {
    content: '';
    display: block; }
  .service_data:after, .case_item:after, .case_des .date:after, form:after {
    clear: both; }

.news_area {
  background-color: rgba(169, 197, 47, 0.66);
  font-size: 0; }
  .news_area .title {
    width: 150px;
    background-color: rgba(55, 99, 105, 0.98);
    text-align: center;
    display: inline-block;
    vertical-align: middle; }
    .news_area .title h5 {
      color: #f5f5f5;
      padding: 10px 0 6px; }

.news {
  width: calc(100% - 155px);
  display: inline-block;
  height: 48px;
  overflow-y: hidden;
  vertical-align: middle; }

.news_item {
  padding-top: 9px;
  font-size: 0;
  line-height: 22px;
  color: #283739; }
  .news_item:hover, .news_item:active {
    color: #3a6569; }
  .news_item p {
    font-size: 16px;
    display: inline-block; }
  .news_item .date {
    width: 150px;
    text-align: center;
    vertical-align: top;
    text-decoration: underline; }
  .news_item .data {
    width: calc(100% - 155px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }

.main_title {
  text-align: center; }
  .main_title .title {
    display: inline-block;
    padding-left: 40px;
    padding-right: 40px;
    text-align: center; }
    .main_title .title:before, .main_title .title:after {
      content: "";
      width: 10px;
      height: 70%;
      border: solid 2px #283739; }
    .main_title .title:before {
      border-right: none;
      position: absolute;
      top: 14%;
      left: 0; }
    .main_title .title:after {
      border-left: none;
      position: absolute;
      top: 14%;
      right: 0; }
  .main_title:before, .main_title:after {
    content: "";
    width: calc(50% - 115px);
    border-bottom: solid 2px #283739; }
  .main_title:before {
    position: absolute;
    top: 50%;
    left: 0; }
  .main_title:after {
    position: absolute;
    top: 50%;
    right: 0; }

.main_Wtitle:before, .main_Wtitle:after {
  border-color: #f5f5f5; }

.main_Wtitle .title:before, .main_Wtitle .title:after {
  border-color: #f5f5f5; }

.main_Wtitle h2, .main_Wtitle p {
  color: #f5f5f5; }

.about_img, .about_data {
  float: left;
  width: 50%;
  padding-left: 50px;
  padding-right: 50px;
  margin-top: 70px; }

.about_data {
  padding-top: 40px;
  text-align: justify; }
  .about_data > p {
    margin-bottom: 40px; }

.service_area {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
}
.service_bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("../img/bg_service.jpg") no-repeat fixed 50%/cover;
}

.service_data {
  margin-top: 70px; }

.service_item {
  width: 33.33%;
  float: left;
  padding: 20px; }
  .service_item > a {
    display: block;
    width: 100%;
    padding: 20px;
    background-color: rgba(169, 197, 47, 0.2);
    text-align: center;
    transition: all 0.4s ease; }
    .service_item > a:hover {
      background-color: rgba(169, 197, 47, 0.7); }
    .service_item > a img {
      width: 130px;
      margin: 25px auto; }
    .service_item > a p {
      color: #f5f5f5;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      padding: 5px; }

.case_area {
  text-align: center; }
  .case_area .btn {
    margin-top: 50px; }

.case_item {
  width: 700px;
  padding: 20px;
  margin: 0 70px; }

.case_data {
  margin-top: 70px; }

.case_item {
  background-color: #eee;
  border: solid 2px #a9c52f; }

.case_img {
  width: 45%;
  float: left; }

.case_des {
  width: 55%;
  float: left;
  padding-top: 20px;
  padding-left: 20px;
  font-size: 0; }
  .case_des .date {
    width: 70px;
    background-color: #a9c52f;
    margin-right: 20px;
    display: inline-block; }
    .case_des .date h5, .case_des .date span {
      color: #f5f5f5; }
    .case_des .date span {
      border-top: solid 1px #f5f5f5;
      font-size: 8px;
      padding-top: 5px;
      line-height: 30px;
      letter-spacing: 2px; }
  .case_des .title {
    width: calc(100% - 100px);
    display: inline-block; }
    .case_des .title h4 {
      color: #228896;
      font-weight: bold;
      width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      text-align: left; }
  .case_des .des {
    margin-top: 20px;
    text-align: justify; }
    .case_des .des p {
      font-size: 16px;
      letter-spacing: 2px;
      line-height: 30px; }

.slick-prev:before, .slick-next:before {
  font-size: 32px;
  color: #283739; }

.slick-prev {
  left: calc(50% - 420px);
  width: 32px;
  height: 32px;
  z-index: 1; }

.slick-next {
  right: calc(50% - 420px);
  width: 32px;
  height: 32px;
  z-index: 1; }

.slick-dots {
  bottom: -35px; }

.contact_area {
  background: url("../img/bg_form.jpg");
  width: 100%;
  height: auto;
  display: block;
  background-attachment: fixed; }

.contact_txt {
  padding: 30px 0; }
  .contact_txt p {
    text-align: center; }

.field {
  width: 50%;
  float: left; }
  .field label {
    font-size: 16px;
    letter-spacing: 2px;
    color: #011;
    line-height: 25px;
    position: absolute;
    top: 30px;
    left: 25px;
    transition: all 0.4s ease; }
    .field label.active {
      position: absolute;
      top: -5px;
      left: 10px;
      font-size: 15px; }
  .field input[type="text"], .field input[type="url"], .field input[type="email"], .field input[type="tel"], .field textarea {
    font-size: 16px;
    letter-spacing: 2px;
    color: #283739;
    line-height: 25px;
    margin: 20px 10px 15px;
    padding: 10px;
    width: calc( 100% - 20px);
    background-color: rgba(149, 183, 0, 0.35);
    outline: none;
    border: solid 1px #a9c52f;
    z-index: 1; }
  .field textarea {
    resize: none;
    height: 200px; }
  .field select {
    width: calc( 100% - 20px);
    height: 47px;
    margin-left: 10px;
    opacity: 0;
    position: absolute;
    top: 20px;
    left: 0;
    z-index: 1; }
    .field select option {
      font-size: 16px;
      letter-spacing: 2px;
      color: #283739;
      line-height: 25px;
      padding: 10px; }
  .field img {
    width: 100px;
    position: absolute;
    top: 23px;
    right: 13px;
    z-index: 1;
    cursor: pointer; }
  .field.btn_area {
    text-align: right;
    float: right;
    padding-right: 10px; }
  .field .btn_form {
    display: inline-block;
    margin-left: 20px; }
    .field .btn_form input[type="reset"], .field .btn_form input[type="submit"] {
      font-size: 16px;
      letter-spacing: 2px;
      color: #283739;
      line-height: 30px;
      font-family: Microsoft JhengHei;
      outline: none;
      border: solid 1px #283739;
      padding: 3px 35px;
      cursor: pointer;
      font-weight: bold;
      background-color: transparent;
      z-index: 1;
      width: 100%; }
    .field .btn_form input[type="submit"] {
      background-color: #283739;
      color: #f5f5f5;
      font-weight: normal;
      -webkit-appearance: none; }
    .field .btn_form:after {
      content: "";
      width: 50px;
      height: 100%;
      position: absolute;
      top: 50%;
      left: 50%;
      -webkit-transform: translateX(-50%) translateY(-50%);
      -ms-transform: translateX(-50%) translateY(-50%);
      transform: translateX(-50%) translateY(-50%);
      opacity: 0;
      background-color: #283739;
      transition: all 0.4s ease;
      z-index: 0; }
    .field .btn_form.black:after {
      background-color: #a9c52f; }
    .field .btn_form:hover input[type="reset"] {
      color: #f5f5f5;
      font-weight: normal; }
    .field .btn_form:hover input[type="submit"] {
      background-color: transparent;
      color: #283739;
      font-weight: bold; }
    .field .btn_form:hover:after {
      width: 100%;
      opacity: 1; }
  .field.allwidth {
    width: 100%; }

@media (max-width: 1024px) {
  .about_data {
    padding-top: 0; }
  .service_item {
    width: 50%; } }

@media (max-width: 768px) {
  .main_title:before, .main_title:after {
    content: "";
    width: calc(50% - 98px); }
  .news_area .title {
    display: none; }
  .news {
    width: 100%;
    height: 40px; }
  .news_item .date {
    width: 120px; }
  .news_item .data {
    width: calc(100% - 125px); }
  .about_img, .about_data {
    width: 100%;
    margin-top: 30px; }
  .about_img img {
    width: 75%; }
  .service_area {
    background-attachment: inherit;
    background-size: cover;
    background-position: 48% 50%; }
  .service_data {
    margin-top: 30px; }
  .service_item {
    width: 80%;
    margin: 0 auto;
    float: none; }
  .case_data {
    margin-top: 30px; }
  .case_item {
    width: 300px;
    margin: 0 50px; }
  .case_img, .case_des {
    width: 100%;
    float: none; }
  .case_des {
    padding-left: 0;
    padding-top: 10px; }
    .case_des .date {
      width: 75px;
      display: block;
      text-align: left;
      background-color: transparent;
      margin-right: 0;
      margin-bottom: 5px; }
      .case_des .date h5, .case_des .date span {
        float: right;
        border: none;
        font-size: 12px;
        line-height: 25px;
        padding-top: 5px;
        color: #a9c52f;
        font-weight: normal; }
      .case_des .date h5:before {
        content: "."; }
    .case_des .title {
      width: 100%; }
    .case_des .des {
      margin-top: 10px; }
  .slick-prev {
    left: calc(50% - 200px); }
  .slick-next {
    right: calc(50% - 200px); }
  .contact_area {
    background-attachment: inherit;
    background-size: cover;
    background-position: 50% 50%; }
  .field, .field.allwidth {
    width: 75%;
    float: none;
    margin: 0 auto; }
  .field.btn_area {
    position: relative;
    top: 10px;
    bottom: 0; } }

@media (max-width: 480px) {
  .about_img img {
    width: 100%; }
  .about_data > p {
    margin-bottom: 20px; }
  .service_item > a img {
    width: 90px;
    margin: 15px auto; }
  .case_data {
    margin-top: 30px; }
  .case_item {
    width: 260px;
    margin: 0 30px; }
  .slick-prev {
    left: calc(50% - 170px); }
  .slick-next {
    right: calc(50% - 170px); }
  .field, .field.allwidth {
    width: 90%; }
  .field.btn_area {
    text-align: center;
    margin-bottom: 40px;
    right: 0; }
  .field label {
    font-size: 12px; }
    .field label.active {
      font-size: 12px; }
  .field .btn_form {
    margin: 0;
    width: calc(50% - 2%); }
    .field .btn_form input[type="reset"], .field .btn_form input[type="submit"] {
      font-size: 13px;
      line-height: 20px;
      padding: 5px 35px; } }

/* 2018-06-08 danny fix chrome when window resize .service_area .contact_area background may blinking or disappear bug */
@media (min-width: 1900px) {
    .banner img {
        height: 595px;
    }
}
@media (min-width: 1600px) and (max-width: 1899px) {
    .banner img {
        height: 495px;
    }
}
@media (min-width: 1200px) and (max-width: 1599px) {
    .banner img {
        height: 370px;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .banner img {
        width: 150%;
        right: 50%;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .banner img {
        width: 150%;
        right: 50%;
    }
}
@media (max-width: 767px) {
    .banner img {
        width: 200%;
        right: 95%;
    }
}
