/*
Piyo - Agency HTML Template
By - Ngetemplates
*/

/*
Table of Content:
- fonts
- general
- button
- navbar
- header title
- about us
- home intro
- what we do
- services
- features
- portfolio
- testimonial
- blog
- blog single
- pagination
- contact
- footer
- responsive
*/

/* fonts */
@import url("https://fonts.googleapis.com/css2?family=Prompt:wght@100;200;300;400;500;600;700;800;900%7CPoppins:400,500,600,700,800,900");

/* 阿里巴巴矢量图标库 */
@font-face {
  font-family: "iconfont";
  src: url("../../download/font_r19obl9q7n/iconfont.ttf") format("truetype");
}
.iconfont {
  font-family: "iconfont" !important;
  font-size: 28px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.carousel-control-prev .tubiao {
  opacity: 0;
  transition: all 0.5s linear;
}
#carouselExampleIndicators:hover .tubiao {
  color: #3842fb;
  opacity: 1;
}
.carousel-control-next .tubiao {
  opacity: 0;
  transition: all 0.5s linear;
}
/* general */
body {
  background: #fff;
  color: #888;
  font-size: 16px;
  font-weight: 400;
  font-family: "Prompt", sans-serif;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 24px;
}

h5 {
  font-size: 20px;
}

h6 {
  font-size: 18px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #111;
}

a {
  color: #111;
}

a:hover {
  color: #1783f9;
  text-decoration: none;
  transition: 0.5s ease-out;
}

ul {
  padding: 0;
  margin: 0;
}

ul li {
  list-style-type: none;
}

p {
  line-height: 26px;
}

.bg-grey {
  background: #f5fffb;
}

/* button */
.button {
  background: #1783f9;
  padding: 12px 30px;
  font-weight: 500;
  font-size: 15px;
  border-radius: 5px;
  color: #fff;
  letter-spacing: 1px;
  margin-top: 22px;
  display: inline-block;
  border: 2px solid transparent;
}

.button:hover {
  border-color: #1783f9;
  color: #1783f9;
  background: transparent;
  transition: 0.5s ease-out;
}

/* navbar */
.navbar {
  padding: 8px 0 12px;
  transition: 0.5s ease-out;
  background: transparent;
}

.navbar .navbar-brand {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
}

.navbar .navbar-nav li {
  padding: 0 15px;
}

.navbar .navbar-nav li a {
  color: #fff;
  font-weight: 500;
  font-size: 15px;
}

.navbar .navbar-nav li a:last-child {
  padding-right: 0 !important;
}

.navbar .navbar-nav li:last-child {
  padding-right: 0;
}

.navbar .navbar-toggler i {
  color: #fff;
}

.navbar-fixed {
  background: #1783f9;
  transition: 0.5s ease-out;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0), 0 1px 5px 0 rgba(0, 0, 0, 0.12),
    0 3px 1px -2px rgba(0, 0, 0, 0);
}

.navbar-fixed .navbar-brand {
  color: #fff;
}

.navbar-fixed .navbar-brand span {
  color: #1783f9;
}

.navbar-fixed .navbar-nav li a {
  color: #fff;
}

.navbar-fixed .navbar-toggler i {
  color: #333;
}

.navbar-transparent {
  background: transparent !important;
}

/* haader title */
.header-title {
  background: linear-gradient(rgba(23, 131, 249, 0.9), rgba(23, 131, 249, 0.9)),
    url("../image/bg-header.png");
  background-position-x: 0%, 0%;
  background-position-y: 0%, 0%;
  background-attachment: scroll, scroll;
  background-size: auto, auto;
  background-position: center;
  background-size: cover;
  padding: 160px 0 100px;
  text-align: center;
}

.header-title h3 {
  color: #fff;
  font-size: 42px;
  font-weight: 600;
}

/* about us */
.about h2 {
  font-weight: 600;
}

.about h2 span {
  color: #1783f9;
}

.about h6 {
  color: #333;
  margin-bottom: 28px;
  margin-top: 10px;
}

/* home intro */
.home-intro {
  background: linear-gradient(rgba(23, 131, 249, 0.9), rgba(23, 131, 249, 0.9)),
    url("../picture/智能药房规划.png");
  background-position-x: 0%, 0%;
  background-position-y: 0%, 0%;
  background-attachment: scroll, scroll;
  background-size: auto, auto;
  background-position: center;
  background-size: cover;
  padding: 180px 0 120px !important;
}

