/*------------------------------------------------------------------
Common Stylesheet

Project :  F4theme | Minimal Multipurpose Bootstrap4 Template
Build:     Bootstrap 4+
Author:    F4H3M

-------------------------------------------------------------------*/
/*------------------------------------------------------------------
[Table of contents]

1.  Common Styles
	1.1	Variables
	1.2	Mixins
	1.3	Reset
2.  Menu
3.  Preloader 
4.  Buttons
5.  Section Title
6.  Cta
7.  Banner
8.  About
9.  Service
10. Feature
11. Facts
12. Work
13. Plan
14. Portfolio
15. Team
16. Testimonial
17. Brand
18. Countdown
19. Blog
20. Contact
20. Footer

-------------------------------------------------------------------*/
/* =================================== */
/*  Font Family and Colors Styles
/* =================================== */
/* =================================== */
/*  Basic Style 
/* =================================== */
::-moz-selection {
  /* Code for Firefox */
  background-color: #2cc6e6;
  color: #fff;
}

::selection {
  background-color: #2cc6e6;
  color: #fff;
}

::-webkit-input-placeholder {
  /* WebKit, Blink, Edge */
  color: #777777;
  font-weight: 300;
}

:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #777777;
  opacity: 1;
  font-weight: 300;
}

::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #777777;
  opacity: 1;
  font-weight: 300;
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #777777;
  font-weight: 300;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #777777;
  font-weight: 300;
}

.container {
  max-width: 1400px;
}

.container {
  padding-left: 10px;
  padding-right: 10px;
}

.row {
  margin-left: -10px;
  margin-right: -10px;
}

.col,
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12 {
  padding-left: 10px;
  padding-right: 10px;
}

body {
  color: #292929;
  font-family: "Microsoft JhengHei";
  font-size: 15px;
  font-weight: 300;
  line-height: 1.625em;
  position: relative;
}

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

select {
  display: block;
}

figure {
  margin: 0;
}

