/* theme */
@charset "utf-8";

@media screen and (max-width: 768px){

}

@media screen and (max-width: 767px){

}

@media screen and (max-width: 600px){

}

@media screen and (max-width: 500px){

}

@media screen and (max-width: 414px){/* iphone plus */

}


.mb-1, .my-1 {
    margin-bottom: .25rem!important;
}
.mt-1, .my-1 {
    margin-top: .25rem!important;
}

.prod_name_det {
    width: 100%;
    /* padding-top: 0.2em; */
    /* margin-bottom: 1em; */
    border-bottom: 1px solid;
    padding-bottom: 0.7em;
    font-size: 38px;
    font-weight: bold;
    line-height: 30px;
    /* border-radius: 6px; */
}


.memoirs_det {
    margin-right: 1em;
    font-size: 23px;
    border-radius: 7px;
    background: linear-gradient(to bottom, #021761 40%,#021761 100%);
    border: 1px solid #021761;
    color: #ffffff;
    /* width: fit-content; */
    padding: 4px;
    min-width: 4.5em;
    text-align: center;
}


.use_flex{
    display: flex;
    align-items: center;
    flex-wrap: wrap;

}

.memoirs_title {
    margin-bottom: 0.5em;
    display: flex;
    align-items: center;
    font-size: 25px;
}

.col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}



@media (min-width: 1200px){
.col-xl-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}
}

.company-list {
    /* line-height: 30px;
    font-size: 24px;
    color: #014403;
    text-align: center;
    margin-top: 35px; */
    background: #515050;
    line-height: 30px;
    font-size: 24px;
    color: #ffffff;
    text-align: center;
    height: 43px;
    margin-top: 35px;
    border-radius: 15px 15px 0px 0px;
    margin-right: 15px;
    margin-left: 15px;
}


.products_list{
    padding: 8px;
    color: #ffffff;
    border-radius: 15px 15px 0px 0px;
    margin-right: 15px;
    margin-left: 15px;
    background: linear-gradient(to bottom, #021761 40%,#021761 100%);
    font-size:24px;
    text-align: center;

}

    .menu_list{

		border-top: 1px #D3D3D3 dotted;
		text-align: center;
	}
	.menu_list li{
		line-height: 40px;
		min-height: 42px;
		font-size: 18px;
		border-bottom: 1px #D3D3D3 dotted;
	}


	.menu_list li.active{
		background-color: #014403;
		color: #FFFFFF;
	}
	.menu_list li.active a{
		color: #FFFFFF;
	}



    .menu_list li:hover{
		background: linear-gradient(to bottom, #021761 40%,#2642a5 100%);
		color: #FFFFFF;
	}


    .menu_list li a{
        color: #021761;
		display: block;
		text-decoration: none;
	}
	.menu_list li a:hover{
		color: #FFFFFF;
	}


    .navbar-toggle {
		background-color: #021761;
	}
	.navbar-toggle .icon-bar {
		background-color: #fff !important;
    }

    .products_img_list{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .products_img_list:hover a{
        color: #FFFFFF !important;
    }



.new_text_mem{
	overflow: hidden;
    -webkit-box-orient: vertical;
    white-space: normal;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    padding-top: 1em;
}































.index-news {
    width: 100%;
    margin-top: 30px;
}

.index-news h2 {
    background: #003399;
    color: #fff;
    padding: 10px;
    border-radius: 30px 0;
}

.index-news h2::before {
    content: '\f1ea';
    font-family: 'Font Awesome 5 Free';
    margin: 0 10px;
    font-size: 24px;
}

.index-news-text {
    width: 100%;
    padding: 5px 0;
    border-bottom: 1px #666 solid;
}

.story-left p {
    text-align: left;
}

.index-news-time {
    display: inline-block;
    width: 20%;
}

.index-news-time::before {
    content: '\f017';
    font-family: 'Font Awesome 5 Free';
    margin-right: 5px;
}

.index-news-title {
    display: inline-block;
    width: 60%;
}


.index-news-text a {
    color: #e60012;
    font-weight: bold;
    font-size: 16px;
    line-height: 25px;
}

.index-news-text a::after {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    margin-left: 10px;
}

@media only screen and (max-width: 680px){
.index-news-time {
    width: 100%;
}
.index-news-title {
    width: 80%;
}
}

.new_text_mem{
	overflow: hidden;
    -webkit-box-orient: vertical;
    white-space: normal;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    padding-top: 1em;
}









.index-product-line {
    text-align: center;
    align-items: center;
    width: 100%;
    justify-content: center;
    line-height: 0px;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
}

.product-line-img {
    overflow: hidden;
}

.product-line-img img {
    width: 100%;
    height: auto;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
    -o-transition: all .5s linear;
    transition: all .5s linear;
}

.product-category:hover .product-line-img img {
    -moz-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.product-category:hover .product-line-btn {
    opacity: 0;
}
.product-line-btn {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    color: #fff;
    font-size: 17px;
}


.btn-title {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 52px;
    /* font-size: larger; */
    color: #fff;
    padding: 5px 0;
    background: rgba(0,0,0,0.8);
    text-align: center;
    position: absolute;
    left: -100%;
    bottom: 0;
    transition: all .3s;
    align-items: center;
}

.btn-title img {
    width: 35%;
    height: auto;
}

.product-category:hover .btn-title {
    left: 0;
}


.product-category a {
    display: block;
    line-height: 0px;
    letter-spacing: 0px;
    position: relative;
    overflow: hidden;
}


.line_tit {
    font-size: 1em;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    background: #07a000;
    border-radius: 8px 8px 0px 0px;
}

.line_qr {
    padding: 0 5px 5px 5px;
    background: #07a000;
    border-radius: 0px 0px 8px 8px;
}


.footer-icon_text{
    color: #4b528f;
}

.footer-icon:hover .footer-icon_text{

    color: white;
}

.footer-icon_text:hover {

    color: white;
}


#fixedCart {
    position: fixed;
    bottom: 200px;
    right: 5px;
}


#fixedCart > a {
    display: block;
    position: relative;
    width: 52px;
}

#fixedCart > a > span {
    position: absolute;
    z-index: 9;
    text-align: center;
    display: block;
    top: 12px;
    left: 4px;
    width: 100%;
    font-size: 16px;
    color: #fff;
}







#dashboard {
    /* height: 100%;  */
    position: fixed;
    top: 20%;
    right: -14px;
    padding: 35px 25px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    pointer-events: none;
    z-index: 13;
}

