/* search_info */
div#search_info {
    color: #fff;
}

div#search_info>div>div {
    width: 100%;
    display: flex;
    align-items: center;
}

.carousel-control.right,  .carousel-control.left{
    height:250px;
    top:10;
}

/* carousel img */

.product_pics_wrapper {
    width: 100vh;
    position: relative;
    overflow: hidden;
}

div#search_info section#product_pics {
    margin-right:50px;
}

div#search_info section#product_pics ol.carousel-indicators {
    bottom: 3px;
}

div#search_info section#product_pics ol.carousel-indicators li{
   height: 8px;
   width: 8px;
}

div#search_info section#product_pics img {
    min-width: 230px;
    min-height: 230px;
    width: 250px;
    height: 250px;
    margin: 10px auto 0 auto;
    cursor: url("img/pause.png"),pointer;
    border-top: #ffffff solid 2px;
    border-left: #ffffff solid 2px;
    border-right: #ffffff solid 2px;
    border-radius: 12px 12px 0 0;
    /* animation-play-state: paused; */
}

div#search_info section#product_pics div {
    margin-bottom: 17px;
}

div#search_info section#product_pics .item {
    width: 250px;
}


div#search_info section#product_pics div.item h6 {
    display: flex;
    text-align: center;
    font-size: 18px;
    width: 100%;
    height: 35px;
    line-height:30px;
    background: #7F5CFF;
    padding: 3px 9px;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin:0 auto;
    border-radius: 0 0 12px 12px;
}

.arrow {
    font-size: 10px;
    margin-right: 10px;
}

/* product links */
div#search_info section#product_links {
    padding-right: 0px;
}

#product_links .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%; /* 可依需求調整 */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

div#search_info section#product_links>div#product_links_title {
    margin-bottom: 20px;
}

div#search_info section#product_links>div#product_links_title>img {
    width: 16px;
}

div#search_info section#product_links>div#product_links_title>span {
    margin-left: 5px;
    font-size: 16px;
    vertical-align: middle;
}

div#search_info section#product_links>div#product_links_content {
    margin: 10px;   
    text-align: center;
    white-space: nowrap;
    overflow-x: auto;
    display: flex;
    justify-content: center;
    gap:1.5rem;
}

div#search_info section#product_links>div#product_links_content::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: transparent;
}
 
div#search_info section#product_links>div#product_links_content::-webkit-scrollbar {
    width: 12px;
    background-color: transparent;
}
 
div#search_info section#product_links>div#product_links_content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: transparent;
}
 
div#search_info section#product_links>div#product_links_content::-webkit-scrollbar-thumb:hover {
    background-color: #453f3f;
    box-shadow: inset 0 0 6px rgba(0,0,0,.3);
}

div#search_info section#product_links>div#product_links_content a {
    display: inline-block;
    color: #fff;
    width: 200px;
    height: 200px;
    /* max-width: 250px;       
    min-width: 160px;  */
    border: 2px solid white;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

div#search_info section#product_links>div#product_links_content>a:hover {
    color: #E683FF;
    /* border: 2px solid rgb(234, 154, 35); */
    transition: all 0.35s ease-in-out;
}

div#search_info section#product_links>div#product_links_content>a:hover img {
    transform: scale(1.3);
    transition: all 0.45s ease-in-out;
}

div#search_info section#product_links>div#product_links_content>a>img {
    width: 100%;
    height: 100%;
}

div#search_info section#product_links>div#product_links_content>a>span {
    font-size: 18px;
    position: absolute;
    /* top: 74px; */
    left: 0px;
    right: 0px;
    /* line-height: 196px; */
    bottom: 5;
}

/* home_info */
div#home_info {
    background:rgb(240 239 239);
}

div#home_info>div.container {
    background: rgb(255, 255, 255);
}

div#home_info>div.container section>div.home_info_title>h4 {
    color:#184ED9;
    font-weight: 900;
    border-left: 4px solid #184ED9;
    padding-left: 10px;
    margin-top: 35px;
}