.home-intro h5 {
  color: #01ef98;
  margin-top: 40px;
}

.home-intro h2 {
  color: #fff;
  font-size: 40px;
  font-weight: 600;
  margin: 25px 0;
  line-height: 54px;
}

.home-intro h6 {
  color: #ddd;
  line-height: 28px;
  font-size: 17px;
  margin-bottom: 15px;
}

.home-intro img {
  height: auto;
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
  float: right;
  margin-top: 20px;
}

.home-intro .button {
  background: #01ef98;
  color: #fff;
  border-color: #01ef98;
}

.home-intro .button:hover {
  background: transparent;
}

/* section */
.section {
  padding: 100px 0 120px;
}

.title-section {
  text-align: center;
  margin-bottom: 50px;
}

.title-section h3 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
}

.title-section h3 span {
  color: #1783f9;
}

.title-section p {
  width: 60%;
  margin: auto;
  line-height: 30px;
  font-size: 15px;
}

.title-section-two {
  text-align: left;
}

.title-section-two p {
  width: 100%;
}

/* what we do */
.what-we-do .content {
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 30px;
}

.what-we-do .content i {
  font-size: 38px;
  height: 90px;
  width: 90px;
  background: #f5fffb;
  color: #1783f9;
  border-radius: 50%;
  line-height: 90px;
  margin-bottom: 30px;
}

.what-we-do .content h5 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.what-we-do .content a {
  color: #1783f9;
  font-weight: 500;
  text-transform: uppercase;
}

.what-we-do .content:hover {
  background: #1783f9;
  transition: 0.5s ease;
  box-shadow: 0 12px 30px -15px rgba(0, 0, 0, 0.2);
  color: #fff;
  cursor: default;
}

.what-we-do .content:hover h5 {
  color: #fff;
}

.what-we-do .content:hover i {
  background: #01ef98;
  color: #fff;
  transition: 0.5s ease;
  box-shadow: 0 12px 30px -15px rgba(0, 0, 0, 0.2);
}

.what-we-do .content:hover a {
  color: #01ef98;
}
.what-we-do .content:hover .inner {
  transition: 0.5s ease;
  color: #01ef98 !important;
}

/* services */
.services {
  padding: 100px 0 90px;
}

.services .content {
  background: #fff;
  border-radius: 6px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 12px 30px -15px rgba(0, 0, 0, 0.2);
}

.services .content i {
  font-size: 54px;
  color: #1783f9;
}

.services .content h5 {
  margin: 25px 0 14px;
}

.services .content-center {
  background: #1783f9;
  color: #fff;
}

.services .content-center i {
  color: #fff;
}

.services .content-center h5 {
  color: #fff;
}

/* features */
.features {
  padding: 130px 0;
}

.features .content h3 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
}

.features .content .list {
  /* margin-top: 20px; */
  margin-top: 5px;
}

.features .content .list .icon {
  width: 50px;
  height: 50px;
  color: #fff;
  background: #021230;
  border-radius: 50%;
  line-height: 50px;
  text-align: center;
  float: left;
  margin-right: 18px;
}

.features .content .list .text {
  overflow: hidden;
}

/*portfolio*/
.portfolio .row .col-md-4 {
  padding: 15px;
}

.portfolio .portfolio-filter-menu {
  margin-bottom: 30px;
  text-align: center;
}

.portfolio .portfolio-filter-menu ul li {
  display: inline-block;
  margin: 0 15px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 1px;
  transition: 0.4s ease-in-out;
  background: #021230;
  padding: 10px 20px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 6px;
}

.portfolio .portfolio-filter-menu ul li span {
  z-index: 99;
  position: relative;
}

.portfolio .portfolio-filter-menu ul li.active {
  color: #fff;
  background: #1783f9;
  box-shadow: 0 12px 30px -15px rgba(0, 0, 0, 0.2);
}

.portfolio .content-image {
  position: relative;
}

.portfolio .content-image:hover .image-overlay {
  opacity: 0.7;
}

.portfolio .content-image:hover .portfolio-caption {
  opacity: 1;
}

.portfolio .content-image img {
  width: 100%;
  border-radius: 3px;
}

.portfolio .content-image .portfolio-caption {
  position: absolute;
  left: 30px;
  right: 30px;
  top: 28%;
  color: #fff;
  text-align: center;
  opacity: 0;
  transition: all 0.5s ease;
}

