﻿.header-navigation > ul > li > .dropdown-menu {
    margin-top: -1px;
    z-index: 1001;
    /*font-family: Noto Sans SC;*/
}
.SearchText {
    color: gray;
    width: 25em;
    margin: 1em 0 2em 0;
}

body {
    /* 字型套用依序為 : 
        1. Google Font 繁中/簡中: Noto Sans TC, Noto Sans SC, sans-serif
        2. 微軟正黑體 (給不同瀏覽器使用): 微軟正黑體, Microsoft JhengHei
        3. Mac專用: Lucida Grande, Helvetica
        4. 一般: Arial
    */
    font-family: 'Noto Sans TC','Noto Sans SC',sans-serif,'微軟正黑體','Microsoft JhengHei',"Lucida Grande",Helvetica,Arial !important;
}

body h1, h2, h3, h4, h5, h6, bold, strong, span, b, p, ul, li, div {
    font-family: 'Noto Sans TC','Noto Sans SC',sans-serif,'微軟正黑體','Microsoft JhengHei',"Lucida Grande",Helvetica,Arial !important;
}

.fbchat {
    bottom: 30px;
    position: fixed;
    z-index: 10001;
    right: 10px;
}

.fbchat {
    bottom: 10px;
    position: fixed;
    z-index: 10001;
    right: 0px;
}

.exportqa {
    top: 30%;
    bottom: 70%;
    position: fixed;
    z-index: 10001;
    right: 10px;
}

.dajin-contentwrap {
    table-layout: fixed;
    word-wrap: break-word;
    width: auto;
    overflow: hidden; /*讓多出來的不顯示*/
}

h2, div, span, label, tr, td, ul, li, a {    
    font-size: 14px; /* 設定文字大小 */
    line-height: 24px; /* 設定文字行距 */
    letter-spacing: 3px; /* 設定文字間距 */
    /*background-image: url(dot.gif);*/ /* 設定文字背景圖  */
}

p {
    font-size: 20px; /* 設定文字大小 */
    line-height: 30px; /* 設定文字行距 */
    letter-spacing: 3px; /* 設定文字間距 */
    /*background-image: url(dot.gif);*/ /* 設定文字背景圖  */
}

p a, bold, strong, span, label, tr, td, ul, li, div {
    font-size: 20px; /* 設定文字大小 */
    line-height: 30px; /* 設定文字行距 */
    letter-spacing: 3px; /* 設定文字間距 */
    /*background-image: url(dot.gif);*/ /* 設定文字背景圖  */
}

/*快訊輪播*/
#myCarousel > .carousel-control.left, .carousel-control.right {
    background-image: none;
    width: 4%;
    top: 45%;
}

.site-logo {
    margin-right: 0;
    padding-top: 12px;
    padding-bottom: 12px;
}

.header-navigation > ul > li > a {
    color:  black !important;
    display: block;
    padding: 20px 8px 15px;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0;
    /*font-family: 微軟正黑體 !important;*/
}

.dropdown-menu > li > a {
    color: black !important;    
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0;
}

.carousel-caption input.SearchText {
    width: 250px !important;
    height: 35px !important;
    border: 1px solid #ced4da;
    border-radius: .25rem !important;
    margin-top: 3px;
    margin-bottom: 0;
    margin-right: 5px;
    min-height: 40px;
    text-indent: 10px;
}

.carousel-caption button.btn {
    width: 70px !important;
    height: 35px !important;
    margin-top: -6px !important;
    border: 1px solid transparent !important;
    padding: .375rem .75rem !important;
    font-size: 14px !important;
    letter-spacing: 2px;
    line-height: 1.5 !important;
    border-radius: .25rem !important;
    background-color: #007bff !important;
    border-color: #007bff !important;
    min-height: 40px;
}

.carousel-caption {
    bottom: 14rem !important;
    z-index: 10;
    top: 10%;
}

.carousel-inner div.item {
    height: 270px !important;
}

.carousel-inner div.item active {
    height: 270px !important;
}

.carousel-inner > .item > a > img, .carousel-inner > .item > img {   
    height: 100% !important;
}

.djs-owbtn {
    border-radius: .25rem !important;
    background-color: #007bff !important;
    border-color: #007bff !important;
    min-height: 40px;
}

.font-blue {
    margin: 5px;
}

.font-blue a {
    color: #000000 !important;
    font-size: 16px;
    letter-spacing: 0px;
}

.djs-owportlet {
    border: 1px solid #cecece;
}

.products-text {
    border-top: 1px solid #c3bebe;
    padding: 15px;
    min-height: 150px;
}

