/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: "Microsoft JhengHei", sans-serif;
    font-size: 0.9rem;
    color: #5D5C5C;
  }
  
  a {
    color: #C77904;
    text-decoration: none;
  }
  
  a:hover {
    color: #A54F16;
    text-decoration: none;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto", "Microsoft JhengHei" , sans-serif;
  }

  
  /*--------------------------------------------------------------
  # Preloader
  --------------------------------------------------------------*/
  #preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
  }
  
  #preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #C77904;
    border-top-color: #e2eefd;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    -webkit-animation: animate-preloader 1s linear infinite;
    animation: animate-preloader 1s linear infinite;
  }
  
  @-webkit-keyframes animate-preloader {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  @keyframes animate-preloader {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 3px;
    right: 15px;
    bottom: 15px;
    background: rgba(166,166,166,0.5);
    color: #fff;
    transition: display 0.5s ease-in-out;
    z-index: 999;
  }
  
  
  .back-to-top i {
    font-size: 24px;
    position: absolute;
    top: 8px;
    left: 8px;
  }
  
  .back-to-top:hover {
    color: #fff;
    background: #C77904;
    transition: background 0.2s ease-in-out;
  }

/*--------------------------------------------------------------
# Scrollbar
--------------------------------------------------------------*/

::-webkit-scrollbar {
  width:3px;
  height:3px;
  border-left:0;
  background:rgba(0,0,0,0.1);
}
::-webkit-scrollbar-track {
  background:none;
}
::-webkit-scrollbar-thumb {
  background:#8c8c8c;
  border-radius:0;
}

  /*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    background: #fff;
    transition: all 0.5s;
    z-index: 997;
    height: 85px;
  }
  
  #header.fixed-top {
    height: 70px;
  }

  #header .logo img {
    max-height: 40px;
  }
  
  .scrolled-offset {
    margin-top: 70px;
  }

/*--------------------------------------------------------------
# Language Bar
--------------------------------------------------------------*/
#lanbar {
  background: #f2f2f2;
  border-width:1px;
  height: 35px;
  line-height: 0; 
  font-size: 13px;
  transition: all 0.5s;
  color:#C77904;
  font-weight: 700;
  padding: 0;
}

#lanbar .links{
  color:#808080;
  font-weight: 600;
}



/*--------------------------------------------------------------
Breadcrumb
--------------------------------------------------------------*/

  .breadcrumb {
    background: none;
    padding-top: 15px;
    font-size: 13px;
  }

  @media (max-width: 1200px) {
    .breadcrumb {
      display: none;
    }
  }
  
  @media (max-width: 768px) {
    .breadcrumb {
      display: none;
    }
  }


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* PC版menu */

.navbar {
    padding: 0;
  }
  
  .navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }
  
  .navbar li {
    position: relative;
  }
  
  .navbar > ul > li {
    white-space: nowrap;
    padding: 10px 0 10px 28px;
  }
  
  .navbar a, .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3px;
    font-size: 15px;
    font-weight: 600;
    color: #515050;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }
  
  .navbar a i, .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }
  
  .navbar > ul > li > a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: #C77904;
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }
  
  .navbar a:hover:before, .navbar li:hover > a:before, .navbar .active:before {
    visibility: visible;
    width: 100%;
  }
  
  .navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
    color: #C77904;
  }
  
  .navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 28px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
  }
  
  .navbar .dropdown ul li {
    min-width: 200px;
  }
  
  .navbar .dropdown ul a {
    padding: 10px 20px;
    font-weight: 400;
  }
  
  .navbar .dropdown ul a i {
    font-size: 12px;
  }
  
  .navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
    color: #C77904;
  }
  
  .navbar .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
  
  .navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
  }
  
  .navbar .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
  }
  
  @media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
      left: -90%;
    }
    .navbar .dropdown .dropdown:hover > ul {
      left: -100%;
    }
  }
  