.portfolio .content-image .portfolio-caption h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.portfolio .content-image .portfolio-caption .subtitle {
  margin-top: 22px;
}

.portfolio .content-image .portfolio-caption ul li {
  display: inline-block;
  margin: 0 5px;
}

.portfolio .content-image .portfolio-caption i {
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
  font-size: 12px;
  line-height: 30px;
  text-align: center;
}

.portfolio .content-image .image-overlay {
  background: #021230;
  opacity: 0.5;
  position: absolute;
  width: 88%;
  height: 88%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 3px;
  opacity: 0;
  transition: all 0.5s ease;
  margin: auto;
}

.portfolio .cta {
  background: #021230;
  margin: 14px;
  margin-top: 30px;
  padding: 35px 30px;
}

.portfolio .cta h2 {
  color: #fff;
  position: relative;
  margin-bottom: 0;
  top: 6px;
}

.portfolio .cta .button {
  margin-top: 0;
  float: right;
}

/* testimonial */
.testimonial {
  text-align: center;
  /* padding-left: 20%;
  padding-right: 20%;
  padding-bottom: 160px; */
}

.testimonial i {
  font-size: 40px;
  margin-bottom: 32px;
  color: #333;
}

.testimonial .carousel-indicators {
  bottom: -60px;
}

.testimonial .carousel-indicators .active {
  background: #1783f9;
}

.testimonial .carousel-indicators li {
  background: #333;
  border-radius: 50%;
  width: 15px;
  height: 14px;
  border: 0;
  margin: 0 10px;
}
.setero {
  transition: 0.5s all linear;
  box-shadow: 7px 7px 12px rgba(0, 0, 0, 0.4),
    -7px -7px 12px rgba(255, 255, 255, 0.9),
    inset 0 0 0x rgba(255, 255, 255, 0.9), inset 0 0 0 rgba(0, 0, 0, 0.4);
}
.setero:hover {
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.4), 0 0 0 rgba(255, 255, 255, 0.9),
    inset -7px -7px 12px rgba(255, 255, 255, 0.9),
    inset 7px 7px 12px rgba(0, 0, 0, 0.4);
}

/* blog */

/* 鼠标移入显示阴影 */
#blog_content:hover {
  cursor: pointer;
  transition: all 1s linear;
  box-shadow: 0px 0px 20px #1783f9;
}

.blog .content {
  border-radius: 6px;
  box-shadow: 0 12px 30px -15px rgba(0, 0, 0, 0.4);
  /* border: 2px solid #ddd; */
  margin-bottom: 30px;
  height: 95%;
}

.blog .content span {
  position: relative;
  background: #1783f9;
  color: #fff;
  padding: 8px 20px;
  top: -32px;
  border-radius: 0 6px 0 0;
  margin-bottom: -29px;
  left: 0px;
}

.blog .content img {
  border-radius: 3px 3px 0 0;
}

.blog .content-text {
  padding: 20px 8px;
  padding-top: 2px;
}

.blog .content-text h5 {
  line-height: 30px;
}

.blog .content-text a:hover {
  color: #1783f9;
  transition: 0.5s ease-out;
}

/* pagination */
.pagination {
  text-align: center;
  margin: 0 auto;
  display: inherit;
}

.pagination ul li {
  display: inline-block;
  margin: 10px;
}

.pagination ul li a {
  height: 50px;
  width: 50px;
  line-height: 48px;
  text-align: center;
  border: 2px solid #ddd;
  display: block;
  font-size: 18px;
  border-radius: 6px;
}

.pagination ul li .active {
  background: #1783f9;
  color: #fff;
  border-color: #1783f9;
}

/* blog single */
.blog-single .content h5 {
  font-size: 24px;
  line-height: 34px;
}

.blog-single .content li {
  display: inline-block;
  margin-right: 20px;
}

.blog-single .content li i {
  margin-right: 10px;
}

.blog-single .content img {
  margin-top: 30px;
  margin-bottom: 25px;
}

.blog-single .content .quote {
  background: #eee;
  padding: 20px;
  margin-bottom: 20px;
  margin-top: 22px;
}

.blog-single .comments {
  border-top: 2px solid #ddd;
  padding-top: 30px;
  margin-top: 35px;
}

.blog-single .comments h5 {
  margin-bottom: 25px;
}

