/* 通用樣式 */

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  /* 標準屬性 */
  -webkit-text-size-adjust: 100%;
  /* Safari/Chrome */
  -moz-text-size-adjust: 100%;
  /* Firefox Android */
  -ms-text-size-adjust: 100%;
  /* 舊 IE/Edge */
}

html,
body {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  /* iOS、Android 禁止自動字體縮放 */
}
:root{
    --color1: #f2c549;
    --color2: #ffc527;
}
a:hover{
    color: #f2c549;
}
h1, h2, h3, h4, h5, h6{
   font-family: 'Montserrat', sans-serif;
}
h3{
    font-size: 20px!important;
}
h4{
    font-size: 18px!important;
}
h5{
    font-size: 16px;
}
h6 {
    font-size: 14px!important;
}
p{
    font-size: 14px!important;
}
@media (min-width:992px){
    h3{
        font-size: 22px!important;
    }
    h4{
        font-size: 20px!important;
    }
    h5{
        font-size: 18px;
    }
    h6 {
        font-size: 16px!important;
    }
    p{
        font-size: 16px!important;
    }
}
.bg-theme{
    background-color: #ffc527!important;
}
.bg-gray{
    background-color: #fafafa!important;
}
.bg-yellow{
    background-color: #f2c549;
}
/* 導覽列 */
.top-bar ul.top-contact li:last-child {
    padding-left: 10px;
}
.header-5 .navbar .logo img{
    max-height: 30px;
}
.navbar-toggle{
    float: right;
}
.header-5 .top-bar .top-contact p{
    color: #808080;
    font-size: 11px!important;
    -webkit-text-fill-color: #808080;
}
.top-bar .top-contact span{
    color: #808080;
}
.navbar-nav > li:after{
    height: 5px;
    transform: translateY(10px); 
    -webkit-transform: translateY(10px);
    background-color: #f2c549;
}
.navbar-nav > li:hover::after{
    height: 5px;
    margin-top: -5px;
    background-color: #f2c549;
}
.navbar-nav > li.active {
    border-bottom: 5px solid #f2c549;
}
.full-header .navbar-fixed-top.affix .logo {
    top: 4px;
}

@media (min-width:768px){
    .top-bar .row > div{
        padding-right: 30px;
    }
    
}
@media (min-width:992px){
    .header-5 .top-bar .top-contact p{
        font-size: 12px!important;
    }
    .header-5 .navbar .logo{
        top: 10px;
    }
    .header-5 .navbar .logo img{
        max-height: 50px;
    }
    .full-header .navbar-fixed-top.affix .logo {
        top: -2px;
    }
}
@media (min-width:1201px){
    .top-bar .row > div{
        padding-right: 45px;
    }
    
}
@media (max-width:400px){
    .top-bar .row > div{
        padding: 0;
    }
}
@media (max-width:991px){
    .header-5 .navbar-fixed-top{
        top: 40px;
    }
}
@media only screen and (min-width: 320px) and (max-width: 767px) {
    .navbar-nav > li.has-dropdown > a:after{
        content: '';
    }
    .navbar-nav > li.has-dropdown:has(.dropdown-menu) > a:after {
        font-family: fontawesome;
        content: "\f105";
        font-size: 13px;
        position: absolute;
        right: 0;
    }
    .navbar-nav > li{
        margin: 5px 0;
    }
}
/* 輪播大圖 */
.slider-title{
  font-family: montserrat;
  font-weight:700;
  color:#f2c549;
  font-size: 18px!important;
  line-height: 1.3!important;
  padding-bottom: 10px!important;
}

