﻿.anchor {
    display: block;
    padding-top: 100px;
    margin-top: -100px;
}

.k-widget.k-tooltip {
    background-color: #3598dc;
}

.k-callout-s {
    left: 50%;
    bottom: -12px;
    pointer-events: none;
    border-top-color: #3598dc;
}
.k-callout-n {
    left: 50%;
    top: -12px;
    pointer-events: none;
    border-bottom-color: #3598dc;
}


#demo .carousel-caption {
    top: 2em;
    left: 1em;
    bottom: auto;
    width: 9em;
}
#demo .carousel-control {
    top: 3.2em;
    right: 0.5em;
}

.orange-bg {
    background-color: orange;
    color: white;
}
.lightgreen-bg {
    background-color: green;
    color: white;
}
.chocolate-bg {
    background-color: #dca306;
    color: white;
}
.grey-bg {
    background-color: grey;
    color: white;
}
.royalblue-bg {
    background-color: royalblue;
    color: white;
}
.dodgerblue-bg {
    background-color: dodgerblue;
    color: white;
}
.pre-header {
    color: #616b76;
    border-bottom: 1px solid #eee;
    padding-top: 10px;
    line-height: 1.2;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    background: #fff;
}
.List a {
    color: #4b88d4;
}
.List a:hover {
    color: #33CCFF;
    text-decoration: none;
}
.Block3 {
    /*left: 1em;*/
    float: right
}
.portlet.box.blue-hoki > .portlet-title {
    background-color: #009FCC;
}
#Search {
    width: 3.2em;
    height: 2.5em;
    padding-bottom: 0px;
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    font-size: 1em;
    color: #00BBFF;
    border-left-width: 1px;
    left: 15px;
}
.SearchText {
    width: 25em;
    margin: 1em 0 2em 0;
}
.MiddleBlock .btn.blue :not(.products) {
    color: #4ea6e8;
    background-color: none;
    border-color: #4ea6e8;
    border-width: 1px;
    top: 5px;
    width: 80px;
    font-family: Noto Sans SC;
}

.page-sidebar-closed{
    font-family:微軟正黑體;
}
.MainContent a {
    color: #3a6382;
}
.MainContent a:hover {
    color: #3a6382;
    text-decoration: none;
}



.partialViewContent {
    height:auto;
}


/*諮詢
 * 對話框，邊框式（下三角）
 */
.badge1 {
    position: relative;
}

.badge1:after {
    content: "";
    position: absolute;
    top: -25px;
    right: 0px;
    font-size: .7em;
    background: lawngreen;
    color: white;
    width: 18px;
    height: 18px;
    text-align: center;
    line-height: 18px;
    border-radius: 50%;
}

.dialog-border-bottom {
border: 5px solid #3598DC;
height: 165px;
position: relative;
width: 140px;
border-radius: 0.5em !important;
}

.dialog-border-bottom:after {
    border-color: #3598DC transparent transparent transparent;
    border-style: solid solid solid solid;
    border-width: 20px 20px 20px 20px;
    bottom: -40px;
    /*必須指定，才能顯示內容*/ content: "";
    height: 0px;
    left: 3.5em;
    /*必須指定，否則會變梯形 */ position: absolute;
    width: 0px;
}

.dialog-border-bottom button {
    margin: 5px 5px 10px 5px !important;
}

.img-circle {
    margin-left: 1.5em;
}

/*fb messenger*/
#fb-root > div.fb_dialog {
    bottom: 0 !important;
    margin-bottom: 0px;
    margin-right: 40px;
    position: absolute !important;
}
.fb_customer_chat_bubble_animated_no_badge {
    box-shadow: unset;
}
[data-testid="dialog_iframe"] {
    bottom: 30px !important;
}

.ctm-service {
    text-align: center;
    border-color: white;
    border-radius:2px;
    margin: 10px;
}
/*最新*/
.latest-list {
    /*color: #3598DC;*/
    margin-left: 0px;
    margin-right: 0px;
    height: auto;
}

.latest-list ul li {
    margin-left: 5px;
    padding: 0px;
}
.latest-list a,.cate-desc  {
display: block;
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-height: 24px;
height: auto;
}

.products-img {
    max-width: 120px;
    max-height: 120px;
    background-position: center;
    float: left;
    margin: 40px 15px 80px 15px
}
.products-body {
    padding-right: 0.5em;
}

.portlet {
    background-color: white;
    margin: 25px 0px 25px 0px;
    overflow: auto;
    zoom: 1;
}

/*多行省略文字*/
.multi_ellipsis {
    display: block;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    line-height: 16px;
    height: auto;
}

input.form-control,textarea.form-control {
    border: 1px solid #4ca8f5;
}

