﻿.fa-list,
.fa-th-large {
    font-size: 1.25rem;
    color: #6c757d;
    padding: 0.5rem;
    border: 1px solid #6c757d;
    border-radius: 0.2rem;
    align-items: center;
    margin-right: 5px;
}

.fa-list:hover,
.fa-th-large:hover,
.fasOn {
    background-color: #6c757d;
    color: #FFF;
}

.fa-list:active,
.fa-th-large:active,
.fasOn {
    box-shadow: 0 0 0 0.2rem rgb(108 117 125 / 50%);
}

.searchBar {
    background-color: #008bd3;
    /* height: calc(25px*2 + 35px); */
    display: flex;
}

.search {
    width: 100%;
    display: flex;
}

.searchTerm {
    width: 100%;
    border: none;
    border-right: 1px solid #949494;
    padding: 5.5px 12.5px;
    border-radius: 5px 0 0 5px;
    outline: none;
    color: #949494;
}

.searchTerm:focus {
    color: #949494;
}

.fa-search {
    color: #949494;
    font-size: 20pt;
}

.searchButton {
    width: 50px;
    border: none;
    border-left: 1px solid #949494;
    background: #fff;
    text-align: center;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 20px;
}

/*Resize the wrap to see the search bar change!*/

.bgSearch {
    margin: 25px 0 20px 0;
    /*float: left;*/
    background-color: #fff;
    border-radius: 5px;
    border: 7.5px solid #fff;
    display: flex;
    /*width: 50%;*/
}

.hottag {
    color: #fff;
    margin-top: 15px;
    margin-bottom: 16px;
}

.hottag h6 {
    padding-bottom: 0;
}

.suggetion a {
    color: #FFF;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 5px;
}

.suggetion a:not(:last-child) {
    margin-right: 10px;
}

.suggetion a:hover,
.suggetion a:active {
    text-decoration: underline;
}

.container hr {
    border: 1px solid;
    margin-bottom: 15px;
    margin-top: 60px;
}

/* 產品選單設定 */
.serviceMenu {
    /*margin-right: 60px;*/
}

.serviceMenu ul li a {
    color: #FFF;
    font-size: 16px;
}

.kmProducts,
.kjProducts {
    border-bottom: 1px solid #FFF;
    padding: 15px;
    padding-left: 35px;
}

.kjProducts {
    background-color: #00593f;
}

.kmProducts {
    color: #FFF;
    cursor: pointer;
    background-color: #096391;
}

.kmProducts:hover,
.kmProducts:active {
    background-color: #0A5175;
}

.produstSecend {
    display: none;
    position: relative;
    width: 100%;
}

.SecMenuIcon ul li a {
    color: #303030;
}

.kmProducts ul li {
    display: block;
}

/* essay-area */
.rightSpace {
    /*width: 80%;
    align-items: center;
    margin-right: 60px;
    margin-top: 0;*/
    margin: 0;
}

.cardBodyTitle {
    height: 60px;
    margin-bottom: 20px;
}

.cardBodyScript {
    /* height: 130px; */
    margin-bottom: 20px;
}

.card-text {
    text-align: left;
    padding-bottom: 0;
}

.h-card-body > h5,
.h-card-body > p {
    color: #626262;
    text-align: justify;
}

/* footer link */
.ellipsis3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prolist .ellipsis3 {
    height: 87px;
}

.ellipsis2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    /* text-overflow: ellipsis; */
}

.ellipsis1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    /* text-overflow: ellipsis; */
}

.prolist .ellipsis1 {
    height: 27px;
}

.prolist .card .more-area .btn-more {
    color: #00517a;
    display: inline-block;
    transition: all .3s ease;
}

.prolist .card .more-area .btn-more:hover {
    opacity: 0.7;
}