a {
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

iframe {
  border: 0;
}

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

.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn.focus:active,
.btn:active:focus,
.btn:focus {
  text-decoration: none;
  outline: 0;
}

.card-panel {
  margin: 0;
  padding: 60px;
}




header.section .header-sticky {
  height:213px;
}

.header-logo {
  color:#FFF;
  font-family: '微軟正黑體';
  font-size:2.8em;
  max-width:100%;
  height:213px;
  line-height: 213px;
}

.main-menu>ul>li>a {
  font-family: '微軟正黑體';
  font-size:1.4em;
}

.header-actions .header-action-btn i {
  color:#FFF;
}

.header-actions .header-action-btn i:hover {
  color:#f6ab49;
} 

.main-menu {
  margin-top: 108px;
}

.header-actions {
  display:flexbox;
  -webkit-box-pack: left;
  -webkit-justify-content: left;
  -ms-flex-pack: left;
  justify-content: left;
  margin-top: 108px;
}

.header-actions .header-action-btn-menu-tel {
  font-family: '微軟正黑體';
  font-size:1.3em;
  color:#FFF;
}

.hero-slide-content .title {
  top: -10%;
  left: 40%;
  position: absolute;
  font-size:3em;
  letter-spacing: 13px;
  font-weight: 500;
  color:#4e341a;
  text-shadow:
    -1px -1px 0 rgba(255,255, 255, 0.4),
    1px -1px 0 rgba(255,255, 255, 0.4),
    -1px 1px 0 rgba(255,255, 255, 0.4),
    1px 1px 0 rgba(255,255, 255, 0.4),
    2px 2px 2px rgba(255,255, 255, 0.4);
}

.hero-slide-content .sub-title{
  top: 20%;
  left: 27%;
  position: absolute;
  font-size:2.6em;
  letter-spacing: 5px;
  color:#4e341a;
  text-shadow:
    -1px -1px 0 rgba(255,255, 255, 0.4),
    1px -1px 0 rgba(255,255, 255, 0.4),
    -1px 1px 0 rgba(255,255, 255, 0.4),
    1px 1px 0 rgba(255,255, 255, 0.4),
    2px 2px 2px rgba(255,255, 255, 0.4);
}

.hero-slide-content .btn {
  margin-top: 10%;
  margin-left: 41.5%;
  margin-right: 45.5%;
  padding: 15px;
  border-radius: 8px;
}

.btn-brown {
  border-color: #5f3f19;
  background-color: #5f3f19;
  color: #ffffff;
  font-family: '微軟正黑體';
  font-size:1.2em;
  font-weight: 500;
  letter-spacing: 6px;
}

.section-margin {
    margin-top: 0px; 
    margin-bottom: 0px;
    padding-top: 60px; 
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
    position: relative;
}

.section-function {
  margin-top: 0px; 
  margin-bottom: 0px;
  padding-top: 60px; 
  padding-bottom: 20px;
  position: relative;
}

.section-flow {
  margin-top: 30px; 
  margin-bottom: 0px;
  padding-top: 60px; 
  padding-bottom: 20px;
  position: relative;
}

.testimonial-content p {
  font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    color: #000000;
    width: 1024px;
    text-align: left;
    letter-spacing: 1px;
}

.testimonial-content h4 {
  font-size: 19px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  color: #000000;
  width: 1024px;
  text-align: left;
  margin: 0px auto 30px auto;
}

.testimonial-content h6 {
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  color: #000000;
  position: absolute;
  left:10px;
  bottom: 0px;
}

.section-margin h5 {
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  color: #000000;
  margin: 30px auto 50px auto;
}

.function-about-word { 
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  color: #000000;
  position: absolute;
  left:10px;
  bottom: 0px;
}

.section-margin h6 { 
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  color: #000000;
  width: 100%;
  margin: 20px auto 30px auto;
}

.section-ps{
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 27px;
  color: #000000;
  width: 100%;
  padding: 20px 10% 0px 15%;
  margin: 0px auto 0px auto;
  text-align: left;
  height: 100%;
  background-color: #f6f6f5;
}

.section-ps-img{
  margin: 0px auto;
  text-align: center;
  width: 100%;
}

.section-ps2{
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 33px;
  color: #000000;
  width: 100%;
  margin: 20px auto 30px auto;
  text-align: right;
}


.section-flow .section-title .title {
  font-size: 2.6em;
  font-style: normal;
  font-weight: 500;
  line-height: 33px;
  color: #000000;
  width: 100%;
  margin: 20px auto 30px auto;
  text-align: center;
}

.section-flow .section-word .title {
  font-size: 1.4em;
  font-style: normal;
  font-weight: 500;
  line-height: 33px;
  color: #000000;
  width: 100%;
  margin: 20px auto 30px auto;
  text-align: center;
}

.section-case .section-word .title {
  font-size: 1.4em;
  font-style: normal;
  font-weight: 500;
  line-height: 33px;
  color: #000000;
  width: 100%;
  margin: 20px auto 30px auto;
  text-align: center;
}

.section.section-customer  {
  margin: 100px auto 30px auto;
  padding-bottom:  4em;
  border-bottom: #000 solid 1px;
}

.section.section-contact {
  margin: 30px auto 0px auto;
  padding-bottom:  2em;
  border-bottom: #000 solid 1px;
}

.section-customer .section-word .title {
  font-size: 1.4em;
  font-style: normal;
  font-weight: 500;
  line-height: 33px;
  color: #000000;
  width: 100%;
  margin: 20px auto 30px auto;
  text-align: center;
}

.section-contact .section-word .title {
  font-size: 1.4em;
  font-style: normal;
  font-weight: 500;
  line-height: 33px;
  color: #000000;
  width: 100%;
  margin: 20px auto 10px auto;
  text-align: center;
}

header.section .header-sticky.active {
  height: 80px;
  background-color: rgb(78, 52, 26, 0.85);
}

header.section .header-sticky.active .header-logo {
  height: 80px;
  line-height: 80px;
  position: absolute;
  top: -40px;
  font-size: 2em;
}

header.section .header-sticky.active .main-menu {
  margin-top: 0px;
  position: absolute;
  top: -36px;
}

header.section .header-sticky.active .header-actions {
  margin-top: 0px;
}

.section.section-flow {
  margin-bottom: 3em;
  border-bottom: 1px solid #292929;
}

div.row.light-green {
  padding: 15px 6%;
  background-color:#f6f6f5;
  height: 298px;
  justify-content: center;
}

div.row.light-gray {
  padding: 15px 6%;
  height: 392px;
  justify-content: center;
}

.step-mark {
  background: #4e341a;
  border-radius: 100%;
  text-align: center;
  padding: 1em;
  width: 188px;
  height: 188px;
  margin-top: 30px;
}

.step-mark h2 {
  color: #ffffff;
  margin: 20px 0px 0px 0px;
  font-size: 2.8em;
}

.step-mark-line {
  height: 3px;
  width: 100%;
  background-color: #fff;
  margin: 5px auto 15px auto;
}


.step-mark h3 {
  color: #ffffff;
  margin: 20px auto 0px auto;
  font-size: 2.3em;
}

.step-merk-info {
  padding: 20px auto 20px 20px;
  font-size: 1.4em;
  line-height: 28px;
  font-weight: 500;
  margin-left: 30px;
  margin-top: 10px;
}

.step-mark-pic img {
  float: right;
}

.step-mark-ps {
  text-align: center;
  width: 100%;
  margin-top: 3em;
  padding-bottom: 2em;
  font-size: 1.5em;
  font-weight: 500;
}

.thumb-effect .image::before {
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(231,230,225,0)), color-stop(75%, rgba(231,230,225,0.8)));
  background: -o-linear-gradient(top, rgba(231,230,225,0) 0%, rgba(231,230,225,0.8) 75%);
  -o-transition: opacity 0.35s, transform 0.35s;
   
}