/*功能列下拉選單往上移動，避免按不到選單就消失*/
.header-navigation .dropdown {
    position: relative !important;
}

.btn-member-login {
    border-radius: .35rem !important;
    margin-top: 15px;
    margin-right: 15px;
    font-size: 16px;
    color: white;
    background: #05cc03;
}

.btn-member-signup {
    border-radius: .35rem !important;
    margin-top: 15px;
    margin-right: 15px;
    font-size: 16px;
    color: white;
    background: #ee2959;
}

/* 修正 kendo form element 樣式 start  */
.md-checkbox label {
    padding-left: 25px !important;
}
.md-checkbox label > .box {
    top: 5px !important;
    border: 2px solid #0026ff !important;
}
.md-checkbox label > .check {
    top: 3px !important;
}
.md-radio label > .box {
    top: 6px !important;
    border: 2px solid #0026ff !important;
}
.md-radio label > .check {
    top: 11px !important;
}
span.k-maskedtextbox {
    border: 1px solid #ffffff !important;
}
.form-control input {
    height: 65% !important;
    margin-top: -1px;
    margin-left: -1px;
    /*width: 100% !important;*/
}
.k-icon {
    font-family: WebComponentsIcons !important;
    margin-top: -8px;
}
.k-input {
    padding-left: 6px !important;
}
input.form-control {
    font-size: 16px;
}
/* 修正 kendo form element 樣式 end  */

/* Portrait and Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) {
}

/* Portrait */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) {    
}

@media only screen and (max-device-width: 500px) {
    .SearchText {
        width: 18em;
    }

    .exportqa {
        display: none;
    }

    .carousel-caption button.btn {
        margin-top: 10px !important;
    }

    .carousel-inner div.item h2 {
        font-size: 24px;
    }

}

/*大螢幕解析度處理 START*/
@media (min-width: 1300px) {
    .container {
        width: 1250px !important;
    }
    .btn-group {
        margin-left: 120px !important;
    }
}

@media (min-width: 1400px) {
    .container {
        width: 1260px !important;
    }
    .btn-group {
        margin-left: 140px !important;
    }
}

@media (min-width: 1500px) {
    .container {
        width: 1320px !important;
    }
    .btn-group {
        margin-left: 180px !important;
    }
}

@media (min-width: 1600px) {
    .container {
        width: 1400px !important;
    }
    .btn-group {
        margin-left: 220px !important;
    }
}

@media (min-width: 1800px) {
    .container {
        width: 1600px !important;
    }
    .btn-group {
        margin-left: 300px !important;
    }
}

@media (min-width: 1900px) {
    .container {
        width: 1670px !important;
    }
    .btn-group {
        margin-left: 340px !important;
    }
    .header-navigation ul li {
        padding-right: 20px;
    }
}

@media (min-width: 2100px) {
    .container {
        width: 1840px !important;
    }
    .btn-group {
        margin-left: 420px !important;
    }
    .header-navigation ul li {
        padding-right: 20px;
    }
}

@media (min-width: 2400px) {
    .container {
        width: 2100px !important;
    }
    .btn-group {
        margin-left: 540px !important;
    }
    .header-navigation ul li {
        padding-right: 20px;
    }
}

@media (min-width: 2800px) {
    .container {
        width: 2540px !important;
    }
    .btn-group {
        margin-left: 700px !important;
    }
    .header-navigation ul li {
        padding-right: 30px;
    }
}

@media (min-width: 3000px) {
    .container {
        width: 2600px !important;
    }
    .btn-group {
        margin-left: 780px !important;
    }
    .header-navigation ul li {
        padding-right: 30px;
    }
}

@media (min-width: 3200px) {
    .container {
        width: 2880px !important;
    }
    .btn-group {
        margin-left: 860px !important;
    }
    .header-navigation ul li {
        padding-right: 30px;
    }
}

@media (min-width: 4000px) {
    .container {
        width: 3680px !important;
    }
    .btn-group {
        margin-left: 1180px !important;
    }
    .header-navigation ul li {
        padding-right: 30px;
    }
}

@media (min-width: 4300px) {
    .container {
        width: 3900px !important;
    }
    .btn-group {
        margin-left: 1300px !important;
    }
    .header-navigation ul li {
        padding-right: 30px;
    }
}

@media (min-width: 4800px) {
    .container {
        width: 4460px !important;
    }
    .btn-group {
        margin-left: 1500px !important;
    }
    .header-navigation ul li {
        padding-right: 30px;
    }
}
/*大螢幕解析度處理 END*/