﻿/* 共用模块 */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset, img {
    border: 0;
}

address, caption, cite, code, dfn, em, th, var, i {
    font-style: normal;
    font-weight: normal;
}

.cke_editable ol, .cke_editable ul {
    list-style: disc;
    list-style-position: inside;
}
caption, th {
    text-align: left;
}

q:before, q:after {
    content: '';
}

a:focus {
    outline-style: none;
}

abbr, acronym {
    border: 0;
    font-variant: normal;
}

sup {
    vertical-align: text-top;
}

sub {
    vertical-align: text-bottom;
}

input, textarea, select, button {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    *font-size: 100%;
    outline: none;
    border: none;
}

textarea {
    resize: none
}

input::-ms-clear {
    display: none;
}

a, a:focus, a:hover {
    text-decoration: none;
}

body {
    font: 16px/1.3 Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
    overflow-x: hidden;
    --themeColor: #4eb149;
    color: #333;
    -webkit-font-smoothing: antialiased;
    position: relative;
    background-color: #fff;
}

::selection {
    background: var(--themeColor);
    color: #fff;
}

:focus {
    outline-color: var(--themeColor);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    display: inline-block;
    color: inherit;
}

a:hover {
    color: inherit;
}
/* RESET */

/**
  * 一行三列
*/
.layout-template-col-three .box-img {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.layout-template-col-three {
  margin: 50px 0;
}
.layout-template-col-three .top {
  text-align: center;
  font-size: 16px;
  line-height: 26px;
}
.layout-template-col-three .top h5 {
  font-size: 36px;
  line-height: 1.8;
  text-transform: capitalize;
}
.layout-template-col-three .content {
  font-size: 16px;
  line-height: 26px;
  color: #555;
  margin-top: 30px;
}
.layout-template-col-three .content .txt {
  background-color: #f4f4f4;
  padding: 25px 20px;
}
.layout-template-col-three .content .txt h2 {
  display: block;
  font-size: 18px;
  line-height: 26px;
  margin: 10px 0 20px 0;
  font-weight: bold;
  transition: all 0.3s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 48px;
}
.layout-template-col-three .content .txt .demo3-description {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
.layout-template-col-three img {
  width: 100%;
  transition: all 0.3s ease;
}
.layout-template-col-three .box-img:hover img {
  transform: scale(1.05);
}
@media screen and (max-width: 820px) {
  .layout-template-col-three .content>div {
      margin-bottom: 30px;
  }
}
@media screen and (max-width: 760px) {
  .layout-template-col-three .content .txt .demo3-description {
      -webkit-line-clamp: 20;
  }
}


/**
  * 右图左文
*/
.layout-template-right-photo .box-img {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.layout-template-right-photo .content {
  font-size: 16px;
  line-height: 26px;
  display: flex;
  align-items: center;
  color: #555;
}
.layout-template-right-photo .content .left {
  padding-right: 5%;
}
.layout-template-right-photo .content .demo1-description {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}
.layout-template-right-photo .demo1-title {
  font-size: 40px;
  font-weight: 600;
  margin: 6px 0 10px 0;
  color: #333;
  text-transform: capitalize;
}
.layout-template-right-photo img {
  transition: all 0.3s ease;
}
.layout-template-right-photo .demo1-btn {
  display: inline-block;
  width: 143px;
  height: 50px;
  box-sizing: border-box;
  border: solid 1px #333;
  color: #333;
  line-height: 50px;
  margin-top: 1.82291vw;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: .3s all;
}
.layout-template-right-photo .demo1-btn:hover {
  background-color: var(--themeColor);
  color: #fff;
  border-color: var(--themeColor);
}
.layout-template-right-photo .box-img:hover img {
  transform: scale(1.05);
}
@media screen and (max-width: 998px) {
  .layout-template-right-photo .demo1-title {
      font-size: 24px;
  }

  .layout-template-right-photo .content .demo1-description {
      -webkit-line-clamp: 2;
  }
}
@media screen and (max-width: 760px) {
  .layout-template-right-photo .content {
      flex-direction: column-reverse;
  }

  .layout-template-right-photo .row .content>div {
      padding: 0 15px;
  }
}


/**
  * 左图右文
*/
.layout-template-left-photo .box-img {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.layout-template-left-photo .content {
  font-size: 16px;
  line-height: 26px;
  display: flex;
  align-items: center;
  color: #555;
}
.layout-template-left-photo .content .left {
  padding-left: 5%;
}
.layout-template-left-photo .content .demo2-description {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}
.layout-template-left-photo .demo2-title {
  font-size: 40px;
  font-weight: 600;
  margin: 6px 0 10px 0;
  color: #333;
  text-transform: capitalize;
}
.layout-template-left-photo img {
  transition: all 0.3s ease;
}
.layout-template-left-photo .demo2-btn {
  display: inline-block;
  width: 143px;
  height: 50px;
  box-sizing: border-box;
  border: solid 1px #333;
  color: #333;
  line-height: 50px;
  margin-top: 1.82291vw;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: .3s all;
}
.layout-template-left-photo .demo2-btn:hover {
  background-color: var(--themeColor);
  color: #fff;
  border-color: var(--themeColor);
}
.layout-template-left-photo .box-img:hover img {
  transform: scale(1.05);
}
@media screen and (max-width: 998px) {
  .layout-template-left-photo .demo2-title {
      font-size: 24px;
  }

  .layout-template-left-photo .content .demo2-description {
      -webkit-line-clamp: 2;
  }
}
@media screen and (max-width: 760px) {
  .layout-template-left-photo .content {
      flex-direction: column;
  }

  .layout-template-left-photo .row .content>div {
      padding: 0 15px;
  }
}