.expend_new{
    visibility: inherit;
    opacity: 1 !important;
    transform: matrix(1, 0, 0, 1, 0, 0);
}



  #dashboard .cover {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: transparent;
    pointer-events: auto;
    display: none;
}

#dashboard > *:not(.cover) {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    pointer-events: auto;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

#dashboard .big {
    height: 100px;
    width: 100px;
    flex-direction: column;
    background-color: #8b1d5a;
    color: white;
 }

#dashboard .big .icon-cart {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

#dashboard .white {
    height: 50px;
    width: 50px;
    background-color: #fff;
    color: #000;
    font-size: 20px;
}

#dashboard .white.xl:before {
      font-size: 1.45rem;
}

#dashboard .white.lg:before {
      font-size: 1.25rem;
}

#dashboard .go-top {
    height: 42px;
    width: 42px;
    margin-top: auto;
    background-color: #000;
    color: white;
}
#dashboard .bar {
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 21px;
    color: white;
    background-color: #000;
    z-index: -1;
    overflow: hidden;
    white-space: nowrap;
}
#dashboard .bar > a {
    color: #fff !important;
    background-color: #000;
    padding: 10px 3px;
    min-width: 100px;
}
#dashboard .icon-scan {
    z-index: 1;
}
  #dashboard form.bar {
    top: 0;
    height: 120px;
    border-radius: 20px;
}

#dashboard form.bar input[type="search"] {
    width: 180px;
    padding: 6px 10px;
    margin-top: 12px;
    color: white;
    background-color: #8b1d5a;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: color 0.3s ,opacity 0.3s , background-color 0.3s ease-in-out;
}

#dashboard form.bar input[type="search"]:hover {
    transition: color 0.3s ,opacity 0.3s , background-color 0.3s ease-in-out;
}
#dashboard form.bar input[type="search"]::-webkit-input-placeholder {
    color: white;
}
#dashboard form.bar input[type="search"]:-ms-input-placeholder {
    color: white;
}
#dashboard form.bar input[type="search"]::-ms-input-placeholder {
    color: white;
}
#dashboard form.bar input[type="search"]::placeholder {
    color: white;
}
#dashboard form.bar input[type="search"]:focus {
    background-color: rgba(255, 255, 255, 0.1);
}
#dashboard form.bar input[type="search"]:hover {
        background-color: rgba(255, 255, 255, 0.1);
}
#dashboard form.bar button {
      color: white;
      background-color: #8b1d5a;
      border: 1px solid rgba(255, 255, 255, 0.4);
      padding: 6px 10px;
      transition: color 0.3s ,opacity 0.3s , background-color 0.3s ease-in-out;
}

      #dashboard form.bar button:hover {
        transition: color 0.3s ,opacity 0.3s , background-color 0.3s ease-in-out;
    }

      #dashboard form.bar button:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

#dashboard .icon-comment {
    display: none;
}

