/*

The Town

https://templatemo.com/tm-525-the-town

*/

html {
  font-size: 18px;
}

body {
  color: #8f8f8f;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: rgb(222, 222, 222);
}
a {
  transition: all 0.3s ease;
}

a:hover,
a:focus {
  text-decoration: none;
}

a:focus {
  outline: none;
}

.btn {
  padding: 8px 32px;
}

.btn:hover {
  background-color: #f1f1f1;
}

.bg-light{background: #f1f1f1;}
.jcc{justify-content: center;}
.aic{align-items: center;}

img{max-width: 100%;}

.bg-grey{background: #9f81ad;}

.tm-section-pad-top {
  padding-top: 135px;
}


.tm-text-primary {
  color: #9f81ad;
  letter-spacing: 5px;
}

.tm-font-big {
  font-size: 1.25rem;
}

.tm-btn-primary {
  color: white;
  background-color: #9f81ad;
  padding: 10px 35px;
  border-radius: 50px;
}

.tm-btn-primary:hover,
.tm-btn-primary:focus {
  color: white;
  background-color: #73c1f6;
}

/* Navbar */

.tm-navbar {
  position: fixed;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: all 0.3s ease;
}

.tm-navbar.scroll {
  background-color: white;
  border-bottom: 1px solid #e9ecef;
}

.navbar-brand {
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
}

.navbar-brand:hover,
.tm-navbar.scroll .navbar-brand:hover {
  color: #9f81ad;
}

.tm-navbar.scroll .navbar-brand {
  color: #8f8f8f;
}

.nav-item {
  list-style: none;
}

.tm-nav-link {
  color: white;
}

.tm-navbar.scroll .tm-nav-link {
  color: #8f8f8f;
}

.tm-navbar.scroll .tm-nav-link:hover,
.tm-navbar.scroll .tm-nav-link.current,
.tm-nav-link:hover {
  color: #9f81ad;
}

.navbar-toggler {
  border: 1px solid white;
  padding-left: 10px;
  padding-right: 10px;
}

.navbar-toggler-icon {
  color: white;
  padding-top: 6px;
}

.tm-navbar.scroll .navbar-toggler {
  border: 1px solid #8f8f8f;
}

.tm-navbar.scroll .navbar-toggler-icon {
  color: #8f8f8f;
}

/* Hero */

#hero {
  /* background-image: url(../image/mj-banner/2.jpg); */
  /* background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  min-height: 375px; */
  /* position: relative; */
}

@media (min-height: 830px) {
  #hero {
    background-position: center -210px;
  }
}

@media (min-height: 680px) and (max-height: 829px) {
  #hero {
    background-position: center -300px;
  }
}

@media (min-height: 500px) and (max-height: 679px) {
  #hero {
    background-position: center -400px;
  }
}

@media (max-height: 499px) {
  #hero {
    background-position: center -450px;
  }
}

.tm-hero-text-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.tm-hero-text-container-inner {
  margin-top: -90px;
}

.tm-hero-title {
  font-size: 3.5rem;
  text-shadow: 2px 2px 2px #333;
}

.tm-intro-next {
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
}

@media (max-height: 480px) {
  .tm-hero-text-container-inner {
    margin-top: -40px;
  }

  .tm-intro-next {
    bottom: 20px;
  }
}

.tm-down-arrow-link {
  display: block;
  margin-top: 18%;
}

.tm-down-arrow {
  color: #7d94c5;
  cursor: pointer;
  background: white;
  border-radius: 50%;
  padding: 10px 22px 8px;
  transition: all 0.3s ease;
}

.tm-down-arrow:hover,
.tm-down-arrow:focus {
  color: white;
  background: #9f81ad;
}

/* Introduction */

.tm-section-title {
  font-size: 2rem;
  font-weight: normal;
}

.tm-intro-text {
  font-size: 1.2rem;
  line-height: 1.4;
}

.tm-icon {
  display: block;
  margin-bottom: 55px;
  color: #9f81ad;
}

/* Work */

.tm-work-description {
  max-width: 650px;
  width: 100%;
  font-size: 0.9rem;
}

.tm-gallery-container {
  padding-top: 50px;
  padding-bottom: 70px;
}

.tm-gallery-item {
  margin: 0 15px;
}

.tm-gallery-item h2{
  font-size: 20px;
}