/* 手機版menu */

  .mobile-nav-toggle {
    color: #515050;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
  }
  
  .mobile-nav-toggle.bi-x {
    color: #fff;
  }
  
  @media (max-width: 991px) {
    .mobile-nav-toggle {
      display: block;
    }
    .navbar ul {
      display: none;
    }
  }
  
  .navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: #424242;
    transition: 0.3s;
    z-index: 999;
  }
  
  .navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
  }
  
  .navbar-mobile ul {
    display: block;
    position: absolute;
    top: 55px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 10px 0;
    background-color: #fff;
    overflow-y: auto;
    transition: 0.3s;
  }
  
  .navbar-mobile a {
    padding: 10px 20px;
    font-size: 15px;
    color: #515050;
  }
  
  .navbar-mobile > ul > li {
    padding: 0;
  }
  
  .navbar-mobile a:hover:before, .navbar-mobile li:hover > a:before, .navbar-mobile .active:before {
    visibility: hidden;
  }
  
  .navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
    color: #C77904;
  }
  
  .navbar-mobile .getstarted {
    margin: 15px;
  }
  
  .navbar-mobile .dropdown ul {
    position: static;
    display: none;
    margin: 10px 20px;
    padding: 10px 0;
    z-index: 99;
    opacity: 1;
    visibility: visible;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  }
  
  .navbar-mobile .dropdown ul li {
    min-width: 200px;
  }
  
  .navbar-mobile .dropdown ul a {
    padding: 10px 20px;
  }
  
  .navbar-mobile .dropdown ul a i {
    font-size: 12px;
  }
  
  .navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
    color: #C77904;
  }
  
  .navbar-mobile .dropdown > .dropdown-active {
    display: block;
  }

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: url("../img/hero-bg.jpg") top center;
  background-size: cover;
  position: relative;
  margin-bottom: -90px;
}

#hero .hero-container {
  position: absolute;
  bottom: 0;
  top: 150px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

#hero .hero-en-container {
  position: absolute;
  bottom: 0;
  width:75%;
  top: 150px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: left;
  flex-direction: column;
  text-align: left;
}


#hero h1 {
  font-family: 'Noto Serif TC', serif;
  margin: 0 0 10px 0;
  font-size: 45px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: -1px 0 2px #465257;
}

#hero h2 {
  font-family: 'Noto Serif TC', serif;
  color: #fff;
  margin-top:20px;
  margin-bottom: 50px;
  line-height: 30px;
  letter-spacing: 2px;
  font-size: 20px;
  font-weight: 500;
  text-shadow: -1px 0 2px #465257;
}


@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {

  #hero .hero-en-container {
    width:80%;
  }
  
  #hero h1 {
    font-size: 30px;
    line-height: 32px;
  }
  #hero h2 {
    font-size: 14px;
    line-height: 24px;
    margin-top:10px;
    margin-bottom: 30px;
  }
}


/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/
.value {
  padding: 80px 0px;
  background: url("../img/about-value-bg.jpg") center center no-repeat;
  background-size: cover;
  position: relative;
}

.value .container {
  background-color: #FFF;
  box-shadow: 0 5px 25px 0 rgba(183, 183, 184, 0.6);
  padding:20px;
}

.value img {
  padding: 15px 0;
}

.value p {
  text-align: left;
  color: #5D5C5C;
  padding-top: 20px;
  line-height: 28px;
}

.value .about-content {
  padding: 40px;
}

.business {
  margin-top: 60px;
  padding-bottom: 30px;
}


.business img {
  padding: 15px 0;
}

.business p {
  text-align: left;
  color: #5D5C5C;
  padding-top: 20px;
  line-height: 28px;
}

.business .about-content {
  padding: 40px;
}