div#home_info>div.container section>div#announcement_content {
    /* min-height: 250px; */
    margin-bottom: 15px;
    display: flex;
    height: auto !important;
}

div#home_info>div.container section>div#highlighted_img_content {
    min-height: 300px;
}

#announcement_content>a {
    width: 100%;
    margin-top: 6px;
    color: black;
    text-decoration: none;
    overflow: hidden;
}

#announcement_content div strong  {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 60px);
}

#announcement_content>.set_border:not(:last-child)  {
    border-right:1px solid #808080;
}

#announcement_content>a>div>span.date {
    vertical-align: middle;
    font-weight: 700;
}

#announcement_content>a>div>div {
    display: flex;
    margin-right: 8px;
    max-width: 100%;
    overflow: hidden; 
}

#announcement_content>a>div span.classify, #announcement_content>a>div span.activity {
    font-size: 10px;
    color: #7F5CFF;
    border: 1px solid #7F5CFF;
    /* color: #0066bd;
    border: 1px solid #0066bd; */
    border-radius: 4px;
    padding: 3px;
    margin-right: 3px;
}

/* div#home_info>div.container section>div#announcement_content>a>div>span.activity {
    border: 1px solid #ea7323;
    color:#ea7323;
} */

div#home_info>div.container section>div#announcement_content>a>p {
    margin: 3px 3px 0px 3px;
}

div#home_info>div.container section>div#announcement_content>a>p.ellipsis {
    white-space: break-spaces;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;      
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hover_blue {
    color: blue!important;
    cursor: pointer;
}

div#home_info>div.container div#more_info_btn>a {
    text-decoration: none;
    background: black;
    font-size: 12px;
    float: right;
    border-radius: 5px;
    margin: 10px;
    cursor: pointer;
}

div#home_info>div.container div#more_info_btn>a>span {
    color: black;
    border: 1px solid black;
    border-radius: 4px;
    padding: 0 6px;
    background: white;
    vertical-align: bottom;
    display: inline-block;
}

div#home_info>div.container div#more_info_btn>a>span:hover {
    background-color: #dfdfdf;
}

div#home_info>div.container div#more_info_btn>a>span>span {
   font-size: 15px;
}

div#home_info>div.container section>div#highlighted_img_content>h4 {
    padding: 5px 0px 3px 10px;
    background: #b0b7c2;
    font-weight: 900;
    font-size: 15px;
}

/* highlighted_carousel */
/* #highlighted_img {
    height: 300px;
} */

#highlighted_img_content {
    height: auto !important;
}

#highlighted_carousel div.item>div {
    width: 250px;
    height: 250px;
}

.describe {
    margin-top: 11px;
}

.describe h4 {
    font-weight: bold;
}

.describe p {
    font-size: 16px;
}

/* footer */

footer {
    background: white!important;
    color: #919191 !important;
}


/* 圖片 hover 效果 */
/* #highlighted_img_content a {
    position: relative;
} */

#highlighted_img_content .hover-text {
    transition: .3s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    background: gray;
    color: white;
    padding: 10px;
    box-shadow: 0 0 15px #999;
}

#highlighted_img_content a {
  border: 1px solid #808080;
  background-color: #ffffff;
  width: 100%;
  height: 99%;
  display: block;
}

#highlighted_img_content img {
    padding: 9px;
}

#highlighted_img_content a:hover img {
    opacity: 0.3;
}

#highlighted_img_content a:hover .hover-text {
    opacity: 1;
}

/* 衛星雲圖精選 排圖樣版 */
.chosen-1 .chosen-images {
    display: inline-block;
    width: 24%;
}

.chosen-1 .chosen-images img {
    width: 100%;
    border: 1px solid #d2cfcf;
    padding: 2px;
    border-radius: 3px;
}

.chosen-1 .chosen-right {
    display: inline-block;
    width: 75%;
    vertical-align: top;
    padding: 0px 0px 25px 25px;
}

.chosen-1 .chosen-title, .chosen-1-more .chosen-title {
    font-size: 22px;
    text-align: center;
    background: #edf0d5;
    font-weight: bolder;
    padding: 5px;
    margin-bottom: 20px;
}

