html,
body {
    font-family: "Lato", "PingFang TC", "PingFang SC", "STHeiti", "微軟正黑體", "Microsoft Yahei", sans-serif;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
p.lead {
    font-family: "Lato", "PingFang TC", "PingFang SC", "STHeiti", "微軟正黑體", "Microsoft Yahei", sans-serif;
}

.portfolio-carousel .item .project-details .project-name {
    font-size: 2em;
    font-family: "Lato", "PingFang TC", "PingFang SC", "STHeiti", "微軟正黑體", "Microsoft Yahei", sans-serif;
}

h2 {
    font-weight: 700;
}

h3 {
    font-weight: 500;
}

.team-carousel .item .team-caption hr {
    margin: 11px auto;
}

.btn {
    font-weight: 400;
}

.btn-secondary:hover {
    color: #fff !important;
}

.btn-secondary:focus,
.btn-primary:focus {
    box-shadow: none;
}

.btn-third:focus {
    box-shadow: none;
}

.btn-third {
    border: 1px solid #B78950;
    background-color: transparent;
    color: #B78950;
    border-radius: 30px;
    line-height: 1.2;
}

.team-caption a {
    cursor: pointer;
}

.fa-1-3x {
    font-size: 1.3em;
    width: 1em;
}

.team-carousel .item .team-caption .list-team-social {
    margin: 19px 0 0 0;
}

#mainNav .navbar-brand img {
    height: 30px;
}

.services .rewards .flex-first {
    text-align: center;
}

.services .rewards i.fa {
    font-size: 30px;
    line-height: 70px;
    width: 75px;
    height: 75px;
    text-align: center;
    border: 3px solid #222;
    margin: 0px auto 20px auto;
}

.mt20 {
    margin-top: 20px;
}

.mb20 {
    margin-bottom: 20px;
}

.list-inline-item a {
    /*color: #fff;*/
}

.branches .item {
    padding: 100px 60px;
    color: #fff;
}

.branches hr {
    -webkit-margin-start: 0;
}

.team-carousel .item {
    margin-bottom: 15px;
}

.team-carousel a h3 {
    color: #fff;
    opacity: 0.7;
    transition: all 0.5s;
}

.team-carousel a:hover h3 {
    opacity: 1;
}

.appicon {
    border-radius: 10px;
    margin-bottom: 20px;
    width: 100px;
    height: auto;
}

.portfolio-gallery .item a {
    cursor: pointer;
}

footer .about i.fa {
    font-size: 30px;
    line-height: 70px;
    width: 75px;
    height: 75px;
    text-align: center;
    border: 3px solid rgba(255, 255, 255, 0.7);
    margin: 0px auto 10px auto;
}

.index-portfolio-height {
    width: calc(100% - 60px);
    height: auto;
}

.portfolio-modal {
    background-attachment: fixed;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-body {
    padding: 0px;
}

.device-mockup .owl-carousel.owl-theme .owl-controls .owl-prev {
    left: 0px;
}

.device-mockup .owl-carousel.owl-theme .owl-controls .owl-next {
    right: 0px;
}

.section-top,
.index-section-top {
    margin-top: 70px;
}

header.masthead {
    height: auto;
    min-height: auto;
    padding: 0;
}

.index-section-top .masthead-title,
.owl-event .masthead-title {
    font-size: 4rem;
    line-height: 4rem;
}

.index-section-top .masthead-subtitle,
.owl-event .masthead-subtitle {
    font-size: 2rem;
    line-height: 2rem;
}

.portfolio-carousel.owl-event .item {
    padding: 0;
    width: 100%;
    height: 0;
    padding-bottom: 65.3%;
    position: relative;
}

.portfolio-carousel.owl-event .item .item-text {
    position: absolute;
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .services .rewards .flex-second h3 {
        text-align: center;
    }

    #mainNav {
        background-color: #222;
        padding: 5px 0;
    }

    .portfolio-carousel .item .device-container {
        max-width: 700px;
        margin: 0 auto;
    }

    .portfolio-carousel.index-section-top .item {
        padding: 0;
        width: 100%;
        height: calc(100vh - 70px);
        display: table;
        table-layout: fixed;
    }

    .portfolio-carousel.index-section-top .item .container {
        display: table-cell;
        vertical-align: middle;
        text-align: center !important;
    }
}

.portfolio-wrapper,
.portfolio-grid .mix .portfolio-wrapper {
    background-color: transparent;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

.page-show a {
    /*background-color: #222;*/
    /*color: white;*/
    color: #B78950;
}

@media (min-width: 992px) and (max-width: 1199px) {
    #mainNav .navbar-collapse .navbar-nav > .nav-item > .nav-link {
        padding: 9px;
    }
}

@media (max-width: 991px) {
    .branches .item {
        padding: 100px 16px;
    }

    footer.footer .footer-contact-details {
        margin: 20px 0;
    }

    .portfolio-carousel.index-section-top .item {
        padding: 0;
        padding-bottom: 65.3%;
        width: 100%;
        height: 0;
    }

    header.masthead .scroll-down {
        display: none;
    }

    .index-section-top .masthead-title,
    .owl-event .masthead-title {
        font-size: 2rem;
        line-height: 2rem;
    }

    .index-section-top .masthead-subtitle,
    .owl-event .masthead-subtitle {
        font-size: 1.5rem;
        line-height: 1.5rem;
    }

    .owl-item .btn {
        font-size: 0.8rem;
    }
}