.blog-single .button {
  margin-top: 0;
}

.blog-single .search {
  margin-bottom: 16px;
}

.blog-single .search input {
  width: calc(100% - 65px);
  height: 52px;
}

.blog-single .search .button {
  float: right;
  padding-right: 15px;
  padding-left: 15px;
  font-size: 22px;
  height: 52px;
  line-height: 26px;
  width: 52px;
}

.blog-single .sidebar-link h5 {
  border-bottom: 2px solid #ddd;
  padding-bottom: 14px;
  margin-bottom: 22px;
}

.blog-single .sidebar-link li {
  margin-bottom: 16px;
}

.blog-single .sidebar-link li a {
  font-size: 15px;
}

.blog-single .categories {
  margin-top: 40px;
}

/* contact */
.contact form input,
.contact form textarea {
  border: 2px solid #ddd;
  padding: 15px 20px;
  border-radius: 6px;
  margin-bottom: 30px;
  width: 100%;
  color: #aaa;
}

.contact .button {
  margin-top: 0;
}

.contact li {
  margin-bottom: 25px;
  font-size: 20px;
}

.contact li i {
  margin-right: 28px;
  color: #1783f9;
}

.contact .map {
  position: relative;
  top: -5px;
}

.contact .map i {
  float: left;
  margin-right: 34px;
  margin-top: 10px;
}

.contact .map p {
  overflow: hidden;
  line-height: 42px;
}

::placeholder {
  color: #aaa;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #aaa;
}

::-ms-input-placeholder {
  color: #aaa;
}

form input,
form textarea {
  border: 2px solid #ddd;
  padding: 15px 20px;
  border-radius: 6px;
  margin-bottom: 30px;
  width: 100%;
  color: #aaa;
}

/* footer bottom */
.footer-bottom {
  background: #021230;
  text-align: center;
  color: #eee;
  padding: 20px 0 20px;
}

/* footer */
footer {
  padding: 120px 0 60px;
  background: #021230;
  color: #ddd;
}

footer h5 {
  color: #fff;
  margin-bottom: 25px;
}

footer h6 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  position: relative;
  top: -8px;
  font-family: "Poppins", sans-serif;
}

footer h6 span {
  color: #1783f9;
}

footer ul li {
  margin-bottom: 15px;
}

footer ul li a {
  color: #ddd;
}

footer ul li a:hover {
  color: #1783f9;
  transition: 0.5s ease-out;
}

footer ul li i {
  margin-right: 25px;
}

footer ul .map {
  line-height: 30px;
}

footer ul .map i {
  float: left;
  margin-right: 34px;
  margin-top: 5px;
}

footer ul .map p {
  overflow: hidden;
}

footer ul li:last-child {
  margin-bottom: 0;
}

/* 滚动按钮 */

.scroll-area {
  position: relative;
  z-index: 999;
}