.chosen-1 .chosen-description, .chosen-1-more .chosen-description {
    font-size: 18px;
    line-height: 30px;
}

.chosen-1-more .chosen-images {
    display: inline-block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow-x: auto;
}

.chosen-1-more .chosen-images img, .chosen-1-more .chosen-images video {
    width: 200px;
    height: 200px;
    border: 1px solid #d2cfcf;
    padding: 2px;
    border-radius: 3px;
    margin: 0px 2px 20px 2px;
    vertical-align: middle;
}

.chosen-1-more .chosen-images::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: transparent;
}

.chosen-1-more .chosen-images::-webkit-scrollbar {
    width: 3px;
    background-color: transparent;
}

.chosen-1-more .chosen-images::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: transparent;
}

.chosen-1-more .chosen-images::-webkit-scrollbar-thumb:hover {
    background-color: #c9c9c94f;
    box-shadow: inset 0 0 3px rgba(211, 211, 211, 0.3);
}

/* swiper */
.swiper {
    width: 780px;
    height: 250px;
    margin: 20px auto;
    position: relative;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-wrapper{
    margin-left: 10px;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.swiper-button-next, .swiper-button-prev {
    background-color: #F3E9FF;
    height: 250px;
    top:42;
}

.swiper-button-next {
    right: 10;
}

.swiper-button-prev {
    left: 30;
}

.swiper-button-next::after, .swiper-button-prev::after {
    color:#808080;
    font-size: 25px;
}

.swiper-pagination-bullet-active {
    background-color: #bababd !important;
}

.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    background-color: #ffffff ;
    border: 2px solid #bababd ;
    width: 6px;
    height: 6px;
}


/* RWD */
@media (min-width:1600px) {
    .swiper-wrapper {
        margin-left: 0;
    }
}

@media (max-width:1199px) {
    div#search_info section#product_pics .item {
        width: 900px;
    }

    div#search_info section#product_pics {
        margin-right: 0;
    }

    div#search_info>div>div {
        flex-direction: column;
    }

    div#search_info section#product_pics img {
        width: 900px;
        height: 900px; 
    }

    div#search_info section#product_pics div.item h6 {
        width: 900px;
        height:48px
    }

    .carousel-control.right,  .carousel-control.left{
        height:900px;
    }

    div#search_info section#product_links {
        margin-bottom: 25px;
    }

    div#home_info>div.container div#more_info_btn {
        height: 30px;
    }

    .swiper {
        width:100%;
    }

    .swiper-button-next, .swiper-button-prev {
        top: 22;
    }

    .swiper-pagination-bullets {
        bottom: -10 !important;
    }

}

@media (max-width:992px) {
    .add_img {
        position: static !important;
    }

    .banner {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: black;
    }

    div#search_info {
        margin-top: 5rem;
    }

    #show_btn {
        display: none !important;
    }

    div#search_info section#product_pics img {
        width: 800px;
        height: 800px;
    }

    div#search_info section#product_pics div.item h6 {
        width: 800px;
    }

    .carousel-control.right,  .carousel-control.left{
        height: 800px;
    }

    .carousel-control.left{
        left: 50;
    }

    .carousel-control.right{
        right: 50;
    }

    div#search_info section#product_links {
        margin-bottom: 25px;
    }

    .swiper-wrapper{
        margin-left: 0;
        
    }

    .swiper-button-next {
        right: -15;
    }

    .swiper-button-prev {
        left: -15;
    }
}

@media (max-width:860px) {
    #product_links_content {
        flex-wrap: wrap;
        /* gap: */
    }
}
@media (max-width:820px) {
    div#search_info section#product_pics img {
        width: 700px;
        height: 700px;
    }

    div#search_info section#product_pics div.item h6 {
        width: 700px;
    }

    .carousel-control.right,  .carousel-control.left{
        height: 700px;
    }

    .carousel-control.left{
        left: 100;
    }

    .carousel-control.right{
        right: 100;
    }

}