@media (max-width: 1200px) {
  .value {
    padding: 50px 0px;
  }
  .business {
    margin-top: 50px;
    padding-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .value {
    padding: 30px 0px;
  }
  .business {
    margin-top: 20px;
    padding-bottom: 30px;
  }

}

/*--------------------------------------------------------------
# Organization
--------------------------------------------------------------*/
.org {
  background: url("../img/org-bg.jpg") center center no-repeat;
  background-size: cover;
  padding: 60px 0;
  position: relative;
  margin-top: 60px;
}

.org img{
  padding:40px;
}

.org .container {
  position: relative;
  z-index: 10;
}


@media (max-width: 1200px) {
  .org .content {
    padding-right: 0;
  }
  .org{
    margin-top:50px;
  }
}

@media (max-width: 768px) {
  .org {
    text-align: center;
    padding: 20px 0;
    margin-top:0px;
  }
  .org img{
    padding: 10px;
  }
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer {
    background: #616060;
    padding: 30px;
    color: #ffffff;
    font-size: 14px;
  }

#footer .logo{
  text-align: center;
  display: block;
  margin-bottom: 10px;
}

#footer .logo img {
    max-height: 40px;
    
  }

#footer .copyright {
    text-align: center;
    float: none;
  }
  
  @media (max-width: 768px) {
    #footer .copyright, #footer .credits {
      float: none;
      text-align: center;
      padding: 2px 0;
    }
  }



/*--------------------------------------------------------------
# CaseInfo
--------------------------------------------------------------*/
#caseInfo {
  margin-top:90px;
  padding: 60px 0;
  position: relative;
}

.item .case-desc {
	padding: 30px;
}

.owl-theme .item {
  padding: 0px;
	background: #FEFDFD;
	border: 1px solid #e4e3e3;
	margin-bottom: 10px;
	box-shadow: 0px 0px 2px 1px rgba(216, 213, 213, 0.14);
  min-height: 580px;
}

.owl-theme .item img {
	max-width:100%;
	height:auto;
}


.owl-carousel .item h4 {
  color: #535554;
  font-weight: 600;
	font-size:22px;
  
  
}

.owl-carousel .item h5 {	
	font-size: 16px;
	color: #C77904;
}

.owl-carousel .item .btn {
  margin-top: 15px;
  text-align:right;
}


/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
#portfolio {
  padding: 80px 0px 60px 0px;
  position: relative;
  background-color: #f8f9fb;
}

.item .case-desc {
	padding: 30px;
}

.portfolio .item {
  padding: 0px;
	background: #FEFDFD;
	border: 1px solid #e4e3e3;
	margin-bottom: 30px;
	box-shadow: 0px 0px 2px 1px rgba(216, 213, 213, 0.14);
  
}

.portfolio .item img {
	max-width:100%;
	height:auto;
}

.portfolio .card-body h4 {
  color: #535554;
  font-weight: 700;
	font-size:20px;
}
.portfolio .item h4 {
  color: #535554;
  font-weight: 700;
	font-size:20px;
}

.portfolio .item h5 {
	
	font-size: 18px;
	color: #C77904;
}

.portfolio .item .btn {
  margin-top: 15px;
  text-align:right;
}

.portfolio span{
  display: none;
}


/*頁籤變換*/
#tab-all:target ~ #tab > ul li a[href$="#tab-all"],
#tab-bto:target ~ #tab > ul li a[href$="#tab-bto"],
#tab-entrust:target ~ #tab > ul li a[href$="#tab-entrust"],
#tab-renewal:target ~ #tab > ul li a[href$="#tab-renewal"] {
border: solid 1px #C77904;
color: #C77904;
}

