:root {
  --blue: #007bff;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --primary: #007bff;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

  .img,
.blog-img,
.user-img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center; }

.p-container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto; }

.p-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px; }

.p-col {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%; }

.p-col {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px; 
}

@media (min-width: 576px) {
  .p-container {
    max-width: 540px; } }

@media (min-width: 768px) {
  .p-container {
    max-width: 720px; } }

@media (min-width: 992px) {
  .p-container {
    max-width: 960px; } }

@media (min-width: 1200px) {
  .p-container {
    max-width: 1140px; } }

.ftco-section {
  padding: 0 0 7em 0;
  position: relative;
  width: 100%; }
  @media (max-width: 767.98px) {
    .ftco-section {
      padding: 6em 0; } }

.ftco-no-pt {
  padding-top: 0 !important; }

.ftco-no-pb {
  padding-bottom: 0 !important; }

.ftco-bg-dark {
  background: #3c312e; }

.ftco-intro {
  color: rgba(255, 255, 255, 0.8);
  z-index: 0;
  position: relative;
  padding: 3em 0; }
  .ftco-intro .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    opacity: .2;
    background: #5d8c55;
    z-index: -1; }
  @media (max-width: 991.98px) {
    .ftco-intro {
      background-position: center center !important; } }
  .ftco-intro h2 {
    color: #fff;
    font-weight: 600;
    text-transform: uppercase; }
    @media (max-width: 767.98px) {
      .ftco-intro h2 {
        font-size: 20px; } }
    .ftco-intro h2 span {
      background: #5d8c55; }

@media (min-width: 768px) {
  
  .col-md-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%; }
}

/* 加了全部不显示 */
/* .ftco-animate {
  opacity: 0;
  visibility: hidden; } */

  .project-wrap {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 4px;
    z-index: 0;
    margin-bottom: 30px;
    -webkit-box-shadow: 0px 10px 24px -13px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 10px 24px -13px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 10px 24px -13px rgba(0, 0, 0, 0.15); }
    .project-wrap:after, .project-wrap:before {
      z-index: -1;
      position: absolute;
      background: #5d8c55;
      width: 100%;
      height: 50%;
      content: '';
      opacity: .9;
      -moz-transition: all 0.3s ease;
      -o-transition: all 0.3s ease;
      -webkit-transition: all 0.3s ease;
      -ms-transition: all 0.3s ease;
      transition: all 0.3s ease; }
    .project-wrap:after {
      left: -100%;
      bottom: -50%; }
    .project-wrap:before {
      right: -100%;
      top: -50%; }
    .project-wrap .text {
      padding: 20px; }
      .project-wrap .text h3 {
        font-size: 24px;
        font-weight: 600; }
        .project-wrap .text h3 a {
          color: #fff; }
      .project-wrap .text span {
        color: #fff;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase; }
      .project-wrap .text .icon {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        z-index: 1; }
    .project-wrap:hover:after {
      bottom: 0;
      left: 0; }
    .project-wrap:hover:before {
      top: 0;
      right: 0; }
    .project-wrap:hover .icon {
      background-color: #fff; }
      .project-wrap:hover .icon span {
        color: #5d8c55; }

.align-items-end {
  -webkit-box-align: end !important;
  -ms-flex-align: end !important;
  align-items: flex-end !important; }

.d-flex {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important; }

  .mt-5,
  .my-5 {
    margin-top: 3rem !important; }


    .text-center {
      text-align: center !important;
  }

  .block-27 ul {
    padding: 0;
    margin: 0; }
    .block-27 ul li {
      display: inline-block;
      margin-bottom: 4px;
      font-weight: 400; }
      .block-27 ul li a, .block-27 ul li span {
        color: #000000;
        text-align: center;
        display: inline-block;
        width: 40px;
        height: 40px;
        line-height: 40px;
        border-radius: 4px;
        border: 1px solid #e6e6e6;
        background: #fff; }
      .block-27 ul li.active a, .block-27 ul li.active span, .block-27 ul li:hover a, .block-27 ul li:hover span {
        background: #5d8c55;
        color: #fff;
        border: 1px solid transparent; }