.blog-thumb.thumb-effect {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.customer-info {
  padding: 0px 20px;
}

.blog-content .blog-title {
  font-size: 1.2em;
  font-weight: 400;
  color: #000000;
  line-height: 1.2em;
  margin-top: 60px;
  min-height: 3em;
}

.blog-content h4 {
  font-size: 1.2em;
  font-weight: 400;
  color: #000000;
  line-height: 1.2em;
  width: 100%;
  margin: 0px auto;
  text-align: center;
}

.blog-thumb.thumb-effect h4{
  position: absolute;
  bottom: 25%;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s linear;
}

.blog-thumb.thumb-effect:hover h4{
  visibility: visible;
  opacity: 1;
}

.contact-form-block {
  margin:20px auto 10px auto;
  padding: 0px;
  line-height: 2em;
}

.contact-form {
  margin:0px auto;
  text-align: center;
}

.input-item {
  width: 100%;
  height: 46px;
  line-height: 46px;
  font-size: 1.1em;
  font-weight: 600;
  color: #000;
  padding: 10px 15px;
  background: #f8f8f8;
  border: 1px solid #000;
  font-weight: 600;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
  font-family: '微軟正黑體';
}

.textarea-item {
  width: 100%;
  height: 150px;
  line-height: 46px;
  font-size: 1.1em;
  font-weight: 600;
  color: #000;
  padding: 0px 15px;
  background: #f8f8f8;
  border: 1px solid #000;
  font-weight: 600;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}

input::placeholder {
  width: 97%;
  height: 46px;
  line-height: 46px;
  font-size: 1.1em;
  font-weight: 600;
  color: #000;
  padding: 0px;
  background: #f8f8f8;
  font-weight: 600;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}

textarea::placeholder {
  width: 97%;
  height: 46px;
  line-height: 46px;
  font-size: 1.1em;
  font-weight: 600;
  color: #000;
  padding: 0px;
  background: #f8f8f8;
  font-weight: 600;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}

.btn-brown {
  background-color: #4e341a;
  color: #FFF;
  font-size: 1.3em;
  font-weight: bold;
  letter-spacing: 15px;
  text-align: center;
  padding-left: 42px;
  border:none;
  font-family: '微軟正黑體';
}

.btn-brown:hover {
  background-color: #f6ab49;
  color: #FFF;
  border:none;
}

.contact-info {
  margin: 3em auto;
}

.contact-info h3, .contact-info-tel, .contact-info-line, .contact-info-address{
  font-size: 1.6em;
  font-weight: bold;
  line-height: 2em;
  font-family: '微軟正黑體';
}

.copyright-content p {
  width: 100%;
  margin: 0px auto;
  text-align: center;
  font-family: '微軟正黑體';
}

.footer-section, .footer-bottom {
  background-color: #4e341a;
}

.footer-bottom p {
  color: #fff;
  font-size: 1.2em;
  font-weight: 500;
}

.mt-4 {
  text-align: left;
  width: 100%;
}

input[type="checkbox"] {
  display: inline-block;
}

#btn_ok {
  background-color: #4e341a;
  color: #FFF;
  border:none;
}

#btn_ok:hover {
  background-color: #f6ab49;
  color: #FFF;
  border:none;
}