/*單項產品顯示 C3-2-1-1*/
.contextShadow h3 {
    margin-top: 0;
    clear: both;
    font-weight: 600;
    line-height: 2rem;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ProductCover {
    margin-top: 0;
    /*height: 500px;*/
    background-color: transparent;
    border: 1px solid #dfdfdf;
    border-radius: 0.25rem;
    border-radius: 0.25rem 0.25rem 0 0;
    display: block;
    position: relative;
}

.ProductCover img {
    position: absolute;
    object-fit: contain;
    object-position: center;
    max-height: 100%;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.coverItem {
    align-items: center;
    display: flex;
    margin-bottom: 30px;
    margin-top: 30px;
}

.thumbnailImg {
    width: 90px;
    /*height: 90px;*/
    margin-right: 20px;
    border-radius: 0.25rem;
    border: 1px solid #dfdfdf;
    background-color: #fff;
    line-height: 90px;
}

.thumbnailImg > img {
    max-width: 100%;
    display: flex;
    align-items: center;
    object-fit: contain;
    object-position: center;
    max-height: 100%;
    width: 100%;
    height: 100%;
    margin: auto;
}

.tagProduct {
    margin-bottom: 30px;
}

.tagProduct a {
    background-color: #008bd3;
    color: #FFF;
    padding: 5px 10px;
}

.table {
    color: #303030;
}

.table tr:first-of-type {
    border-top: 1px solid #dee2e6;
}

.table tr:last-of-type {
    border-bottom: 1px solid #dee2e6;
}

.table th {
    border-top: 0px;
}

.table .thead-dark th {
    background-color: #096391;
    border-color: #096391;
    font-weight: 400;
    border-bottom: none;
}

.table tr th {
    font-weight: 400;
}

.table tr td a {
    color: #707070;
}

.titleName {
    color: #303030;
    white-space: nowrap;
}

td ol {
    margin: 0;
    padding: 0;
}

.fa-file-pdf {
    color: #B30B00;
}

/*****/

.prolist .hashtagCard .card .productPhoto-area img {
    transition: all 3.5s ease;
}

.prolist .hashtagCard .card .productPhoto-area {
    overflow: hidden;
}

.prolist .hashtagCard .card:hover .productPhoto-area img {
    transform: scale(1.5);
}

.filter-box > a {
    display: inline-block;
}

.filter-box > a.active .icon {
    background-color: #6c757d;
    color: #FFF;
}

.filter-box .fa-list,
.filter-box .fa-th-large {
    font-size: 1.1rem;
    padding: 5px;
}

.modelist.list .hashtagCard {
    flex: 0 0 100%;
    max-width: 100%;
}

.modelist.list .hashtagCard .card {
    display: flex;
    flex-direction: initial;
}

.modelist.list .hashtagCard .card .productPhoto-area {
    position: static;
}

.modelist.list .hashtagCard .card .hashtag-area {
    top: 0;
    left: 0;
}

.modelist.list .hashtagCard .card .card-body {
    flex: 0 0 auto;
    width: 70%;
    margin-top: 0;
}

.modelist.list .hashtagCard .card .productPhoto-area {
    height: 100%;
}

.modelist.list .hashtagCard .card .photo-hashtag {
    overflow: hidden;
    flex: 0 0 auto;
    width: 30%;
}

img.embed-responsive-item {
    object-fit: contain;
}

.embed-responsive-1by1::before,
.embed-responsive-1by1cus::before {
    padding-top: 100%;
}

@media (min-width: 768px) {
    .embed-responsive-1by1cus::before {
        padding-top: 56.25%;
    }
}

@media (max-width: 767px) {
    .serviceMenu ul {
        width: 100%;
    }

    .prolist .hashtagCard {
        padding: 0;
        margin-top: 30px;
    }

    .serviceMenu ul li a {
        padding: 0;
    }

    .btnArea {
        margin-top: 30px;
    }

    .prolist .hashtagCard .card .hashtag-script {
        padding: 5px 11px;
    }

    .prolist .hashtagCard .card .cardBodyScript {
        height: auto;
    }

    .prolist .hashtagCard .card .cardBodyTitle {
        margin-bottom: 10px;
    }

    .table tr {
        border-bottom: solid 1px #e1e1e1;
    }

    .table tr td {
        display: block;
        border: none;
    }

    .table tr td.titleName {
        padding: 12px .75rem 0;
    }

    .bgSearch {
        margin: 25px 0 0 0;
    }

    .coverItem > .thumbnailImg {
        width: calc(25% - 10px);
        margin: 0 5px;
    }

    .coverItem {
        margin: 30px -7px;
    }
}