.slider-text{
  font-family: raleway;
  text-align:left;
  color:#000;
  font-size: 12px!important;
  line-height: 1.2!important;
  top: 8px;
  padding: 10px 0!important;
}
.slider-btn{
    margin-top: 10px!important;
    /* top: 10px; */
    left: 0!important;
    padding-top: 10px!important;
}
.btn-primary.btn-black:hover,.rev_slider .arrow:hover{
    background-color: #f2c549;
}
@media (min-width:768px){
    .slider-title{
        font-size: 28px!important;
        padding-bottom: 10px!important;
    }
    .slider-text{
        font-size: 18px!important;
        padding-bottom: 10px!important;
    }
    .slider-btn .btn{
        font-size: 16px!important;
    }
    .rev_slider .arrow{
        top: 105%!important;
    }
}
@media (min-width:1300px){
    .slider-title{
        font-size: 35px!important;
        line-height: 1.5!important;
    }
    .slider-text{
        font-size: 22px!important;
        line-height: 1.5!important;
    }
    .tp-parallax-wrap{
        left: 90px!important;
    }
}
@media (min-width:1400px){
    .tp-parallax-wrap{
        left: 250px!important;
    }
}
/* 關於正昇機電 */
.cta-2 .cta-icon{
   text-align: center;
   line-height: 53px;
}
.cta-2 .cta-icon img{
    max-width: 40px;
}
.cta-2 .cta-desc p{
    color: #000;
}