@media (min-width: 768px) {
    .portfolio-carousel .item hr.colored {
        margin: 20px auto 20px auto;
    }

    .portfolio-carousel .item hr.textleft {
        margin: 20px auto 20px 0;
    }
}

@media (max-width: 767px) {
    .portfolio-modal .modal-dialog .close-modal {
        top: 0;
        right: 0;
    }

    #mainNav .navbar-brand img {
        margin-left: 16px;
    }

    .portfolio-carousel .item .device-container {
        padding: 15px 0;
    }
}

/* 20171228更新 */

/* 金框 border-y*/

.border-y .owl-carousel.owl-theme .owl-controls .owl-prev,
.border-y .owl-carousel.owl-theme .owl-controls .owl-next,
.border-y .owl-item a.btn {
    background-color: transparent !important;
    color: #C89F62 !important;
    border: 1px solid #C89F62 !important;
}

.border-y .masthead .scroll-down .btn {
    border: 2px solid #C89F62 !important;
    color: #C89F62 !important;
}

.border-y .owl-item h3,
.border-y .owl-item .masthead-title {
    color: #C89F62
}

/* 黑框 border-b*/

.border-b .owl-carousel.owl-theme .owl-controls .owl-prev,
.border-b .owl-carousel.owl-theme .owl-controls .owl-next,
.border-b .owl-item a.btn {
    background-color: transparent !important;
    color: #000 !important;
    border: 1px solid #000 !important;
}

.border-b .masthead .scroll-down .btn {
    border: 2px solid #000 !important;
    color: #000 !important;
}

.border-b .owl-item h3,
.border-b .owl-item .masthead-title {
    color: #000 !important;
}

/* 白框 border-w*/

.border-w .owl-carousel.owl-theme .owl-controls .owl-prev,
.border-w .owl-carousel.owl-theme .owl-controls .owl-next,
.border-w .owl-item a.btn {
    background-color: transparent !important;
    color: #fff !important;
    border: 1px solid #fff !important;
}

.border-w .masthead .scroll-down .btn {
    border: 2px solid #fff !important;
    color: #fff !important;
}

.border-w .owl-item h3,
.border-w .owl-item .masthead-title {
    color: #fff !important;
}

/* hover白底 hover-bg-w */

.hover-bg-w .owl-carousel.owl-theme .owl-controls .owl-prev:hover,
.hover-bg-w .owl-carousel.owl-theme .owl-controls .owl-next:hover,
.hover-bg-w .owl-carousel.owl-theme .owl-controls .owl-prev:focus,
.hover-bg-w .owl-carousel.owl-theme .owl-controls .owl-next:focus,
.hover-bg-w .owl-item a.btn:hover,
.hover-bg-w .owl-item a.btn:focus {
    background-color: #fff !important;
    color: #C89F62 !important;
    border: 1px solid #fff !important;
}

.hover-bg-w .masthead .scroll-down .btn:hover,
.hover-bg-w .masthead .scroll-down .btn:focus {
    background-color: #fff !important;
    color: #C89F62 !important;
    border: 2px solid #fff !important;
}

/* hover金底 hover-bg-y*/

.hover-bg-y .owl-carousel.owl-theme .owl-controls .owl-prev:hover,
.hover-bg-y .owl-carousel.owl-theme .owl-controls .owl-next:hover,
.hover-bg-y .owl-carousel.owl-theme .owl-controls .owl-prev:focus,
.hover-bg-y .owl-carousel.owl-theme .owl-controls .owl-next:focus,
.hover-bg-y .owl-item a.btn:hover,
.hover-bg-y .owl-item a.btn:focus {
    background-color: #C89F62 !important;
    color: #fff !important;
    border: 1px solid #C89F62 !important;
}

.hover-bg-y .masthead .scroll-down .btn:hover,
.hover-bg-y .masthead .scroll-down .btn:focus {
    background-color: #C89F62 !important;
    color: #fff !important;
    border: 2px solid #C89F62 !important;
}

/* hover金底 hover-bg-b*/

.hover-bg-b .owl-carousel.owl-theme .owl-controls .owl-prev:hover,
.hover-bg-b .owl-carousel.owl-theme .owl-controls .owl-next:hover,
.hover-bg-b .owl-carousel.owl-theme .owl-controls .owl-prev:focus,
.hover-bg-b .owl-carousel.owl-theme .owl-controls .owl-next:focus,
.hover-bg-b .owl-item a.btn:hover,
.hover-bg-b .owl-item a.btn:focus {
    background-color: #000 !important;
    color: #C89F62 !important;
    border: 1px solid #000 !important;
}

.hover-bg-b .masthead .scroll-down .btn:hover,
.hover-bg-b .masthead .scroll-down .btn:focus {
    background-color: #000 !important;
    color: #C89F62 !important;
    border: 2px solid #000 !important;
}

.title_icon {
    margin-top: 20px;
    margin-bottom: 20px;
}

.title_icon_app {
    margin-top: 20px;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .title_icon {
        width: 80%;
    }

    .title_icon_app {
        width: 100%;
    }
}

#navbarResponsive > ul {
    align-items: center;
}