#tab{
  width: 100%;
  font-size: 14px;
  }
  /* 頁籤ul */
  #tab>ul{
  overflow: hidden;
  margin: 0;
  padding: 10px 20px 0 20px;
  }
  #tab>ul>li{
  list-style-type: none;
  font-size: 14px;
  }
  #tab>ul>li>a{
  text-decoration: none;
  color: #333;
  float: left;
  padding: 10px;
  margin-left: 5px;
  font-size: 14px;
  }

  
  /*頁籤div內容*/
  #tab>div {
  clear:both;
  padding:0 15px;
  height:0;
  overflow:hidden;
  visibility:hidden;
  -webkit-transition:all .4s ease-in-out;
  -moz-transition:all .4s ease-in-out;
  -ms-transition:all .4s ease-in-out;
  -o-transition:all .4s ease-in-out;
  transition:all .4s ease-in-out;
  }
  
  /*第一筆的底色*/
  span:target ~ #tab > ul li:first-child a {
  color: #C77904;
  background: #f8f9fb;
  border: solid 1px #C77904;
  }

  span:target ~ #tab > ul>li> a {
    color: #C77904;
    background: #f8f9fb;
    border: solid 1px #C77904;
    }
  span:target ~ #tab > div:first-of-type {
  visibility:hidden;
  height:0;
  padding:0 15px;
  }
  
  /*頁籤變換&第一筆*/
  span ~ #tab > ul li:first-child a,
  #tab-all:target ~ #tab > ul li a[href$="#tab-all"],
  #tab-bto:target ~ #tab > ul li a[href$="#tab-bto"],
  #tab-entrust:target ~ #tab > ul li a[href$="#tab-entrust"],
  #tab-renewal:target ~ #tab > ul li a[href$="#tab-renewal"] {
  color: #f3f1f1;
  background: #C77904;
  }
  
  /*頁籤內容顯示&第一筆*/
  span ~ #tab > div:first-of-type,
  #tab-all:target ~ #tab > div.tab-content-all,
  #tab-bto:target ~ #tab > div.tab-content-bto,
  #tab-entrust:target ~ #tab > div.tab-content-entrust,
  #tab-renewal:target ~ #tab > div.tab-content-renewal {
  visibility:visible;
  height:100%;
 
  }

  @media (max-width: 768px) {
    #tab{
      font-size: 13px;
    
      }
      /* 頁籤ul */
      #tab>ul>li{
      font-size: 13px;
      }
      #tab>ul>li>a{
      font-size: 13px;
      
      }
      #portfolio {
        padding: 40px 0px 40px 0px;
      }
  }

/*--------------------------------------------------------------
 #VideoWrap
--------------------------------------------------------------*/
.video-wrapper {
  position: relative;
}

.video-wrapper > video {
  width: 100%;
  vertical-align: middle;
}

.video-wrapper > video.has-media-controls-hidden::-webkit-media-controls {
  display: none;
}