@media (max-width:768px) {
    .container {
        width: 100% !important;
        padding: 0 10px;
      }

    #product_links_content {
        flex-wrap: wrap;
        gap:2.5rem;
    }

}

@media (max-width:746px) {
    div#search_info section#product_links>div#product_links_content>a {
        margin-right: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width:696px) {
    div#search_info section#product_pics img {
        width: 520px;
        height: 520px;
    }

    div#search_info section#product_pics div.item h6 {
        width: 520px;
    }

    .carousel-control.right,  .carousel-control.left{
        height: 520px;
    }

    .carousel-control.left{
        left: 191;
    }

    .carousel-control.right{
        right: 191;
        font-size: 25px;
    }

    div#search_info section#product_links>div#product_links_content>a {
        margin-right: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width:656px) {
    div#search_info section#product_links>div#product_links_content>a {
        width: 187px;
        height: 187px;
        margin-right: 20px;
        margin-bottom: 20px;
    }

    div#home_info > div.container section > div#announcement_content {
        flex-direction: column;
    }

    div#home_info > div.container section > div#announcement_content > a {
        padding: 8px 8px 8px 0;
    }

    div#home_info > div.container section > div#announcement_content > .set_border:not(:last-child) {
        border-bottom: 1px solid #808080;
        border-right: none;
        padding-left: 0;
    }
}

@media (max-width:600px) {
    div#search_info section#product_pics img {
        width: 480px;
        height: 480px;
    }

    div#search_info section#product_pics div.item h6 {
        width: 480px;
    }

    .carousel-control.right,  .carousel-control.left{
        height: 480px;
    }

    .carousel-control.left{
        left: 210;
    }

    .carousel-control.right{
        right: 210;
    }

    div#search_info section#product_links {
        margin: 70px 10px 20px;
    }
}

@media (max-width:530px) {
    div#search_info section#product_pics img {
        width: 450px;
        height: 450px;
    }

    div#search_info section#product_pics div.item h6 {
        width: 450px;
    }

    .carousel-control.right,  .carousel-control.left{
        height: 450px;
    }

    .carousel-control.left{
        left: 225;
    }

    .carousel-control.right{
        right: 225;
    }

    div#search_info section#product_links {
        margin: 70px 7px 20px;
    }
}

@media (max-width:480px) {
    div#search_info section#product_pics img {
        width: 350px;
        height: 350px;
    }

    div#search_info section#product_pics div.item h6 {
        width: 350px;
    }

    .carousel-control.right,  .carousel-control.left{
        height: 350px;
    }

    .carousel-control.left{
        left: 275;
    }

    .carousel-control.right{
        right: 275;
    }

    div#search_info section#product_links>div#product_links_content>a {
        width: 165px;
        height: 165px;
        margin: 0px 10px 10px 0px;
    }

    div#search_info section#product_links {
        margin: 70px 0px 20px;
    }
}

@media (max-width:399px) {
    div#search_info section#product_pics img {
        width: 310px;
        height: 310px;
    }

    div#search_info section#product_pics div.item h6 {
        width: 310px;
    }

    .carousel-control.right,  .carousel-control.left{
        height: 310px;
    }

    .carousel-control.left{
        left: 295;
    }

    .carousel-control.right{
        right: 295;
    }

    div#search_info section#product_links>div#product_links_content>a {
        margin: 0px 10px 10px 0px;
    }

    div#search_info section#product_links {
        margin: 70px 0px 20px;
    }
}

@media (max-width:325px) {
    div#search_info section#product_pics img {
        width: 290px;
        height: 290px;
    }

    div#search_info section#product_pics div.item h6 {
        width: 290px;
    }

    .carousel-control.right,  .carousel-control.left{
        height: 290px;
    }

    .carousel-control.left{
        left: 305;
    }

    .carousel-control.right{
        right: 305;
    }

    div#search_info section#product_links {
        margin: 40px 0px 20px;
    }

    div#search_info section#product_links>div#product_links_content>a {
        margin: 0px 10px 10px 0px;
    }
}
