body {
  font-family: "微軟正黑體", "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #888;
  line-height: 30px;
  text-align: center;
}

strong {
  font-weight: 500;
}

a,
a:hover,
a:focus {
  color: #66d6c5;
  text-decoration: none;
  -o-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -ms-transition: all 0.3s;
  transition: all 0.3s;
}

h1,
h2 {
  margin-top: 10px;
  font-size: 38px;
  font-weight: 100;
  color: #555;
  line-height: 50px;
  /*text-transform: uppercase;*/
  letter-spacing: 6px;
}
h2 span {
  display: block;
  font-size: 0.6em;
  color: #c1c1c1;
}

h3 {
  font-size: 22px;
  font-weight: 300;
  color: #555;
  line-height: 30px;
  /*text-transform: uppercase;*/
}

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

img.programming_pic {
  max-height: 650px;
  max-width: 420px;
}

.medium-paragraph {
  font-size: 18px;
  line-height: 32px;
}

.colored-text {
  color: #66d6c5;
}

::-moz-selection {
  background: #66d6c5;
  color: #fff;
  text-shadow: none;
}
::selection {
  background: #66d6c5;
  color: #fff;
  text-shadow: none;
}

/***** Loader *****/

/*  7/27新增 */
.great-support-container a {
  color: #888;
}

.title-box {
  font-size: 1.5em;
  color: #333;
}

.date-box {
  /* font-size: 1em; */
  color: #666;
  font-weight: bold;
  text-align: center;
  font-size: 18px;
  margin-top: 4px;
}

.mb-5 {
  margin: 2em 0em;
}

/* 7/27新增 end*/

.loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  overflow: hidden !important;
  z-index: 99999;
}

.loader-img {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -30px 0 0 -30px;
  width: 60px;
  height: 60px;
  background: url(../img/loading.gif) center center no-repeat;
}

/*--------7/28增加css-------------------------------*/

/*選單文字轉換*/
.cl-effect-5.navbar-nav > li {
  padding-top: 10px;
}
.cl-effect-5.navbar-nav li:nth-child(3) {
  padding: 10px 22px 0 8px;
}
.cl-effect-5.navbar-nav > li > a {
  padding-top: 8px;
  padding-bottom: 8px;
}
.cl-effect-5 a {
  overflow: hidden;
}
.cl-effect-5 a span {
  position: relative;
  display: inline-block;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
  margin-left: 3px;
  padding: 0 22px;
  line-height: 2.2;
}
.cl-effect-5 a span::before {
  position: absolute;
  top: 105%;
  content: attr(data-hover);
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  text-transform: capitalize;
}
.cl-effect-5 a:hover span,
.cl-effect-5 a:focus span {
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  transform: translateY(-100%);
  color: #66d6c5;
}

.cl-effect-5 a:hover span.programmingTab,
.cl-effect-5 a:focus span.programmingTab {
  -webkit-transform: translateY(-105%);
  -moz-transform: translateY(-105%);
  transform: translateY(-105%);
  color: #66d6c5;
}

/*關於-scroll動畫*/
.top-content .icon-box .scroll-down {
  position: absolute;
  left: 50%;
  margin-left: -35px;
  bottom: 60px;
  z-index: 5;
  width: 70px;
  height: 70px;
  background: url(../img/scroll_down.png) no-repeat center center;
  text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.2);
  color: #fff;
  text-align: center;
  font-size: 0.813rem;
  line-height: 70px;
  font-family: Arial;
  animation: scrollDown 2s infinite;
  -moz-animation: scrollDown 2s infinite;
  -webkit-animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0% {
    opacity: 0;
    bottom: 60px;
  }
  80% {
    opacity: 1;
    bottom: 50px;
  }
  100% {
    opacity: 0;
    bottom: 50px;
  }
}
@-moz-keyframes scrollDown {
  0% {
    opacity: 0;
    bottom: 60px;
  }
  80% {
    opacity: 1;
    bottom: 50px;
  }
  100% {
    opacity: 0;
    bottom: 50px;
  }
}
@-webkit-keyframes scrollDown {
  0% {
    opacity: 0;
    bottom: 60px;
  }
  80% {
    opacity: 1;
    bottom: 50px;
  }
  100% {
    opacity: 0;
    bottom: 50px;
  }
}
.top-content .icon-box .scroll-down i {
  position: absolute;
  width: 11px;
  height: 0;
  background: url(../img/scroll_down_aw.png) no-repeat center center;
  left: 50%;
  margin-left: -5px;
  top: 50px;
  animation: scrollDownIcon 2s infinite;
  -moz-animation: scrollDownIcon 2s infinite;
  -webkit-animation: scrollDownIcon 2s infinite;
}
@keyframes scrollDownIcon {
  0% {
    height: 0;
  }
  80% {
    height: 36px;
  }
  100% {
    height: 36px;
  }
}
@-moz-keyframes scrollDownIcon {
  0% {
    height: 0;
  }
  80% {
    height: 36px;
  }
  100% {
    height: 36px;
  }
}
@-webkit-keyframes scrollDownIcon {
  0% {
    height: 0;
  }
  80% {
    height: 36px;
  }
  100% {
    height: 36px;
  }
}

