@charset "utf-8";

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*上方選單解除滑動固定
.header_area.sticky { position:relative;}
*/


/*上方選單右邊設定 臉書/LINE/電話/信箱
.tp_links a:before {寬高大小設定}
.tp_links a.me_tp_fb {}
.tp_links a.me_tp_fb:before {背景換圖/建議.SVG}
.tp_links a.me_tp_line {}
.tp_links a.me_tp_line:before {背景換圖/建議.SVG}
.tp_links a.me_tp_call {}
.tp_links a.me_tp_call:before {背景換圖/建議.SVG}
.tp_links a.me_tp_mail {}
.tp_links a.me_tp_mail:before {背景換圖/建議.SVG}
*/


/*電腦LOGO
.nav-brand {}
*/

/*手機LOGO
.nav-brand-m {}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex { position:relative; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;} 
/* .swiper-slide img { height:auto;} */
@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*top*/
#to_top {  box-shadow: 0px 0px 10px #bbbbbb82; color: #353535;  background: #ffffffd6; backdrop-filter: saturate(100%) blur(10px);}
#to_top i.top {    height: 15px;}
#to_top i.top:before, #to_top i.top:after {  height: 10px;  top: 5px; background: #353535;}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*大圖*/
.bannerindex .swiper-slide:nth-child(1)::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url(https://pic03.eapple.com.tw/litong168/大圖-1.png);
  width: 100%;
  max-width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 10000;
}
.bannerindex .swiper-slide:nth-child(2)::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url(https://pic03.eapple.com.tw/litong168/大圖-2.png);
  width: 100%;
  max-width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 10000;
}
  
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*HEADER*/
.main_header_area .container { max-width: 1800px;}
.navigation { display: block;}
.header_area { background: #ffffff00;     position: absolute; transition: all 1s;}
.header_area.sticky {  position: fixed;    background: rgba(45, 43, 43, 0); }

.header_area.sticky .main_header_area .container {background:none; transition: all 1s;}
.header_area.sticky .main_header_area { height: 78px; opacity: 1;transition: all 1s; } 

.pageIndex .main_header_area{background: none; height: 0px;  transition: all 1s;}
.main_header_area{ height: 78px;  transition: all 1s;}
/*
.header_area .main_header_area::before {
  content: "";
  width: 0%;
  height: 100%;
  position: absolute;
  top:20px;
  right: 0;
  opacity: 0;
  height: 78px;
  background: linear-gradient(180deg, #1a1a1a, #3f3a3a96);
  backdrop-filter: saturate(100%) blur(10px);
  box-shadow: -3px 0px 10px #e3d7d982;
  border: 1px #fff solid;
  border-radius: 10px 0 0 10px;
  transition: all 1s;
}

.header_area.sticky .main_header_area::before {
  width: 38%;
  opacity: 1;
  transition: all 1s;
}
*/
/*LOGO*/
.pageIndex .nav-brand { max-width: 75%;    opacity: 0; transition: all 1s;}
.header_area.sticky .nav-brand {  opacity: 1; transition: all 1s;}
.nav-brand { max-width: 75%;  }
/*選單*/
.stellarnav { position: absolute; top: 28px;}
.stellarnav > ul > li > a { color: #ffffff; letter-spacing: 2px; font-size: 16px; margin: 0 25px;}
.stellarnav li.has-sub > a:after {display: none;}
.stellarnav > ul > li.has-sub > a {  padding-right: 0px;}

.me_tp_features {display: none;}
.tp_links a { display: none;}
/*下拉*/
.stellarnav ul ul { width: 200px;}
.stellarnav li li.has-sub > a {padding: 7px 10px;}
.stellarnav li li:hover { background: #dfab77;}
.stellarnav li a:hover { color: #ffffff;}

/* 商品下拉超過30個變大 */
.stellarnav.desktop li.bigMenu>ul{display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); left: 0; width: 100%; position: fixed; padding: 20px;}
.stellarnav.desktop li.bigMenu ul ul{top: 100%; left: 0; width: 100%; background: #efefef; height: auto; max-height: 300px; overflow: auto;}
.stellarnav.desktop li.bigMenu ul ul li{margin: 0;} 
.stellarnav.hasBigMenu li.bigMenu li.has-sub > a:after{border-left: 6px solid transparent; border-bottom:unset; border-right: 6px solid transparent; border-top: 6px solid #898989; right: 5px;}
/* 主分類超過30個但次分類直接顯示 
.stellarnav.desktop li.bigMenu>ul{grid-gap: 10px;}
.stellarnav.desktop li.bigMenu li{border: 0;}
.stellarnav.desktop li.bigMenu>ul>li>a{border: 1px solid #ddd;}
.stellarnav.desktop li.bigMenu ul ul{display: block !important; position: relative; top: 0; background: unset; border: 0;}
.stellarnav.desktop li.bigMenu ul ul li{border: 0;}
 主分類超過30個但次分類直接顯示-結束 */
/* 商品下拉超過30個--結束 */

@media screen and (max-width:1024px) {
  .header_area { padding: 10px; }
  .header_area.sticky .nav-brand { opacity: 0;}
  .nav-brand { opacity: 0;}
  .header_area .main_header_area::before{ border-radius: 0px 0 0 0px;   top: 0px;}
  .header_area.sticky .main_header_area::before { width: 100%; }

  .stellarnav {   top: 10px;}
  .navigation {  display: flex;}
}
@media screen and (max-width:768px) {
  .header_area {  position: relative;}
  .header_area.sticky {   background: rgb(255 255 255);         box-shadow: 0px 3px 10px #efefef;}
  .header_area.sticky .nav-brand { opacity: 1;}
  .pageIndex .nav-brand {  opacity: 1;    max-width: 41%;}
  .nav-brand {  max-width: 41%;}
  .pageIndex .main_header_area {height: 68px;}
  .nav-brand { opacity: 1;}
  .header_area .main_header_area::before { display: none;}

  /*側邊選單*/
  .pageIndex .stellarnav .menu-toggle span.bars span {   background:  #e17e20;}
  .sticky .stellarnav .menu-toggle span.bars span {  }
  .pageIndex .stellarnav .menu-toggle:after {        color:  #e17e20;    }
  .sticky .stellarnav .menu-toggle:after {          }

  .stellarnav .menu-toggle span.bars span {   background:  #e17e20;}
  .stellarnav .menu-toggle:after {     color:  #e17e20;}
  .stellarnav.mobile.right > ul, .stellarnav.mobile.left > ul {  max-width: 100%;   background: #fffffff5;  backdrop-filter: saturate(100%) blur(10px);  transition: all 1s;   left: 0;}
  .stellarnav.mobile.left .close-menu {      background: #ffffff;          color:  #e17e20; }
  .stellarnav .icon-close:after {    border-bottom: solid 3px  #e17e20;}
  .stellarnav .icon-close::before {    border-bottom: solid 3px  #e17e20;}
  .stellarnav a.dd-toggle .icon-plus:after {    border-bottom: solid 3px  #e17e20;}
  .stellarnav a.dd-toggle .icon-plus:before {    border-bottom: solid 3px  #e17e20;}
  .stellarnav > ul > li:not(.tp_links) > a:before {display: none;}
  .stellarnav .menu-toggle, .stellarnav .call-btn-mobile, .stellarnav .location-btn-mobile, .stellarnav .close-menu { padding: 14px 15px;     position: relative;   top: 2px;}
  .stellarnav.mobile ul {    background: none;  }
  .stellarnav.mobile li.open li.open {     background: #fbe7da;}
  .stellarnav.mobile li.open {   background: none;  }
  .stellarnav.mobile > ul > li {         border-bottom: 1px  #e17e20 solid; text-align: center;     margin: 0px 30px; }
  .stellarnav > ul > li:after {display: none;}
  .stellarnav li li {   border-bottom: 1px #eee solid; border: none;}
  .stellarnav > ul > li > a { color: #535353;}
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*內頁BANNER 設定*/
.banner {      
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  padding: 0px;
  background: url(https://pic03.eapple.com.tw/litong168/banner.jpg) repeat center center;
  background-size: cover;
  background-color: #ccc;
}
.banner h5 {
  color: #fff;
  padding-left: 15%;
  padding-bottom: 1%;
  border-bottom: 1px #ffffff solid;
  position: relative;
  top: 23%;
  left: 32%;
}
@media screen and (max-width: 1024px) {
  .banner {   font-size: 25px;}
  .banner h5 { left: 20%;}
}
@media screen and (max-width: 768px) {
.banner {    height: 135px;  font-size: 20px;}
.banner h5 { left: 14%;}
}
@media screen and (max-width: 320px) {

}

.banner {}
.banner h5 {}
.banner.banA {}
.banner.banB {}
.banner.banC {}
.banner.banD {}
.banner.banE {}
.banner.banblog {}
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/* FOOTER區塊 */
/*※※※※※【【  固定區塊不動↓↓↓  】】※※※※※*/
.footer{background: #fff;padding: 50px 0;}
.footer .center{max-width: 1200px;padding: 0 3%;}
.footer_logo{width: 150px;margin: 0;}
.footer_logo img{width: 100%;}
.footer_info{padding: 0;display: flex;align-items: center;justify-content: space-around;}
.footer_info li{padding: 10px 0;display: inline-block;vertical-align: middle;}
.footer_info li:nth-child(1){width: 100%;}
.footer_info li:nth-child(2){width: 100%;}
.footer_info li p,.footer_info li p a{color: #ffffff;}
.footer_menu a {background: transparent;color: #ebebeb;border: none;font-weight: 300;}
.copy {border-top: none;}
.copy a{color: #999999;font-weight: 200;}
.box_link {  display: none;  flex-wrap: wrap;    max-width: 160px;right: 60px;}
.box_link a {display: inline-block;width: 30px;height: 30px;border: none;background: #111;padding: 0px;border-radius: 30px;}
.box_link a i{max-width: 100%;font-size: 18px;line-height: 30px;display: block;}

@media screen and (max-width: 768px){
	.footer {padding:30px 0;}
	.footer_logo{margin-bottom: 0;}
	.footer_info ul {flex-wrap: wrap;}
	.footer_info li:nth-child(1){width: 100%;}
	.footer_info li:nth-child(2){width: 100%;text-align: center;}
	.footer_menu {margin: 0;}
	.footer_menu a{font-size: 12px;}
	.box_link{position: relative;right: 0;top: 0;text-align: left;padding: 15px 0;}
	.copy {padding: 30px 3% 0 3%;text-align: center;border-top: 1px solid #555;font-size: 12px;}
}
	
/*※※※※※【【  此案件更動處↓↓↓  】】※※※※※*/
.footer{background: #454545;}
.footer .center {max-width: 1600px;}
.footer_info {flex-direction: column;align-items: flex-start;}
.footer_info ul{width: 100%;}
.footer_info li:nth-child(1){position: relative;}
.footer_info li:nth-child(1):before{content: "ALLEN OPTICAL";display: block;font-size: 24px; color: #ffffff; margin-bottom: 10px;font-weight: 800;letter-spacing: 1px;}
/*.footer_info li:nth-child(1):after{content: "";width: 100px;height: 100px;position: absolute;right: 0;bottom: 0;}*/
.footer_info li:nth-child(2) {border-top: 1px solid #dbdbdb;text-align: right;margin-top: 20px;}
.footer_logo{display: none;}
.footer_menu {padding: 10px 0;}
.footer_menu a {border-right: 1px solid #f1f1f1;padding: 0 12px;text-align: center;margin: 0;     letter-spacing: 2px;}
.footer_menu a:last-child{border-right: none;padding-right: 0;}
.footer_menu a:hover{background: transparent; color: #ff9627;}
.footer_menu a:nth-child(1){display: none;}
.copy {text-align: right;max-width: 1600px;padding: 0 3%;margin: 0 auto;font-size: 12px;}
.copy a:hover {    color: #ffffff;}

@media screen and (max-width: 768px){
    .footer_info {  align-items: center;}
    .footer_info li {     padding: 5px 0;}
	.footer_info li:nth-child(1):after {width: 80px; height: 80px; bottom: 15px;}
	.footer_menu {text-align: center; margin: 0 auto;}
	.footer_menu a{width: 30%;}
	.footer_menu a:last-child {padding-right: 13px;}
	.copy {border-top: none;text-align: center;}
}
@media screen and (max-width: 600px){ 
    .total_view { display: contents;}
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*文章設定*/
/*一排呈現
.subbox_item { width:100%;}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相本分類全版面 ( 限制最寬2000px
.work_page .main_part { max-width:2000px;}
.work_page .show_content { padding:0; width:100%;}
.work_page .show-list .item { width:33%; display:inline-block; float:none; margin:0; padding:0;}
@media screen and (max-width: 768px) {
.work_page .show-list .item { width:49%;}
}
@media screen and (max-width: 570px) {
.work_page .show-list .item { width:100%;}
}
.work_page .show-list .item a { max-width:100%;}
.work_page .show-list .show_pic { height:auto; line-height:0;}
.work_page .show-list .show_pic img { max-width:100%; max-height:100%;}
.work_page .show-list .show_name { position:absolute; top:50%; right:10%; width:80%; height:auto; line-height:160%; font-size: 20px; color: #FFFFFF !important; border: solid 1px #fff; text-align: center; margin: -20px 0 0 -120px; padding:5px 20px; transition:all ease-in .3s; opacity:0;}
.work_page .show-list .item:hover .show_name {opacity:1;}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相本列表
.work_info_page .main_part { max-width:2000px;}
.work_info_page .show_content { padding:0; width:100%;}
.work_info_page .subalbum-menu { text-align:center;}
.work_info_page .subalbum-menu h2 { float:none;}
.work_info_page .pic-list .item { margin:0; padding:10px; width:49%; float:none; display:inline-block;}
@media screen and (max-width: 768px) {
.work_info_page .pic-list .item { width:100%;}
}
.work_info_page .pic-list .show_pic { height:auto; line-height:0;}
.work_info_page .pic-list .show_pic img { max-width:100%; max-height:100%;}
.work_info_page .pic-list .item a { max-width:100%; pointer-events: none; cursor: default; } 取消連結被點擊效果
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*購物車*/

/*預設購物車版面 產品分類選單在左側 商品內頁詳細介紹下表單更改樣式 by shint at 2023.1.5  */
.product_page .main_part { max-width:1500px;}
/* .product_info_page .main_part { max-width:1200px;} */

.product_page .show_content,
.product_info_page .show_content { width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; align-content: flex-start;}
.product_page .product_menu_list { position: relative; width: 220px; letter-spacing: 1px; /*border-right: 1px solid #ccc;*/min-height: 30vw;}
.product_page .products-list,
.product-wrapper { width: calc(100% - 270px);}
ul.page { width: 100%;}

.product-layer-two li ul { position:static; margin-top:5px; /*display:block !important;*/ width:100%; margin-left:0;}
.product-layer-two li:hover ul { border: none !important; /*display:block !important;*/}
.product-layer-two li li { display: block; padding:0; transition:all ease .3s;}
.product-layer-two li li a{ padding:5px 10px;}
.product-layer-two li li:hover > a { background:#fff; color:#d84501;}
.product-layer-two > li { width:100%; max-width:100%; padding:0; text-align:left; border-bottom:1px dotted #ccc; padding-bottom: 5px;}
.product-layer-two > li ul > li + li { margin-top:5px;}

.product_info_page .product-layer-two { display: none;}
.product_info_page .products-list,
.product-wrapper { width: 100%;}

.product-layer-two li a { color: #695847;}
.product-layer-two li li:hover{ margin-left: 15px;}
.product-layer-two li li > a:before { content: ""; position: absolute; width: 12px; height: 8px; background: transparent; left: 0; margin-left: -20px; top: 50%; margin-top: -4px; clip-path: polygon(0 0, 100% 50% , 0 100%);}
.product-layer-two li li:hover > a:before { background:#d84501;}
.product-layer-two li li.active a {  background: rgb(225 182 156 / 61%);}

.product_info_page .half_box { width: 100%; float: none; padding-right: 0;}
.product_info_page .half_box li.btn_blankTop { margin-top: 50px; justify-content: space-between; display: flex;}
.product_info_page .half_box li.btn_blankTop input { width: calc(50% - 10px); background-image: none; padding: 0; text-align: center;}

.products-list .price b {  color: #877765;}
.products-list .more { border: 1px solid #b1a095;  color: #b1a095;}
.products-list .item a:hover .more { background: #b1a095;}

.fa-circle-plus::before {  color: #636363;}

/*購物車內頁*/
.inquiry_a1 { background: #91827e;}
.inquiry_a2 {  background: #d3906f;}

/*相關推薦*/
.lastPage { background: #cdae91;}
@media screen and (max-width: 1200px) {
}
@media screen and (max-width: 980px) {
}
@media screen and (max-width: 768px) {
.product_menu_list,
.products-list,
.product-wrapper { width: 100%;}
.product-layer-two { margin-right: 0; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); grid-gap: 5px;}
.product_page .product-layer-two,
.product_page .products-list { width: 100%; border-right: none;}
.product_page .product_menu_list>h5{display: block;}

.product_page .show_content > a { order: 1;}
.product_page ul.products-list { order: 2;}
.product_page ul.page { order: 3;}
.product_page .product_menu_list {width: 100%; order: 0; min-height: unset;}
}
@media screen and (max-width: 600px) {
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*首頁促銷方案*/
.news_part {
  margin: 80px auto;
  padding: 50px 40px;
  background: #fdfdfd;
  border-radius: 30px;
  border: 2px #f4c42f solid;
}
.i_news_b a:hover {    background: #f4c42f;}
.news_list ul li a:hover {   background: #555555;}
.news_list ul li a:hover span {   color: #fff;}
.news_list ul li a:hover p {   color: #ffffff;}
.news_list ul li a:hover p:after {   color: #fff;}

/*促銷方案*/
.promotion_title * {  color: #555555; font-weight: 600;   font-size: 16px;   letter-spacing: 1px; display:block;}
.promotion_title { text-align: center;}
.promotion_title em {  border:none;}
.promotion_title span { border:none; padding: 0px 0px;   margin: 0px 0px 0px 0;}
.promotion_title h2 {  display: block;  font-size: 30px;}
.promotion_title h2 span {   display: none;}
.other_promotion li a {  border: none; border-top: 1px solid #e5e5e5;   }
.other_promotion li a:hover {  background: none;}
.other_promotion li a:before { border: 2px #555555 solid; border-bottom: none;  border-right: none; border-left: none;}
.other_promotion li a:after { display: none;}

@media screen and (max-width: 768px) {
  .news_part {  margin: 40px auto;     padding: 40px 20px;  width: 90%;}

  .news_list ul li {   background: #ffffff;}
}
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*聯絡我們*/
.contact_form li.last cite {  background: #656565;}
.contact_form li.last blockquote, .contact_form li.last cite { border: 1px #656565 solid; border-radius: 10px;}

@media screen and (max-width: 600px) {
  .contact_form li .form__label {   background: #e17e2021;  }
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
@media screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定 */
#bottom_menu {display: none; }
.footer.with_shopping_mode { padding:30px 0 70px; }
#to_top { bottom:60px;}
}

@media screen and (max-width: 600px) { 
}