.video-overlay-play-button {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 10px calc(50% - 50px);
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  opacity: 0.95;
  cursor: pointer;
  background-image: linear-gradient(transparent, #000);
  transition: opacity 150ms;
}

.video-overlay-play-button:hover {
  opacity: 1;
}

.video-overlay-play-button.is-hidden {
  display: none;
}


/*--------------------------------------------------------------
# InfoList
--------------------------------------------------------------*/
.infolist {
  padding: 0;
  background-color: #f3f1f1;
}

.infolist img {
  padding: 0;
}

.infolist p {
  text-align: left;
  color: #5D5C5C;
  padding-top: 20px;
  line-height: 15px;
  font-size: 16px;
}

.infolist .about-content {
  padding: 50px;
}

@media (max-width: 1200px) {

  .infolist .about-content {
    padding: 40px;
  }
  .infolist p {
    font-size: 15px;
    padding-top: 16px;
  }
}

@media (max-width: 768px) {

  .infolist p {
    font-size: 14px;
    padding-top: 15px;
  }
  .infolist .about-content {
    padding: 60px;
  }

}

.infolist-mainImg {
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

    .infolist-mainImg img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
.gallery {
    overflow: hidden;
    padding: 80px 0px;
}

.gallery .owl-nav, .gallery .owl-dots {
  margin-top: 25px;
  text-align: center;
}

.gallery .owl-item {
  border-left: 2px solid #fff;
  border-right: 2px solid #fff;
}

.gallery .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #feeacd !important;
}

.gallery .owl-dot.active {
  background-color: #C77904 !important;
}

.gallery .gallery-carousel .owl-stage-outer {
  overflow: visible;
}

.gallery .gallery-carousel .center {
  border: 6px solid #C77904;
  margin: -10px;
  box-sizing: content-box;
  padding: 4px;
  background: #fff;
  z-index: 1;
}

/*.gallery p {
  text-align: center;
  color: #5D5C5C;
  padding-top: 20px 10px 0px 10px;
  line-height: 28px;
  font-size: 16px;
}*/

.gallery-intor h2 {
    font-size: 2rem;
    text-align: center;
    font-weight: bold;
    color: #C77904;
}

.gallery-intor h3 {
    font-size: 1rem;
    text-align: center;
    color: #835a1e;
    font-weight: bold;
    letter-spacing: .4rem;
}

.gallery-intor-mainText {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.gallery-intor-title {
    position: relative;
    width: 150px;
    align-content: center;
    padding-left: .8rem;
    font-size: 1.2rem;
    font-weight: 600;
    background: #f3e3ca;
    color: #a87932;
}

    .gallery-intor-title::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: -.5rem;
        width: 2px;
        background: #e8c48b;
    }

.gallery-intor div:nth-child(even) .gallery-intor-title {
    background: #dbf0ff;
    color: #507b99;
}

    .gallery-intor div:nth-child(even) .gallery-intor-title::after {
        background: #b1d6f0;
    }

@media (max-width: 1200px) {
  .gallery {
    padding:40px 0px;
  }
}

@media (max-width: 768px) {
  .gallery {
    padding:40px 10px;
  }
  .gallery p {
    line-height: 24px;
    font-size: 13px;
  }

}


/*--------------------------------------------------------------
# Award
--------------------------------------------------------------*/
.award {
  background: url("../img/award-bg.jpg") center center no-repeat;
  background-size: cover;
  padding: 60px 0;
  position: relative;
}

.award img{

  padding:40px;
}

.award .container {
  position: relative;
  z-index: 10;
}

.award .content {
  padding: 30px 30px 30px 0;
}

.award .content h3 {
  font-weight: 700;
  font-size: 32px;
  color: #C77904;
  margin-bottom: 30px;
}

.award .content p {
  margin-bottom: 30px;
  font-size: 1rem;
  letter-spacing: 0.08rem;
}



@media (max-width: 1200px) {
  .award .content {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .award {
    text-align: center;
  }
  .award .content h3 {
    font-size: 24px;
  }
}

/*--------------------------------------------------------------
# Service
--------------------------------------------------------------*/
.services {
  padding: 80px 0px;
  background: url("../img/award-bg.jpg") center center no-repeat;
  background-size: cover;
  position: relative;
}

.services .entrust-box {
  padding: 40px;
  margin:10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #616060;
  transition: all 0.3s ease-in-out;
  z-index: 1;
}

.services .entrust-box::before {
  content: '';
  position: absolute;
  background: #616060;
  right: 0;
  left: 0;
  bottom: 0;
  top: 100%;
  transition: all 0.3s;
  z-index: -1;
}

.services .renewal-box {
  padding: 40px;
  margin:10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #C77904;
  transition: all 0.3s ease-in-out;
  z-index: 1;
}

.services .renewal-box::before {
  content: '';
  position: absolute;
  background: #C77904;
  right: 0;
  left: 0;
  bottom: 0;
  top: 100%;
  transition: all 0.3s;
  z-index: -1;
}

.services .bto-box {
  padding: 40px;
  margin:10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #A54F16;
  transition: all 0.3s ease-in-out;
  z-index: 1;
}

.services .bto-box::before {
  content: '';
  position: absolute;
  background: #A54F16;
  right: 0;
  left: 0;
  bottom: 0;
  top: 100%;
  transition: all 0.3s;
  z-index: -1;
}

.services .entrust-box:hover::before, .renewal-box:hover::before, .bto-box:hover::before {
  background: #f2f2f2;
  top: 0;
}

.services .icon {
  margin-bottom: 15px;
}

.services .icon i {
  font-size: 48px;
  line-height: 1;
  color: #fff;
  transition: all 0.3s ease-in-out;
}

.services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.services .title a {
  color: #fff;
}

.services .description {
  font-size: 15px;
  text-align: left;
  color:#fff;
  line-height: 28px;
  margin-bottom: 0;
}

.services .entrust-box:hover .title a, .services .entrust-box:hover .description, 
.services .renewal-box:hover .title a, .services .renewal-box:hover .description,
.services .bto-box:hover .title a, .services .bto-box:hover .description {
  color: #5D5C5C;
}

.services .entrust-box:hover .icon i, .services .renewal-box:hover .icon i , .services .bto-box:hover .icon i  {
  color: #5D5C5C;
}

@media (max-width: 768px) {
  .services .entrust-box, .services .renewal-box, .services .bto-box  {
    padding: 30px;
    margin: 10px 5px;

  }
}

/*--------------------------------------------------------------
# Service Background
--------------------------------------------------------------*/
.entrust-bg {
  background: linear-gradient(rgba(49, 49, 49, 0.7), rgba(49, 49, 49, 0.9)), url("../img/entrust-bg.jpg") fixed center center;
  background-size: cover;
  padding: 60px 0;
}

.entrust-bg h3 {
  color: #fff;
  font-size: 36px;
  letter-spacing: 5px;
}

.renewal-bg {
  background: linear-gradient(rgba(49, 49, 49, 0.7), rgba(49, 49, 49, 0.9)), url("../img/renewal-bg.jpg") fixed center center;
  background-size: cover;
  padding: 60px 0;
}

.renewal-bg h3 {
  color: #fff;
  font-size: 36px;
  letter-spacing: 5px;
}

.bto-bg {
  background: linear-gradient(rgba(49, 49, 49, 0.7), rgba(49, 49, 49, 0.9)), url("../img/bto-bg.jpg") fixed center center;
  background-size: cover;
  padding: 60px 0;
}

.bto-bg h3 {
  color: #fff;
  font-size: 36px;
  letter-spacing: 5px;
}

/*--------------------------------------------------------------
# Service Description
--------------------------------------------------------------*/
.service-des {
  padding:60px;
}

.service-des h4 {
  color: #C77904;
  font-weight: 600;
  font-size: 26px;
  margin-bottom: 30px;
}

.service-des p {
  line-height: 16px;
}
.service-btn {
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 1px;
  border-radius: 0px;
  transition: all 200ms ease 0s;
  padding:15px 30px;
}

.btn-service {
  background: #616060;
  color: #fff;
}

.btn-service:hover, .btn-service:focus {
color: #FFF;
background:#8c8c8c;
}

@media (max-width: 768px) {
  .service-des {
    padding:30px;
  }
  .service-des p {
    line-height: 20px;
  }

}


/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f7fcfc;
}

.section-title {
  text-align: center;
  padding-bottom: 28px;
}

.section-title-p {
  text-align: left;
  padding-bottom: 28px;
}

.section-title-p p {
  line-height: 24px;
}

.section-title-p h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 10px;
  position: relative;
}