@media only screen and (max-width: 1600px) {
    #dashboard {
      padding-top: 100px;
    }
      #dashboard .big {
        height: 42px;
        width: 42px;
    }
    #dashboard .big .icon-cart {
        font-size: 1.25rem;
        margin-bottom: 0;
    }
    #dashboard .big .icon-cart + span {
        display: none;
    }
    }



#dashboard .icon-cart.mobile {
  display: none !important;
}



#dashboard > * {
  transition: color 0.3s ,opacity 0.3s , background-color 0.3s ease-in-out;
}
  #dashboard > *:hover {
    transition: color 0.3s ,opacity 0.3s , background-color 0.3s ease-in-out;
 }

#dashboard .bar {
  width: 0;
  opacity: 0;
  transition: width 0.3s ,opacity 0.3s;
}

#dashboard [class^="icon"]:before {
  transition: -webkit-transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
}
  #dashboard [class^="icon"]:before:hover {
    transition: -webkit-transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
}

#dashboard > *.expend.white {
  background-color: #000;
  color: white;
}

#dashboard > *.expend.big, #dashboard > *.expend.go-top {
  background-color: #000;
}

#dashboard > *.expend .bar {
  width: 200px;
  padding: 0 20px;
  opacity: 1;
  transition: width 0.3s ,opacity 0.3s,opacity 0.3s;
}

#dashboard > *.expend form.bar {
  width: 300px;
}




.margin20 img{
    width: auto !important;
    height: auto !important;
    max-width: 100%;
}





#cart_num{
    height: 20px;
    top: 8px;
    right: 12px;
    /* bottom: 0; */
    font-size: 14px;
    text-align: center;
    width: 20px;
    background-color: #021761;
    position: absolute;
    color: #fff;
    border-radius: 50%;
}









/* select 翻譯功能 */
@media screen and (min-width: 769px){
.nav_login_search{
    position: absolute !important;
    right: 0 !important;
}

}

[include*="form-input-select()"] {
    margin: auto;
    width: max-content;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 16px;
}

[include*="form-input-select()"]::before, [include*="form-input-select()"]::after {
  content: '';
  display: block;
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

[include*="form-input-select()"] select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #021761;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  border: 1px solid transparent;
  font-size: 16px;
  outline: none;
  /* Focus style */
}
[include*="form-input-select()"] select:focus {
  /* background-color: #1c2952; */
  outline: none;
}
[include*="form-input-select()"] option {
  font-weight: normal;
}
[include*="form-input-select()"] x:-o-prefocus, [include*="form-input-select()"]::after {
  display: none;
}



[include*="form-input-select()"]::before, [include*="form-input-select()"]::after {
  content: '';
  display: block;
  position: absolute;
  pointer-events: none;
  border: 1px solid transparent;
  width: 0;
  height: 0;
  right: 16px;
}
[include*="form-input-select()"]::before {
  bottom: 55%;
  border-width: 0 6.5px 8px 6.5px;
  border-bottom-color: #fff;
}
[include*="form-input-select()"]::after {
  border-width: 8px 6.5px 0 6.5px;
  border-top-color: #fff;
  top: 55%;
}

[include*="form-input-select()"]:hover select {
    box-shadow: 0 2px 3px #021761 inset;
    border-color: #ffffff;
}
[include*="form-input-select()"]:hover select:focus {
  outline-color: transparent;
}
[include*="form-input-select()"]:hover::before {
  border-bottom-color: #fff;
}
[include*="form-input-select()"]:hover::after {
  border-top-color: #fff;
}
[include*="form-input-select()"] select {
    border: 1px solid #fff;
    border-radius: 0;
    font-weight: 400;
    color: #fff;
    padding: 11px 15px;
    line-height: normal;
    -webkit-transition: border-color 0.2s ease, outline 0.2s ease;
    transition: border-color 0.2s ease, outline 0.2s ease;
}
[include*="form-input-select()"] select:focus {
    /* box-shadow: 0 3px 4px #eea92f inset;
    outline: 3px solid #eea92f; */
    outline-offset: -3px;
}
[include*="form-input-select()"] select[disabled], [include*="form-input-select()"] select:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
[include*="form-input-select()"] select:not(:focus):invalid {
  color: #C7C7C7;
}

.form_search{
    display: flex;
    position: relative;
    align-items: center;
}


.input_search{
    margin-top: 2px;
    border-radius: 8px;
    border: 1px #000 solid;
    box-shadow: 0 0 2px rgba(0,0,0,.3);
}


.submit_search{
    position: absolute;
    right: 0;
    top: 1px;
    z-index: 1024;
    margin-top: 1px;
    background-color: #021761;
    padding: 6px;
    border: 0;
    box-shadow: 0 0 0;
    border-radius: 8px;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    outline: 0;
    color: #fff;
}