a.check-rule {
  color: blue;
  font-size: 1em;
  font-weight: bold;
}

@media screen and (min-width: 1024px) {
  .gallery-slider__images .item .img-fill {
    height: 300px;
  }
}

@media screen and (min-width: 770px) {
  .gallery-slider__images .item .img-fill {
    height: 450px;
  }
}


@media (max-width: 769px) {
  header.section .header-sticky.active {
    height: 80px;
    background-color: rgb(78, 52, 26, 0.85);
  }
  
  header.section .header-sticky.active .header-logo {
    height: 80px;
    line-height: 80px;
    position: absolute;
    top: -40px;
    font-size: 1em;
  }
  
  header.section .header-sticky.active .main-menu {
    margin-top: 0px;
    position: absolute;
    visibility: hidden;
    top: -36px;
    right: 34.5%;
  }

  .header-actions .header-action-btn-wishlist {
    visibility: hidden;
  }

  .header-bottom {
    height: 80px;
  }

  .header-logo {
    color: #FFF;
    font-family: '微軟正黑體';
    height: 80px;
    line-height: 80px;
    position: absolute;
    top: -40px;
    font-size: 1.1em;
    max-width: 100%;
  }

  header.section .header-sticky.header-logo {
    height: 80px;
    line-height: 80px;
    position: absolute;
    top: 0px;
    font-size: 1em;
  }
  
  header.section .header-sticky .main-menu {
    margin-top: 0px;
    position: absolute;
    top: -36px;
    right: 34.5%;
  }

  .header-action-btn.header-action-btn-line {
    font-family: '微軟正黑體';
    font-size: 1em;
    color: #FFF;
    visibility: hidden;
  }

  .header-action-btn.header-action-btn-fb {
    font-family: '微軟正黑體';
    font-size: 1em;
    color: #FFF;
    visibility: hidden;
  }

  .header-action-btn.header-action-btn-tel {
    font-family: '微軟正黑體';
    font-size: 1em;
    color: #FFF;
    visibility: hidden;
  }

  .header-actions .header-action-btn-menu-tel {
    font-family: '微軟正黑體';
    font-size: 1em;
    color: #FFF;
    visibility: hidden;
  }

  
  header.section .header-sticky .header-actions {
    margin-top: 0px;
    height: 80px;
  }

  .testimonial-content p {
     width: 100%;
  }

  .testimonial-content h4 {
    width: 100%;
  }

  .copyright-content p {
    font-size: 0.8em;
    font-family: '微軟正黑體';
  }

  .section .section-contact-map iframe {
    width: 100%;
  }

  .hero-slide-content .title {
    top: -10%;
    left: 26%;
    position: absolute;
    font-size: 2em;
    letter-spacing: 13px;
    font-weight: 500;
    color: #4e341a;
    text-shadow: -1px -1px 0 rgb(255 255 255 / 40%), 1px -1px 0 rgb(255 255 255 / 40%), -1px 1px 0 rgb(255 255 255 / 40%), 1px 1px 0 rgb(255 255 255 / 40%), 2px 2px 2px rgb(255 255 255 / 40%);
  }

  .hero-slide-content .sub-title {
    top: 27%;
    left: 12%;
    position: absolute;
    font-size: 1.2em;
    letter-spacing: 5px;
    color: #4e341a;
    text-shadow: -1px -1px 0 rgb(255 255 255 / 40%), 1px -1px 0 rgb(255 255 255 / 40%), -1px 1px 0 rgb(255 255 255 / 40%), 1px 1px 0 rgb(255 255 255 / 40%), 2px 2px 2px rgb(255 255 255 / 40%);
  }

  .hero-slide-content .btn {
      margin-top: 15%;
      margin-left: 24%;
  }

  div.row.light-green, div.row.light-gray {
    height: auto;
  }

  .step-mark {
    margin: 30px auto 10px auto;
  }

  .step-merk-info {
    font-size: 1.2em;
    line-height: 28px;
    font-weight: 500;
    margin-left: 0px; 
    margin-top: 10px;
    padding-bottom: 40px;
  }

  .step-mark-pic img {
    float: right;
    width: 100%;
  }

  .step-mark-ps {
    text-align: left;
    width: 100%;
    margin-top: 2em;
    padding-bottom: 2em;
    font-size: 1.4em;
    font-weight: 500;
    line-height: 1.5em;
  }
}