.section-title-p h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 100px;
  height: 3px;
  background: #C77904;
  bottom: 0;
  left: calc(0% - 0px);
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 10px;
  position: relative;
}

.section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #C77904;
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title h3 {
  margin: 15px 0 0 0;
  color:#C77904;
  font-size: 28px;
  font-weight: 700;
}

.section-title h5 {
  font-size: 28px;
  color:#C77904;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 10px;
  position: relative;
}

.section-title p {
  margin-bottom: 0;
}
.section-title-p p {
  margin-bottom: 0;
}

@media (max-width: 1200px) {
  section {
    padding: 30px 0;
  }
  .section-title h2 {
    font-size: 30px;
  }
  .section-title-p h2 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 10px;
  }

  .section-title {
    padding-bottom: 12px;
  }
  .section-title h2 {
    font-size: 24px;
  }
  .section-title h5 {
    font-size: 18px;

  }
  .section-title-p h2 {
    font-size: 24px;
  }
  
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact{
  padding: 40px 20px ;
}


.contact .form-group {
  margin-bottom: 20px;
}


.contact button[type="submit"] {
  background: #C77904;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact button[type="submit"]:hover {
  background: #A54F16;
}

.contactText{
  margin-top: 30px;
  font-size: 16px;
  text-align: left;
  line-height: 26px;
}

/*-----------------------------------------------------------------*/
/* Buttons
/*-----------------------------------------------------------------*/

.btn {
  box-shadow: none;
  line-height: 22px;
  font-weight: 500;
  padding: 3px 12px;
  font-size: 13px;
  border-radius: 20px;
  border: 2px solid transparent;
  color: #262B37;
  transition: all 200ms ease 0s;
  margin-right: 6px;
}