.scroll-area .go-top {
  position: fixed;
  cursor: pointer;
  top: 0;
  right: 30px;
  color: #ffffff;
  background-image: -moz-linear-gradient(0deg, #3842fb 0%, #1783f9 100%);
  background-image: -webkit-linear-gradient(0deg, #6c70fa 0%, #1783f9 100%);
  z-index: 9999;
  width: 45px;
  text-align: center;
  height: 45px;
  line-height: 42px;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.9s ease-out 0s;
  -moz-transition: all 0.9s ease-out 0s;
  border-radius: 10px;
}

.scroll-area .go-top i {
  position: absolute;
  top: 50%;
  left: -4px;
  right: 0;
  margin: 0 auto;
  font-size: 15px;
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: all 0.5s ease-out 0s;
  -moz-transition: all 0.5s ease-out 0s;
}

.scroll-area .go-top i:last-child {
  opacity: 0;
  visibility: hidden;
  top: 60%;
}

.scroll-area .go-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: linear-gradient(to right, #00132b 0%, #00132b 100%);
  background-image: -ms-linear-gradient(0deg, #303592 0%, #3842fb 100%);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.5s ease-out 0s;
  -moz-transition: all 0.5s ease-out 0s;
  border-radius: 100%;
}

.scroll-area .go-top:focus,
.scroll-area .go-top:hover {
  color: #fff;
}

.scroll-area .go-top:focus::before,
.scroll-area .go-top:hover::before {
  opacity: 1;
  visibility: visible;
}

.scroll-area .go-top:focus i:first-child,
.scroll-area .go-top:hover i:first-child {
  opacity: 0;
  top: 0;
  visibility: hidden;
}

.scroll-area .go-top:focus i:last-child,
.scroll-area .go-top:hover i:last-child {
  opacity: 1;
  visibility: visible;
  top: 50%;
}

.scroll-area .go-top.active {
  top: 95%;
  -webkit-transform: translateY(-98%);
  -moz-transform: translateY(-98%);
  opacity: 1;
  visibility: visible;
  border-radius: 0;
  right: 30px;
  border-radius: 100%;
}

.top-wrap {
  position: relative;
}

.top-wrap .go-top-button {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 40px;
  text-align: center;
  color: #fff;
  top: 3px;
  z-index: 1;
  background: #3b42c4;
}

.top-wrap .go-top-button i {
  font-size: 20px;
  font-weight: 700;
  padding-left: 4px;
  color: #fff;
}

.top-wrap .go-top-button::after {
  z-index: -1;
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 45px;
  height: 45px;
  -webkit-animation: ripple 1.6s ease-out infinite;
  -moz-animation: ripple 1.6s ease-out infinite;
  opacity: 0;
  background-image: -moz-linear-gradient(0deg, #3842fb 0%, #3842fb 100%);
  background-image: -webkit-linear-gradient(0deg, #3842fb 0%, #3842fb 100%);
  border-radius: 100%;
}

.top-wrap .go-top-button:hover {
  background-color: #222;
  color: #fff;
}

.scroll-area.home-two .top-wrap .go-top-button {
  background: #00aff5;
}
.scroll-area.home-two .top-wrap .go-top-button::after {
  background-image: -moz-linear-gradient(0deg, #00aff5 0%, #00aff5 100%);
  background-image: -webkit-linear-gradient(0deg, #00aff5 0%, #00aff5 100%);
}

@keyframes ripple {
  0%,
  35% {
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }
  50% {
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -ms-transform: scale(1.5);
    -o-transform: scale(1.5);
    transform: scale(1.5);
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(2);
    -moz-transform: scale(2);
    -ms-transform: scale(2);
    -o-transform: scale(2);
    transform: scale(2);
  }
}

/*responsive*/
@media (max-width: 980px) {
  .home-intro img {
    margin-top: 95px;
  }

  .services .content {
    padding: 20px;
  }

  .pricing .content {
    padding: 20px;
  }

  .features img {
    margin-bottom: 30px;
  }

  .latest-blog .content {
    margin-bottom: 30px;
  }

  .latest-blod .content.r-980 {
    margin-bottom: 0;
  }

  .about .col-md-6 {
    max-width: 100%;
    flex: 100%;
  }

  .features .col-md-6 {
    max-width: 100%;
    flex: 100%;
  }
}

@media (max-width: 767px) {
  .latest-blod .content.r-980 {
    margin-bottom: 0;
  }

  .blog-single .search {
    margin-top: 30px;
  }
}

@media (max-width: 640px) {
  .navbar-fixed .navbar-nav li {
    padding: 0;
  }

  .navbar .navbar-nav {
    background: #fff;
    padding: 14px;
  }

  .navbar .navbar-nav li a {
    color: #333;
  }

  .navbar-fixed .navbar-nav {
    padding: 0;
  }

  .services .content {
    margin-bottom: 30px;
  }

  .services .col-sm-12:last-child .content {
    margin-bottom: 0;
  }

  .pricing .content {
    margin-bottom: 30px;
  }

  .pricing .col-sm-12:last-child .content {
    margin-bottom: 0;
  }

  .latest-blod .content.r-980 {
    margin-bottom: 0;
  }

  .blog-single .search {
    margin-top: 30px;
  }

  footer .col-sm-6 {
    margin-top: 50px;
  }
}

@media (max-width: 480px) {
  .navbar .navbar-brand {
    margin-left: 11px;
  }

  .navbar .navbar-nav {
    margin: 11px;
    margin-left: 11px !important;
  }

  .navbar-fixed .navbar-nav {
    padding: 2px;
  }

  .latest-blod .content.r-980 {
    margin-bottom: 0;
  }

  footer .col-12 {
    margin-top: 30px;
  }
}

@media (max-width: 360px) {
  .latest-blod .content.r-980 {
    margin-bottom: 0;
  }
}