.tm-gallery-item img{
  width: 330px;
  height: 250px;
  object-fit: cover;
  object-position: center;
}

.slick-dots {
  bottom: -65px;
}

.slick-dots li {
  margin: 0 13px;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before,
.slick-dots li.slick-active button:before {
  opacity: 1;
  color: #3ba0dd;
}

.slick-dots li button:before {
  font-size: 26px;
}

/* Hover Effect */
/* Common style */
.grid figure {
  position: relative;
  float: left;
  overflow: hidden;
  /* margin: 10px 1%;
  min-width: 320px;
	max-width: 480px;
	max-height: 360px;
	width: 48%; */
  background: #3085a3;
  text-align: center;
  cursor: pointer;
}

.grid figure img {
  position: relative;
  display: block;
  min-height: 100%;
  max-width: 100%;
  opacity: 0.8;
}

.grid figure figcaption {
  padding: 2em;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
  pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

.grid figure h2 {
  word-spacing: -0.15em;
  font-weight: 300;
}

.grid figure h2 span {
  font-weight: 800;
}

.grid figure h2,
.grid figure p {
  margin: 0;
}

.grid figure p {
  letter-spacing: 1px;
  font-size: 68.5%;
}

/*---------------*/
/***** Honey *****/
/*---------------*/

figure.effect-honey {
  background: #4a3753;
}

figure.effect-honey img {
  opacity: 0.8;
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
}

figure.effect-honey:hover img {
  opacity: 1;
}

figure.effect-honey figcaption::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: #9f81ad;
  content: "";
  
}

figure.effect-honey h2 {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0em 1em;
  width: 100%;
  text-align: left;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-honey h2 i {
  font-style: normal;
  opacity: 1;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-honey figcaption::before,
figure.effect-honey h2 {
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
}

figure.effect-honey:hover figcaption::before{
  opacity: 0;
  
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
}
figure.effect-honey:hover h2,
figure.effect-honey:hover h2 i {
  opacity: 0;
  
}

/* Contact */

#contact {
  color: white;
  background: url(../image/mj-work/過路客咖啡/3.jpg) no-repeat center/cover ,rgba(0, 0, 0, 0.678);
  background-blend-mode: multiply;
  /* background-color: rgb(46, 53, 77);
  background-position: center;
  background-repeat: no-repeat; */
  min-height: 850px;
  position: relative;
  padding-bottom: 50px;
  padding-top: 160px;
}

.tm-underline {
  border-top: 2px solid white;
  height: 8px;
  width: 100%;
}

.tm-underline-inner {
  width: 25%;
  height: 8px;
  background: white;
}

.tm-contact-item {
  margin-bottom: 75px;
}

@media (max-width: 576px){
  .tm-contact-item{
    margin-bottom: 30px;
  }
}

.tm-contact-item-link {
  display: flex;
  align-items: center;
}

.tm-contact-item-link i,
.tm-contact-item-link span {
  color: white;
  transition: all 0.3s ease;
}

.tm-contact-item-link:hover i,
.tm-contact-item-link:hover span {
  color: #9f81ad;
}

.tm-input {
  padding: 8px 25px;
  border-radius: 3px;
  border: 1px solid white;
  background: transparent;
  color: white;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: white;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: white;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: white;
}

.tm-btn-submit {
  margin-left: 20px;
}

.tm-footer {
  /* position: absolute;
  bottom: 5px;
  left: 0;
  right: 0; */
  padding: 0 15px;
}

.tm-footer-link {
  color: white;
}

.tm-footer-link:hover,
.tm-footer-link:focus {
  color: #b0cde0;
  text-decoration: none;
}

p {
  line-height: 1.9;
}

@media (min-width: 768px) {
  .tm-intro-text-container {
    padding-left: 65px;
  }

  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1275px;
  }

  .tm-container-gallery {
    max-width: 1290px;
  }

  .tm-container-contact {
    max-width: 1063px;
  }
}

.spe{
  color: #9f81ad;
}

@media (max-width: 991px) {
  .tm-intro-text-container {
    padding-left: 15px;
    padding-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-intro-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-btn-submit {
    margin-left: 0;
    margin-top: 20px;
  }
}
@media (min-width: 768px){
  .navbar-expand-md .navbar-collapse {
    display: -ms-flexbox!important;
    display: flex!important;
    -ms-flex-preferred-size: auto;
    flex-basis: auto;
    justify-content: flex-end;
}
}


@media (max-width: 767px) {
  .tm-btn-submit {
    margin-left: 20px;
    margin-top: 0;
  }

  .navbar-nav {
    max-width: 200px;
    text-align: center;
  }

  .navbar-nav .nav-item{
    width: 100%;
    margin: 0px auto;
  }

  .navbar-collapse {
    background-color: rgb(255, 255, 255);
    padding: 10px;
    border-radius: 3px;
    display: flex;
    justify-content: center;
  }

  .navbar-collapse .nav-link {
    color: #8f8f8f;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .tm-gallery-container {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 30px;
    padding-bottom: 50px;
  }

  .slick-dots li {
    margin: 0 8px;
  }

  .tm-gallery-item {
    margin: 0;
  }
}

@media (max-width: 420px) {
  .tm-btn-submit {
    display: block;
    margin-left: 0;
    margin-top: 20px;
  }
}

.process-list{
  max-width: 900px;
  margin: auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  
  
}

.process-list li{
  display: flex;
  align-items: center;
  /* max-width: 586px; */
  
  
}

.process-list li .num{
  font-size: 80px;
  position: relative;
  font-weight: lighter;
  margin-right: 40px;
}

/* 
.process-list li .num:after{
  content: '';
  position: absolute;
  bottom: 10%;
  left: 0px;
  width: 60px;
  height: 1px;
  background: #9f81ad;
} */


.process-list li p{
  margin-bottom: 0;
  position: relative;
}

@media (max-width: 576px){
  .process-list li .num{
    font-size: 50px;
    margin-right: 30px;
    flex: 0 1 30px;
  }

  .process-list li p{
    flex: 1 1 calc(100% - 30px);
  }
  .process-list li .num:after{
    bottom: 10%;
    width: 30px;
  }
}

/* .num-bg{
  padding: 20px;
  padding-top: 10px;
  background-color: #9f81ad;
  color: #fff;
  margin: 0px 5px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 22px;
} */

.service-step{
width: 300px;
}

.service-txt{
  margin-bottom: 50px;
  padding: 50px 24px ;
  /* background-color: #fff; */
  border-radius: 10px;
  text-align: left;
  position: relative;

  width: 100%;
  min-height: 176px ;
  

}

.num-bg{
  position: absolute;
  padding: 20px;
  padding-top: 10px;
  background-color: #9f81ad;
  color: #fff;
  margin: 0px 5px;
  border-radius: 20px 0px 20px 0px;
  width: 50px;
  height: 50px;
  font-size: 22px;
  top: 2%;
left: 50%;
transform: translate( -50% , -50%);
content: '1';

}




@media screen and (max-width:576px) {
  
.service-txt{
  margin-bottom: 50px;
  padding: 30px 50px ;
  background-color: #fff;
  border-radius: 10px;
  text-align: center;
  position: relative;
  width: 100%;
  

}
.num-bg{
  position: absolute;
  padding: 20px;
  padding-top: 10px;
  background-color: #9f81ad;
  color: #fff;
  margin: 0px 5px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 22px;
  top: -2%;
left: 50%;
transform: translate( -50% , -50%);
content: '1';

}
}




/* .service-txt h4 , h5{

  padding: 15px 0px  13px 0px ;
  
  background-color: #fff;
  border-radius: 10px;
  text-align: center;

} */

.btn-way{
  padding: 6px 10px;
  background: rgb(160, 160, 160);
  color: #fff;
  margin: 0px 5px;
}



/* cancle  reset */


ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 0px;
}

.m-auto{
  margin: 10px auto;
  display: block;

}


.holder{
  /* height:650px; */
  /* background:gray; */
  /* border:1px dashed #000; */
  color:#fff;
  text-align:center;
}
/* .holder img {
  height: 100%;
} */

.banner-img{
  object-fit: cover;
  object-position: center;
  width: 100vw;
  height: 750px;
}
.center{
  margin:10px;
}
.inside-image{
  width:100%;
  height:100%;
}
.lazy-height{
  height:300px;
}
.fade-height{
  height:400px;
}

.banner-hero{
  position: relative;
}

.single-item .holder img{
  filter: brightness(0.4);
} 

.banner-hero-fix{
  position: absolute;
  z-index: 400;
  top: 40%;
  left: 5%;
  /* transform: translate( -50% , -50% ); */
  text-align: center;
  /* backdrop-filter: blur(20px); */
  padding: 20px 70px;
  /* background: linear-gradient(to right ,#c58787 90%, #fff 10%); */
  /* background-color: rgba(0, 0, 0, 0.151); */
  text-align: left;
}

.banner-hero-fix h2 strong{
  font-size: 43px;
  letter-spacing: 3px;
  border-bottom: 2.5px solid #fff;
  padding: 0px 1px;
  /* text-align: center; */
  margin-bottom: 6px;
 
}

.banner-hero-fix p {
  font-size: 16px;
}


@media screen and (max-width:574px) {
  .banner-hero-fix{
    position: absolute;
    z-index: 400;
    top: 40%;
    left: 50%;
    transform: translate( -50% , -50% );
    text-align: center;
    backdrop-filter: blur(20px);
    padding: 50px 1px;
    font-size: 14px;
    min-width: 300px;
    background-color: rgba(0, 0, 0, 0.151);
  }
  .banner-hero-fix h2 strong{
    font-size: 16px;
    letter-spacing: 3px;
    border-bottom: 2.5px solid #fff;
    padding: 0px 1px;
    /* text-align: center; */
    margin-bottom: 6px;
   
  }
}

.icon-group{
  position: fixed;
  bottom: 30px;
  right: 10px;
  display: flex;
  flex-direction: column;
  
}

.price-table thead tr td {
text-align: center;
min-width: 150px;
padding: 5px 10px;
border: 0.6px solid #fff;

}

.price-table thead  tr {
 display: flex;
 justify-content: center;
 flex-wrap: wrap;
  }

.wh-autoscale-img{
  object-fit: cover;
  object-position: center;
  padding: 0px 5px ;
  height: 100%;
  width: 100%;
}
.about{
  /* background: url(../image/mj-banner/3.jpg) no-repeat center/cover ; */
  /* background-blend-mode: multiply !important; */
  /* background-color: #fff; */

}

.service{
  background: url(../image/mj-textture/4.jpg) no-repeat center/cover , #575757 ;
  background-blend-mode: multiply;
  background-position: 90% 90%;

}
/* 
.process{
  background:url(../image/mj-textture/7.png) no-repeat left/contain , #fff;
  background-blend-mode: multiply;
  backdrop-filter: blur(20px);
  background-position:110% 10%;
} */

.portfolio{
  background:url(../image/mj-banner/5.jpg) no-repeat left/cover , #383838;
  background-blend-mode: multiply;
  backdrop-filter: blur(20px);
  background-attachment: fixed;
  /* background-position:110% 10%; */
}
  

.work-img{
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 500px;
}

.slick-dots li button:hover:before, .slick-dots li button:focus:before, .slick-dots li.slick-active button:before {
  opacity: 1;
  color: #b27b7c;
  
}

.connect{
  background: #9f81ad;
}


a{
  color: #fff;
}

a :hover{
  color: #ffe0e0;
}
hr{
  border: 1px solid rgba(255, 255, 255, 0.247);
}

.designer-img{
  object-fit: cover;
  width: 100%;
  height: 450px ;
  border-radius:  88px 0px 88px 0px;
  
}

.design-info{
  border-left:  solid 2px #9f81ad; 
  padding-left: 10px;
}

.design-info ul {
  list-style: none;
  padding-left: 5px;
}

.slick-dots li button:before {
  font-family: 'slick';
  font-size: 6px;
  line-height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  content: '•';
  text-align: center;
  opacity: .65;
  color: rgb(112, 112, 112);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.banner-triangle{
  position: relative;
}

.banner-triangle::after{
  position: absolute;
  right: 0;
  bottom: 0;
  width: 20px;
  height: 20px;
  background-color: #9f81ad;
  content: '';
  border-radius: 5px 0px 5px 0px;
}


@media screen and (max-width:576px) {
  .banner-triangle::after{
    position: absolute;
    right: 50%;
    bottom: -50%;
    transform: translate(60% , -50%);
    width: 20px;
    height: 20px;
    background-color: #ffaeaf;
    content: '';
    border-radius: 5px 0px 5px 0px;
  }
  
}

a:hover {
  color: #ffbbcf;
  text-decoration: underline;
}