/*--------7/28增加css--end---------------------------*/

/***** General style, all sections *****/

.projects-new-container {
  background: #f8f8f8;
}

.section-container2 {
  margin: 50px;
  padding-bottom: 80px;
}

.section-container {
  margin: 0 auto;
  padding-bottom: 80px;
}

.section-container-gray-bg {
  background: #f8f8f8;
  border-top: 1px dotted #ddd;
  border-bottom: 1px dotted #ddd;
}

.section-container-image-bg,
.section-container-image-bg h2,
.section-container-image-bg h3 {
  color: #fff;
}

.section-container-image-bg .divider-1 span {
  border-color: #fff;
}

.section-description {
  margin-top: 60px;
  padding-bottom: 10px;
}

.section-description p {
  margin-top: 20px;
  padding: 0 120px;
}

.subTitle {
  color: #fff;
  font-weight: bold;
  text-shadow: 2px 2px 2px #484848;
}

.section-container-image-bg .section-description p {
  opacity: 0.8;
}

.section-bottom-button {
  padding-top: 60px;
}

.btn-link-1 {
  display: inline-block;
  height: 50px;
  margin: 0 5px;
  padding: 16px 20px 0 20px;
  background: #66d6c5;
  font-size: 16px;
  font-weight: 300;
  line-height: 16px;
  color: #fff;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.btn-link-1:hover,
.btn-link-1:focus,
.btn-link-1:active {
  outline: 0;
  opacity: 0.6;
  color: #fff;
}

.btn-link-2 {
  display: inline-block;
  height: 50px;
  margin: 0 5px;
  padding: 16px 20px 0 20px;
  background: #444;
  background: rgba(0, 0, 0, 0.3);
  font-size: 16px;
  font-weight: 300;
  line-height: 16px;
  color: #fff;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.btn-link-2:hover,
.btn-link-2:focus,
.btn-link-2:active,
.btn-link-2:active:focus {
  outline: 0;
  opacity: 0.6;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
}

/***** Divider *****/

.divider-1 span {
  display: inline-block;
  width: 200px;
  border-bottom: 1px dotted #aaa;
}

/***** Top menu *****/

.navbar {
  margin-bottom: 0;
  background: #444;
  border: 0;
  -o-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -ms-transition: all 0.6s;
  transition: all 0.6s;
}
.navbar.navbar-no-bg {
  background: none;
}

ul.navbar-nav {
  font-size: 16px;
  color: #fff;
}

.navbar-inverse ul.navbar-nav li a {
  /*padding-top: 20px; padding-bottom: 20px;*/
  color: #fff;
  font-weight: bold;
  opacity: 0.8;
}
.navbar-inverse ul.navbar-nav li a:hover {
  color: #66d6c5;
  opacity: 1;
}
.navbar-inverse ul.navbar-nav li a:focus {
  color: #66d6c5;
  outline: 0;
  opacity: 1;
}

.navbar-brand {
  width: 150px;
  height: 60px;
  background: url(../img/jinwei_logo4.png) left center no-repeat;
  background-size: contain;
  text-indent: -99999px;
}

.navbar-toggle {
  margin-top: 13px;
  margin-bottom: 13px;
}

/***** Top content *****/

.inner-bg {
  padding: 200px 0;
}

.top-content {
  background: url(../img/backgrounds/Jinwei_Profile1.jpg) center right no-repeat;
  height: 100vh;
  background-size: cover;
  position: relative;
}

.top-content .text {
  color: #fff;
}

.top-content .text h1 {
  color: #fff;
  font-weight: bold;
  text-shadow: 2px 2px 2px #484848;
}

.top-content .description {
  margin: 20px 0 10px 0;
}

.top-content .description p {
  /*opacity: 0.8;*/
  text-shadow: 0 0 10px #333;
  font-size: 1.5em;
}

.top-content .top-big-link {
  margin-top: 35px;
}

/***** Features *****/

.features-box {
  padding-top: 30px;
}

.features-box .features-box-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  background: #f8f8f8;
  font-size: 60px;
  color: #555;
  line-height: 120px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  -o-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -ms-transition: all 0.6s;
  transition: all 0.6s;
}

.features-box .features-box-icon:hover {
  background: #66d6c5;
}

.features-box h3 {
  margin-top: 15px;
  padding: 10px 0;
}

/***** More features *****/

.more-features-container {
  padding-bottom: 0;
}

.more-features-box {
  margin-top: 30px;
  margin-bottom: 20px;
}

.more-features-box-text {
  margin-top: 40px;
  padding-left: 30px;
  overflow: hidden;
  text-align: left;
}
.more-features-box-text:first-child {
  margin-top: 20px;
}

.more-features-box-text-left {
  padding-left: 0;
  padding-right: 30px;
}

.more-features-box-text-icon {
  float: left;
  width: 60px;
  height: 60px;
  padding-top: 6px;
  background: #66d6c5;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  font-size: 32px;
  color: #555;
  line-height: 40px;
  text-align: center;
}
.more-features-box-text-icon i {
  vertical-align: middle;
}

.more-features-box-text h3 {
  float: right;
  width: 86%;
  margin-top: 0;
}

.more-features-box-text-description {
  float: right;
  width: 86%;
}

/***** Great support *****/

.great-support-container {
  padding-bottom: 60px;
}

.great-support-box {
  margin-top: 30px;
  margin-bottom: 20px;
}

.great-support-box-text {
  margin-top: 40px;
  padding-left: 30px;
  overflow: hidden;
  text-align: left;
}
.great-support-box-text:first-child {
  margin-top: 20px;
}

.great-support-box-text-left {
  padding-left: 0;
  padding-right: 30px;
}

.great-support-box-text h3 {
  margin-top: 0;
}

.great-support-box-text .medium-paragraph {
  margin-top: 20px;
  margin-bottom: 20px;
}

/***** How it works *****/

.how-it-works {
  padding-bottom: 30px;
}

.how-it-works-box {
  padding-top: 15px;
  padding-bottom: 15px;
}

.how-it-works-box .how-it-works-box-icon {
  font-size: 74px;
  line-height: 80px;
}

.how-it-works-box h3 {
  margin-top: 15px;
}

.how-it-works-box p {
  opacity: 0.8;
}

/***** Testimonials *****/

.testimonials-container {
  padding-bottom: 70px;
  background: #fff;
  /* background: #f8f8f8; */
}

.testimonial-list {
  margin: 30px;
  text-align: center;
}

.testimonial-list .testimonial-image img {
  max-width: 160px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}

.testimonial-list .testimonial-text {
  margin-top: 30px;
}

.testimonial-list .nav-tabs {
  margin-top: 30px;
  border: 0;
}

.testimonial-list .nav-tabs li {
  float: none;
  display: inline-block;
  margin-left: 5px;
  margin-right: 5px;
}

.testimonial-list .nav-tabs li a {
  width: 14px;
  height: 14px;
  padding: 0;
  background: #ddd;
  border: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}

.testimonial-list .nav-tabs li a:hover {
  border: 0;
  background: #66d6c5;
}
.testimonial-list .nav-tabs li.active a {
  background: #66d6c5;
}
.testimonial-list .nav-tabs li.active a:focus {
  border: 0;
}

.videobox {
  display: block; /*background: #000;*/
}
.videobox span {
  font-size: 5rem;
  color: #cc090d;
  position: absolute;
  left: 45%;
  top: 42%;
  text-align: center;
  z-index: 9;
  opacity: 1;
  filter: alpha(opacity=100);
  -moz-opacity: 1;
}
/*.videobox img{ filter: alpha(opacity=50); -moz-opacity:0.5; opacity:0.5;}*/
/*.videobox:hover img{ filter: alpha(opacity=80); -moz-opacity:0.8; opacity:0.8;}*/

/***** Call to action *****/

.call-to-action-container .section-bottom-button {
  padding-top: 30px;
}

/***** About us *****/

.about-us-container {
  padding-bottom: 65px;
}

.about-us-box {
  padding-top: 30px;
  padding-bottom: 15px;
}

.about-us-box .about-us-photo {
  width: 160px;
  margin: 0 auto;
}

.about-us-box .about-us-photo img {
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}

.about-us-box .about-us-social {
  margin-top: 5px;
  font-size: 32px;
  line-height: 36px;
}

.about-us-box .about-us-social a {
  margin: 0 4px;
  color: #ddd;
}
.about-us-box .about-us-social a:hover,
.about-us-box .about-us-social a:focus {
  color: #66d6c5;
}

/***** Footer *****/

footer {
  padding: 40px 0 35px 0;
  background: #4a4a4a;
  border-top: 1px dotted #ddd;
}

.footer-social {
  font-size: 42px;
  line-height: 42px;
}

.footer-social a {
  display: inline-block;
  width: 60px;
  height: 60px;
  margin: 0 5px;
  padding-top: 7px;
  background: #eee;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  font-size: 32px;
  color: #555;
  line-height: 40px;
  text-align: center;
}
.footer-social a:hover,
.footer-social a:focus {
  background: #66d6c5;
  color: #555;
}

.footer-social a i {
  vertical-align: middle;
}

.footer-copyright {
  margin-top: 25px;
}

.projectWrap {
  display: grid;

  grid-template-columns: repeat(4, 1fr);
  padding-bottom: 50px;
}

.projectWrap .projectLogo {
  margin: auto;
  width: 80%;
  text-align: center;
}

div.row.projectWrap::before {
  display: none;
}

.projectWrap .projectLogo.xinSolomo > a {
  color: #595757;
  font-size: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.projectWrap .projectLogo svg {
  width: 100%;
  height: 100%;
}

.projectWrap .projectLogo > a {
  height: 100%;
  /* width: 170px; */
  margin: auto;
  width: 100%;
  max-width: 180px;
  display: block;
}

.projectWrap .projectLogo img {
  height: 100%;
}

.projectWrap .xinShop > a > svg {
  fill: #595757;
}

/*此為RWD，針對寬度768以下做設定，建議把所有個別設定的寬度統一放在CSS最下方*/
/* 8/5 update */
@media (max-width: 768px) {
  img.programming_pic {
    width: 100%;
  }
  .date-box {
    text-align: left;
  }
  h3.title-box {
    margin-top: 10px;
  }
  .inner-bg {
    padding: 150px 0;
  }
  .projectWrap {
    grid-template-columns: 1fr 1fr;
  }
  h3 {
    display: inline-block;
  }
}

@media (max-width: 767px) {
  .description .subDesp {
    display: none;
  }

  h3.pgItem {
    margin-left: 10px;
  }
  .inner-bg {
    padding: 100px 0;
  }
  .cl-effect-5.navbar-nav > li {
    text-align: left;
  }
  .cl-effect-5.navbar-nav li:nth-child(3) {
    padding: 10px 0 0 0;
  }

  .more-features-box-text {
    padding: 0 calc((100% - 400px) / 2) !important;
  }

  .more-features-box-text-description {
    padding: 10px 5px;
  }
}

@media (max-width: 640px) {
  .top-content {
    height: auto;
  }
}

@media (min-width: 768px) {
  .container {
    width: 780px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
