:root {
    --mainColor: #ED831C;
    --secondaryColor: #fffdee;
    --darkText: #54595b;
    --lightText: #979c9d;
}


.navbar-default {
    background: #474038;
    border: none;
    box-shadow: 0 2px 8px 0 rgba(50, 50, 50, 0.04);
    margin: 0 !important;
}
hr {
    width: 100%;
    border-color: var(--mainColor);
    margin: 20px 0;
}

#work .title ol li{
    text-align:left;
}

#work .bg-red {
    background-color: #b3b3b3;
    color: #ffffff;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color: #e1a40c;
    background-color: transparent;
}
#work .fa {
	color: #ffffff;
}
#work .fa:hover {
	background-color: #ffffff;
	color: #e1a40c;
}

#work ol li{
    color: #fff;
}
#team .team-des {
    width: auto;
    color: var(--darkText);
    background-color: transparent;
    transform: translateY(0px);
    transition: ease-in .3s;
}
/* #team .team-des:hover h4{
    color: white;
} */
/* #team .team-des:hover {
    color: #ffffff;
    background-color: var(--darkText);
    transform: translateY(-20px);
} */
.mb-3{
    margin-bottom:5em ;
}
.mb-2{
    margin-bottom:2em ;
}
.d-flex{
    display: flex;
    width: 100%;
    justify-content: center;
}
footer {
    background: #474038;
    color: #ffffff;
    padding: 30px 0;
    margin: 0;
}
h3{
    margin-block-start: 0em;
    margin-block-end: 0em;
}
.navbar-default .navbar-brand {
    color: #fff;
}
.navbar-default .navbar-nav li a {
    color: var(--darkText);
    font-weight: bold;
}

a:hover {
    text-decoration: none;
}

#contact {
    /* background: #f6f6f6 url(../images/contact-bg.jpg) center center fixed; */
    color: #ffffff;
}
/* .bgBlur{
    background-color: rgba(0,0,0,0.5);
} */
.text-center{
    text-align: center;
    margin: auto;
}
.social-icon li a {
    width:60px;
    height: 60px;
    font-size: 26px;
    color: var(--secondaryColor);
    background: var(--darkText);
    border-radius: 100%;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    transition: all 0.4s ease-in-out;
}


@media(max-width:414px){
    .d-flex{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}
}



/* - - - - - - - - - - - - */
/* 各欄位統一設定 */
#intro,
#work,
#team,
#portfolio {
    padding: 60px 0;
}

#contact {
    padding-top: 60px;
}

#intro,
#team,
#contact {
    background: var(--secondaryColor);
}

section h2 {
    color: var(--darkText);
    font-size:36px;
}

#work h4 {
    color: var(--mainColor);
    line-height: 1.5;
}




/* banner */
#home .bannerTitle {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#home .bannerTitle span {
    font-size: 30px;
}

.carousel-control-next, .carousel-control-prev {
    width: 60px;
    top:50%
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width:578px) {

    h1 {
        font-size: 40px;
    }

    #home .bannerTitle span {
        font-size: 18px;
    }

    .carousel-control-next, .carousel-control-prev {
        width: 40px;
    }
}



/* navbar */
.navbar {
    background: white;
}

.navbar i {
    font-size: 24px;
    color: var(--mainColor);
}

.nav-item {
    font-size: 1.5rem;
    padding: 0px 12px;
}

.navbar .container-fluid {
    justify-content: center;
    padding: 6px 0px;
}

.navbar-brand {
    height: auto;
}

.navbar-brand img {
    width: 200px;
    height: auto;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border: none;
}

@media (max-width: 768px) {
    .navbar .container-fluid {
        padding: 0px;
    }
}


/* intro（關於我們／經營理念） */
#intro h3 {
    color: var(--mainColor);
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: transparent;
}

button {
    background: none;
    width: 70px;
    height: 70px;
    overflow: hidden;
}

button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tab-content img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
}

#intro .nav-item {
    padding: 0;
}

.nav-pills>li+li {
    margin: 0;
}


/* work （服務項目） */

.feature {
    display: inline-flex;
    width: 100%;
    height: -webkit-fill-available;
    line-height: 2;
    flex-direction: column;
    border: 3px solid var(--lightText);
    border-radius: 8px;
    padding: 32px 16px;
}

.feature h5 {
    font-weight: bolder;
}

.feature ul {
    padding-left: 0;
}

.feature li {
    list-style: none;
    text-align: center;
}

.productCard {
    margin-top: 20px;
    padding: 0 12px;
}

.productCard span {
    width: 100px;
    display: block;
    padding: 5px 0px;
    background: var(--mainColor);
    border-radius: 50px;
    color: white;
}

.productCard img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}


/* team (服務流程) */
.step {
    font-size: 30px;
    color: var(--mainColor);
    margin-bottom: 4px;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.step span {
    font-size: 40px;
    font-weight: 600;
    margin-left: 4px;
    margin-right: 10px;
}

#team img {
    width: auto;
    height: 40px;
}


/* portfolio (照片分享) */

#portfolio h3 {
    color: var(--mainColor);
}

#portfolio img {
	width: 100%;
	height: 300px;
    object-fit: cover;
    object-position: center;
	transition: all 0.4s ease-in-out;
}

.slick-prev:before, .slick-next:before {
    color: var(--mainColor);
}


/* contact */
#contact {
    color: var(--darkText);
}

#contact ul {
    padding-left: 0;
}

#contact li {
    list-style: none;
    line-height: 2;
}

#contact i {
    font-size: 20px;
}

#contact .infolist a {
    font-size: 20px;
    font-weight: 700;
    color: var(--mainColor);
    text-decoration: none;
}

.social-icon p {
    font-size: 20px;
    font-weight: 700;
}


/* slidebar */
#slidebar {
    position: fixed;
    width: 50px;
    display: flex;
    flex-direction: column;
    bottom: 50px;
    right: 10px;
    z-index: 1040;
}

#slidebar a {
    width: 40px;
    height: 40px;
    font-size: 20px;
    margin: 4px;
    color: white;
    background: var(--mainColor);
}

#slidebar p {
    font-size: 14px;
}


/* footer */
footer a {
    color: white;
    text-decoration: none;
}