.form-body {
    margin: 10px;
    border: 2px solid #4ca8f5;
}

/*radio color*/
.radio-item {
display: inline-block;
position: relative;
padding: 0 6px;
}

.radio-item input[type='radio'] {
    display: none;
}

.radio-item label {
    color: #4ca8f5;
    font-weight: normal;
}

    .radio-item label:before {
        content: " ";
        display: inline-block;
        position: relative;
        top: 2px;
        margin: 0 5px 0 0;
        width: 20px;
        height: 20px;
        border-radius: 11px;
        border: 2px solid #4ca8f5;
        background-color: transparent;
    }

    .radio-item input[type=radio]:checked + label:after {
        border-radius: 12px;
        width: 20px;
        height: 20px;
        position: absolute;
        top: 5px;
        left: 5px;
        content: " ";
        display: block;
        background: #4ca8f5;
    }
/*radio color*/

/*表格 placeholder begin*/
#CustomerServiceFrom ::-webkit-input-placeholder { /* Chrome */
    color: #4ca8f5 !important;
    opacity: 0.5;
}

#CustomerServiceFrom:-ms-input-placeholder { /* IE 10+ */
    color: #4ca8f5 !important;
    opacity: 0.5;
}

#CustomerServiceFrom::-moz-placeholder { /* Firefox 19+ */
    color: #4ca8f5 !important;
    opacity: 1;
}

#CustomerServiceFrom:-moz-placeholder { /* Firefox 4 - 18 */
    color: #4ca8f5 !important;
    opacity: 1;
}
/*表格 placeholder end*/

.btn-group {
    /*margin: -30px 0px 20px 120px;*/
    /*transition: all 1s linear;*/
    margin-bottom: 20px;
    margin-left: 120px;
    font-family: Noto Sans SC;
}
    .clickbtngroup {
    /*margin: -180px 0px 0px 90px;*/
    /*border-bottom: 2px solid orange;*/
    position: relative;
    transition: all 1s linear;
}
.clickbtngroup:hover:before, .activebtngroup:before {
    content: "";
    margin: 130px 0px 0px 50px;
    border-color: inherit;
    border-style: solid solid solid solid;
    border-width: 10px 10px 10px 10px;
    position: absolute;
}
.img-button-group {
    width: 100px;
    height: 130px;
    background-size: 80px;
    background-color: transparent;
    border: none;
    overflow: hidden;
    outline: none;
    z-index: 1;
    margin: 0px 30px 0px 20px;
    background-repeat: no-repeat;
    padding: 80px 20px 0px 0px;
}

/*快訊輪播*/
    #myCarousel > .carousel-control.left, .carousel-control.right {
        background-image: none;
        width: 4%;
    }

/*#myCarousel > .carousel-indicators .active {
    margin:0px 5px 0px 5px;
    width: 35px;
    height:13px;
    background: #4ca8f5 !important;
    border-color: #4ca8f5 !important;
}

#myCarousel > .carousel-indicators li {
    border-radius: 35% !important;
    width: 12px;
    height: 12px;
    background: #B0E0E6 !important;
    border-color: #B0E0E6 !important;
}*/

.cover {
    object-fit: cover;
    width: 150px;
    height: 85px;
    -webkit-filter: brightness(0.8);
}

.categoryname {
    max-width: 200px;
    line-height: 3em;
    height: 3em;
    display: inline-block;
    width: auto;
    /*width: fit-content;
    width: -webkit-fit-content;
    width:*/ -moz-fit-content;
}
.long-cate {
    line-height: 1.5em !important;
}
.cate-desc-block {
    margin: 0px 6px 40px -6px;
    min-height: 2em;
    text-align: center;
    /*background: orange;*/
    color: white;
}

.imgcover {
    width: 100%;
    object-fit: cover;    
}

.coverbg {
    width: 90%;
    height: 51%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 5%;
    background: rgba(51, 51, 51, 0.5);
    z-index: 999;
}

.pointer {
cursor:pointer;
}

.breadcrumb2 {
    display: inline-flex;
    float: left;
    padding: 10px 6px;
    margin: 0;
    list-style: none;
}
.breadcrumb2 li a {
    letter-spacing: 0px;
    font-size: 16px;
}
.breadcrumb2 li {
    letter-spacing: 0px;
}
.breadcrumb2 li:before {
    color: #CCCCCC;
    content: ">";
    padding: 0 5px;
}
.breadcrumb2 li:first-child:before, .breadcrumb2 li:nth-child(2):before {
    display: none;
}

.bannerheight {
    max-height: 200px !important;
   
}

.cate-desc {
    margin: -70px 30px 0 15px;
    position: absolute;
    color: white;
    word-wrap:break-word;
}