.cta-devider:before{
    background-color: #000;
}
.cta-desc h5{
    font-size: 30px;
    -webkit-text-fill-color:#fff;
}
.heading-bg.heading-right p{
   color: #666;
}
.heading h2{
    font-size: 22px;
    color: #000;
}
.heading h2 span{
    color: #f2c549;
}
.shotcode-1 .textp{
    padding: 0 40px;
    padding-left: 35px;
}
.shotcode-1 p{
    color: #000;
}
.shotcode-1 .feature .feature-icon img{
    max-width: 50px;
}
.shotcode-1 .feature h4{
    color: #000;
    margin: 10px 0;
}
.shotcode-1 .feature p{
    color: #989898;
}
@media (min-width:992px){
    .heading h2{
        font-size: 24px;
    }
    .shotcode-1 .textp{
        padding: 0 15px;
    }
}
/* 產品項目*/
.service-1 .heading .heading-bg{
    background-image: url(../img/product-bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    padding: 50px 0;
}

.service-1 .heading-bg h2 ,.service-1 .heading-bg p{
    color: #fff;
}
.service-1 .heading p{
    color: #808080;
    font-style: unset;
}
.service-1 .service-desc{
    padding-left: 0;
    text-align: center;
}
.service-1 .service-desc h6{
    color: #000;
}
/* 我們的服務*/
.service-3 .heading p{
    color: #808080;
    font-style: unset;
}
.service-3 .heading .textp{
    padding: 0 35px;
    padding-left: 30px;
}
.service-3 .service-img1 img{
    max-width: 70px;
    padding-bottom: 20px;
}
.service-3 .service-block h5{
    padding: 10px 0;
    margin-bottom: 10px;
    color: #000;
    position: relative;
}
.service-3 .service-block:hover h5{
    color: #000;
}
.service-3 .service-block h5:before{
    content: "";
    height: 2px;
    width: 20px;
    position: absolute;
    display: inline-block;
    top: 0;
    left: 0;
    width: 25px;
    background-color: #f2c549;
}
.service-3 .service-block p{
    color: #808080;
    font-weight: normal;
}
@media (min-width:992px){
    .service-3 .heading .textp{
        padding: 0;
    }
}
/* 專業維修經驗/合作廠商/工程夥伴/工地/廠房支援次數/服務案件(含維修/安裝) */
.shortcode-4 .counterBox{
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 30px;
    color: #000;
    font-weight: bold;
}
.shortcode-4 .counter{
    color: #000;
}
.shortcode-4 p{
    color: #000;
    font-weight:500;
}
.shortcode-4 .facts-box::after{
    background-color: #000;
}
@media (max-width:767px){
    .shortcode-4 .facts-box::after{
        display: none;
    }
}
/* 最新消息 */
.entry-format img{
    max-width: 15px;
}
.entry-date{
    background-color: #f2c549;
    color: #000;
}
.entry-title, .entry-content {
    margin-left: 20px;
    padding-right: 30px;
}
.entry-title h5{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.entry-content p{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.entry-content .entry-more {
    color: #f2c549;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.entry-content .entry-more span {
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    font-size: 14px;
}
.entry:hover .entry-more span {
    opacity: 1;
    visibility: visible;
}
/* 客戶評價 */
.testimonial-2 .owl-controls{
    padding-top: 20px;
}
.accordion .panel-heading .accordion-toggle:after,.testimonial-img i{
    background-color: #f2c549;
}
.accordion .panel-heading .accordion-toggle.collapsed:after{
    color: #f2c549;
}
.accordion .panel .panel-body{
    color: #808080;
}
.testimonial .testimonial-content p{
    color: #000;
}
.accordion .panel-heading .accordion-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion .panel-heading .accordion-toggle:after {
    flex-shrink: 0; /* 防止被壓縮 */
}
/* 行銷品牌 */
.brand > div{
   object-fit: contain;
}
.shortcode-9 .brand img{
    display: block;
    margin-right: auto;
    margin-left: auto;
    object-fit: contain;
    opacity: 1;
}
.shortcode-9 .brand:after{
    display: none;
}

@media (min-width: 1400px){
    .shortcode-9 .container{
        width: 1400px;
    }
    .row1{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    .row1 > div{
        flex: 0 0 calc( 100% / 8 );
    }
}
@media (max-width:767px){
    .brand {
        width: 50%;
        margin: 0 auto;
    }
}
@media (max-width:1399px){
    .shortcode-9 .brand {
        margin-bottom: 30px;
    }
}

/* footer */
.widgets-contact{
    background-color: #000;
}
.widgets-contact .widget{
    padding-left: 20px;
}
.widgets-contact .widget-contact-icon{
    margin-left: 5px;
    margin-right: 15px;
    padding-right: 10px;
    min-width: 50px;
    position: relative;
    text-align: center;
    padding-top: 10px;
}
.widgets-contact .widget-contact-icon:after{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.widgets-contact .widget-contact-icon img{
    max-width: 40px;
    max-height: 40px;
}
.widgets-links .widget-about .widget-about-info {
    padding-left: 0;
}
.widgets-contact p{
    font-size: 18px;
    padding-bottom: 10px;
    color: #f2c549;
}
.widgets-contact a{
    color: #f2c549;
}

.widget-about-info img{
    max-width: 230px;
}
.widget-about-info p{
    color: #fff;
    padding-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
}
.widgets-links h5{
    color: #f2c549;
}
.widgets-links ul li a{
    color: #fff!important;
    text-transform: unset;
    font-size: 14px;
}
.time ul li{
    color: #fff;
    display: flex;
    flex-direction: row;
    line-height: 26px;
}
.time ul li span{
    display: block;
    width: 6.5em;
    line-height: 26px;
}

.copyrights p{
    color: #fff;
}
@media (min-width: 400px){
    .widgets-contact .widget{
        padding-left: 40px;
    }
    .widgets-contact .widget-contact-icon{
        margin: 0 20px;
        min-width: 70px;
    }
}
@media (min-width: 768px){
    .widget-about-info p{
        padding-left: 0;
        padding-right: 0;
    }
}
@media (min-width: 992px){
    .widgets-contact .widget{
        padding: 0 10px;
    }
    .widgets-contact p{
        font-size: 20px!important;
    }
    .widgets-links h5{
        font-size: 18px;
    }
    .widgets-links ul li a{
        font-size: 15px;
        line-height: 2;
    }
    .time ul li,.time ul li span{
        font-size: 15px;
        line-height: 2;
    }
}
@media (min-width: 1200px){
    .widgets-contact .widget{
        padding-left: 40px;
        padding-right: 15px;
    }
    .widgets-links .widget-about{
        padding-right: 20px;
    }
    .widgets-links .widget-navigation{
        padding: 0 25px;
        padding-left: 35px;
    }
    .widgets-links .widget-services{
        padding: 0 25px;
    } 
}
/* aside側邊攔(置頂鍵獨立) */
aside {
  display: flex;
  position: fixed;
  flex-direction: column;
  right: 0;
  bottom: 15px;
  text-align: center;
  align-items: center;
  overflow: hidden;
  padding: 0.5em 0;
  width: 50px;
  border-radius: 10px;
  transform: scale(0.8);
  z-index: 999;
}
aside a {
  width: 100%;
  height: 100%;
  text-decoration: none;
  display: block;
  cursor: pointer;
  margin: 10px 0;
}
aside a img{
    width: 100%;
}
aside .asideBottom {
  margin-top: 5px;
  transition: opacity 0.3s ease;
  opacity: 1;
}
aside .asideBottom a {
  display: flex;
  align-items: center;
  margin: 0;
  justify-content: center;
}
aside .asideBottom.hidden {
  opacity: 0;
  pointer-events: none;
}
@media (min-width:768px){
    aside {
        right: 10px;
        transform: scale(1);
    }
}
/* Page Title */
.page-title h2{
    font-size: 26px;
}
.background-fixed-q{
    margin: 0;
    padding: 0;
}

@media (min-width:768px){
    .page-title h2{
        font-size: 30px;
    }
}
/* 文章樣式 */
.articlecontent {
  /* margin: 0 auto; */
  max-width: 900px;
}
.articlecontent img {
  width: 100% !important;
  height: auto !important;
  display: block;
}
.articlecontent iframe {
  width: 100% !important;
  height: 100% !important;
}

@media (min-width: 992px) {
  .articlecontent img {
    max-width: 1000px !important;
    max-height: 100% !important;
  }
  .articlecontent iframe {
    width: 100% !important;
    height: 100% !important;
    max-width: 800px !important;
  }
}
/* 頁碼 */
.pager {
    padding: 0;
}
.pager div {
    margin: 0 5px;
}
.pager div a{
    width: 40px;
    height: 40px;
    line-height: 40px;
}
@media (min-width: 768px){
    .pager div {
        margin: 0 10px;
    }
    .pager div a{
        width: 50px;
        height: 50px;
        line-height: 50px;
    }
}
/* 最新消息/正昇機電最新官方網站正式上線 */
.entry-content1{
    margin-left: 20px;
    padding-right: 23px;
}
.entry-content1.articlecontent p{
    color: #000;
    margin-bottom: 10px;
    font-weight: normal;
     -webkit-text-fill-color: #000;
}
.single-post .entry {
    max-width: 950px;
}
/* 產品介紹 */
.sidebar .widget .widget-title:after,.widget-categories li:hover,.widget-categories li.active{
    background-color: #f2c549;
}
.product-img .boximg1x1{
    position: relative;
}
.product-img .boximg1x1 img{
    position: absolute!important;
}
.product-item .product-img:hover img {
    transform: translate(-50% , -50%) scale(1.1);
    -webkit-transform: translate(-50% , -50%) scale(1.1);
}
.product-item .product-img .product-hover{
    background-image: linear-gradient(to top, #f2c549 0%, transparent 49%, transparent 82%, transparent 100%);
    background-image: -webkit-linear-gradient(to top, #f2c549 0%, transparent 49%, transparent 82%, transparent 100%);
}
    @media (min-width: 992px){
    .widget-categories li a{
        font-size: 15px;
    }
}
/* 產品介紹/ 柴油引擎電焊發電機/AIRMAN 北越 PDW300SN 柴油引擎電焊發電機 */

.shop .product-feature-img{
    margin-bottom: 50px;
}
.shop .product-desc{
    min-height: 280px;
}
.shop .product-title h4{
    color: #000;
}
.shop .product-desc p{
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}
.shop .shop-content1 .btn{
    margin-left: 0;
}
.shop .product-tabs{
    border: none;
}
.shop .product-tabs .nav-tabs{
    background-color: #fff;
}
.shop .product-tabs .nav-tabs > li > p {
    font-size: 15px;
    font-weight: 700;
    text-transform: capitalize;
    color: #333;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    padding: 0 20px;
    border: 1px solid #ececec;
    border-bottom: #fff;
    margin-right: 0;
    line-height: 60px;
    height: 60px;
    margin-bottom: 0;
    background-color: #fff;
}
.shop .product-tabs .tab-content{
    border: 1px solid #ececec;
    border-top: none;
}
.shop .product-tabs .tab-content .articlecontent{
    margin: 20px auto;
}
.shop .product-tabs .tab-content .articlecontent p{
    color: #000;
}
.shop .product-content2{
    margin-top: 20px;
    max-width: 1100px;
}

@media (min-width:1200px){
    .shop .shop-content1{
        /* padding-left: 5%; */
        max-width: 1300px;
    }
    .shop .product-feature-img{
        margin-bottom: 0;
    }
    .shop .product-content1{
        padding-right: 25px;
    }
}
/* 案例作品/發電機維修案例 */
.project-hover p{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.project-hover h6{
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    line-height: 1.5;
     overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    line-clamp: 7;
}
.project-img:hover img{
    transform: translate(-50%, -50%) scale(1.1);
    -webkit-transform: translate(-50%, -50%) scale(1.1);
}
.project-img .project-hover{
    padding: 30px;
}
@media (min-width:991px){
    .project-img .project-hover{
        padding: 50px;
    }
    .project-hover h6{
        line-height: 1.7;
    }
}
/* 聯絡我們 */
.contact .widgets-contact .widget{
    margin-bottom: 40px;
}
.contact .widgets-contact .widget-contact-icon{
    min-width: 70px;
}
.contact .widgets-contact .widget-contact-icon img{
    max-width: 50px;
    max-height: 50px;
}
.contact .widgets-contact .widget-contact-info{
    color: #333;
}
.contact .widgets-contact .widget-contact-info h5{
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 23px;
    margin-bottom: 10px;
}
.contact .widgets-contact .widget-contact-info a,.contact .widgets-contact .widget-contact-info p{
    color: #333;
    font-size: 14px;
}
.contact .widgets-contact .widget-contact-info a:hover{
    color: #f2c549;
}
.contact .widgets-contact .time .widget-contact-info p{
    padding-left: 90px;
    padding-bottom: 0;
    line-height: 1.5;
}
.contact .widgets-contact .time .widget-contact-info p span{
    font-weight: normal;
}
@media  (min-width: 320px) and (max-width: 767px) {
    .widgets-contact .widget:last-of-type {
        margin-bottom: 30px;
    }
}
@media  (min-width: 450px){
    .contact .widgets-contact .time .widget-contact-info p span{
        display: inline-block;
        width: 9em;
    }
}
@media  (min-width: 992px) {
    .contact .widgets-contact .widget-contact-info a ,.contact .widgets-contact .widget-contact-info p{
        font-size: 16px!important;
    }
    .contact .widgets-contact .widget-contact-icon{
        min-width: 90px;
    }
    .contact .widgets-contact .time .widget-contact-info p{
        padding-left: 110px;
    }
}
/* 服務項目 */
.service-6 .service-icon ,.service-6 .service-block:hover .service-icon{
    background-color: #ececec;
}
.service-6 .service-icon img{
    max-width: 50px;
}
.service-6 .service-content .service-desc h5{
    color: #000;
}
.service-6 .service-content .service-desc p{
    color: #808080;
    font-weight: normal;
}
.service-6 .service-block{
    border-bottom: 1px solid #e5e5e5;
    border-left: none;
    padding: 50px;
    padding-right: 56px;
}
.service-6 .service-block:hover{
    background-color: transparent;
}

@media  (min-width: 768px) {
    .service-6 .service-block{
        min-height: 300px;
        padding-right: 65px;
    }
}
@media  (min-width: 992px) {
    .service-6 .service-block{
        min-height: 350px;
    }
}
@media  (min-width: 1200px){
    .service-6 .service-block{
        min-height: 410px;
        padding-right: 75px;
    }
    .service-6 .col-img{
        height: 1230px;
    }
}
@media  (min-width: 1500px){
    .service-6 .service-block{
        min-height: 390px;
        padding-left: 70px;
        padding-right: 80px;
    }
    .service-6 .col-img{
        height: 1170px;
    }
}
@media  (min-width: 1930px){
    .service-6 .service-block{
        min-height: 360px;
        padding: 50px 60px;
        padding-right: 100px;
    }
    .service-6 .col-img{
        height: 1080px;
    }
}

/* 關於我們 */
.bg-overlay-theme:before {
    background-color: rgba(242, 197, 73 , 0.9);
}
.cta-3{
    padding: 50px 0;
}
.cta-3 .heading-bg p{
    font-family: 'Raleway', sans-serif;
}
.cta-3 .row > div{
    padding-left: 35px;
    padding-right: 40px;
}
.cta-3 h5{
    font-style: normal;
    font-weight: normal;
    color: #000;
    line-height: 1.7;
}
.cta-3 h5:last-of-type{
    font-weight: 700;
}