.btn-red {
background: rgb(243, 88, 91);
border-color: rgb(243, 88, 91);
color:#FFF;
}
.btn-red:hover, .btn-red:focus {
background:#FFF;
border-color: #FFF;
color:#000;
}

.btn-white {
background:#FFF;
border-color: #FFF;
color:#5F5A5A;
}

.btn-white:hover, .btn-white:focus {
color: #FFF;
background: #7EC13F;
border-color:#7EC13F;
}


.btn-gray-border:hover, .btn-gray-border:focus {
color: #FFF;
background: rgb(243, 88, 91);
border-color: rgb(243, 88, 91);
}

.btn-green {
background:#7EC13F;
border-color: #7EC13F;
color:#FFF;
}

.btn-green:hover, .btn-green:focus {
color: #FFF;
background:transparent;
border-color: #FFF;
}

.btn-gray-border {
  border: 2px solid #7A7A7B;
  background: transparent;
  color: #4F4F50;
}

.btn-gray-border:hover, .btn-gray-border:focus {
color: #FFF;
background:#7EC13F;
border-color:#7EC13F;
}

.btn-gold-border {
  border: 1px solid #C77904;
  background: transparent;
  color: #C77904;
}

.btn-gold-border:hover, .btn-gold-border:focus {
color: #FFF;
background:#C77904;
border-color:#C77904;
}

.btn-purple-border {
  border: 1px solid #741192;
  background: transparent;
  color: #741192;
}

.btn-purple-border:hover, .btn-purple-border:focus {
color: #FFF;
background:#741192;
border-color:#741192;
}

/*--------------------------------------------------------------
# Fancybox
--------------------------------------------------------------*/
.fancybox {
    --f-arrow-pos: 10px;
    --f-arrow-bg: rgba(255, 255, 255, 0.75);
    --f-arrow-hover-bg: rgba(255, 255, 255, 1);
    --f-arrow-color: #333;
    --f-arrow-width: 40px;
    --f-arrow-height: 40px;
    --f-arrow-svg-width: 20px;
    --f-arrow-svg-height: 20px;
    --f-arrow-svg-stroke-width: 2px;
    --f-arrow-border-radius: 50%;
}

    .fancybox .f-carousel__slide {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .fancybox img {
        max-width: 100%;
        max-height: 100%;
        height: auto;
    }

/*--------------------------------------------------------------
# Vbox
--------------------------------------------------------------*/
.vbox-container {
    align-content: center;
}

.vbox-content {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.vbox-figlio {
    max-height: 90vh;
}

/*--------------------------------------------------------------
# Portfolio - interiorIntro
--------------------------------------------------------------*/
.interiorIntro:not(:last-child) {
    margin-bottom: 80px;
}

.interiorIntro .fancyboxContainer {
    width: 60%;

    @media (max-width: 768px) {
        width: 100%;
    }
}

.interiorIntro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    @media (max-width: 768px) {
        align-items: start;
        margin-left: 1.5rem;
    }
}

    .interiorIntro-content h2 {
        position: relative;
        display: flex;
        margin-bottom: 1rem;
        align-items: center;
        font-weight: bold;
    }

        .interiorIntro-content h2::after {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            left: -1.5rem;
            width: .25rem;
            background: #C77904;
        }

        .interiorIntro-content h2 span {
            font-size: 2.2rem;
            margin-right: .5rem;
        }

        .interiorIntro-content h2 .tag {
            margin-left: .5rem;
            font-size: 1rem;
            padding: .4rem .6rem;
            background: #C77904;
            color: #fff;
            font-weight: bold;
        }

    .interiorIntro-content ul {
        margin-left: 2rem;
    }

    .interiorIntro-content li {
        position: relative;
    }

        .interiorIntro-content li::after {
            content: "";
            position: absolute;
            top: 50%;
            left: -1.5rem;
            transform: translateY(-50%) rotate(45deg);
            width: .3rem;
            height: .3rem;
            background: #C77904;
        }

        .interiorIntro-content li:not(:last-child) {
            margin-bottom: .8rem;
        }