.inputbutton-transition {
    -webkit-transition: opacity 2s ease-in-out;
    -moz-transition: opacity 2s ease-in-out;
    -o-transition: opacity 2s ease-in-out;
    transition: opacity 2s ease-in-out;
}
#inputbutton1 {
    background-image: url(/../CDNGlobal/Dajin/global/img/index_icon01-1.png);
    background-size: 100px;
}
    #inputbutton1:hover {
        background-image: url(/../CDNGlobal/Dajin/global/img/index_icon01b_2.png);
        background-size: 100px;
    }
#inputbutton2 {
    background-image: url(/../CDNGlobal/Dajin/global/img/index_icon02-1.png);
    background-size: 100px;
}
    #inputbutton2:hover {
        background-image: url(/../CDNGlobal/Dajin/global/img/index_icon02b_2.png);
        background-size: 100px;
    }
#inputbutton3 {
    background-image: url(/../CDNGlobal/Dajin/global/img/index_icon03-1.png);
    background-size: 100px;
}
    #inputbutton3:hover {
        background-image: url(/../CDNGlobal/Dajin/global/img/index_icon03b_2.png);
        background-size: 100px;
    }
#inputbutton4 {
    background-image: url(/../CDNGlobal/Dajin/global/img/index_icon04-1.png);
    background-size: 100px;
}
    #inputbutton4:hover {
        background-image: url(/../CDNGlobal/Dajin/global/img/index_icon04b_2.png);
        background-size: 100px;
    }
#inputbutton5 {
    background-image: url(/../CDNGlobal/Dajin/global/img/index_icon05-1.png);
    background-size: 100px;
}
    #inputbutton5:hover {
        background-image: url(/../CDNGlobal/Dajin/global/img/index_icon05b_2.png);
        background-size: 100px;
    }
#inputbutton6 {
    background-image: url(/../CDNGlobal/Dajin/global/img/index_icon06-1.png);
    background-size: 100px;
}
    #inputbutton6:hover {
        background-image: url(/../CDNGlobal/Dajin/global/img/index_icon06b_2.png);
        background-size: 100px;
    }

.portlet.box.blue-hoki > .portlet-title {
    background-color: #5bb5f3e3;
}

.portlet.light {
    background-color: none;
}

.portlet > .portlet-title {
    border-bottom: 1px solid #93b2da;
}

.caption-subject {
    color: #4b98ea !important;
}

.portlet {
    box-shadow: 0px 0px 0px 2px #64aed9;
}

    .portlet.light > .portlet-title {
        padding: 0;
        min-height: 30px;
    }
.rel-prod-pic {
    /*margin-top: 0.5em;*/
    width: 50%;
    height: 50%;
    padding-left: 0;
}

/*多行省略文字*/
.prod-multi_ellipsis {
    display: block;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    height: auto;
}
.dajin-ViewSubTitle {
    font-weight: bold;
}
.dajin-ViewTitle {
    font-size: 18px;
    font-weight: 900;
}

#relNews, #relArticles {
    padding-left: 1.5em;
}

#articleDetails {
    margin-left:1em;
}

#ArticleContent img {
    max-width: 100%;
    max-height: 100%;
}
/*.SearchText {
    margin-left: -33.33%;
}*/

.pagination > li > a {
    margin-right: 5px;
}
.pagination > li.disabled > a {
    background-color: #dfe4f3 !important;
}
.pagination > li.next.disabled > a {
    background-color: #fff !important;
}
.pagination > li.prev.disabled > a {
    background-color: #fff !important;
}

.article-owportlet {
    box-shadow: 0px 0px 0px 0px !important;
    border: 2px solid #cecece;
}

.article-text {
    border-top: 1px solid #c3bebe;
    padding: 15px;
    min-height: 270px;
}

.article-body {
    padding-right: 0.5em;
}

.article-tags {
    background-color: #efefef;
    padding-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 10px;
    min-height: 50px;
}

@media (min-width: 1900px) {
    .coverbg {
        width: 92%;
        height: 51%;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 4%;
        background: rgba(51, 51, 51, 0.5);
        z-index: 999;
    }
}

@media only screen and (max-device-width : 500px) {
    .carousel-caption p {
        margin:0;
    }

    .btn-group {
        background: white;
        margin: -30px 0px 20px 15px;
    }

    #CategoryName {
        background: white !important;        
    }

    .cate-desc-block {
        background: #ede7f5 !important;
        color: blue;
    }

    .breadcrumb2 {
        float: none;
        padding-top: 0;
        padding-right: 0;
        padding-bottom: 0;
        padding-left: 30px;
    }

    .coverbg {
        width: 92%;
        height: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 4%;
        background: rgba(51, 51, 51, 0.5);
        z-index: 999;
    }
}



